]> source.dussan.org Git - nextcloud-server.git/commitdiff
unify translation string - less work for the translators
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 21 Nov 2013 08:58:35 +0000 (09:58 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 21 Nov 2013 08:58:35 +0000 (09:58 +0100)
core/templates/altmail.php
core/templates/mail.php

index 00b67bee456e75783dc3fea8ccf9abf64eb04214..7776919ea342c3f9fb0e541e055f33299dffdc2c 100644 (file)
@@ -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!"));
 ?>
index 40092f5491f88aa3f19156e975bb86b5ddecd1fd..4fa54aa5283f77b070da1b4a5a73da696195bbb8 100644 (file)
@@ -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!'));
 ?>