Revision: 8751
Author: j...@google.com
Date: Fri Sep 10 08:58:12 2010
Log: Update i18n Messages to include:
- SafeHtml support
- extended plurals support
- list rendering
- static placeholders
- format arguments
Patch by: jat, xtof
Review by: pdr, xtof
Review at http://gwt-code-reviews.appspot.com/796802
http://code.google.com/p/google-web-toolkit/source/detail?r=8751
Added:
/trunk/user/src/com/google/gwt/i18n/rebind/cldr
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_af.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ar.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_bg.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_bn.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ca.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_cs.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_da.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_de.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_el.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_en.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_es.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_et.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_fi.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_fil.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_fo.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_fr.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_gsw.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_gu.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_hi.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_hr.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_hu.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_id.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_is.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_it.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ja.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_kl.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_kn.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ksh.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_lt.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_lv.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ml.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_mr.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_nb.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_nl.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_nn.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_pl.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_pt.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_pt_PT.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ru.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_se.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sh.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sk.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sl.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sr.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sr_Latn.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sr_ME.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sv.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ta.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_te.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_th.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_tl.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_tr.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_uk.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_vi.properties
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_zh.properties
/trunk/user/test/com/google/gwt/i18n/client/TestMessages.java
/trunk/user/test/com/google/gwt/i18n/client/TestMessages.properties
Modified:
/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/i18n/PluralMessages.java
/trunk/user/src/com/google/gwt/i18n/I18N.gwt.xml
/trunk/user/src/com/google/gwt/i18n/client/Messages.java
/trunk/user/src/com/google/gwt/i18n/rebind/AbstractResource.java
/trunk/user/src/com/google/gwt/i18n/rebind/AnnotationsResource.java
/trunk/user/src/com/google/gwt/i18n/rebind/LocalizedPropertiesResource.java
/trunk/user/src/com/google/gwt/i18n/rebind/MessageFormatParser.java
/trunk/user/src/com/google/gwt/i18n/rebind/MessagesImplCreator.java
/trunk/user/src/com/google/gwt/i18n/rebind/MessagesMethodCreator.java
/trunk/user/src/com/google/gwt/i18n/rebind/SimpleValueMethodCreator.java
/trunk/user/src/com/google/gwt/user/rebind/AbstractGeneratorClassCreator.java
/trunk/user/src/com/google/gwt/user/rebind/AbstractMethodCreator.java
/trunk/user/test/com/google/gwt/i18n/client/CommonInterfaceAnnotations.java
/trunk/user/test/com/google/gwt/i18n/client/I18N2Test.java
/trunk/user/test/com/google/gwt/i18n/client/I18NTest.java
/trunk/user/test/com/google/gwt/i18n/client/TestAnnotatedMessages.java
/trunk/user/test/com/google/gwt/i18n/client/TestAnnotatedMessages_ar.properties
/trunk/user/test/com/google/gwt/i18n/client/TestAnnotatedMessages_piglatin.properties
/trunk/user/test/com/google/gwt/i18n/client/TestAnnotationGrandchild.java
/trunk/user/test/com/google/gwt/i18n/client/TestAnnotationInheritance.java
/trunk/user/test/com/google/gwt/i18n/client/TestTypedMessages.java
/trunk/user/test/com/google/gwt/i18n/client/TestTypedMessages.properties
/trunk/user/test/com/google/gwt/i18n/client/gen/TestMessages.java
/trunk/user/test/com/google/gwt/i18n/rebind/MessageFormatParserTest.java
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0}, {1}
+start={0}, {1}
+middle={0}, {1}
+end={0}, {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_af.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} en {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} en {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ar.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} و {1}
+start={0}، {1}
+middle={0}، {1}
+end={0}، و {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_bg.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} и {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} и {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_bn.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} এবং {1}
+start={0}, {1}
+middle={0}, {1}
+end={0}, এবং {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ca.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} i {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} i {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_cs.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} a {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} a {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_da.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} og {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} og {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_de.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} und {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} und {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_el.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} και {1}
+start={0}, {1}
+middle={0}, {1}
+end={0}, και {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_en.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} and {1}
+start={0}, {1}
+middle={0}, {1}
+end={0}, and {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_es.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} y {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} y {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_et.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} ja {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} ja {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_fi.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} ja {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} ja {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_fil.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} at {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} at {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_fo.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} og {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} og {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_fr.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} et {1}
+start={0}, {1}
+middle={0}, {1}
+end={0}, et {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_gsw.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} und {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} und {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_gu.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} અને {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} અને {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_hi.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} और {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} और {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_hr.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} i {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} i {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_hu.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} és {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} és {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_id.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} dan {1}
+start={0}, {1}
+middle={0}, {1}
+end={0}, dan {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_is.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} og {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} og {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_it.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} e {1}
+start={0}, {1}
+middle={0}, {1}
+end={0}, e {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ja.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0}、{1}
+start={0}、{1}
+middle={0}、{1}
+end={0}、{1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_kl.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} aamma {1}
+start={0} aamma {1}
+middle={0}, {1}
+end={0}, {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_kn.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} ಮತ್ತು {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} ಮತ್ತು {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ksh.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} un {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} un {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_lt.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} ir {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} ir {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_lv.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} un {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} un {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ml.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} കൂടാതെ {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} കൂടാതെ {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_mr.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} आणि {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} आणि {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_nb.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} og {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} og {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_nl.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} en {1}
+start={0}, {1}
+middle={0}, {1}
+end={0}, en {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_nn.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} og {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} og {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_pl.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} i {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} i {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_pt.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} e {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} e {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_pt_PT.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} e {1}
+start={0}, {1}
+middle={0}, {1}
+end={0}, e {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ru.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} и {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} и {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_se.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} ja {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} ja {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sh.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} i {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} i {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sk.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} a {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} a {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sl.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} in {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} in {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sr.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} и {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} и {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sr_Latn.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} i {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} i {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sr_ME.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} i {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} i {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_sv.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} och {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} och {1}
=======================================
--- /dev/null
+++
/trunk/user/src/com/google/gwt/i18n/rebind/cldr/ListPatterns_ta.properties
Fri Sep 10 08:58:12 2010
@@ -0,0 +1,4 @@
+2={0} மற்றும் {1}
+start={0}, {1}
+middle={0}, {1}
+end={0} மற்றும் {1}
=======================================
***Additional files exist in this changeset.***
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors