am 0f47d516: Merge "Reword "No language""
* commit '0f47d5163dabb7b4205826dd2d829a55c8621577': Reword "No language"main
commit
f7959a3af5
|
@ -380,20 +380,83 @@
|
||||||
This should be identical to subtype_serbian_latin aside from the trailing (%s).
|
This should be identical to subtype_serbian_latin aside from the trailing (%s).
|
||||||
<string name="subtype_with_layout_sr-Latn">Serbian (Latin) (<xliff:g id="layout">%s</xliff:g>)</string>
|
<string name="subtype_with_layout_sr-Latn">Serbian (Latin) (<xliff:g id="layout">%s</xliff:g>)</string>
|
||||||
-->
|
-->
|
||||||
<!-- Description for language agnostic keyboard subtype [CHAR LIMIT=25] -->
|
<!-- This string is displayed in a language list that allows to choose a language for
|
||||||
<string name="subtype_no_language">No language</string>
|
suggestions in a software keyboard. This setting won't give suggestions in any particular
|
||||||
<!-- Description for language agnostic QWERTY keyboard subtype [CHAR LIMIT=25] -->
|
language, hence "No language".
|
||||||
<string name="subtype_no_language_qwerty">No language (QWERTY)</string>
|
As for the "alphabet" mention, it refers specifically to the Latin alphabet, as opposed to
|
||||||
<!-- Description for language agnostic QWERTZ keyboard subtype [CHAR LIMIT=25] -->
|
Cyrillic, Arabic, Hebrew or other scripts. This keyboard offers no suggestions, but it will
|
||||||
<string name="subtype_no_language_qwertz">No language (QWERTZ)</string>
|
be a QWERTY, or AZERTY, or any other disposition that only offers Latin characters, so
|
||||||
<!-- Description for language agnostic AZERTY keyboard subtype [CHAR LIMIT=25] -->
|
you wouldn't be able to type, say, Arabic on it. Please translate it in a way that "alphabet"
|
||||||
<string name="subtype_no_language_azerty">No language (AZERTY)</string>
|
would be understood to mean specifically the Latin alphabet, rather than any other
|
||||||
<!-- Description for language agnostic Dvorak keyboard subtype [CHAR LIMIT=25] -->
|
alphabet. [CHAR LIMIT=25] -->
|
||||||
<string name="subtype_no_language_dvorak">No language (Dvorak)</string>
|
<string name="subtype_no_language">No language (Alphabet)</string>
|
||||||
<!-- Description for language agnostic Colemak keyboard subtype [CHAR LIMIT=25] -->
|
<!-- This string is displayed in the description for a keyboard type. It refers specifically to
|
||||||
<string name="subtype_no_language_colemak">No language (Colemak)</string>
|
the Latin alphabet, as opposed to Cyrillic, Arabic, Hebrew or other scripts.
|
||||||
<!-- Description for language agnostic PC QWERTY keyboard subtype [CHAR LIMIT=25] -->
|
When the device is configured to use a language using a script other than the Latin alphabet, the
|
||||||
<string name="subtype_no_language_pcqwerty">No language (PC)</string>
|
user still needs a keyboard that can input Latin characters for passwords or login names for
|
||||||
|
example, and a way to switch to this Latin alphabet keyboard. This string is the description for
|
||||||
|
this keyboard, so users of other scripts should understand when they read this that it represents a
|
||||||
|
keyboard that is meant for them to be able to enter Latin characters as opposed to the script they
|
||||||
|
are used to. This keyboard does not provide a dictionary, and it is not tied to any specific
|
||||||
|
language among those that use the Latin alphabet. This keyboard is laid out in the QWERTY
|
||||||
|
disposition rather than other common dispositions for Latin languages. [CHAR LIMIT=25] -->
|
||||||
|
<string name="subtype_no_language_qwerty">Alphabet (QWERTY)</string>
|
||||||
|
<!-- This string is displayed in the description for a keyboard type. It refers specifically to
|
||||||
|
the Latin alphabet, as opposed to Cyrillic, Arabic, Hebrew or other scripts.
|
||||||
|
When the device is configured to use a language using a script other than the Latin alphabet, the
|
||||||
|
user still needs a keyboard that can input Latin characters for passwords or login names for
|
||||||
|
example, and a way to switch to this Latin alphabet keyboard. This string is the description for
|
||||||
|
this keyboard, so users of other scripts should understand when they read this that it represents a
|
||||||
|
keyboard that is meant for them to be able to enter Latin characters as opposed to the script they
|
||||||
|
are used to. This keyboard does not provide a dictionary, and it is not tied to any specific
|
||||||
|
language among those that use the Latin alphabet. This keyboard is laid out in the QWERTZ
|
||||||
|
disposition rather than other common dispositions for Latin languages. [CHAR LIMIT=25] -->
|
||||||
|
<string name="subtype_no_language_qwertz">Alphabet (QWERTZ)</string>
|
||||||
|
<!-- This string is displayed in the description for a keyboard type. It refers specifically to
|
||||||
|
the Latin alphabet, as opposed to Cyrillic, Arabic, Hebrew or other scripts.
|
||||||
|
When the device is configured to use a language using a script other than the Latin alphabet, the
|
||||||
|
user still needs a keyboard that can input Latin characters for passwords or login names for
|
||||||
|
example, and a way to switch to this Latin alphabet keyboard. This string is the description for
|
||||||
|
this keyboard, so users of other scripts should understand when they read this that it represents a
|
||||||
|
keyboard that is meant for them to be able to enter Latin characters as opposed to the script they
|
||||||
|
are used to. This keyboard does not provide a dictionary, and it is not tied to any specific
|
||||||
|
language among those that use the Latin alphabet. This keyboard is laid out in the AZERTY
|
||||||
|
disposition rather than other common dispositions for Latin languages. [CHAR LIMIT=25] -->
|
||||||
|
<string name="subtype_no_language_azerty">Alphabet (AZERTY)</string>
|
||||||
|
<!-- This string is displayed in the description for a keyboard type. It refers specifically to
|
||||||
|
the Latin alphabet, as opposed to Cyrillic, Arabic, Hebrew or other scripts.
|
||||||
|
When the device is configured to use a language using a script other than the Latin alphabet, the
|
||||||
|
user still needs a keyboard that can input Latin characters for passwords or login names for
|
||||||
|
example, and a way to switch to this Latin alphabet keyboard. This string is the description for
|
||||||
|
this keyboard, so users of other scripts should understand when they read this that it represents a
|
||||||
|
keyboard that is meant for them to be able to enter Latin characters as opposed to the script they
|
||||||
|
are used to. This keyboard does not provide a dictionary, and it is not tied to any specific
|
||||||
|
language among those that use the Latin alphabet. This keyboard is laid out in the Dvorak
|
||||||
|
disposition rather than other common dispositions for Latin languages. [CHAR LIMIT=25] -->
|
||||||
|
<string name="subtype_no_language_dvorak">Alphabet (Dvorak)</string>
|
||||||
|
<!-- This string is displayed in the description for a keyboard type. It refers specifically to
|
||||||
|
the Latin alphabet, as opposed to Cyrillic, Arabic, Hebrew or other scripts.
|
||||||
|
When the device is configured to use a language using a script other than the Latin alphabet, the
|
||||||
|
user still needs a keyboard that can input Latin characters for passwords or login names for
|
||||||
|
example, and a way to switch to this Latin alphabet keyboard. This string is the description for
|
||||||
|
this keyboard, so users of other scripts should understand when they read this that it represents a
|
||||||
|
keyboard that is meant for them to be able to enter Latin characters as opposed to the script they
|
||||||
|
are used to. This keyboard does not provide a dictionary, and it is not tied to any specific
|
||||||
|
language among those that use the Latin alphabet. This keyboard is laid out in the Colemak
|
||||||
|
disposition rather than other common dispositions for Latin languages. [CHAR LIMIT=25] -->
|
||||||
|
<string name="subtype_no_language_colemak">Alphabet (Colemak)</string>
|
||||||
|
<!-- This string is displayed in the description for a keyboard type. It refers specifically to
|
||||||
|
the Latin alphabet, as opposed to Cyrillic, Arabic, Hebrew or other scripts.
|
||||||
|
When the device is configured to use a language using a script other than the Latin alphabet, the
|
||||||
|
user still needs a keyboard that can input Latin characters for passwords or login names for
|
||||||
|
example, and a way to switch to this Latin alphabet keyboard. This string is the description for
|
||||||
|
this keyboard, so users of other scripts should understand when they read this that it represents a
|
||||||
|
keyboard that is meant for them to be able to enter Latin characters as opposed to the script they
|
||||||
|
are used to. This keyboard does not provide a dictionary, and it is not tied to any specific
|
||||||
|
language among those that use the Latin alphabet. This keyboard is laid out in the QWERTY PC
|
||||||
|
disposition that offers additional keys, but smaller keys compared to other common dispositions for
|
||||||
|
mobile devices. [CHAR LIMIT=25] -->
|
||||||
|
<string name="subtype_no_language_pcqwerty">Alphabet (PC)</string>
|
||||||
|
|
||||||
<!-- Title of the preference settings for custom input styles (language and keyboard layout pairs) [CHAR LIMIT=35]-->
|
<!-- Title of the preference settings for custom input styles (language and keyboard layout pairs) [CHAR LIMIT=35]-->
|
||||||
<string name="custom_input_styles_title">Custom input styles</string>
|
<string name="custom_input_styles_title">Custom input styles</string>
|
||||||
|
|
|
@ -3151,7 +3151,7 @@ public final class KeyboardTextsSet {
|
||||||
/* 7 */ "\u00E7",
|
/* 7 */ "\u00E7",
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Language zz: No language */
|
/* Language zz: Alphabet */
|
||||||
private static final String[] LANGUAGE_zz = {
|
private static final String[] LANGUAGE_zz = {
|
||||||
// U+00E0: "à" LATIN SMALL LETTER A WITH GRAVE
|
// U+00E0: "à" LATIN SMALL LETTER A WITH GRAVE
|
||||||
// U+00E1: "á" LATIN SMALL LETTER A WITH ACUTE
|
// U+00E1: "á" LATIN SMALL LETTER A WITH ACUTE
|
||||||
|
@ -3324,7 +3324,7 @@ public final class KeyboardTextsSet {
|
||||||
"uk", LANGUAGE_uk, /* Ukrainian */
|
"uk", LANGUAGE_uk, /* Ukrainian */
|
||||||
"vi", LANGUAGE_vi, /* Vietnamese */
|
"vi", LANGUAGE_vi, /* Vietnamese */
|
||||||
"zu", LANGUAGE_zu, /* Zulu */
|
"zu", LANGUAGE_zu, /* Zulu */
|
||||||
"zz", LANGUAGE_zz, /* No language */
|
"zz", LANGUAGE_zz, /* Alphabet */
|
||||||
};
|
};
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
|
|
@ -126,13 +126,13 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
// fr azerty F French
|
// fr azerty F French
|
||||||
// fr_CA qwerty F French (Canada)
|
// fr_CA qwerty F French (Canada)
|
||||||
// de qwertz F German
|
// de qwertz F German
|
||||||
// zz qwerty F No language (QWERTY)
|
// zz qwerty F Alphabet (QWERTY)
|
||||||
// fr qwertz T French (QWERTZ)
|
// fr qwertz T French (QWERTZ)
|
||||||
// de qwerty T German (QWERTY)
|
// de qwerty T German (QWERTY)
|
||||||
// en_US azerty T English (US) (AZERTY) exception
|
// en_US azerty T English (US) (AZERTY) exception
|
||||||
// en_UK dvorak T English (UK) (Dvorak) exception
|
// en_UK dvorak T English (UK) (Dvorak) exception
|
||||||
// es_US colemak T Spanish (US) (Colemak) exception
|
// es_US colemak T Spanish (US) (Colemak) exception
|
||||||
// zz pc T No language (PC)
|
// zz pc T Alphabet (PC)
|
||||||
|
|
||||||
public void testPredefinedSubtypesInEnglishSystemLocale() {
|
public void testPredefinedSubtypesInEnglishSystemLocale() {
|
||||||
final RunInLocale<Void> tests = new RunInLocale<Void>() {
|
final RunInLocale<Void> tests = new RunInLocale<Void>() {
|
||||||
|
@ -150,7 +150,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CA));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CA));
|
||||||
assertEquals("de ", "German",
|
assertEquals("de ", "German",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE));
|
||||||
assertEquals("zz ", "No language (QWERTY)",
|
assertEquals("zz ", "Alphabet (QWERTY)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -172,7 +172,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(EN_UK_DVORAK));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(EN_UK_DVORAK));
|
||||||
assertEquals("es_US colemak","Spanish (US) (Colemak)",
|
assertEquals("es_US colemak","Spanish (US) (Colemak)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ES_US_COLEMAK));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ES_US_COLEMAK));
|
||||||
assertEquals("zz azerty", "No language (PC)",
|
assertEquals("zz pc", "Alphabet (PC)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ_PC));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ_PC));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -196,7 +196,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
// en_US azerty T Anglais (États-Unis) (AZERTY) exception
|
// en_US azerty T Anglais (États-Unis) (AZERTY) exception
|
||||||
// en_UK dvorak T Anglais (Royaume-Uni) (Dvorak) exception
|
// en_UK dvorak T Anglais (Royaume-Uni) (Dvorak) exception
|
||||||
// es_US colemak T Espagnol (États-Unis) (Colemak) exception
|
// es_US colemak T Espagnol (États-Unis) (Colemak) exception
|
||||||
// zz pc T Aucune langue (PC)
|
// zz pc T Alphabet (PC)
|
||||||
|
|
||||||
public void testPredefinedSubtypesInFrenchSystemLocale() {
|
public void testPredefinedSubtypesInFrenchSystemLocale() {
|
||||||
final RunInLocale<Void> tests = new RunInLocale<Void>() {
|
final RunInLocale<Void> tests = new RunInLocale<Void>() {
|
||||||
|
@ -214,7 +214,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CA));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(FR_CA));
|
||||||
assertEquals("de ", "Allemand",
|
assertEquals("de ", "Allemand",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(DE));
|
||||||
assertEquals("zz ", "Aucune langue (QWERTY)",
|
assertEquals("zz ", "Alphabet (QWERTY)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -236,7 +236,7 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(EN_UK_DVORAK));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(EN_UK_DVORAK));
|
||||||
assertEquals("es_US colemak","Espagnol (États-Unis) (Colemak)",
|
assertEquals("es_US colemak","Espagnol (États-Unis) (Colemak)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ES_US_COLEMAK));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ES_US_COLEMAK));
|
||||||
assertEquals("zz azerty", "Aucune langue (PC)",
|
assertEquals("zz pc", "Alphabet (PC)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ_PC));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(ZZ_PC));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ public class MoreKeysResources {
|
||||||
private static final String EMPTY_STRING_VAR = "EMPTY";
|
private static final String EMPTY_STRING_VAR = "EMPTY";
|
||||||
|
|
||||||
private static final String NO_LANGUAGE_CODE = "zz";
|
private static final String NO_LANGUAGE_CODE = "zz";
|
||||||
private static final String NO_LANGUAGE_DISPLAY_NAME = "No language";
|
private static final String NO_LANGUAGE_DISPLAY_NAME = "Alphabet";
|
||||||
|
|
||||||
private final JarFile mJar;
|
private final JarFile mJar;
|
||||||
// Language to string resources map.
|
// Language to string resources map.
|
||||||
|
|
Loading…
Reference in New Issue