diff options
author | 2012-04-05 14:59:55 +0900 | |
---|---|---|
committer | 2012-04-11 11:23:47 +0900 | |
commit | 2be51f4fd0c5cd70c7a2757558ffe45e703700cf (patch) | |
tree | 8f4d038afe8ecb55a1dc934e5f7cef2228a0d371 /java/res/xml/key_styles_common.xml | |
parent | 7be6ce0fd7f87d0e8e53fbbbb872d8a88a9bb32c (diff) | |
download | latinime-2be51f4fd0c5cd70c7a2757558ffe45e703700cf.tar.gz latinime-2be51f4fd0c5cd70c7a2757558ffe45e703700cf.tar.xz latinime-2be51f4fd0c5cd70c7a2757558ffe45e703700cf.zip |
Generate KeyboardLabelsSet from donottranslate-more-keys.xml
This change introduces makelabel tool that reads all languages'
donottranslate-more-keys and generate KeyboardLabelsSet.java source
file. The makelabel command must be invoked prior to compile LatinIME.
Change-Id: I7515c7919c535e30f9c80a37bdc831d0f682cd43
Diffstat (limited to 'java/res/xml/key_styles_common.xml')
-rw-r--r-- | java/res/xml/key_styles_common.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/java/res/xml/key_styles_common.xml b/java/res/xml/key_styles_common.xml index b0b87a810..ec011d08b 100644 --- a/java/res/xml/key_styles_common.xml +++ b/java/res/xml/key_styles_common.xml @@ -35,7 +35,7 @@ <key-style latin:styleName="f1MoreKeysStyle" latin:keyLabelFlags="hasPopupHint|preserveCase" - latin:moreKeys="@string/settings_as_more_key" + latin:moreKeys="!label/settings_as_more_key" latin:backgroundType="functional" /> </default> </switch> @@ -98,7 +98,7 @@ latin:keyLabel=":-)" latin:keyOutputText=":-) " latin:keyLabelFlags="hasPopupHint" - latin:moreKeys="@string/more_keys_for_smiley" + latin:moreKeys="!label/more_keys_for_smiley" latin:backgroundType="functional" /> </case> </switch> @@ -158,7 +158,7 @@ latin:styleName="toSymbolKeyStyle" latin:code="!code/key_switch_alpha_symbol" latin:keyIcon="iconShortcutForLabel" - latin:keyLabel="@string/label_to_symbol_with_microphone_key" + latin:keyLabel="!label/label_to_symbol_with_microphone_key" latin:keyLabelFlags="withIconRight|preserveCase" latin:keyActionFlags="noKeyPreview" latin:backgroundType="functional" /> @@ -167,7 +167,7 @@ <key-style latin:styleName="toSymbolKeyStyle" latin:code="!code/key_switch_alpha_symbol" - latin:keyLabel="@string/label_to_symbol_key" + latin:keyLabel="!label/label_to_symbol_key" latin:keyLabelFlags="preserveCase" latin:keyActionFlags="noKeyPreview" latin:backgroundType="functional" /> @@ -176,29 +176,29 @@ <key-style latin:styleName="toAlphaKeyStyle" latin:code="!code/key_switch_alpha_symbol" - latin:keyLabel="@string/label_to_alpha_key" + latin:keyLabel="!label/label_to_alpha_key" latin:keyLabelFlags="preserveCase" latin:keyActionFlags="noKeyPreview" latin:backgroundType="functional" /> <key-style latin:styleName="toMoreSymbolKeyStyle" latin:code="!code/key_shift" - latin:keyLabel="@string/label_to_more_symbol_key" + latin:keyLabel="!label/label_to_more_symbol_key" latin:keyLabelFlags="preserveCase" latin:keyActionFlags="noKeyPreview" latin:backgroundType="functional" /> <key-style latin:styleName="backFromMoreSymbolKeyStyle" latin:code="!code/key_shift" - latin:keyLabel="@string/label_to_symbol_key" + latin:keyLabel="!label/label_to_symbol_key" latin:keyLabelFlags="preserveCase" latin:keyActionFlags="noKeyPreview" latin:backgroundType="functional" /> <key-style latin:styleName="punctuationKeyStyle" latin:keyLabel="." - latin:keyHintLabel="@string/keyhintlabel_for_punctuation" + latin:keyHintLabel="!label/keyhintlabel_for_punctuation" latin:keyLabelFlags="hasPopupHint|preserveCase" - latin:moreKeys="@string/more_keys_for_punctuation" + latin:moreKeys="!label/more_keys_for_punctuation" latin:backgroundType="functional" /> </merge> |