summaryrefslogtreecommitdiffstats
path: root/samples/WiktionarySimple
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-05-28 14:24:49 -0700
committerKenny Root <kroot@google.com>2010-06-01 11:50:47 -0700
commit8aede04bf2660f951eb0408567d923cdef9b0213 (patch)
tree02fe59fa49647c081b6a800626534c8a714daa32 /samples/WiktionarySimple
parent67dfcbf17b51cc99898e3265276716a2a061a286 (diff)
downloadandroid_development-8aede04bf2660f951eb0408567d923cdef9b0213.tar.gz
android_development-8aede04bf2660f951eb0408567d923cdef9b0213.tar.bz2
android_development-8aede04bf2660f951eb0408567d923cdef9b0213.zip
Add positional parameters to aid in i18n
Different languages might have different word orders, so add in positional parameters for strings that have more than one substitution. Change-Id: Ie9fc74eb0a22471b272e65c6cd521f1518b322d1
Diffstat (limited to 'samples/WiktionarySimple')
-rw-r--r--samples/WiktionarySimple/res/values/strings.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/WiktionarySimple/res/values/strings.xml b/samples/WiktionarySimple/res/values/strings.xml
index 65e44cb86..7c7658572 100644
--- a/samples/WiktionarySimple/res/values/strings.xml
+++ b/samples/WiktionarySimple/res/values/strings.xml
@@ -17,9 +17,9 @@
<resources>
<string name="app_name">Wiktionary simple example</string>
- <string name="template_user_agent">"%s/%s (Linux; Android)"</string>
- <string name="template_wotd_title">"Wiktionary:Word of the day/%s %s"</string>
- <string name="template_define_url">"http://en.wiktionary.org/wiki/%s"</string>
+ <string name="template_user_agent" translatable="false">"%1$s/%2$s (Linux; Android)"</string>
+ <string name="template_wotd_title">"Wiktionary:Word of the day/%1$s %2$s"</string>
+ <string name="template_define_url" translatable="false">"http://en.wiktionary.org/wiki/%s"</string>
<string name="widget_name">Wiktionary simple</string>