aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_options.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_options.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_options.php')
-rw-r--r--admin/cat_options.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/admin/cat_options.php b/admin/cat_options.php
index 31c67f8ce..67d626625 100644
--- a/admin/cat_options.php
+++ b/admin/cat_options.php
@@ -160,10 +160,10 @@ $template->assign(
$tabsheet = new tabsheet();
// TabSheet initialization
$opt_link = $link_start.'cat_options&amp;section=';
-$tabsheet->add('status', l10n('cat_security'), $opt_link.'status');
-$tabsheet->add('visible', l10n('lock'), $opt_link.'visible');
-$tabsheet->add('upload', l10n('upload'), $opt_link.'upload');
-$tabsheet->add('comments', l10n('comments'), $opt_link.'comments');
+$tabsheet->add('status', l10n('Public / Private'), $opt_link.'status');
+$tabsheet->add('visible', l10n('Lock'), $opt_link.'visible');
+$tabsheet->add('Upload', l10n('Upload'), $opt_link.'Upload');
+$tabsheet->add('Comments', l10n('Comments'), $opt_link.'Comments');
if ($conf['allow_random_representative'])
{
$tabsheet->add('representative', l10n('Representative'), $opt_link.'representative');
@@ -208,9 +208,9 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign(
array(
- 'L_SECTION' => l10n('cat_upload_title'),
- 'L_CAT_OPTIONS_TRUE' => l10n('authorized'),
- 'L_CAT_OPTIONS_FALSE' => l10n('forbidden'),
+ 'L_SECTION' => l10n('Select uploadable categories'),
+ 'L_CAT_OPTIONS_TRUE' => l10n('Authorized'),
+ 'L_CAT_OPTIONS_FALSE' => l10n('Forbidden'),
)
);
break;
@@ -229,9 +229,9 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign(
array(
- 'L_SECTION' => l10n('cat_comments_title'),
- 'L_CAT_OPTIONS_TRUE' => l10n('authorized'),
- 'L_CAT_OPTIONS_FALSE' => l10n('forbidden'),
+ 'L_SECTION' => l10n('Authorize users to add comments on selected categories'),
+ 'L_CAT_OPTIONS_TRUE' => l10n('Authorized'),
+ 'L_CAT_OPTIONS_FALSE' => l10n('Forbidden'),
)
);
break;
@@ -250,9 +250,9 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign(
array(
- 'L_SECTION' => l10n('cat_lock_title'),
- 'L_CAT_OPTIONS_TRUE' => l10n('unlocked'),
- 'L_CAT_OPTIONS_FALSE' => l10n('locked'),
+ 'L_SECTION' => l10n('Lock categories'),
+ 'L_CAT_OPTIONS_TRUE' => l10n('Unlocked'),
+ 'L_CAT_OPTIONS_FALSE' => l10n('Locked'),
)
);
break;
@@ -271,9 +271,9 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign(
array(
- 'L_SECTION' => l10n('cat_status_title'),
- 'L_CAT_OPTIONS_TRUE' => l10n('cat_public'),
- 'L_CAT_OPTIONS_FALSE' => l10n('cat_private'),
+ 'L_SECTION' => l10n('Manage authorizations for selected categories'),
+ 'L_CAT_OPTIONS_TRUE' => l10n('Public category'),
+ 'L_CAT_OPTIONS_FALSE' => l10n('Private category'),
)
);
break;