diff options
author | Yuichi Murata <yuichi1004@gmail.com> | 2015-04-06 09:45:59 +0900 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-04-07 20:40:00 -0400 |
commit | 7d1c84699ac12f91bf711ded5c93b57a644fabbf (patch) | |
tree | 99865072bd1ab92cfb51391fd0716b65e631e2c2 /scripts | |
parent | 4325679a709869a921e9b0b7bfebd6be560090ab (diff) |
Update ja_JP translation (pull-request #777) and sync all locales
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sync-locales.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sync-locales.php b/scripts/sync-locales.php index 181686b7..472a6b2b 100755 --- a/scripts/sync-locales.php +++ b/scripts/sync-locales.php @@ -15,7 +15,7 @@ function update_missing_locales(array $reference, $outdated_file) foreach ($reference as $key => $value) { - if (isset($outdated[$key])) { + if (! empty($outdated[$key])) { //$output .= " '".str_replace("'", "\'", $key)."' => '".str_replace("'", "\'", $value)."',\n"; $output .= " '".str_replace("'", "\'", $key)."' => '".str_replace("'", "\'", $outdated[$key])."',\n"; } |