From 7d1c84699ac12f91bf711ded5c93b57a644fabbf Mon Sep 17 00:00:00 2001 From: Yuichi Murata Date: Mon, 6 Apr 2015 09:45:59 +0900 Subject: Update ja_JP translation (pull-request #777) and sync all locales --- scripts/sync-locales.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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"; } -- cgit v1.2.3