Add Afrikaans keyboard layout
Bug: 6867914 Change-Id: Ice35b20a0a51dda21c8271256064523bb5844952
This commit is contained in:
parent
941f222c21
commit
55c01170c4
3 changed files with 128 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
|
||||
<!-- Supported subtypes
|
||||
keyboard_locale: script_name/keyboard_layout_set[:keyboard_locale]
|
||||
af: Afrikaans/qwerty
|
||||
ar: Arabic/arabic
|
||||
be: Belarusian/east_slavic
|
||||
bg: Bulgarian/bulgarian
|
||||
|
@ -90,6 +91,12 @@
|
|||
android:imeSubtypeMode="keyboard"
|
||||
android:imeSubtypeExtraValue="TrySuppressingImeSwitcher,AsciiCapable,SupportTouchPositionCorrection"
|
||||
/>
|
||||
<subtype android:icon="@drawable/ic_subtype_keyboard"
|
||||
android:label="@string/subtype_generic"
|
||||
android:imeSubtypeLocale="af"
|
||||
android:imeSubtypeMode="keyboard"
|
||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=qwerty,AsciiCapable"
|
||||
/>
|
||||
<subtype android:icon="@drawable/ic_subtype_keyboard"
|
||||
android:label="@string/subtype_generic"
|
||||
android:imeSubtypeLocale="ar"
|
||||
|
|
|
@ -377,6 +377,58 @@ public final class KeyboardTextsSet {
|
|||
/* 120 */ "!fixedColumnOrder!5,!hasLabels!,=-O|=-O ,:-P|:-P ,;-)|;-) ,:-(|:-( ,:-)|:-) ,:-!|:-! ,:-$|:-$ ,B-)|B-) ,:O|:O ,:-*|:-* ,:-D|:-D ,:\'(|:\'( ,:-\\\\|:-\\\\ ,O:-)|O:-) ,:-[|:-[ ",
|
||||
};
|
||||
|
||||
/* Language af: Afrikaans */
|
||||
private static final String[] LANGUAGE_af = {
|
||||
// This is the same as Dutch except promoting vowels with circumflex and diaeresis.
|
||||
// U+00E2: "â" LATIN SMALL LETTER A WITH CIRCUMFLEX
|
||||
// U+00E4: "ä" LATIN SMALL LETTER A WITH DIAERESIS
|
||||
// U+00E1: "á" LATIN SMALL LETTER A WITH ACUTE
|
||||
// U+00E0: "à" LATIN SMALL LETTER A WITH GRAVE
|
||||
// U+00E6: "æ" LATIN SMALL LETTER AE
|
||||
// U+00E3: "ã" LATIN SMALL LETTER A WITH TILDE
|
||||
// U+00E5: "å" LATIN SMALL LETTER A WITH RING ABOVE
|
||||
// U+0101: "ā" LATIN SMALL LETTER A WITH MACRON
|
||||
/* 0 */ "\u00E2,\u00E4,\u00E1,\u00E0,\u00E6,\u00E3,\u00E5,\u0101",
|
||||
// U+00EA: "ê" LATIN SMALL LETTER E WITH CIRCUMFLEX
|
||||
// U+00EB: "ë" LATIN SMALL LETTER E WITH DIAERESIS
|
||||
// U+00E9: "é" LATIN SMALL LETTER E WITH ACUTE
|
||||
// U+00E8: "è" LATIN SMALL LETTER E WITH GRAVE
|
||||
// U+0119: "ę" LATIN SMALL LETTER E WITH OGONEK
|
||||
// U+0117: "ė" LATIN SMALL LETTER E WITH DOT ABOVE
|
||||
// U+0113: "ē" LATIN SMALL LETTER E WITH MACRON
|
||||
/* 1 */ "\u00EA,\u00EB,\u00E9,\u00E8,\u0119,\u0117,\u0113",
|
||||
// U+00EE: "î" LATIN SMALL LETTER I WITH CIRCUMFLEX
|
||||
// U+00EF: "ï" LATIN SMALL LETTER I WITH DIAERESIS
|
||||
// U+00ED: "í" LATIN SMALL LETTER I WITH ACUTE
|
||||
// U+00EC: "ì" LATIN SMALL LETTER I WITH GRAVE
|
||||
// U+012F: "į" LATIN SMALL LETTER I WITH OGONEK
|
||||
// U+012B: "ī" LATIN SMALL LETTER I WITH MACRON
|
||||
// U+0133: "ij" LATIN SMALL LIGATURE IJ
|
||||
/* 2 */ "\u00EC,\u00EF,\u00ED,\u00EE,\u012F,\u012B,\u0133",
|
||||
// U+00F4: "ô" LATIN SMALL LETTER O WITH CIRCUMFLEX
|
||||
// U+00F6: "ö" LATIN SMALL LETTER O WITH DIAERESIS
|
||||
// U+00F3: "ó" LATIN SMALL LETTER O WITH ACUTE
|
||||
// U+00F2: "ò" LATIN SMALL LETTER O WITH GRAVE
|
||||
// U+00F5: "õ" LATIN SMALL LETTER O WITH TILDE
|
||||
// U+0153: "œ" LATIN SMALL LIGATURE OE
|
||||
// U+00F8: "ø" LATIN SMALL LETTER O WITH STROKE
|
||||
// U+014D: "ō" LATIN SMALL LETTER O WITH MACRON
|
||||
/* 3 */ "\u00F4,\u00F6,\u00F3,\u00F2,\u00F5,\u0153,\u00F8,\u014D",
|
||||
// U+00FB: "û" LATIN SMALL LETTER U WITH CIRCUMFLEX
|
||||
// U+00FC: "ü" LATIN SMALL LETTER U WITH DIAERESIS
|
||||
// U+00FA: "ú" LATIN SMALL LETTER U WITH ACUTE
|
||||
// U+00F9: "ù" LATIN SMALL LETTER U WITH GRAVE
|
||||
// U+016B: "ū" LATIN SMALL LETTER U WITH MACRON
|
||||
/* 4 */ "\u00FB,\u00FC,\u00FA,\u00F9,\u016B",
|
||||
/* 5 */ null,
|
||||
// U+00F1: "ñ" LATIN SMALL LETTER N WITH TILDE
|
||||
// U+0144: "ń" LATIN SMALL LETTER N WITH ACUTE
|
||||
/* 6 */ "\u00F1,\u0144",
|
||||
/* 7 */ null,
|
||||
// U+0133: "ij" LATIN SMALL LIGATURE IJ
|
||||
/* 8 */ "\u0133",
|
||||
};
|
||||
|
||||
/* Language ar: Arabic */
|
||||
private static final String[] LANGUAGE_ar = {
|
||||
/* 0~ */
|
||||
|
@ -2190,6 +2242,7 @@ public final class KeyboardTextsSet {
|
|||
|
||||
/* Language sw: Swahili */
|
||||
private static final String[] LANGUAGE_sw = {
|
||||
// This is the same as English except more_keys_for_g.
|
||||
// U+00E0: "à" LATIN SMALL LETTER A WITH GRAVE
|
||||
// U+00E1: "á" LATIN SMALL LETTER A WITH ACUTE
|
||||
// U+00E2: "â" LATIN SMALL LETTER A WITH CIRCUMFLEX
|
||||
|
@ -2567,6 +2620,7 @@ public final class KeyboardTextsSet {
|
|||
|
||||
private static final Object[] LANGUAGES_AND_TEXTS = {
|
||||
"DEFAULT", LANGUAGE_DEFAULT, /* default */
|
||||
"af", LANGUAGE_af, /* Afrikaans */
|
||||
"ar", LANGUAGE_ar, /* Arabic */
|
||||
"be", LANGUAGE_be, /* Belarusian */
|
||||
"ca", LANGUAGE_ca, /* Catalan */
|
||||
|
|
67
tools/maketext/res/values-af/donottranslate-more-keys.xml
Normal file
67
tools/maketext/res/values-af/donottranslate-more-keys.xml
Normal file
|
@ -0,0 +1,67 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2012, 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">
|
||||
<!-- This is the same as Dutch except promoting vowels with circumflex and diaeresis. -->
|
||||
<!-- U+00E2: "â" LATIN SMALL LETTER A WITH CIRCUMFLEX
|
||||
U+00E4: "ä" LATIN SMALL LETTER A WITH DIAERESIS
|
||||
U+00E1: "á" LATIN SMALL LETTER A WITH ACUTE
|
||||
U+00E0: "à" LATIN SMALL LETTER A WITH GRAVE
|
||||
U+00E6: "æ" LATIN SMALL LETTER AE
|
||||
U+00E3: "ã" LATIN SMALL LETTER A WITH TILDE
|
||||
U+00E5: "å" LATIN SMALL LETTER A WITH RING ABOVE
|
||||
U+0101: "ā" LATIN SMALL LETTER A WITH MACRON -->
|
||||
<string name="more_keys_for_a">â,ä,á,à,æ,ã,å,ā</string>
|
||||
<!-- U+00EA: "ê" LATIN SMALL LETTER E WITH CIRCUMFLEX
|
||||
U+00EB: "ë" LATIN SMALL LETTER E WITH DIAERESIS
|
||||
U+00E9: "é" LATIN SMALL LETTER E WITH ACUTE
|
||||
U+00E8: "è" LATIN SMALL LETTER E WITH GRAVE
|
||||
U+0119: "ę" LATIN SMALL LETTER E WITH OGONEK
|
||||
U+0117: "ė" LATIN SMALL LETTER E WITH DOT ABOVE
|
||||
U+0113: "ē" LATIN SMALL LETTER E WITH MACRON -->
|
||||
<string name="more_keys_for_e">ê,ë,é,è,ę,ė,ē</string>
|
||||
<!-- U+00EE: "î" LATIN SMALL LETTER I WITH CIRCUMFLEX
|
||||
U+00EF: "ï" LATIN SMALL LETTER I WITH DIAERESIS
|
||||
U+00ED: "í" LATIN SMALL LETTER I WITH ACUTE
|
||||
U+00EC: "ì" LATIN SMALL LETTER I WITH GRAVE
|
||||
U+012F: "į" LATIN SMALL LETTER I WITH OGONEK
|
||||
U+012B: "ī" LATIN SMALL LETTER I WITH MACRON
|
||||
U+0133: "ij" LATIN SMALL LIGATURE IJ -->
|
||||
<string name="more_keys_for_i">ì,ï,í,î,į,ī,ij</string>
|
||||
<!-- U+00F4: "ô" LATIN SMALL LETTER O WITH CIRCUMFLEX
|
||||
U+00F6: "ö" LATIN SMALL LETTER O WITH DIAERESIS
|
||||
U+00F3: "ó" LATIN SMALL LETTER O WITH ACUTE
|
||||
U+00F2: "ò" LATIN SMALL LETTER O WITH GRAVE
|
||||
U+00F5: "õ" LATIN SMALL LETTER O WITH TILDE
|
||||
U+0153: "œ" LATIN SMALL LIGATURE OE
|
||||
U+00F8: "ø" LATIN SMALL LETTER O WITH STROKE
|
||||
U+014D: "ō" LATIN SMALL LETTER O WITH MACRON -->
|
||||
<string name="more_keys_for_o">ô,ö,ó,ò,õ,œ,ø,ō</string>
|
||||
<!-- U+00FB: "û" LATIN SMALL LETTER U WITH CIRCUMFLEX
|
||||
U+00FC: "ü" LATIN SMALL LETTER U WITH DIAERESIS
|
||||
U+00FA: "ú" LATIN SMALL LETTER U WITH ACUTE
|
||||
U+00F9: "ù" LATIN SMALL LETTER U WITH GRAVE
|
||||
U+016B: "ū" LATIN SMALL LETTER U WITH MACRON -->
|
||||
<string name="more_keys_for_u">û,ü,ú,ù,ū</string>
|
||||
<!-- U+00F1: "ñ" LATIN SMALL LETTER N WITH TILDE
|
||||
U+0144: "ń" LATIN SMALL LETTER N WITH ACUTE -->
|
||||
<string name="more_keys_for_n">ñ,ń</string>
|
||||
<!-- U+0133: "ij" LATIN SMALL LIGATURE IJ -->
|
||||
<string name="more_keys_for_y">ij</string>
|
||||
</resources>
|
Loading…
Reference in a new issue