am 0f317a56
: Fix issues with Nepali layouts
* commit '0f317a56030ce6ffb3ff08c1ab3b2ff120e68aea': Fix issues with Nepali layouts
This commit is contained in:
commit
aeeaca93ec
7 changed files with 132 additions and 4 deletions
|
@ -23,7 +23,7 @@
|
|||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:languageCode="fa"
|
||||
latin:languageCode="fa|ne"
|
||||
latin:languageSwitchKeyEnabled="true"
|
||||
>
|
||||
<Key
|
||||
|
@ -35,7 +35,7 @@
|
|||
latin:keyStyle="zwnjKeyStyle" />
|
||||
</case>
|
||||
<case
|
||||
latin:languageCode="fa"
|
||||
latin:languageCode="fa|ne"
|
||||
latin:languageSwitchKeyEnabled="false"
|
||||
>
|
||||
<Key
|
||||
|
|
|
@ -97,13 +97,14 @@
|
|||
iw: Hebrew (New Sheqel)
|
||||
lo: Lao (Kip)
|
||||
mn: Mongolian (Tugrik)
|
||||
ne: Nepali (Nepalese Rupee)
|
||||
th: Thai (Baht)
|
||||
uk: Ukrainian (Hryvnia)
|
||||
vi: Vietnamese (Dong) -->
|
||||
<!-- 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. -->
|
||||
<case
|
||||
latin:languageCode="fa|hi|iw|lo|mn|th|uk|vi"
|
||||
latin:languageCode="fa|hi|iw|lo|mn|ne|th|uk|vi"
|
||||
>
|
||||
<!-- U+00A3: "£" POUND SIGN
|
||||
U+20AC: "€" EURO SIGN
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
<Element
|
||||
latin:elementName="symbols"
|
||||
latin:elementKeyboard="@xml/kbd_symbols" />
|
||||
<Element
|
||||
latin:elementName="symbolsShifted"
|
||||
latin:elementKeyboard="@xml/kbd_symbols_shift" />
|
||||
<Element
|
||||
latin:elementName="phone"
|
||||
latin:elementKeyboard="@xml/kbd_phone" />
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
<Element
|
||||
latin:elementName="symbols"
|
||||
latin:elementKeyboard="@xml/kbd_symbols" />
|
||||
<Element
|
||||
latin:elementName="symbolsShifted"
|
||||
latin:elementKeyboard="@xml/kbd_symbols_shift" />
|
||||
<Element
|
||||
latin:elementName="phone"
|
||||
latin:elementKeyboard="@xml/kbd_phone" />
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- U+0923: "ण" DEVANAGARI LETTER NNA -->
|
||||
<Key
|
||||
latin:keyLabel="श"
|
||||
latin:keyLabel="ण"
|
||||
latin:keyLabelFlags="fontNormal" />
|
||||
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||
render dotted circle for incomplete combining letter of some scripts, different
|
||||
|
|
|
@ -2366,6 +2366,63 @@ public final class KeyboardTextsSet {
|
|||
/* 47 */ "!text/double_9qm_rqm",
|
||||
};
|
||||
|
||||
/* Language ne: Nepali */
|
||||
private static final String[] LANGUAGE_ne = {
|
||||
/* 0~ */
|
||||
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,
|
||||
/* ~44 */
|
||||
// Label for "switch to alphabetic" key.
|
||||
// U+0915: "क" DEVANAGARI LETTER KA
|
||||
// U+0916: "ख" DEVANAGARI LETTER KHA
|
||||
// U+0917: "ग" DEVANAGARI LETTER GA
|
||||
/* 45 */ "\u0915\u0916\u0917",
|
||||
/* 46~ */
|
||||
null, null, null, null, null,
|
||||
/* ~50 */
|
||||
// U+0930/U+0941/U+002E "रु." NEPALESE RUPEE SIGN
|
||||
/* 51 */ "\u0930\u0941.",
|
||||
/* 52~ */
|
||||
null, null, null, null, null, null, null, null, null, null, null,
|
||||
/* ~62 */
|
||||
// U+0967: "१" DEVANAGARI DIGIT ONE
|
||||
/* 63 */ "\u0967",
|
||||
// U+0968: "२" DEVANAGARI DIGIT TWO
|
||||
/* 64 */ "\u0968",
|
||||
// U+0969: "३" DEVANAGARI DIGIT THREE
|
||||
/* 65 */ "\u0969",
|
||||
// U+096A: "४" DEVANAGARI DIGIT FOUR
|
||||
/* 66 */ "\u096A",
|
||||
// U+096B: "५" DEVANAGARI DIGIT FIVE
|
||||
/* 67 */ "\u096B",
|
||||
// U+096C: "६" DEVANAGARI DIGIT SIX
|
||||
/* 68 */ "\u096C",
|
||||
// U+096D: "७" DEVANAGARI DIGIT SEVEN
|
||||
/* 69 */ "\u096D",
|
||||
// U+096E: "८" DEVANAGARI DIGIT EIGHT
|
||||
/* 70 */ "\u096E",
|
||||
// U+096F: "९" DEVANAGARI DIGIT NINE
|
||||
/* 71 */ "\u096F",
|
||||
// U+0966: "०" DEVANAGARI DIGIT ZERO
|
||||
/* 72 */ "\u0966",
|
||||
// Label for "switch to symbols" key.
|
||||
/* 73 */ "?\u0967\u0968\u0969",
|
||||
// Label for "switch to symbols with microphone" key. This string shouldn't include the "mic"
|
||||
// part because it'll be appended by the code.
|
||||
/* 74 */ "\u0967\u0968\u0969",
|
||||
/* 75 */ "1",
|
||||
/* 76 */ "2",
|
||||
/* 77 */ "3",
|
||||
/* 78 */ "4",
|
||||
/* 79 */ "5",
|
||||
/* 80 */ "6",
|
||||
/* 81 */ "7",
|
||||
/* 82 */ "8",
|
||||
/* 83 */ "9",
|
||||
/* 84 */ "0",
|
||||
};
|
||||
|
||||
/* Language nl: Dutch */
|
||||
private static final String[] LANGUAGE_nl = {
|
||||
// U+00E1: "á" LATIN SMALL LETTER A WITH ACUTE
|
||||
|
@ -3357,6 +3414,7 @@ public final class KeyboardTextsSet {
|
|||
"mk", LANGUAGE_mk, /* Macedonian */
|
||||
"mn", LANGUAGE_mn, /* Mongolian */
|
||||
"nb", LANGUAGE_nb, /* Norwegian Bokmål */
|
||||
"ne", LANGUAGE_ne, /* Nepali */
|
||||
"nl", LANGUAGE_nl, /* Dutch */
|
||||
"pl", LANGUAGE_pl, /* Polish */
|
||||
"pt", LANGUAGE_pt, /* Portuguese */
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2013, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for "switch to alphabetic" key.
|
||||
U+0915: "क" DEVANAGARI LETTER KA
|
||||
U+0916: "ख" DEVANAGARI LETTER KHA
|
||||
U+0917: "ग" DEVANAGARI LETTER GA -->
|
||||
<string name="label_to_alpha_key">कखग</string>
|
||||
<!-- U+0967: "१" DEVANAGARI DIGIT ONE -->
|
||||
<string name="keylabel_for_symbols_1">१</string>
|
||||
<!-- U+0968: "२" DEVANAGARI DIGIT TWO -->
|
||||
<string name="keylabel_for_symbols_2">२</string>
|
||||
<!-- U+0969: "३" DEVANAGARI DIGIT THREE -->
|
||||
<string name="keylabel_for_symbols_3">३</string>
|
||||
<!-- U+096A: "४" DEVANAGARI DIGIT FOUR -->
|
||||
<string name="keylabel_for_symbols_4">४</string>
|
||||
<!-- U+096B: "५" DEVANAGARI DIGIT FIVE -->
|
||||
<string name="keylabel_for_symbols_5">५</string>
|
||||
<!-- U+096C: "६" DEVANAGARI DIGIT SIX -->
|
||||
<string name="keylabel_for_symbols_6">६</string>
|
||||
<!-- U+096D: "७" DEVANAGARI DIGIT SEVEN -->
|
||||
<string name="keylabel_for_symbols_7">७</string>
|
||||
<!-- U+096E: "८" DEVANAGARI DIGIT EIGHT -->
|
||||
<string name="keylabel_for_symbols_8">८</string>
|
||||
<!-- U+096F: "९" DEVANAGARI DIGIT NINE -->
|
||||
<string name="keylabel_for_symbols_9">९</string>
|
||||
<!-- U+0966: "०" DEVANAGARI DIGIT ZERO -->
|
||||
<string name="keylabel_for_symbols_0">०</string>
|
||||
<!-- Label for "switch to symbols" key. -->
|
||||
<string name="label_to_symbol_key">\?१२३</string>
|
||||
<!-- Label for "switch to symbols with microphone" key. This string shouldn't include the "mic"
|
||||
part because it'll be appended by the code. -->
|
||||
<string name="label_to_symbol_with_microphone_key">१२३</string>
|
||||
<string name="additional_more_keys_for_symbols_1">1</string>
|
||||
<string name="additional_more_keys_for_symbols_2">2</string>
|
||||
<string name="additional_more_keys_for_symbols_3">3</string>
|
||||
<string name="additional_more_keys_for_symbols_4">4</string>
|
||||
<string name="additional_more_keys_for_symbols_5">5</string>
|
||||
<string name="additional_more_keys_for_symbols_6">6</string>
|
||||
<string name="additional_more_keys_for_symbols_7">7</string>
|
||||
<string name="additional_more_keys_for_symbols_8">8</string>
|
||||
<string name="additional_more_keys_for_symbols_9">9</string>
|
||||
<string name="additional_more_keys_for_symbols_0">0</string>
|
||||
<!-- U+0930/U+0941/U+002E "रु." NEPALESE RUPEE SIGN -->
|
||||
<string name="keylabel_for_currency">रु.</string>
|
||||
</resources>
|
Loading…
Reference in a new issue