diff options
| author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-20 10:49:47 +0200 |
|---|---|---|
| committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-20 10:49:47 +0200 |
| commit | d3fa2bed687438ead8ea64b40c23f90e231b6b61 (patch) | |
| tree | 193da0d7977ced6736b15793c30a92a7c50a61c7 /modules/gallery/helpers/l10n_client.php | |
| parent | aeff79b6345d01d74d8389bb6d2a3a6f401f2183 (diff) | |
| parent | 33d0b82d024df8fd85798cc4f6b9bab377f4f783 (diff) | |
Merge commit 'upstream/master'
Diffstat (limited to 'modules/gallery/helpers/l10n_client.php')
| -rw-r--r-- | modules/gallery/helpers/l10n_client.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/gallery/helpers/l10n_client.php b/modules/gallery/helpers/l10n_client.php index b576b4e1..3460cc65 100644 --- a/modules/gallery/helpers/l10n_client.php +++ b/modules/gallery/helpers/l10n_client.php @@ -113,10 +113,6 @@ class l10n_client_Core { // [{key:<key_1>, translation: <JSON encoded translation>, rev:<rev>, locale:<locale>}, // {key:<key_2>, ...} // ] - $count = count($response); - $message[] = t2("Installed 1 new / updated translation message", - "Installed %count new / updated translation messages", $count); - foreach ($response as $message_data) { // @todo Better input validation if (empty($message_data->key) || empty($message_data->translation) || @@ -153,7 +149,6 @@ class l10n_client_Core { $entry->translation = $translation; $entry->save(); } - return $message; } static function submit_translations() { |
