Skip to content

Commit

Permalink
Update locales
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmr committed Oct 23, 2017
1 parent 8815eaa commit 67fe811
Show file tree
Hide file tree
Showing 15 changed files with 837 additions and 796 deletions.
Binary file modified locales/de_DE.mo
Binary file not shown.
232 changes: 119 additions & 113 deletions locales/de_DE.po

Large diffs are not rendered by default.

Binary file modified locales/en_GB.mo
Binary file not shown.
236 changes: 121 additions & 115 deletions locales/en_GB.po

Large diffs are not rendered by default.

Binary file modified locales/es_ES.mo
Binary file not shown.
232 changes: 119 additions & 113 deletions locales/es_ES.po

Large diffs are not rendered by default.

Binary file modified locales/fr_FR.mo
Binary file not shown.
232 changes: 119 additions & 113 deletions locales/fr_FR.po

Large diffs are not rendered by default.

230 changes: 118 additions & 112 deletions locales/glpi.pot

Large diffs are not rendered by default.

Binary file modified locales/pt_BR.mo
Binary file not shown.
230 changes: 118 additions & 112 deletions locales/pt_BR.po

Large diffs are not rendered by default.

Binary file modified locales/ru_RU.mo
Binary file not shown.
232 changes: 120 additions & 112 deletions locales/ru_RU.po

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions tools/extract_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

# Only strings with domain specified are extracted (use Xt args of keyword param to set number of args needed)

xgettext *.php */*.php */*.php --copyright-holder='MyDashboard Development Team' --package-name='GLPI - MyDashboard plugin' --package-version='1.3.1' -o locales/glpi.pot -L PHP --add-comments=TRANS --from-code=UTF-8 --force-po \
xgettext *.php */*.php --copyright-holder='MyDashboard Development Team' --package-name='GLPI - MyDashboard plugin' --package-version='1.4.0' -o locales/glpi.pot -L PHP --add-comments=TRANS --from-code=UTF-8 --force-po \
--keyword=_n:1,2,4t --keyword=__s:1,2t --keyword=__:1,2t --keyword=_e:1,2t --keyword=_x:1c,2,3t \
--keyword=_ex:1c,2,3t --keyword=_nx:1c,2,3,5t --keyword=_sx:1c,2,3t



--keyword=_ex:1c,2,3t --keyword=_nx:1c,2,3,5t --keyword=_sx:1c,2,3t
2 changes: 1 addition & 1 deletion tools/update_po.pl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$lang=$_;
$lang=~s/\.po//;

`wget --user=$user --password=$password --output-document=locales/$_ http://www.transifex.net/api/2/project/GLPI_mydashboard/resource/glpipot/translation/$lang/?file=$_`;
`wget --user=$user --password=$password --output-document=locales/$_ http://www.transifex.com/api/2/project/GLPI_mydashboard/resource/glpipot/translation/$lang/?file=$_`;
sleep(2);
}
}
Expand Down

0 comments on commit 67fe811

Please sign in to comment.