aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-03 11:18:21 +0000
committernikrou <nikrou@piwigo.org>2010-03-03 11:18:21 +0000
commit11751ccd2c0b90f24820e409d905d2f0def9525d (patch)
treefce1af8137b5cd0c7a1150f87de0db462ed1218a /admin/include
parentf0a6aeedfafb2e67464a11bcd34db0975d191cc7 (diff)
Feature 1451 : fix mispelling and missing translations
git-svn-id: http://piwigo.org/svn/trunk@5036 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions.php4
-rw-r--r--admin/include/functions_notification_by_mail.inc.php12
-rw-r--r--admin/include/functions_waiting.inc.php2
3 files changed, 9 insertions, 9 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 1df95314b..14e975b12 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -1666,7 +1666,7 @@ SELECT id
return array(
'info' => sprintf(
- l10n('Tag \"%s\" was added'),
+ l10n('Tag "%s" was added'),
stripslashes($tag_name)
),
'id' => $inserted_id,
@@ -1676,7 +1676,7 @@ SELECT id
{
return array(
'error' => sprintf(
- l10n('Tag \"%s\" already exists'),
+ l10n('Tag "%s" already exists'),
stripslashes($tag_name)
)
);
diff --git a/admin/include/functions_notification_by_mail.inc.php b/admin/include/functions_notification_by_mail.inc.php
index e05e027f1..35a83f616 100644
--- a/admin/include/functions_notification_by_mail.inc.php
+++ b/admin/include/functions_notification_by_mail.inc.php
@@ -315,16 +315,16 @@ function display_counter_info()
if ($env_nbm['error_on_mail_count'] != 0)
{
- array_push($page['errors'], l10n_dec('nbm_msg_n_mail_not_send', 'nbm_msg_n_mails_not_send', $env_nbm['error_on_mail_count']));
+ array_push($page['errors'], l10n_dec('%d mail was not sent.', '%d mails were not sent.', $env_nbm['error_on_mail_count']));
if ($env_nbm['sent_mail_count'] != 0)
- array_push($page['infos'], l10n_dec('nbm_msg_n_mail_sent', 'nbm_msg_n_mails_sent', $env_nbm['sent_mail_count']));
+ array_push($page['infos'], l10n_dec('%d mail was sent.', '%d mails were sent.', $env_nbm['sent_mail_count']));
}
else
{
if ($env_nbm['sent_mail_count'] == 0)
array_push($page['infos'], l10n('No mail to send.'));
else
- array_push($page['infos'], l10n_dec('nbm_msg_n_mail_sent', 'nbm_msg_n_mails_sent', $env_nbm['sent_mail_count']));
+ array_push($page['infos'], l10n_dec('%d mail was sent.', '%d mails were sent.', $env_nbm['sent_mail_count']));
}
}
@@ -491,12 +491,12 @@ function do_subscribe_unsubscribe_notification_by_mail($is_admin_request, $is_su
}
- array_push($page['infos'], l10n_dec('nbm_user_change_enabled_updated_data_count', 'nbm_users_change_enabled_updated_data_count', $updated_data_count));
+ array_push($page['infos'], l10n_dec('%d user was updated.', '%d users were updated.', $updated_data_count));
if ($error_on_updated_data_count != 0)
{
array_push($page['errors'],
- l10n_dec('nbm_user_change_enabled_error_on_updated_data_count',
- 'nbm_users_change_enabled_error_on_updated_data_count',
+ l10n_dec('%d user was not updated.',
+ '%d users were not updated.',
$error_on_updated_data_count));
}
diff --git a/admin/include/functions_waiting.inc.php b/admin/include/functions_waiting.inc.php
index 16642474c..b7f2f6fe0 100644
--- a/admin/include/functions_waiting.inc.php
+++ b/admin/include/functions_waiting.inc.php
@@ -30,7 +30,7 @@ function waiting_tabsheet()
// TabSheet
$tabsheet = new tabsheet();
// TabSheet initialization
- $tabsheet->add('Comments', l10n('Comments'), $link_start.'Comments');
+ $tabsheet->add('comments', l10n('Comments'), $link_start.'comments');
$tabsheet->add('upload', l10n('Pictures'), $link_start.'upload');
// TabSheet selection
$tabsheet->select($page['page']);