summaryrefslogtreecommitdiffstats
path: root/samples/Wiktionary
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/Wiktionary
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/Wiktionary')
-rw-r--r--samples/Wiktionary/res/values/strings.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/Wiktionary/res/values/strings.xml b/samples/Wiktionary/res/values/strings.xml
index 38d993768..ace442895 100644
--- a/samples/Wiktionary/res/values/strings.xml
+++ b/samples/Wiktionary/res/values/strings.xml
@@ -19,9 +19,9 @@
<string name="app_descrip">Example of a fast Wiktionary browser and Word-of-day widget</string>
<string name="app_credits">"All dictionary content provided by Wiktionary under a GFDL license. http://en.wiktionary.org\n\nIcon derived from Tango Desktop Project under a public domain license. http://tango.freedesktop.org"</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</string>