From 02b92137b3f7217b9e6434039171c9ac1518a6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Thu, 21 Nov 2013 09:58:35 +0100 Subject: [PATCH 1/2] unify translation string - less work for the translators --- core/templates/altmail.php | 3 ++- core/templates/mail.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/templates/altmail.php b/core/templates/altmail.php index 00b67bee45..7776919ea3 100644 --- a/core/templates/altmail.php +++ b/core/templates/altmail.php @@ -1,7 +1,8 @@ t("Hey there,\n\njust letting you know that %s shared %s with you.\nView it: %s\n\n", array($_['user_displayname'], $_['filename'], $_['link']))); if ( isset($_['expiration']) ) { - print_unescaped($l->t("The share will expire on %s.\n\n", array($_['expiration']))); + print_unescaped($l->t("The share will expire on %s.", array($_['expiration']))); + print_unescaped('\n\n'); } p($l->t("Cheers!")); ?> diff --git a/core/templates/mail.php b/core/templates/mail.php index 40092f5491..4fa54aa528 100644 --- a/core/templates/mail.php +++ b/core/templates/mail.php @@ -14,7 +14,8 @@ t('Hey there,

just letting you know that %s shared »%s« with you.
View it!

', array($_['user_displayname'], $_['filename'], $_['link']))); if ( isset($_['expiration']) ) { - print_unescaped($l->t("The share will expire on %s.

", array($_['expiration']))); + p($l->t("The share will expire on %s.", array($_['expiration']))); + print_unescaped('

'); } p($l->t('Cheers!')); ?> From f2fe47bc2128ac98a8cc53a2b89f98223fa2f77e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Thu, 21 Nov 2013 09:59:21 +0100 Subject: [PATCH 2/2] fixing spelling and restructure sentence --- lib/private/files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/files.php b/lib/private/files.php index e76dd8644c..8b8ff81ec5 100644 --- a/lib/private/files.php +++ b/lib/private/files.php @@ -253,7 +253,7 @@ class OC_Files { header("HTTP/1.0 409 Conflict"); OC_Template::printErrorPage( $l->t('Selected files too large to generate zip file.'), - $l->t('Download the files in smaller chunks, seperately or kindly ask your administrator.') + $l->t('Please download the files separately in smaller chunks or kindly ask your administrator.') .'
' . $l->t('Back to Files') . '' );