unify translation string - less work for the translators

This commit is contained in:
Thomas Müller 2013-11-21 09:58:35 +01:00
parent c2ccf4a6b3
commit 02b92137b3
2 changed files with 4 additions and 2 deletions

View 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!"));
?>

View 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!'));
?>