aboutsummaryrefslogtreecommitdiffstats
path: root/admin/photos_add.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-23 13:26:41 +0000
committerplegall <plg@piwigo.org>2010-03-23 13:26:41 +0000
commit68a4d1dd9ba32e9973ccf2773e88858685dfc270 (patch)
tree3e8e3a75961ed748d9a1ef578f47d7b3fe4673e6 /admin/photos_add.php
parentf60f59a4c6099b387eae41691275a8dbec6f6f0d (diff)
Make the admin/photos_add code easier to analyse for missing translation keys.
git-svn-id: http://piwigo.org/svn/trunk@5285 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/photos_add.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/admin/photos_add.php b/admin/photos_add.php
index 27e55c696..013150915 100644
--- a/admin/photos_add.php
+++ b/admin/photos_add.php
@@ -56,7 +56,7 @@ $upload_form_config = array(
'max' => 1600,
'pattern' => '/^\d+$/',
'can_be_null' => true,
- 'error_message' => 'The websize maximum width must be a number between %d and %d',
+ 'error_message' => l10n('The websize maximum width must be a number between %d and %d'),
),
'websize_maxheight' => array(
@@ -65,7 +65,7 @@ $upload_form_config = array(
'max' => 1200,
'pattern' => '/^\d+$/',
'can_be_null' => true,
- 'error_message' => 'The websize maximum height must be a number between %d and %d',
+ 'error_message' => l10n('The websize maximum height must be a number between %d and %d'),
),
'websize_quality' => array(
@@ -74,7 +74,7 @@ $upload_form_config = array(
'max' => 100,
'pattern' => '/^\d+$/',
'can_be_null' => false,
- 'error_message' => 'The websize image quality must be a number between %d and %d',
+ 'error_message' => l10n('The websize image quality must be a number between %d and %d'),
),
'thumb_maxwidth' => array(
@@ -83,7 +83,7 @@ $upload_form_config = array(
'max' => 300,
'pattern' => '/^\d+$/',
'can_be_null' => false,
- 'error_message' => 'The thumbnail maximum width must be a number between %d and %d',
+ 'error_message' => l10n('The thumbnail maximum width must be a number between %d and %d'),
),
'thumb_maxheight' => array(
@@ -92,7 +92,7 @@ $upload_form_config = array(
'max' => 300,
'pattern' => '/^\d+$/',
'can_be_null' => false,
- 'error_message' => 'The thumbnail maximum height must be a number between %d and %d',
+ 'error_message' => l10n('The thumbnail maximum height must be a number between %d and %d'),
),
'thumb_quality' => array(
@@ -101,7 +101,7 @@ $upload_form_config = array(
'max' => 100,
'pattern' => '/^\d+$/',
'can_be_null' => false,
- 'error_message' => 'The thumbnail image quality must be a number between %d and %d',
+ 'error_message' => l10n('The thumbnail image quality must be a number between %d and %d'),
),
);
@@ -142,19 +142,19 @@ if (count($inserts) > 0)
$tabs = array(
array(
'code' => 'direct',
- 'label' => 'Upload Photos',
+ 'label' => l10n('Upload Photos'),
),
array(
'code' => 'settings',
- 'label' => 'Settings',
+ 'label' => l10n('Settings'),
),
array(
'code' => 'ploader',
- 'label' => 'Piwigo Uploader',
+ 'label' => l10n('Piwigo Uploader'),
),
array(
'code' => 'ftp',
- 'label' => 'FTP + Synchronisation',
+ 'label' => l10n('FTP + Synchronization'),
),
);
@@ -177,7 +177,7 @@ foreach ($tabs as $tab)
{
$tabsheet->add(
$tab['code'],
- l10n($tab['label']),
+ $tab['label'],
PHOTOS_ADD_BASE_URL.'&amp;section='.$tab['code']
);
}