Tweaks for Armenian layouts

Added a dedicated key for the Armenian full stop

Added Armenian punctuation letters

bug: 7963631
Change-Id: Id28e224329b083a2465256f2713477b4f0782393
main
Ken Wakasa 2013-09-24 18:11:12 +09:00
parent dd7d95bd4a
commit 1b7fc4f338
5 changed files with 44 additions and 10 deletions

View File

@ -103,6 +103,8 @@
vi: Vietnamese (Dong) --> vi: Vietnamese (Dong) -->
<!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for <!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for
its unicode, although there is no font glyph for it as of November 2012. --> its unicode, although there is no font glyph for it as of November 2012. -->
<!-- TODO: The currency sign of Armenian Dram was created in 2012 and assigned U+058F for
its unicode, although there is no font glyph for it as of September 2013. -->
<case <case
latin:languageCode="fa|hi|iw|lo|mn|ne|th|uk|vi" latin:languageCode="fa|hi|iw|lo|mn|ne|th|uk|vi"
> >

View File

@ -73,6 +73,20 @@
latin:backgroundType="functional" latin:backgroundType="functional"
latin:keyStyle="hasShiftedLetterHintStyle" /> latin:keyStyle="hasShiftedLetterHintStyle" />
</case> </case>
<case
latin:languageCode="hy"
>
<!-- U+0589: "։" ARMENIAN FULL STOP -->
<Key
latin:keyLabel="&#x0589;"
latin:keyLabelFlags="hasPopupHint"
latin:backgroundType="functional"
latin:moreKeys="!text/more_keys_for_punctuation" />
<!-- U+055D: "՝" ARMENIAN COMMA -->
<Key
latin:keyLabel="&#x055D;"
latin:backgroundType="functional" />
</case>
<default> <default>
<Key <Key
latin:keyLabel="." latin:keyLabel="."

View File

@ -49,6 +49,14 @@
<include <include
latin:keyboardLayout="@xml/key_nepali_traditional_period" /> latin:keyboardLayout="@xml/key_nepali_traditional_period" />
</case> </case>
<case
latin:languageCode="hy"
>
<!-- U+0589: "։" ARMENIAN FULL STOP -->
<Key
latin:keyLabel="&#x0589;"
latin:keyStyle="punctuationKeyStyle" />
</case>
<default> <default>
<Key <Key
latin:keyStyle="punctuationKeyStyle" /> latin:keyStyle="punctuationKeyStyle" />

View File

@ -1769,15 +1769,15 @@ public final class KeyboardTextsSet {
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
/* ~52 */ /* ~52 */
// U+058A: "" ARMENIAN HYPHEN
// U+055C: "՜" ARMENIAN EXCLAMATION MARK
// U+055D: "՝" ARMENIAN COMMA
// U+055E: "՞" ARMENIAN QUESTION MARK // U+055E: "՞" ARMENIAN QUESTION MARK
/* 53 */ "!fixedColumnOrder!4,\u055E,!,\\,,?,:,;,@", // U+0559: "" ARMENIAN MODIFIER LETTER LEFT HALF RING
/* 54~ */ // U+055A: "" ARMENIAN APOSTROPHE
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, // U+055B: "՛" ARMENIAN EMPHASIS MARK
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, // U+055F: "՟" ARMENIAN ABBREVIATION MARK
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, /* 53 */ "!fixedColumnOrder!8,!,?,\\,,.,\u058A,\u055C,\u055D,\u055E,:,;,@,\u0559,\u055A,\u055B,\u055F",
null, null, null, null, null, null, null, null, null,
/* ~107 */
/* 108 */ "\u055E,?",
}; };
/* Language is: Icelandic */ /* Language is: Icelandic */

View File

@ -18,7 +18,17 @@
*/ */
--> -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- U+058A: "֊" ARMENIAN HYPHEN -->
<!-- U+055C: "՜" ARMENIAN EXCLAMATION MARK -->
<!-- U+055D: "՝" ARMENIAN COMMA -->
<!-- U+055E: "՞" ARMENIAN QUESTION MARK --> <!-- U+055E: "՞" ARMENIAN QUESTION MARK -->
<string name="more_keys_for_punctuation">"!fixedColumnOrder!4,&#x055E;,!,\\,,\?,:,;,\@"</string> <!-- U+0559: "ՙ" ARMENIAN MODIFIER LETTER LEFT HALF RING -->
<string name="more_keys_for_tablet_period">&#x055E;,\?</string> <!-- U+055A: "՚" ARMENIAN APOSTROPHE -->
<!-- U+055B: "՛" ARMENIAN EMPHASIS MARK -->
<!-- U+055F: "՟" ARMENIAN ABBREVIATION MARK -->
<string name="more_keys_for_punctuation">"!fixedColumnOrder!8,!,?,\\,,.,&#x058A;,&#x055C;,&#x055D;,&#x055E;,:,;,\@,&#x0559;,&#x055A;,&#x055B;,&#x055F;"</string>
<!-- U+058F: "֏" ARMENIAN DRAM SIGN -->
<!-- TODO: Enable this when we have glyph for the following letter
<string name="keylabel_for_currency">&#x058F;</string>
-->
</resources> </resources>