SwiftMoment icon indicating copy to clipboard operation
SwiftMoment copied to clipboard

French translation strings

Open leobouilloux opened this issue 8 years ago • 1 comments

Hello,

I'm using your library to display the time between the last modification date of a file and the current date.

It works very well but it seems French strings (and maybe others) are not loaded properly. I'm not sure, but I think that each translation string keys containing "%@" are not loaded. You can see it the the screenshot bellow: img_2852

Just in case, here is the code used for the detailLabel:

detailLabel.text = moment(node.lastSyncDate).fromNow()

I'm using Swift 3 / Xcode 8.1 / iOS 10.1

Hope you can help me, cheers for the good work.

leobouilloux avatar Nov 16 '16 14:11 leobouilloux

Korean also does. It seems that the format of localization strings in MomentFromNow.bundle doesn't match with MomentFromNow.swift. 1.0f% and %d doesn't same.

See https://github.com/akosma/SwiftMoment/commit/db8c2ee5e0528adf89fd12f78f7e9888cd2161e5

I hope to release fixed next version as soon as possible.

momamene avatar Nov 17 '16 05:11 momamene