
Update Wiki Page for Translations available in rails
Reported by tvdeyen | August 3rd, 2009 @ 10:19 PM
The Wiki tells us to translate ActionPack pluralization with many nit with other like ActionPack expects. Very annoyimg. Took me hours to discover.
So instead of:
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words() datetime:
distance_in_words:
half_a_minute: "half a minute"
less_than_x_seconds:
one: "less than 1 second"
many: "less than {{count}} seconds"
x_seconds:
one: "1 second"
many: "{{count}} seconds"
less_than_x_minutes:
one: "less than a minute"
many: "less than {{count}} minutes"
x_minutes:
one: "1 minute"
many: "{{count}} minutes"
about_x_hours:
one: "about 1 hour"
many: "about {{count}} hours"
x_days:
one: "1 day"
many: "{{count}} days"
about_x_months:
one: "about 1 month"
many: "about {{count}} months"
x_months:
one: "1 month"
many: "{{count}} months"
about_x_years:
one: "about 1 year"
many: "about {{count}} years"
over_x_years:
one: "over 1 year"
many: "over {{count}} years"
it should be:
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words() datetime:
distance_in_words:
half_a_minute: "half a minute"
less_than_x_seconds:
one: "less than 1 second"
other: "less than {{count}} seconds"
x_seconds:
one: "1 second"
other: "{{count}} seconds"
less_than_x_minutes:
one: "less than a minute"
other: "less than {{count}} minutes"
x_minutes:
one: "1 minute"
other: "{{count}} minutes"
about_x_hours:
one: "about 1 hour"
other: "about {{count}} hours"
x_days:
one: "1 day"
other: "{{count}} days"
about_x_months:
one: "about 1 month"
other: "about {{count}} months"
x_months:
one: "1 month"
other: "{{count}} months"
about_x_years:
one: "about 1 year"
other: "about {{count}} years"
over_x_years:
one: "over 1 year"
other: "over {{count}} years"
Comments and changes to this ticket
-
Hareplity1992 October 14th, 2018 @ 05:31 AM
Pie diagrams and another graphical portrayal of the information is the most ideal route for the seeing effectively. Endeavor to utilize these paper writer service in your introduction as it makes a positive effect on the others. As you can without much of a stretch comprehend through this what they need to state.
-
game online November 30th, 2018 @ 10:31 AM
Here the all possible solution,now looking here the best way to find enter bios windows 10 https://windowsclassroom.com/how-to-enter-bios-windows-10 window are comes with the many new option or features,now use this simple tips.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff