From 8802877a844a9604072dd2ebbfddc668d53a12d2 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 23 Mar 2010 23:45:13 +0000 Subject: remove the \n from the language key and split into 2 separate strings to avoid useless exceptions in translation analysis scripts. git-svn-id: http://piwigo.org/svn/trunk@5302 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/notification_by_mail.php | 4 ++-- language/en_UK/admin.lang.php | 10 ++++------ language/fr_FR/admin.lang.php | 7 ++----- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/admin/notification_by_mail.php b/admin/notification_by_mail.php index f294894fd..1501db636 100644 --- a/admin/notification_by_mail.php +++ b/admin/notification_by_mail.php @@ -200,7 +200,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(), false), l10n("Processing treatment.\nPlease wait...")); + redirect($base_url.get_query_string_diff(array(), false), l10n('Processing treatment.')."\n".l10n('Please wait...')); } } } @@ -734,4 +734,4 @@ switch ($page['mode']) // +-----------------------------------------------------------------------+ $template->assign_var_from_handle('ADMIN_CONTENT', 'notification_by_mail'); -?> \ No newline at end of file +?> diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index 0914e0ac4..9f190caf0 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -303,11 +303,8 @@ $lang['New elements added'] = "New elements added"; $lang['Subscribe to notification by mail'] = "Subscribe to notification by mail"; $lang['Unsubscribe from notification by mail'] = "Unsubscribe from notification by mail"; $lang['Parameter'] = "Parameter"; -$lang['Processing treatment. - -Please wait...'] = "Processing treatment. - -Please wait..."; +$lang['Processing treatment.'] = 'Processing treatment.'; +$lang['Please wait...'] = 'Please wait...'; $lang['Continue processing treatment'] = "Continue processing treatment"; $lang['Complementary mail content'] = "Complementary mail content"; $lang['Add detailed content'] = "Add detailed content"; @@ -734,7 +731,8 @@ $lang['Install on your computer,'] = 'Install on your computer,'; $lang['Make this theme available to users'] = 'Make this theme available to users'; $lang['Page end'] = 'Page end'; $lang['Piwigo Uploader'] = 'Piwigo Uploader'; -$lang['Processing treatment.\nPlease wait...'] = 'Processing treatment.\nPlease wait...'; +$lang['Processing treatment.'] = 'Processing treatment.'; +$lang['Please wait...'] = 'Please wait...'; $lang['Read Piwigo Documentation'] = 'Read Piwigo Documentation'; $lang['Start pLoader and add your photos.'] = 'Start pLoader and add your photos.'; $lang['Switch to clear or dark colors for administration'] = 'Switch to clear or dark colors for administration'; diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index 750112e7c..714395e6a 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -303,10 +303,8 @@ $lang['New elements added'] = "Nouveaux éléments ajoutés"; $lang['Subscribe to notification by mail'] = "Inscription à la notification par mail"; $lang['Unsubscribe from notification by mail'] = "Désinscription à la notification par mail"; $lang['Parameter'] = "Paramétrage"; -$lang['Processing treatment. - -Please wait...'] = "Traitement en cours. -Veuillez patienter..."; +$lang['Processing treatment.'] = "Traitement en cours."; +$lang['Please wait...'] = "Veuillez patienter..."; $lang['Continue processing treatment'] = "Continuer le traitement en cours..."; $lang['Complementary mail content'] = "Contenu complémentaire du mail"; $lang['Add detailed content'] = "Ajout d'un contenu détaillé"; @@ -744,7 +742,6 @@ $lang['Install on your computer,'] = 'Installez sur votre ordinateur,'; $lang['Make this theme available to users'] = 'Rendre ce thème disponible aux utilisateurs'; $lang['Page end'] = 'Fin de la page'; $lang['Piwigo Uploader'] = 'Piwigo Uploader'; -$lang['Processing treatment.\nPlease wait...'] = 'Traitement en cours.\nVeuillez patienter...'; $lang['Read Piwigo Documentation'] = 'Lire la documentation Piwigo'; $lang['Start pLoader and add your photos.'] = 'Démarrez pLoader et ajoutez vos photos.'; $lang['Switch to clear or dark colors for administration'] = 'Passer à des couleurs claires ou sombres pour l\'administration'; -- cgit v1.2.3