Skip to content

Commit 1ca11dc

Browse files
authored
Merge pull request #1133 from C47D/es_lang
[WIP] Spanish translation.
2 parents 9ad94f0 + 836d5c2 commit 1ca11dc

File tree

6 files changed

+210
-159
lines changed

6 files changed

+210
-159
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,7 @@ TAGS
6262
*~
6363

6464
*.DS_Store
65+
66+
# POEdit mo files
67+
####################
68+
*.mo

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ pseudoxml:
194194
all-source:
195195

196196
locale/circuitpython.pot: all-source
197-
find . -iname "*.c" | xargs xgettext -L C --keyword=translate -o circuitpython.pot -p locale
197+
find . -iname "*.c" | xargs xgettext -L C --keyword=translate -F -o circuitpython.pot -p locale
198198

199199
translate: locale/circuitpython.pot
200-
for po in $(shell ls locale/*.po); do msgmerge -U $$po locale/circuitpython.pot; done
200+
for po in $(shell ls locale/*.po); do msgmerge -U -F $$po locale/circuitpython.pot; done
201201

202202
check-translate: locale/circuitpython.pot $(wildcard locale/*.po)
203203
$(PYTHON) tools/check_translations.py $^

locale/circuitpython.pot

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-08-20 09:37-0700\n"
11+
"POT-Creation-Date: 2018-08-30 16:12-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -610,11 +610,11 @@ msgid "frequency can only be either 80Mhz or 160MHz"
610610
msgstr ""
611611

612612
#: ports/esp8266/modnetwork.c:61
613-
msgid "STA required"
613+
msgid "AP required"
614614
msgstr ""
615615

616616
#: ports/esp8266/modnetwork.c:61
617-
msgid "AP required"
617+
msgid "STA required"
618618
msgstr ""
619619

620620
#: ports/esp8266/modnetwork.c:87
@@ -2127,7 +2127,7 @@ msgid "empty sequence"
21272127
msgstr ""
21282128

21292129
#: shared-bindings/rtc/RTC.c:40 shared-bindings/rtc/RTC.c:44
2130-
#: shared-bindings/time/__init__.c:192
2130+
#: shared-bindings/time/__init__.c:190
21312131
msgid "RTC is not supported on this board"
21322132
msgstr ""
21332133

@@ -2147,27 +2147,27 @@ msgstr ""
21472147
msgid "Stack size must be at least 256"
21482148
msgstr ""
21492149

2150-
#: shared-bindings/time/__init__.c:80
2150+
#: shared-bindings/time/__init__.c:78
21512151
msgid "sleep length must be non-negative"
21522152
msgstr ""
21532153

2154-
#: shared-bindings/time/__init__.c:90
2154+
#: shared-bindings/time/__init__.c:88
21552155
msgid "time.struct_time() takes exactly 1 argument"
21562156
msgstr ""
21572157

2158-
#: shared-bindings/time/__init__.c:93
2158+
#: shared-bindings/time/__init__.c:91
21592159
msgid "time.struct_time() takes a 9-sequence"
21602160
msgstr ""
21612161

2162-
#: shared-bindings/time/__init__.c:171 shared-bindings/time/__init__.c:252
2162+
#: shared-bindings/time/__init__.c:169 shared-bindings/time/__init__.c:250
21632163
msgid "Tuple or struct_time argument required"
21642164
msgstr ""
21652165

2166-
#: shared-bindings/time/__init__.c:176 shared-bindings/time/__init__.c:257
2166+
#: shared-bindings/time/__init__.c:174 shared-bindings/time/__init__.c:255
21672167
msgid "function takes exactly 9 arguments"
21682168
msgstr ""
21692169

2170-
#: shared-bindings/time/__init__.c:228 shared-bindings/time/__init__.c:261
2170+
#: shared-bindings/time/__init__.c:226 shared-bindings/time/__init__.c:259
21712171
msgid "timestamp out of range for platform time_t"
21722172
msgstr ""
21732173

locale/en_US.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2018-08-20 09:37-0700\n"
10+
"POT-Creation-Date: 2018-08-30 16:12-0700\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -610,11 +610,11 @@ msgid "frequency can only be either 80Mhz or 160MHz"
610610
msgstr ""
611611

612612
#: ports/esp8266/modnetwork.c:61
613-
msgid "STA required"
613+
msgid "AP required"
614614
msgstr ""
615615

616616
#: ports/esp8266/modnetwork.c:61
617-
msgid "AP required"
617+
msgid "STA required"
618618
msgstr ""
619619

620620
#: ports/esp8266/modnetwork.c:87
@@ -2127,7 +2127,7 @@ msgid "empty sequence"
21272127
msgstr ""
21282128

21292129
#: shared-bindings/rtc/RTC.c:40 shared-bindings/rtc/RTC.c:44
2130-
#: shared-bindings/time/__init__.c:192
2130+
#: shared-bindings/time/__init__.c:190
21312131
msgid "RTC is not supported on this board"
21322132
msgstr ""
21332133

@@ -2147,27 +2147,27 @@ msgstr ""
21472147
msgid "Stack size must be at least 256"
21482148
msgstr ""
21492149

2150-
#: shared-bindings/time/__init__.c:80
2150+
#: shared-bindings/time/__init__.c:78
21512151
msgid "sleep length must be non-negative"
21522152
msgstr ""
21532153

2154-
#: shared-bindings/time/__init__.c:90
2154+
#: shared-bindings/time/__init__.c:88
21552155
msgid "time.struct_time() takes exactly 1 argument"
21562156
msgstr ""
21572157

2158-
#: shared-bindings/time/__init__.c:93
2158+
#: shared-bindings/time/__init__.c:91
21592159
msgid "time.struct_time() takes a 9-sequence"
21602160
msgstr ""
21612161

2162-
#: shared-bindings/time/__init__.c:171 shared-bindings/time/__init__.c:252
2162+
#: shared-bindings/time/__init__.c:169 shared-bindings/time/__init__.c:250
21632163
msgid "Tuple or struct_time argument required"
21642164
msgstr ""
21652165

2166-
#: shared-bindings/time/__init__.c:176 shared-bindings/time/__init__.c:257
2166+
#: shared-bindings/time/__init__.c:174 shared-bindings/time/__init__.c:255
21672167
msgid "function takes exactly 9 arguments"
21682168
msgstr ""
21692169

2170-
#: shared-bindings/time/__init__.c:228 shared-bindings/time/__init__.c:261
2170+
#: shared-bindings/time/__init__.c:226 shared-bindings/time/__init__.c:259
21712171
msgid "timestamp out of range for platform time_t"
21722172
msgstr ""
21732173

0 commit comments

Comments
 (0)