Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c926a1d authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Add Nepali Traditional keyboard

Bug: 9833890
Change-Id: I0af4a358cc1457dc08c32744b5c170bd2a3382c9
parent 47b71c82
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -371,6 +371,8 @@
    <!-- Description for Spanish (United States) keyboard subtype with explicit keyboard layout [CHAR LIMIT=25]
         This should be identical to subtype_es_US aside from the trailing (%s). -->
    <string name="subtype_with_layout_es_US">Spanish (US) (<xliff:g id="layout">%s</xliff:g>)</string>
    <!-- Description for Nepali (Traditional) keyboard subtype [CHAR LIMIT=25] -->
    <string name="subtype_nepali_traditional"><xliff:g id="language">%s</xliff:g> (Traditional)</string>
    <!-- TODO: Uncomment once we can handle IETF language tag with script name specified.
         Description for Serbian Cyrillic keyboard subtype [CHAR LIMIT=25]
    <string name="subtype_serbian_cyrillic">Serbian (Cyrillic)</string>
+57 −0
Original line number Diff line number Diff line
<?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.
*/
-->

<merge
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
    <include
        latin:keyboardLayout="@xml/key_styles_common" />
    <Row
        latin:keyWidth="8.182%p"
    >
        <include
            latin:keyboardLayout="@xml/rowkeys_nepali_traditional1" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="8.182%p"
    >
        <include
            latin:keyboardLayout="@xml/rowkeys_nepali_traditional2" />
        <Key
            latin:keyStyle="enterKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="8.182%p"
    >
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="10.0%p" />
        <include
            latin:keyboardLayout="@xml/rowkeys_nepali_traditional3_left6" />
        <include
            latin:keyboardLayout="@xml/rowkeys_nepali_traditional3_right5" />
        </Row>
    <include
        latin:keyboardLayout="@xml/row_qwerty4" />
</merge>
+68 −0
Original line number Diff line number Diff line
<?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.
*/
-->

<merge
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
    <include
        latin:keyboardLayout="@xml/key_styles_common" />
    <Row
        latin:keyWidth="7.375%p"
    >
        <Key
            latin:keyStyle="tabKeyStyle"
            latin:keyLabelFlags="alignLeft"
            latin:keyWidth="7.969%p" />
        <include
            latin:keyboardLayout="@xml/rowkeys_nepali_traditional1" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="7.227%p"
    >
        <Key
            latin:keyStyle="toSymbolKeyStyle"
            latin:keyLabelFlags="alignLeft"
            latin:keyWidth="11.172%p" />
        <include
            latin:keyboardLayout="@xml/rowkeys_nepali_traditional2" />
        <Key
            latin:keyStyle="enterKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="7.000%p"
    >
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="13.829%p" />
        <include
            latin:keyboardLayout="@xml/rowkeys_nepali_traditional3_left6" />
        <include
            latin:keyboardLayout="@xml/rowkeys_nepali_traditional3_right5" />
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <include
        latin:keyboardLayout="@xml/row_qwerty4" />
</merge>
+8 −0
Original line number Diff line number Diff line
@@ -34,6 +34,14 @@
                latin:styleName="moreKeysDevanagariVowelSignVocalicR"
                latin:moreKeys="&#x0944;" />
        </case>
        <case
            latin:keyboardLayoutSet="nepali_traditional"
        >
            <!-- U+0913: "ओ" DEVANAGARI LETTER O -->
            <key-style
                latin:styleName="moreKeysDevanagariVowelSignVocalicR"
                latin:moreKeys="&#x0913;" />
        </case>
        <default>
             <key-style
                latin:styleName="moreKeysDevanagariVowelSignVocalicR" />
+2 −1
Original line number Diff line number Diff line
@@ -26,7 +26,8 @@
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
    <!-- U+094D: "्" DEVANAGARI SIGN VIRAMA -->
    <Key
    <key-style
        latin:styleName="baseKeyDevanagariSignVirama"
        latin:keyLabel="&#x094D;"
        latin:keyLabelFlags="fontNormal" />
</merge>
Loading