[OpenStreetMap] #4686: All diary entries' comments described to have at least 1 comment if user's language preference is FR
OpenStreetMap
trac at noreply.openstreetmap.org
Thu Nov 15 15:16:34 GMT 2012
#4686: All diary entries' comments described to have at least 1 comment if user's
language preference is FR
--------------------------+----------------------------
Reporter: skorasaurus | Owner: rails-dev@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: website | Version:
Resolution: | Keywords: diary language
--------------------------+----------------------------
Comment (by TomH):
Yes, it's a combination of our fr locale rules:
http://git.openstreetmap.org/rails.git/blob/HEAD:/config/locales/fr.yml#l345
which are a direct translation of the hardcoded "1" in the en rules:
http://git.openstreetmap.org/rails.git/blob/HEAD:/config/locales/en.yml#l369
and the fr pluralization rules, which use the "one" string for zero:
https://github.com/tomhughes/rails-
i18n/blob/master/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb
--
Ticket URL: <https://trac.openstreetmap.org/ticket/4686#comment:3>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the rails-dev
mailing list