aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_modify.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-02 14:54:22 +0000
committernikrou <nikrou@piwigo.org>2010-03-02 14:54:22 +0000
commit2e890e9597da29346a1fbe0db45f48e4a2be86e7 (patch)
treef189c8320f38340bc3d7a94d799e05e0587d95cb /admin/cat_modify.php
parent35694a636ef34dba5384e1a530b837208b9e55f9 (diff)
Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/cat_modify.php')
-rw-r--r--admin/cat_modify.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php
index 17b23ce6c..0da90e456 100644
--- a/admin/cat_modify.php
+++ b/admin/cat_modify.php
@@ -110,7 +110,7 @@ UPDATE '.CATEGORIES_TABLE.' SET image_order='.(isset($image_order) ? 'NULL':"'$i
move_categories( array($_GET['cat_id']), $_POST['parent'] );
}
- array_push($page['infos'], l10n('editcat_confirm'));
+ array_push($page['infos'], l10n('Category informations updated successfully.'));
}
elseif (isset($_POST['set_random_representant']))
{
@@ -316,7 +316,7 @@ $sort_fields = array(
'date_creation' => l10n('Creation date'),
'date_available' => l10n('Post date'),
'average_rate' => l10n('Average rate'),
- 'hit' => l10n('most_visited_cat'),
+ 'hit' => l10n('Most visited'),
'file' => l10n('File name'),
'id' => 'Id',
'rank' => l10n('Rank'),
@@ -516,7 +516,7 @@ SELECT
array_push(
$page['infos'],
sprintf(
- l10n('An information email was sent to group "%s"'),
+ l10n('An information email was sent to group \"%s\"'),
$group_name
)
);