diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-21 09:58:35 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-21 09:58:35 +0100 |
commit | 02b92137b3f7217b9e6434039171c9ac1518a6b1 (patch) | |
tree | 87ea3a9d4fc89343c350fec791d17f51972905d5 /core/templates | |
parent | c2ccf4a6b3398ffe137f9eafdda55cc695ad0722 (diff) | |
download | nextcloud-server-02b92137b3f7217b9e6434039171c9ac1518a6b1.tar.gz nextcloud-server-02b92137b3f7217b9e6434039171c9ac1518a6b1.zip |
unify translation string - less work for the translators
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/altmail.php | 3 | ||||
-rw-r--r-- | 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 00b67bee456..7776919ea34 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 40092f5491f..4fa54aa5283 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!')); ?> |