aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-04-21 17:27:22 +0000
committerrub <rub@piwigo.org>2006-04-21 17:27:22 +0000
commit41fdb7095b7d2b1dd74647190ee97b4c458600bf (patch)
tree3dba22d819395744b8e61f85c8c2e5f7921cdb9d
parent01f06a878ff37f734e2fa9887ee88a28d125e4ce (diff)
Issue ID 0000342:
o Improved NBM messages Merge BSF r1231:1232 into branch-1_6 git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1233 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/notification_by_mail.php2
-rw-r--r--language/en_UK.iso-8859-1/admin.lang.php4
-rw-r--r--language/fr_FR.iso-8859-1/admin.lang.php2
-rw-r--r--template/yoga/admin/notification_by_mail.tpl2
4 files changed, 8 insertions, 2 deletions
diff --git a/admin/notification_by_mail.php b/admin/notification_by_mail.php
index 7ede9ba61..e2b3cfe69 100644
--- a/admin/notification_by_mail.php
+++ b/admin/notification_by_mail.php
@@ -193,7 +193,7 @@ order by
$query = 'delete from '.USER_MAIL_NOTIFICATION_TABLE.' where check_key in ('.implode(",", $quoted_check_key_list).');';
$result = pwg_query($query);
- redirect($base_url.get_query_string_diff(array()));
+ redirect($base_url.get_query_string_diff(array()), l10n('nbm_redirect_msg'));
}
}
}
diff --git a/language/en_UK.iso-8859-1/admin.lang.php b/language/en_UK.iso-8859-1/admin.lang.php
index 5464ab83c..16c483eef 100644
--- a/language/en_UK.iso-8859-1/admin.lang.php
+++ b/language/en_UK.iso-8859-1/admin.lang.php
@@ -254,6 +254,7 @@ $lang['metadata_exif'] = 'EXIF';
$lang['metadata_iptc'] = 'IPTC';
$lang['name'] = 'name';
$lang['nbm_background_treatment_redirect'] = 'Execution time is out, treatment must be continue [Estmated time: %d secondes].';
+$lang['nbm_redirect_msg'] = 'Processing treatment.'."\n\n".'Please wait...';
$lang['nbm_repost_submit'] = 'Continue processing treatment';
$lang['nbm_break_timeout_list_user'] = 'Prepared time for list of users to send mail is limited. Others users are not listed.';
$lang['nbm_col_check_user_send_mail'] = 'To send ?';
@@ -282,7 +283,8 @@ $lang['nbm_msg_no_mail_to_send'] = '%d mails were not sent.';
$lang['nbm_break_timeout_send_mail'] = 'Time to send mail is limited. Others mails are skipped.';
$lang['nbm_no_mail_to_send'] = 'No mail to send.';
$lang['nbm_no_user_available_to_send_L1'] = 'No user are available in order to send mail.';
-$lang['nbm_no_user_available_to_send_L2'] = 'A user is available, if there are new elements to notify';
+$lang['nbm_no_user_available_to_send_L2'] = 'A user is available, if there are new elements to notify.';
+$lang['nbm_no_user_available_to_send_L3'] = 'It\'s possible that the are no subscribed users (only webmaster can see this tab).';
$lang['nbm_no_user_to send_notifications_by_mail'] = 'No user to send notifications by mail.';
$lang['nbm_object_news'] = 'New elements added';
$lang['nbm_object_subcribe'] = 'Subcribe to notification by mail';
diff --git a/language/fr_FR.iso-8859-1/admin.lang.php b/language/fr_FR.iso-8859-1/admin.lang.php
index 6cc3b2c77..fcf4fa40d 100644
--- a/language/fr_FR.iso-8859-1/admin.lang.php
+++ b/language/fr_FR.iso-8859-1/admin.lang.php
@@ -257,6 +257,7 @@ $lang['metadata_exif'] = 'EXIF';
$lang['metadata_iptc'] = 'IPTC';
$lang['name'] = 'nom';
$lang['nbm_background_treatment_redirect'] = 'Le temps d\'éxécution étant dépassé, le traitement doit continuer [Temps estimé: %d secondes].';
+$lang['nbm_redirect_msg'] = 'Traitement en cours.'."\n".'Veuillez patienter...';
$lang['nbm_repost_submit'] = 'Continuer le traitement en cours...';
$lang['nbm_break_timeout_list_user'] = 'Le temps de préparation de la liste des utilisateurs pour l\'envoi est limité. Les autres utilisateurs ne sont pas listés.';
$lang['nbm_col_check_user_send_mail'] = 'A envoyer ?';
@@ -286,6 +287,7 @@ $lang['nbm_break_timeout_send_mail'] = 'Le temps d\'envoi des mails est limité.
$lang['nbm_no_mail_to_send'] = 'Pas de mail à envoyer.';
$lang['nbm_no_user_available_to_send_L1'] = 'Il n\'y a pas d\'utilisateur à notifier par mail.';
$lang['nbm_no_user_available_to_send_L2'] = 'Un utilisateur est à notifier si de nouveaux éléments sont disponibles pour cet utilisateur.';
+$lang['nbm_no_user_available_to_send_L3'] = 'Il se peut aussi qu\'il n\'y ai aucun utilisateur inscrit (seul le webmaster a accés à cet onglet).';
$lang['nbm_no_user_to send_notifications_by_mail'] = 'Pas d\'utilisateur pour envoyer des notifications par mails.';
$lang['nbm_object_news'] = 'Nouveaux éléments ajoutés';
$lang['nbm_object_subcribe'] = 'Inscription à la notification par mail';
diff --git a/template/yoga/admin/notification_by_mail.tpl b/template/yoga/admin/notification_by_mail.tpl
index 71a8fd737..31f9f74e6 100644
--- a/template/yoga/admin/notification_by_mail.tpl
+++ b/template/yoga/admin/notification_by_mail.tpl
@@ -70,7 +70,9 @@
<!-- BEGIN send_empty -->
<center>
{lang:nbm_no_user_available_to_send_L1}<br>
+ <br>
{lang:nbm_no_user_available_to_send_L2}<br>
+ {lang:nbm_no_user_available_to_send_L3}<br>
<br>
</center>
<!-- END send_empty -->