diff options
author | 2014-08-28 15:14:36 +0900 | |
---|---|---|
committer | 2014-09-25 18:27:23 +0900 | |
commit | aaefd5666112c4a6fff58783c25cf9a75b468edd (patch) | |
tree | 69f8d60a187dac846a855aa0b94a67a97c1ce156 /tests/res | |
parent | dbb2182e3928cb8d204290f83a01718d5ff9b162 (diff) | |
download | latinime-aaefd5666112c4a6fff58783c25cf9a75b468edd.tar.gz latinime-aaefd5666112c4a6fff58783c25cf9a75b468edd.tar.xz latinime-aaefd5666112c4a6fff58783c25cf9a75b468edd.zip |
Add !string/<resource_name> reference
This CL introduces new text reference notation !string/<resource_name>
to refer a string resource on the fly.
This notation is mainly used to represent action key labels may refer
a string in a system locale in run-time.
This notation is needed to implement Hinglish and Serbian-Latin
keyboards that need to refer its own action key labels.
Bug: 17169632
Bug: 9687668
Change-Id: I042f6bd04714e0e448cd92031730eb9fb422e6d3
Diffstat (limited to 'tests/res')
-rw-r--r-- | tests/res/values/donottranslate.xml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/res/values/donottranslate.xml b/tests/res/values/donottranslate.xml index 263d0af24..f26947608 100644 --- a/tests/res/values/donottranslate.xml +++ b/tests/res/values/donottranslate.xml @@ -50,13 +50,15 @@ <string name="multiple_labels_with_escape_surrounded_by_spaces">" \\abc , d\\ef , gh\\i "</string> <string name="multiple_labels_with_comma_and_escape">"ab\\\\,d\\\\\\,,g\\,i"</string> <string name="multiple_labels_with_comma_and_escape_surrounded_by_spaces">" ab\\\\ , d\\\\\\, , g\\,i "</string> - <string name="indirect_string">!text/multiple_chars</string> - <string name="indirect_string_with_literal">x,!text/multiple_chars,y</string> - <string name="indirect2_string">!text/indirect_string</string> - <string name="infinite_indirection">infinite,!text/infinite_indirection,loop</string> - <string name="upper_indirect_string">!TEXT/MULTIPLE_CHARS</string> - <string name="upper_indirect_string_with_literal">x,!TEXT/MULTIPLE_CHARS,y</string> - <string name="upper_indirect2_string">!TEXT/UPPER_INDIRECT_STRING</string> - <string name="upper_infinite_indirection">infinite,!TEXT/INFINITE_INDIRECTION,loop</string> + <string name="indirect_string">!string/multiple_chars</string> + <string name="indirect_string_with_literal">x,!string/multiple_chars,y</string> + <string name="indirect2_string">!string/indirect_string</string> + <string name="infinite_indirection">infinite,!string/infinite_indirection,loop</string> + <string name="upper_indirect_string">!STRING/MULTIPLE_CHARS</string> + <string name="upper_indirect_string_with_literal">x,!STRING/MULTIPLE_CHARS,y</string> + <string name="upper_indirect2_string">!STRING/UPPER_INDIRECT_STRING</string> + <string name="upper_infinite_indirection">infinite,!STRING/INFINITE_INDIRECTION,loop</string> <string name="keyspec_indirect_navigate_actions">!fixedColumnOrder!2,!text/keyspec_action_previous,!text/keyspec_action_next</string> + <string name="label_next_key">ActionNext</string> + <string name="label_previous_key">ActionPrevious</string> </resources> |