Add support for Spanish and Italian

Both using the qwerty layout.
Removes the tilde from French.
This commit is contained in:
Jules Aguillon 2021-05-09 00:35:26 +02:00
parent 7a3312fd01
commit 5e01198500
2 changed files with 18 additions and 5 deletions

View File

@ -5,8 +5,7 @@
<string name="settings_activity_label">Unexpected Keyboard Settings</string> <string name="settings_activity_label">Unexpected Keyboard Settings</string>
<string name="subtype_label_azerty">%s</string> <string name="subtype_label">%s</string>
<string name="subtype_label_qwerty">%s</string>
<string name="pref_category_layout">Layout</string> <string name="pref_category_layout">Layout</string>
<string name="pref_layout_title">Change keyboard layout</string> <string name="pref_layout_title">Change keyboard layout</string>

View File

@ -2,18 +2,32 @@
<input-method xmlns:android="http://schemas.android.com/apk/res/android" <input-method xmlns:android="http://schemas.android.com/apk/res/android"
android:settingsActivity="juloo.keyboard2.SettingsActivity" android:settingsActivity="juloo.keyboard2.SettingsActivity"
android:supportsSwitchingToNextInputMethod="true"> android:supportsSwitchingToNextInputMethod="true">
<subtype android:label="@string/subtype_label_qwerty" <subtype android:label="@string/subtype_label"
android:languageTag="en" android:languageTag="en"
android:imeSubtypeLocale="en_US" android:imeSubtypeLocale="en_US"
android:imeSubtypeMode="keyboard" android:imeSubtypeMode="keyboard"
android:isAsciiCapable="true" android:isAsciiCapable="true"
android:imeSubtypeExtraValue="default_layout=qwerty" android:imeSubtypeExtraValue="default_layout=qwerty"
/> />
<subtype android:label="@string/subtype_label_azerty" <subtype android:label="@string/subtype_label"
android:languageTag="fr" android:languageTag="fr"
android:imeSubtypeLocale="fr_FR" android:imeSubtypeLocale="fr_FR"
android:imeSubtypeMode="keyboard" android:imeSubtypeMode="keyboard"
android:isAsciiCapable="true" android:isAsciiCapable="true"
android:imeSubtypeExtraValue="default_layout=azerty,accents=grave|aigu|circonflexe|tilde|cedille|trema" android:imeSubtypeExtraValue="default_layout=azerty,accents=grave|aigu|circonflexe|cedille|trema"
/>
<subtype android:label="@string/subtype_label"
android:languageTag="es"
android:imeSubtypeLocale="es_ES"
android:imeSubtypeMode="keyboard"
android:isAsciiCapable="true"
android:imeSubtypeExtraValue="default_layout=qwerty,accents=aigu|tilde|trema"
/>
<subtype android:label="@string/subtype_label"
android:languageTag="it"
android:imeSubtypeLocale="it_IT"
android:imeSubtypeMode="keyboard"
android:isAsciiCapable="true"
android:imeSubtypeExtraValue="default_layout=qwerty,accents=grave|aigu"
/> />
</input-method> </input-method>