Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A fix for Ukrainian (uk) language translation #678

Merged
merged 3 commits into from Mar 17, 2013

Conversation

terrapass
Copy link
Contributor

Made amendments to Ukrainian translation to fix the issue with displaying calendar dates like this:

moment().subtract('days', 3).calendar();    //"В минулу середа в 23:05" ("Last Wednesday at 11:05 PM") 

In the example above 'середа' is in nominative instead of the needed accusative ('середу').

Fixed by changing the format of "Last %weekday%" expression in Ukrainian to the more grammatically accurate, which uses genitive case, like in the example below:

moment().subtract('days', 3).calendar();    //"Минулої середи в 23:05"

Changed the way in which 'Last %weekday%' calendar dates are written by
making it more in line with modern grammar rules, added genitive case
for weekdays. Thus fixed an issue with displaying calendar dates as
'Last %weekday%', where nominative case was incorrectly used instead of
accusative.
@ichernev
Copy link
Contributor

Thanks for contributing. The test patch looks ok, but the actual fix also seems to change the file end-of-line to windows format (\r\n). Can you please fix this.

@zemlanin what do you think about that?

@zemlanin
Copy link
Contributor

👍

@terrapass
Copy link
Contributor Author

...the actual fix also seems to change the file end-of-line to windows format (\r\n). Can you please fix this.

It should be OK now.

@timrwood
Copy link
Member

Great, thanks for contributing!

timrwood added a commit that referenced this pull request Mar 17, 2013
A fix for Ukrainian (uk) language translation
@timrwood timrwood merged commit 0a34591 into moment:develop Mar 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants