Skip to content

Commit 6264dcd

Browse files
author
calvinpy
committed
fix and review l10n
1 parent bc42a11 commit 6264dcd

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
# --- defaults
2+
branch ?= dev
3+
l10n_path ?= l10n/es
4+
l10n_name ?= aplazame-es_ES
5+
6+
# --- shell
17
files = $(shell find . -name "*.php")
28
errors = $(shell find . -type f -name "*.php" -exec php -l "{}" \;| grep "Errors parsing ";)
39

4-
l10n_path ?= l10n/es/default
5-
branch ?= dev
610

711
test:
812
@php ./test/Aplazame.php
@@ -17,10 +21,10 @@ pot:
1721
@xgettext --from-code=utf-8 -k_e -k_x -k__ -o $(l10n_path).pot $(files)
1822

1923
po:
20-
@msgmerge --update --no-fuzzy-matching --backup=off $(l10n_path).po $(l10n_path).pot
24+
@msgmerge --update --no-fuzzy-matching --backup=off $(l10n_path)/default.po $(l10n_path)/default.pot
2125

2226
mo:
23-
@msgfmt $(l10n_path).po -o $(l10n_path).mo
27+
@msgfmt $(l10n_path)/default.po -o $(l10n_path)/$(l10n_name).mo
2428

2529
push:
2630
@git push origin HEAD

l10n/es/aplazame-es_ES.mo

1.61 KB
Binary file not shown.

l10n/es/default.mo

-1.52 KB
Binary file not shown.

l10n/es/default.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ msgstr ""
2525
#: classes/wc-aplazame-gateway.php:77
2626
#, php-format
2727
msgid "%s has successfully returned %d %s of the order #%s."
28-
msgstr "$a ha devuelto correctamente la cantidad de %d %s en el pedido #%s."
28+
msgstr "%s ha devuelto correctamente la cantidad de %d %s en el pedido #%s."
2929

3030
#: classes/wc-aplazame-gateway.php:84
3131
#, php-format
@@ -34,19 +34,19 @@ msgstr "Error en %s: \"%s\""
3434

3535
#: classes/wc-aplazame-gateway.php:97 classes/wc-aplazame-gateway.php:141
3636
msgid "Enable/Disable"
37-
msgstr "Habilitar/Deshabilitar"
37+
msgstr "Activar/Desactivar"
3838

3939
#: classes/wc-aplazame-gateway.php:98
4040
msgid "Enable Aplazame module"
41-
msgstr "Habilitar módulo de APlazame"
41+
msgstr "Activar módulo de Aplazame"
4242

4343
#: classes/wc-aplazame-gateway.php:105
4444
msgid "Determines if the module is on Sandbox mode"
45-
msgstr ""
45+
msgstr "Determina si el módulo se encuentra en modo Sandbox"
4646

4747
#: classes/wc-aplazame-gateway.php:106
4848
msgid "Turn on Sandbox"
49-
msgstr "Poner en modo sandbox"
49+
msgstr "Activar modo Sandbox"
5050

5151
#: classes/wc-aplazame-gateway.php:112
5252
msgid "Aplazame Host"
@@ -86,7 +86,7 @@ msgstr "Clave privada de Aplazame"
8686

8787
#: classes/wc-aplazame-gateway.php:142
8888
msgid "Enable Aplazame Analytics"
89-
msgstr "Habilitar analíticas de Aplazame"
89+
msgstr "Activar Aplazame Analytics"
9090

9191
#: templates/gateway/payment-fields.php:19
9292
#, php-format

0 commit comments

Comments
 (0)