diff options
author | Eric Fischer <enf@google.com> | 2012-02-24 10:17:44 -0800 |
---|---|---|
committer | Eric Fischer <enf@google.com> | 2012-02-24 10:17:44 -0800 |
commit | e8da86665ed120be0d131c8f88bdbf8b28235db6 (patch) | |
tree | 30bff65c14fc0119bc77f78c4b4d66f641bdfbcd | |
parent | bd7f37acba8597f482712f3679db97ddacb59fd9 (diff) | |
download | packages_apps_trebuchet-e8da86665ed120be0d131c8f88bdbf8b28235db6.zip packages_apps_trebuchet-e8da86665ed120be0d131c8f88bdbf8b28235db6.tar.gz packages_apps_trebuchet-e8da86665ed120be0d131c8f88bdbf8b28235db6.tar.bz2 |
Mark string format tokens as placeholders.
This will keep them from potentially getting mangled in translation.
Change-Id: I4d805a3ce4e50e735c43b6f30186d9ac01c532af
-rw-r--r-- | res/values/strings.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index c89e963..a9b14d0 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -239,7 +239,7 @@ s --> <!-- Folder accessibility --> <!-- The format string for when a folder is opened, speaks the dimensions --> - <string name="folder_opened">Folder opened, %1$d by %2$d</string> + <string name="folder_opened">Folder opened, <xliff:g id="width" example="5">%1$d</xliff:g> by <xliff:g id="height" example="3">%2$d</xliff:g></string> <!-- Instruction that clicking outside will close folder --> <string name="folder_tap_to_close">Touch to close folder</string> <!-- Instruction that clicking outside will commit folder rename --> @@ -247,8 +247,8 @@ s --> <!-- Indication that folder closed --> <string name="folder_closed">Folder closed</string> <!-- Folder renamed format --> - <string name="folder_renamed">Folder renamed to %1$s</string> + <string name="folder_renamed">Folder renamed to <xliff:g id="name" example="Games">%1$s</xliff:g></string> <!-- Folder name format --> - <string name="folder_name_format">Folder: %1$s</string> + <string name="folder_name_format">Folder: <xliff:g id="name" example="Games">%1$s</xliff:g></string> </resources> |