Skip to content
Extraits de code Groupes Projets
Valider 2addd322 rédigé par Jonne Hass's avatar Jonne Hass
Parcourir les fichiers

shit we violoated the LDML

close #1920

* added two to pluralizations, see
  http://www.unicode.org/reports/tr35/tr35-21.html#Language_Plural_Rules
* updated pluralization rules to CLDR 2.0.1
parent faa44c0a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
{ :br => { :i18n => {:plural => { :keys => [:one, :two, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n ? :one : n % 10 == 2 && n ? :two : [3, 4].include?(n % 10) && ![10, 11, 12, 13, 14, 15, 16, 17, 18, 19].include?(n % 100) ? :few : n % 1000000 == 0 && n != 0 ? :many : :other } } } } }
\ No newline at end of file
{ :cy => { :i18n => {:plural => { :keys => [:one, :two, :many, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : n == 8 || n == 11 ? :many : :other } } } } } { :cy => { :i18n => {:plural => { :keys => [:zero, :one, :two, :few, :many, :other], :rule => lambda { |n| n == 0 ? :zero : n == 1 ? :one : n == 2 ? :two : n == 3 ? :few : n == 6 ? :many : :other } } } } }
\ No newline at end of file \ No newline at end of file
{ :eo => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
\ No newline at end of file
{ :ga => { :i18n => {:plural => { :keys => [:one, :two, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : :other } } } } } { :ga => { :i18n => {:plural => { :keys => [:one, :two, :few, :many, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : [3, 4, 5, 6].include?(n) ? :few : [7, 8, 9, 10].include?(n) ? :many : :other } } } } }
\ No newline at end of file \ No newline at end of file
{ :mk => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n % 10 == 1 ? :one : :other } } } } } { :mk => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n % 10 == 1 && n != 11 ? :one : :other } } } } }
\ No newline at end of file \ No newline at end of file
{ :pl => { :i18n => {:plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) && ![22, 23, 24].include?(n % 100) ? :few : :other } } } } } { :pl => { :i18n => {:plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n != 1 && [0, 1].include?(n % 10) || [5, 6, 7, 8, 9].include?(n % 10) || [12, 13, 14].include?(n % 100) ? :many : :other } } } } }
\ No newline at end of file \ No newline at end of file
...@@ -85,6 +85,7 @@ en: ...@@ -85,6 +85,7 @@ en:
aspects: aspects:
zero: "no aspects" zero: "no aspects"
one: "1 aspect" one: "1 aspect"
two: "%{count} aspects"
few: "%{count} aspects" few: "%{count} aspects"
many: "%{count} aspects" many: "%{count} aspects"
other: "%{count} aspects" other: "%{count} aspects"
...@@ -191,6 +192,7 @@ en: ...@@ -191,6 +192,7 @@ en:
comments: comments:
zero: "no comments" zero: "no comments"
one: "1 comment" one: "1 comment"
two: "%{count} comments"
few: "%{count} comments" few: "%{count} comments"
many: "%{count} comments" many: "%{count} comments"
other: "%{count} comments" other: "%{count} comments"
...@@ -201,6 +203,7 @@ en: ...@@ -201,6 +203,7 @@ en:
contacts: contacts:
zero: "no contacts" zero: "no contacts"
one: "1 contact" one: "1 contact"
two: "%{count} contacts"
few: "%{count} contacts" few: "%{count} contacts"
many: "%{count} contacts" many: "%{count} contacts"
other: "%{count} contacts" other: "%{count} contacts"
...@@ -245,6 +248,7 @@ en: ...@@ -245,6 +248,7 @@ en:
new_messages: new_messages:
zero: "No new messages" zero: "No new messages"
one: "1 new messages" one: "1 new messages"
two: "%{count} new messages"
few: "%{count} new messages" few: "%{count} new messages"
many: "%{count} new messages" many: "%{count} new messages"
other: "%{count} new messages" other: "%{count} new messages"
...@@ -326,18 +330,21 @@ en: ...@@ -326,18 +330,21 @@ en:
people_like_this: people_like_this:
zero: "no likes" zero: "no likes"
one: "%{count} like" one: "%{count} like"
two: "%{count} likes"
few: "%{count} likes" few: "%{count} likes"
many: "%{count} likes" many: "%{count} likes"
other: "%{count} likes" other: "%{count} likes"
people_like_this_comment: people_like_this_comment:
zero: "no likes" zero: "no likes"
one: "%{count} like" one: "%{count} like"
two: "%{count} likes"
few: "%{count} likes" few: "%{count} likes"
many: "%{count} likes" many: "%{count} likes"
other: "%{count} likes" other: "%{count} likes"
people_dislike_this: people_dislike_this:
zero: "no dislikes" zero: "no dislikes"
one: "%{count} dislike" one: "%{count} dislike"
two: "%{count} dislikes"
few: "%{count} dislikes" few: "%{count} dislikes"
many: "%{count} dislikes" many: "%{count} dislikes"
other: "%{count} dislikes" other: "%{count} dislikes"
...@@ -346,42 +353,49 @@ en: ...@@ -346,42 +353,49 @@ en:
started_sharing: started_sharing:
zero: "%{actors} started sharing with you." zero: "%{actors} started sharing with you."
one: "%{actors} started sharing with you." one: "%{actors} started sharing with you."
two: "%{actors} started sharing with you."
few: "%{actors} started sharing with you." few: "%{actors} started sharing with you."
many: "%{actors} started sharing with you." many: "%{actors} started sharing with you."
other: "%{actors} started sharing with you." other: "%{actors} started sharing with you."
private_message: private_message:
zero: "%{actors} sent you a message." zero: "%{actors} sent you a message."
one: "%{actors} sent you a message." one: "%{actors} sent you a message."
two: "%{actors} sent you a message."
few: "%{actors} sent you a message." few: "%{actors} sent you a message."
many: "%{actors} sent you a message." many: "%{actors} sent you a message."
other: "%{actors} sent you a message." other: "%{actors} sent you a message."
comment_on_post: comment_on_post:
zero: "%{actors} commented on your %{post_link}." zero: "%{actors} commented on your %{post_link}."
one: "%{actors} commented on your %{post_link}." one: "%{actors} commented on your %{post_link}."
two: "%{actors} commented on your %{post_link}."
few: "%{actors} commented on your %{post_link}." few: "%{actors} commented on your %{post_link}."
many: "%{actors} commented on your %{post_link}." many: "%{actors} commented on your %{post_link}."
other: "%{actors} commented on your %{post_link}." other: "%{actors} commented on your %{post_link}."
also_commented: also_commented:
zero: "%{actors} also commented on %{post_author}'s %{post_link}." zero: "%{actors} also commented on %{post_author}'s %{post_link}."
one: "%{actors} also commented on %{post_author}'s %{post_link}." one: "%{actors} also commented on %{post_author}'s %{post_link}."
two: "%{actors} also commented on %{post_author}'s %{post_link}."
few: "%{actors} also commented on %{post_author}'s %{post_link}." few: "%{actors} also commented on %{post_author}'s %{post_link}."
many: "%{actors} also commented on %{post_author}'s %{post_link}." many: "%{actors} also commented on %{post_author}'s %{post_link}."
other: "%{actors} also commented on %{post_author}'s %{post_link}." other: "%{actors} also commented on %{post_author}'s %{post_link}."
mentioned: mentioned:
zero: "%{actors} has mentioned you in a %{post_link}." zero: "%{actors} has mentioned you in a %{post_link}."
one: "%{actors} has mentioned you in a %{post_link}." one: "%{actors} has mentioned you in a %{post_link}."
two: "%{actors} has mentioned you in a %{post_link}."
few: "%{actors} has mentioned you in a %{post_link}." few: "%{actors} has mentioned you in a %{post_link}."
many: "%{actors} has mentioned you in a %{post_link}." many: "%{actors} has mentioned you in a %{post_link}."
other: "%{actors} has mentioned you in a %{post_link}." other: "%{actors} has mentioned you in a %{post_link}."
liked: liked:
zero: "%{actors} has just liked your %{post_link}." zero: "%{actors} has just liked your %{post_link}."
one: "%{actors} has just liked your %{post_link}." one: "%{actors} has just liked your %{post_link}."
two: "%{actors} has just liked your %{post_link}."
few: "%{actors} has just liked your %{post_link}." few: "%{actors} has just liked your %{post_link}."
many: "%{actors} has just liked your %{post_link}." many: "%{actors} has just liked your %{post_link}."
other: "%{actors} has just liked your %{post_link}." other: "%{actors} has just liked your %{post_link}."
reshared: reshared:
zero: "%{actors} has reshared your %{post_link}." zero: "%{actors} has reshared your %{post_link}."
one: "%{actors} has reshared your %{post_link}." one: "%{actors} has reshared your %{post_link}."
two: "%{actors} has reshared your %{post_link}."
few: "%{actors} has reshared your %{post_link}." few: "%{actors} has reshared your %{post_link}."
many: "%{actors} has reshared your %{post_link}." many: "%{actors} has reshared your %{post_link}."
other: "%{actors} has reshared your %{post_link}." other: "%{actors} has reshared your %{post_link}."
...@@ -389,24 +403,28 @@ en: ...@@ -389,24 +403,28 @@ en:
also_commented_deleted: also_commented_deleted:
zero: "%{actors} commented on a deleted post." zero: "%{actors} commented on a deleted post."
one: "%{actors} commented on a deleted post." one: "%{actors} commented on a deleted post."
two: "%{actors} commented on a deleted post."
few: "%{actors} commented on a deleted post." few: "%{actors} commented on a deleted post."
many: "%{actors} commented on a deleted post." many: "%{actors} commented on a deleted post."
other: "%{actors} commented on a deleted post." other: "%{actors} commented on a deleted post."
liked_post_deleted: liked_post_deleted:
zero: "%{actors} liked your deleted post." zero: "%{actors} liked your deleted post."
one: "%{actors} liked your deleted post." one: "%{actors} liked your deleted post."
two: "%{actors} liked your deleted post."
few: "%{actors} liked your deleted post." few: "%{actors} liked your deleted post."
many: "%{actors} liked your deleted post." many: "%{actors} liked your deleted post."
other: "%{actors} liked your deleted post." other: "%{actors} liked your deleted post."
reshared_post_deleted: reshared_post_deleted:
zero: "%{actors} reshared your deleted post." zero: "%{actors} reshared your deleted post."
one: "%{actors} reshared your deleted post." one: "%{actors} reshared your deleted post."
two: "%{actors} reshared your deleted post."
few: "%{actors} reshared your deleted post." few: "%{actors} reshared your deleted post."
many: "%{actors} reshared your deleted post." many: "%{actors} reshared your deleted post."
other: "%{actors} reshared your deleted post." other: "%{actors} reshared your deleted post."
mentioned_deleted: mentioned_deleted:
zero: "%{actors} mentioned you in a deleted post." zero: "%{actors} mentioned you in a deleted post."
one: "%{actors} mentioned you in a deleted post." one: "%{actors} mentioned you in a deleted post."
two: "%{actors} mentioned you in a deleted post."
few: "%{actors} mentioned you in a deleted post." few: "%{actors} mentioned you in a deleted post."
many: "%{actors} mentioned you in a deleted post." many: "%{actors} mentioned you in a deleted post."
other: "%{actors} mentioned you in a deleted post." other: "%{actors} mentioned you in a deleted post."
...@@ -416,6 +434,7 @@ en: ...@@ -416,6 +434,7 @@ en:
and_others: and_others:
zero: "and nobody else" zero: "and nobody else"
one: "and one more" one: "and one more"
two: "and %{count} others"
few: "and %{count} others" few: "and %{count} others"
many: "and %{count} others" many: "and %{count} others"
other: "and %{count} others" other: "and %{count} others"
...@@ -424,6 +443,7 @@ en: ...@@ -424,6 +443,7 @@ en:
new_notifications: new_notifications:
zero: "No new notifications" zero: "No new notifications"
one: "1 new notifications" one: "1 new notifications"
two: "%{count} new notifications"
few: "%{count} new notifications" few: "%{count} new notifications"
many: "%{count} new notifications" many: "%{count} new notifications"
other: "%{count} new notifications" other: "%{count} new notifications"
...@@ -461,6 +481,7 @@ en: ...@@ -461,6 +481,7 @@ en:
people: people:
zero: "no people" zero: "no people"
one: "1 person" one: "1 person"
two: "%{count} people"
few: "%{count} people" few: "%{count} people"
many: "%{count} people" many: "%{count} people"
other: "%{count} people" other: "%{count} people"
...@@ -615,6 +636,7 @@ en: ...@@ -615,6 +636,7 @@ en:
new_requests: new_requests:
zero: "no new requests" zero: "no new requests"
one: "new request!" one: "new request!"
two: "%{count} new requests!"
few: "%{count} new requests!" few: "%{count} new requests!"
many: "%{count} new requests!" many: "%{count} new requests!"
other: "%{count} new requests!" other: "%{count} new requests!"
...@@ -624,6 +646,7 @@ en: ...@@ -624,6 +646,7 @@ en:
reshare: reshare:
zero: "Reshare" zero: "Reshare"
one: "1 reshare" one: "1 reshare"
two: "%{count} reshares"
few: "%{count} reshares" few: "%{count} reshares"
many: "%{count} reshares" many: "%{count} reshares"
other: "%{count} reshares" other: "%{count} reshares"
...@@ -666,6 +689,7 @@ en: ...@@ -666,6 +689,7 @@ en:
toggle: toggle:
zero: "Add to aspect" zero: "Add to aspect"
one: "In %{count} aspect" one: "In %{count} aspect"
two: "In %{count} aspects"
few: "In %{count} aspects" few: "In %{count} aspects"
many: "In %{count} aspects" many: "In %{count} aspects"
other: "In %{count} aspects" other: "In %{count} aspects"
...@@ -731,6 +755,7 @@ en: ...@@ -731,6 +755,7 @@ en:
too_long: too_long:
zero: "please make your status messages less than %{count} characters" zero: "please make your status messages less than %{count} characters"
one: "please make your status messages less than %{count} character" one: "please make your status messages less than %{count} character"
two: "please make your status messages less than %{count} characters"
few: "please make your status messages less than %{count} characters" few: "please make your status messages less than %{count} characters"
many: "please make your status messages less than %{count} characters" many: "please make your status messages less than %{count} characters"
other: "please make your status messages less than %{count} characters" other: "please make your status messages less than %{count} characters"
......
...@@ -41,6 +41,7 @@ en: ...@@ -41,6 +41,7 @@ en:
toggle: toggle:
zero: "Add to aspect" zero: "Add to aspect"
one: "In {{count}} aspect" one: "In {{count}} aspect"
two: "In {{count}} aspects"
few: "In {{count}} aspects" few: "In {{count}} aspects"
many: "In {{count}} aspects" many: "In {{count}} aspects"
other: "In {{count}} aspects" other: "In {{count}} aspects"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter