[Pkg-owncloud-commits] [owncloud] 23/239: unify translation string - less work for the translators

David Prévot taffit at moszumanska.debian.org
Fri Nov 29 01:32:13 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 02b92137b3f7217b9e6434039171c9ac1518a6b1
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Thu Nov 21 09:58:35 2013 +0100

    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 00b67be..7776919 100644
--- a/core/templates/altmail.php
+++ b/core/templates/altmail.php
@@ -1,7 +1,8 @@
 <?php
 print_unescaped($l->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 40092f5..4fa54aa 100644
--- a/core/templates/mail.php
+++ b/core/templates/mail.php
@@ -14,7 +14,8 @@
 <?php
 print_unescaped($l->t('Hey there,<br><br>just letting you know that %s shared »%s« with you.<br><a href="%s">View it!</a><br><br>', array($_['user_displayname'], $_['filename'], $_['link'])));
 if ( isset($_['expiration']) ) {
-	print_unescaped($l->t("The share will expire on %s.<br><br>", array($_['expiration'])));
+	p($l->t("The share will expire on %s.", array($_['expiration'])));
+	print_unescaped('<br><br>');
 }
 p($l->t('Cheers!'));
 ?>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list