am 18206676: Merge "Add Basque keyboard"
* commit '1820667642f918af5b44aee4bca585eb035d3b15': Add Basque keyboardmain
commit
a6c7cfe599
|
@ -50,7 +50,7 @@
|
|||
19. San Marino (it_SM)
|
||||
20. Slovakia (sk_SK)
|
||||
21. Slovenia (sl_SI)
|
||||
22. Spain (es_ES, ca_ES)
|
||||
22. Spain (es_ES, ca_ES, eu_ES, gl_ES)
|
||||
23. Vatican City (it_VA) -->
|
||||
<case
|
||||
latin:countryCode="AD|AT|BE|CY|EE|FI|FR|DE|GR|IE|IT|XK|LU|MT|MO|ME|NL|PT|SM|SK|SI|ES|VA"
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
es_US: Spanish (United States)/spanish
|
||||
(es_419: Spanish (Latin America)/qwerty)
|
||||
et_EE: Estonian (Estonia)/nordic
|
||||
eu_ES: Basque (Spain)/spanish
|
||||
fa: Persian/farsi
|
||||
fi: Finnish/nordic
|
||||
fr: French/azerty
|
||||
|
@ -254,6 +255,14 @@
|
|||
android:imeSubtypeExtraValue="KeyboardLayoutSet=nordic,AsciiCapable,EmojiCapable"
|
||||
android:isAsciiCapable="true"
|
||||
/>
|
||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
||||
android:label="@string/subtype_generic"
|
||||
android:subtypeId="0x070e5c07"
|
||||
android:imeSubtypeLocale="eu_ES"
|
||||
android:imeSubtypeMode="keyboard"
|
||||
android:imeSubtypeExtraValue="KeyboardLayoutSet=spanish,AsciiCapable,EmojiCapable"
|
||||
android:isAsciiCapable="true"
|
||||
/>
|
||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
||||
android:label="@string/subtype_generic"
|
||||
android:subtypeId="0xbe66c254"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
* Copyright (C) 2014 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.
|
||||
*/
|
||||
|
||||
package com.android.inputmethod.keyboard.layout.tests;
|
||||
|
||||
import android.test.suitebuilder.annotation.SmallTest;
|
||||
|
||||
import com.android.inputmethod.keyboard.layout.LayoutBase;
|
||||
import com.android.inputmethod.keyboard.layout.LayoutBase.EuroCustomizer;
|
||||
import com.android.inputmethod.keyboard.layout.Spanish;
|
||||
import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* eu_ES: Basque (Spain)/spanish
|
||||
*/
|
||||
@SmallTest
|
||||
public class TestsBasqueES extends LayoutTestsBase {
|
||||
private static final Locale LOCALE = new Locale("eu", "ES");
|
||||
private static final LayoutBase LAYOUT = new Spanish(new BasqueESCustomizer(LOCALE));
|
||||
|
||||
@Override
|
||||
LayoutBase getLayout() { return LAYOUT; }
|
||||
|
||||
private static class BasqueESCustomizer extends EuroCustomizer {
|
||||
private final SpanishCustomizer mSpanishCustomizer;
|
||||
|
||||
public BasqueESCustomizer(final Locale locale) {
|
||||
super(locale);
|
||||
mSpanishCustomizer = new SpanishCustomizer(locale);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ExpectedKeyboardBuilder setAccentedLetters(final ExpectedKeyboardBuilder builder) {
|
||||
return mSpanishCustomizer.setAccentedLetters(builder);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,70 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2014, 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">
|
||||
<!-- U+00E1: "á" LATIN SMALL LETTER A WITH ACUTE
|
||||
U+00E0: "à" LATIN SMALL LETTER A WITH GRAVE
|
||||
U+00E4: "ä" LATIN SMALL LETTER A WITH DIAERESIS
|
||||
U+00E2: "â" LATIN SMALL LETTER A WITH CIRCUMFLEX
|
||||
U+00E3: "ã" LATIN SMALL LETTER A WITH TILDE
|
||||
U+00E5: "å" LATIN SMALL LETTER A WITH RING ABOVE
|
||||
U+0105: "ą" LATIN SMALL LETTER A WITH OGONEK
|
||||
U+00E6: "æ" LATIN SMALL LETTER AE
|
||||
U+0101: "ā" LATIN SMALL LETTER A WITH MACRON
|
||||
U+00AA: "ª" FEMININE ORDINAL INDICATOR -->
|
||||
<string name="more_keys_for_a">á,à,ä,â,ã,å,ą,æ,ā,ª</string>
|
||||
<!-- U+00E9: "é" LATIN SMALL LETTER E WITH ACUTE
|
||||
U+00E8: "è" LATIN SMALL LETTER E WITH GRAVE
|
||||
U+00EB: "ë" LATIN SMALL LETTER E WITH DIAERESIS
|
||||
U+00EA: "ê" LATIN SMALL LETTER E WITH CIRCUMFLEX
|
||||
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+00ED: "í" LATIN SMALL LETTER I WITH ACUTE
|
||||
U+00EF: "ï" LATIN SMALL LETTER I WITH DIAERESIS
|
||||
U+00EC: "ì" LATIN SMALL LETTER I WITH GRAVE
|
||||
U+00EE: "î" LATIN SMALL LETTER I WITH CIRCUMFLEX
|
||||
U+012F: "į" LATIN SMALL LETTER I WITH OGONEK
|
||||
U+012B: "ī" LATIN SMALL LETTER I WITH MACRON -->
|
||||
<string name="more_keys_for_i">í,ï,ì,î,į,ī</string>
|
||||
<!-- U+00F3: "ó" LATIN SMALL LETTER O WITH ACUTE
|
||||
U+00F2: "ò" LATIN SMALL LETTER O WITH GRAVE
|
||||
U+00F6: "ö" LATIN SMALL LETTER O WITH DIAERESIS
|
||||
U+00F4: "ô" LATIN SMALL LETTER O WITH CIRCUMFLEX
|
||||
U+00F5: "õ" LATIN SMALL LETTER O WITH TILDE
|
||||
U+00F8: "ø" LATIN SMALL LETTER O WITH STROKE
|
||||
U+0153: "œ" LATIN SMALL LIGATURE OE
|
||||
U+014D: "ō" LATIN SMALL LETTER O WITH MACRON
|
||||
U+00BA: "º" MASCULINE ORDINAL INDICATOR -->
|
||||
<string name="more_keys_for_o">ó,ò,ö,ô,õ,ø,œ,ō,º</string>
|
||||
<!-- U+00FA: "ú" LATIN SMALL LETTER U WITH ACUTE
|
||||
U+00FC: "ü" LATIN SMALL LETTER U WITH DIAERESIS
|
||||
U+00F9: "ù" LATIN SMALL LETTER U WITH GRAVE
|
||||
U+00FB: "û" LATIN SMALL LETTER U WITH CIRCUMFLEX
|
||||
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+00E7: "ç" LATIN SMALL LETTER C WITH CEDILLA
|
||||
U+0107: "ć" LATIN SMALL LETTER C WITH ACUTE
|
||||
U+010D: "č" LATIN SMALL LETTER C WITH CARON -->
|
||||
<string name="more_keys_for_c">ç,ć,č</string>
|
||||
</resources>
|
Loading…
Reference in New Issue