Skip to content

Commit

Permalink
fix(locales): fix missing locales, update them
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Oct 31, 2017
1 parent c4e5c84 commit 33cbe5e
Show file tree
Hide file tree
Showing 18 changed files with 3,835 additions and 1,711 deletions.
2 changes: 1 addition & 1 deletion RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ protected function isTagMatchesCurrentCommit($tag) {

public function localesExtract() {
$potfile = strtolower("glpi.pot");
$phpSources = "*.php ajax/*.php front/*.php inc/*.php install/*.php js/*.php";
$phpSources = "*.php ajax/*.php front/*.php inc/*.php inc/fields/*.php install/*.php js/*.php";
// extract locales from source code
$command = "xgettext $phpSources -o locales/$potfile -L PHP --add-comments=TRANS --from-code=UTF-8 --force-po";
$command.= " --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";
Expand Down
Loading

0 comments on commit 33cbe5e

Please sign in to comment.