diff options
author | James Cook <james@lindenlab.com> | 2009-10-05 23:42:37 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-10-05 23:42:37 +0000 |
commit | 1b3c6cc3621c2f49e8b0b0d2b06462279622e169 (patch) | |
tree | 1bab2c3633f4793772b61f46efee8a7deb8ff7f2 /indra/newview/skins/default | |
parent | 5749dd152b84488606ff70572a5cf825954835ec (diff) |
Added comments and stub plural noun keys to English to explain how we do translation for languages with more complex pluralization rules than English (like Russian, Arabic). Reviewed with Ramzi.
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r-- | indra/newview/skins/default/xui/en/language_settings.xml | 8 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/strings.xml | 11 |
2 files changed, 16 insertions, 3 deletions
diff --git a/indra/newview/skins/default/xui/en/language_settings.xml b/indra/newview/skins/default/xui/en/language_settings.xml index 71418d446a..c523185034 100644 --- a/indra/newview/skins/default/xui/en/language_settings.xml +++ b/indra/newview/skins/default/xui/en/language_settings.xml @@ -6,7 +6,13 @@ <string name="MicrosoftLocale">english</string> <string name="DarwinLocale">C</string> <string name="LinuxLocale">C</string> - + + <!-- Note: for plural nouns, see strings.xml. For example: + AgeYearsA = singular, + AgeYearsB = plural, + AgeYearsC = plural for non-English languages like Russian + For example, LLTrans::getCountString("AgeYears", 3) is plural form B + in English and form C in Russian --> <!-- datetimeToCodes["wkday"] = "%a"; // Thu datetimeToCodes["weekday"] = "%A"; // Thursday diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 3a5347fe12..cfe339d9b3 100644 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -1940,16 +1940,23 @@ this texture in your inventory <string name="DaysOld">[AGEDAYS] old</string> <string name="TodayOld">Joined today</string> - <!-- AgeYearsA = singular, AgeYearsB = plural, see logic in - LLTrans::getCountString() --> + <!-- AgeYearsA = singular, + AgeYearsB = plural, + AgeYearsC = plural for non-English languages like Russian + For example, LLTrans::getCountString("AgeYears", 3) is plural form B + in English and form C in Russian --> <string name="AgeYearsA">[COUNT] year</string> <string name="AgeYearsB">[COUNT] years</string> + <string name="AgeYearsC">[COUNT] years</string> <string name="AgeMonthsA">[COUNT] month</string> <string name="AgeMonthsB">[COUNT] months</string> + <string name="AgeMonthsC">[COUNT] months</string> <string name="AgeWeeksA">[COUNT] week</string> <string name="AgeWeeksB">[COUNT] weeks</string> + <string name="AgeWeeksC">[COUNT] weeks</string> <string name="AgeDaysA">[COUNT] day</string> <string name="AgeDaysB">[COUNT] days</string> + <string name="AgeDaysC">[COUNT] days</string> <!-- Account types, see LLAvatarPropertiesProcessor --> <string name="AcctTypeResident">Resident</string> |