diff options
| author | Jules Aguillon | 2022-02-22 19:10:10 +0100 |
|---|---|---|
| committer | GitHub | 2022-02-22 19:10:10 +0100 |
| commit | 84bce23fec5a551839d621f9ac20ba2127f01e29 (patch) | |
| tree | 4408c8e84b10eb2fe912fb088e88f77b1f5eaf92 | |
| parent | c85e9a91d1922557fec919d341ab43037b5ee48d (diff) | |
| parent | 583aa55259e55207808ac9e31f22849265d56e4b (diff) | |
| download | unexpected-keyboard-84bce23fec5a551839d621f9ac20ba2127f01e29.tar.gz unexpected-keyboard-84bce23fec5a551839d621f9ac20ba2127f01e29.zip | |
Merge pull request #75 from gh0ste/master
spanish translation and layout
| -rw-r--r-- | metadata/android/es-ES/short_description.txt | 1 | ||||
| -rw-r--r-- | metadata/android/es-ES/title.txt | 1 | ||||
| -rw-r--r-- | res/values-es/strings.xml | 48 | ||||
| -rw-r--r-- | res/values/arrays.xml | 2 | ||||
| -rw-r--r-- | res/xml/method.xml | 2 | ||||
| -rw-r--r-- | res/xml/qwerty_es.xml | 38 | ||||
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 1 |
7 files changed, 92 insertions, 1 deletions
diff --git a/metadata/android/es-ES/short_description.txt b/metadata/android/es-ES/short_description.txt new file mode 100644 index 0000000..98969d1 --- /dev/null +++ b/metadata/android/es-ES/short_description.txt @@ -0,0 +1 @@ +Un teclado virtual ligero para desarrolladores. diff --git a/metadata/android/es-ES/title.txt b/metadata/android/es-ES/title.txt new file mode 100644 index 0000000..c18b05b --- /dev/null +++ b/metadata/android/es-ES/title.txt @@ -0,0 +1 @@ +Unexpected Keyboard diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml new file mode 100644 index 0000000..ea4ac67 --- /dev/null +++ b/res/values-es/strings.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="app_name">Unexpected Keyboard</string> + <string name="settings_activity_label">Ajustes de Unexpected Keyboard</string> + <string name="pref_category_layout">Formato</string> + <string name="pref_layout_title">Cambiar formato de teclado</string> + <string name="pref_layout_e_system">Ajustes del sistema</string> + <string name="pref_accents_title">Acentos</string> + <string name="pref_accents_e_all_installed">Mostrar acentos para todos los lenguajes instalados</string> + <string name="pref_accents_e_selected">Solo mostrar acentos para el lenguaje seleccionado</string> + <string name="pref_accents_e_all">Mostrar todos los acentos</string> + <string name="pref_accents_e_none">Ocultar acentos</string> + <string name="pref_category_typing">Escribiendo</string> + <string name="pref_swipe_dist_title">Distancia para deslizar</string> + <string name="pref_swipe_dist_summary">Distancia de caractéres en las esquinas de las letras (%s)</string> + <string name="pref_long_timeout_title">Tiempo de espera de repetición de tecla</string> + <string name="pref_long_interval_title">Intervalo de repetición de tecla</string> + <string name="pref_category_vibrate">Vibración</string> + <string name="pref_vibrate_title">Vibración</string> + <string name="pref_vibrate_summary">Habilitar/deshabilitar vibración al presionar una tecla</string> + <string name="pref_vibrate_duration_title">Duración</string> + <string name="pref_precise_repeat_title">Movimientos de cursor preciso</string> + <string name="pref_precise_repeat_summary">Modular la velocidad de repetición de teclas según si se desliza más o menos</string> + <string name="pref_category_style">Estilo</string> + <string name="pref_margin_bottom_title">Margen del pie</string> + <string name="pref_keyboard_height_title">Altura del teclado</string> + <string name="pref_horizontal_margin_title">Margen horizontal</string> + <string name="pref_character_size_title">Tamaño de etiqueta</string> + <string name="pref_character_size_summary">Tamaño de caractéres mostrados en el teclado (%.2fx)</string> + <string name="pref_theme">Tema</string> + <string name="pref_theme_e_system">Ajustes de sistema</string> + <string name="pref_theme_e_dark">Oscuro</string> + <string name="pref_theme_e_light">Claro</string> + <string name="pref_theme_e_black">Negro</string> + <string name="pref_swipe_dist_e_very_short">Muy corto</string> + <string name="pref_swipe_dist_e_short">Corto</string> + <string name="pref_swipe_dist_e_default">Normal</string> + <string name="pref_swipe_dist_e_far">Lejano</string> + <string name="pref_swipe_dist_e_very_far">Muy lejano</string> + <string name="pref_key_horizontal_space">Espaciado horizontal entre las teclas</string> + <string name="pref_key_vertical_space">Espaciado vertical entre las teclas</string> + <string name="key_action_next">Siguiente</string> + <string name="key_action_done">Hecho</string> + <string name="key_action_go">Ir</string> + <string name="key_action_prev">Anterior</string> + <string name="key_action_search">Buscar</string> + <string name="key_action_send">Enviar</string> +</resources> diff --git a/res/values/arrays.xml b/res/values/arrays.xml index d491fc2..edf8af6 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -4,6 +4,7 @@ <item>system</item> <item>azerty</item> <item>qwerty</item> + <item>qwerty_es</item> <item>qwerty_lv</item> <item>ru_jcuken</item> <item>qwertz</item> @@ -14,6 +15,7 @@ <item>@string/pref_layout_e_system</item> <item>AZERTY</item> <item>QWERTY</item> + <item>QWERTY (Español)</item> <item>QWERTY (Latvian)</item> <item>ЙЦУКЕН (Русский)</item> <item>QWERTZ</item> diff --git a/res/xml/method.xml b/res/xml/method.xml index 2d40cc0..ac14102 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -4,7 +4,7 @@ <subtype android:label="%s" android:languageTag="de" android:imeSubtypeLocale="de_DE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwertz,extra_keys=trema|szlig|euro"/> <subtype android:label="%s" android:languageTag="en-GB" android:imeSubtypeLocale="en_GB" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=pound|euro"/> <subtype android:label="%s" android:languageTag="en-US" android:imeSubtypeLocale="en_US" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty"/> - <subtype android:label="%s" android:languageTag="es" android:imeSubtypeLocale="es_ES" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=aigu|tilde|trema|euro"/> + <subtype android:label="%s" android:languageTag="es" android:imeSubtypeLocale="es_ES" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_es,extra_keys=grave|aigu|tilde|trema|euro"/> <subtype android:label="%s" android:languageTag="fr" android:imeSubtypeLocale="fr_FR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=azerty,extra_keys=grave|aigu|circonflexe|cedille|trema|euro"/> <subtype android:label="%s" android:languageTag="it" android:imeSubtypeLocale="it_IT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=grave|aigu|euro"/> <subtype android:label="%s" android:languageTag="lv" android:imeSubtypeLocale="lv_LV" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_lv,extra_keys=caron|cedille|macron|euro"/> diff --git a/res/xml/qwerty_es.xml b/res/xml/qwerty_es.xml new file mode 100644 index 0000000..69642db --- /dev/null +++ b/res/xml/qwerty_es.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<keyboard> + <row> + <key key0="q" key1="esc" key2="1" key3="~" key4="!"/> + <key key0="w" key2="2" key3="\@"/> + <key key0="e" key2="3" key3="\#" key4="€"/> + <key key0="r" key2="4" key3="$"/> + <key key0="t" key2="5" key3="%"/> + <key key0="y" key2="6" key3="^"/> + <key key0="u" key2="7" key3="&"/> + <key key0="i" key2="8" key3="*"/> + <key key0="o" key2="9" key3="(" key4=")"/> + <key key0="p" key2="0"/> + </row> + <row> + <key key0="a" key2="`" key3="tab" key4="¡"/> + <key key0="s" key1="accent_ring" key3="ß"/> + <key key0="d" key1="accent_grave" key2="£" key3="accent_aigu"/> + <key key0="f"/> + <key key0="g" key1="accent_caron" key2="-" key3="_"/> + <key key0="h" key2="=" key3="+"/> + <key key0="j" key1="accent_trema" key2="accent_circonflexe" key4="}" key3="{"/> + <key key0="k" key3="[" key4="]"/> + <key key0="l" key2="|" key3="\\"/> + <key key0="ñ"/> + </row> + <row> + <key width="1.5" key0="shift"/> + <key key0="z"/> + <key key0="x"/> + <key key0="c" key1="accent_cedille" key2="<" key3="."/> + <key key0="v" key2=">" key3=","/> + <key key0="b" key2="\?" key3="/" key4="¿"/> + <key key0="n" key1="accent_tilde" key2=":" key3=";"/> + <key key0="m" key2=""" key3="'"/> + <key width="1.5" key0="backspace" key2="delete"/> + </row> +</keyboard> diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index 3e3d349..ebd7b70 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -152,6 +152,7 @@ final class Config case "azerty": return R.xml.azerty; case "qwerty": return R.xml.qwerty; case "qwerty_lv": return R.xml.qwerty_lv; + case "qwerty_es": return R.xml.qwerty_es; case "ru_jcuken": return R.xml.local_ru_jcuken; case "qwertz": return R.xml.qwertz; case "bgph1": return R.xml.local_bgph1; |
