Skip to content

Commit

Permalink
update language phrase libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Sep 21, 2017
1 parent 5d0a9dc commit d8ab60c
Show file tree
Hide file tree
Showing 10 changed files with 388 additions and 30 deletions.
10 changes: 9 additions & 1 deletion cron/lang_update.php
Expand Up @@ -24,9 +24,12 @@
output("Updating the Exponent Language System!\n");

$trans_only = false;
$extract_only = false;
for ($ac=1; $ac < $_SERVER['argc']; $ac++) {
if ($_SERVER['argv'][$ac] == '-t'){
if ($_SERVER['argv'][$ac] == '-t') {
$trans_only = true; // only do translation, NO phrase extraction
} elseif ($_SERVER['argv'][$ac] == '-e'){
$extract_only = true; // only do phrase extraction, NO translation
} else { // set translation type
if (!defined('TRANSLATE')) {
define('TRANSLATE', $_SERVER['argv'][$ac]);
Expand All @@ -49,6 +52,11 @@
unset ($output);
}

if ($extract_only) {
print "\nCompleted Updating the English Phrase Library!\n";
exit();
}

//Update each language file based on default language and then attempt to translate

// Initialize the exponent environment
Expand Down
45 changes: 43 additions & 2 deletions framework/core/lang/Cestina.php

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions framework/core/lang/Dansk.php

Large diffs are not rendered by default.

44 changes: 42 additions & 2 deletions framework/core/lang/Deutsch.php

Large diffs are not rendered by default.

57 changes: 42 additions & 15 deletions framework/core/lang/English - US.php

Large diffs are not rendered by default.

44 changes: 42 additions & 2 deletions framework/core/lang/Espanol.php

Large diffs are not rendered by default.

44 changes: 42 additions & 2 deletions framework/core/lang/Francais.php

Large diffs are not rendered by default.

44 changes: 42 additions & 2 deletions framework/core/lang/Norsk.php

Large diffs are not rendered by default.

44 changes: 42 additions & 2 deletions framework/core/lang/Portuguese.php

Large diffs are not rendered by default.

44 changes: 42 additions & 2 deletions framework/core/lang/Suomi.php

Large diffs are not rendered by default.

0 comments on commit d8ab60c

Please sign in to comment.