Skip to content

Commit f8bd6ca

Browse files
committed
Spanish translation fixes
1 parent be10ac3 commit f8bd6ca

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

icondialog/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ android {
3737

3838
// A new entry to this array must be added for every new search translation!
3939
// The array is used by the dialog to know which languages are available for search
40-
def lang = ["en", "fr", "pt", "de"]
40+
def lang = ["en", "fr", "pt", "de", "es"]
4141
buildConfigField "String[]", "ICD_LANG", "new String[]{\"" + lang.join("\", \"") + "\"}"
4242
resConfigs lang
4343
}

icondialog/icons/analyse_labels.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import bisect
22
import os
3+
import sys
34
import xml.etree.ElementTree
45

56
# This script checks label usage in icons to determine which icons has less labels
67
# and to identify labels that could be removed
78

9+
os.chdir(sys.path[0])
810
current_path = os.getcwd()
911
icons_file = os.path.join(current_path, "..\\src\\main\\res\\xml\\icd_icons.xml")
1012

icondialog/icons/analyse_xml.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
current_path = os.getcwd()
3131
default_label_path = os.path.join(current_path, "..\\src\\main\\res\\xml")
3232
default_label_file = "icd_labels.xml"
33-
default_lang = ["", "-fr", "-pt", "-de"]
33+
default_lang = ["", "-fr", "-pt", "-de", "-es"]
3434

3535
# Settings to analyse custom icons and labels
3636
# is_extra_icons = True

icondialog/src/main/res/xml-es/icd_labels icondialog/src/main/res/xml-es/icd_labels.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
<label name="chemistry">Química</label>
197197
<label name="chess">Ajedrez</label>
198198
<label name="chess_bishop">Alfil</label>
199-
<label name="chess_king">@label/Rey</label>
199+
<label name="chess_king">@label/king</label>
200200
<label name="chess_knight">Caballo</label>
201201
<label name="chess_pawn">Peón</label>
202202
<label name="chess_queen">Reina</label>
@@ -584,7 +584,7 @@
584584
<label name="human">Humano</label>
585585
<label name="hurricane">Huracán</label>
586586
<label name="hyperlink">Hyperlink</label>
587-
<label name="icecream">Helado/label>
587+
<label name="icecream">Helado</label>
588588
<label name="icecream_cone">Cono de helado</label>
589589
<label name="icecube">Cubito de hielo</label>
590590
<label name="image">
@@ -1192,7 +1192,7 @@
11921192
<label name="weapon">Arma</label>
11931193
<label name="weather">Tiempo</label>
11941194
<label name="weather_hail">Granizo</label>
1195-
<label name="weather_lightning">Rayo/label>
1195+
<label name="weather_lightning">Rayo</label>
11961196
<label name="weather_rainy">Lluvioso</label>
11971197
<label name="weather_snowy">Nevado</label>
11981198
<label name="weather_sunny">Soleado</label>

0 commit comments

Comments
 (0)