diff options
author | VicDeo <dubiniuk@owncloud.com> | 2014-09-09 01:11:34 +0300 |
---|---|---|
committer | VicDeo <dubiniuk@owncloud.com> | 2014-09-09 01:11:34 +0300 |
commit | efd485acda6ee9830d571a5f41e2d049855a1529 (patch) | |
tree | 5a80c7a26b237c5c22e74e4db19683b748bcc399 | |
parent | a9a3f17b35d0125d4fc0885b767167fac3af914e (diff) | |
parent | 7a7e1023903e27d68b1a4643baf3d7031bcc2dfa (diff) | |
download | nextcloud-server-efd485acda6ee9830d571a5f41e2d049855a1529.tar.gz nextcloud-server-efd485acda6ee9830d571a5f41e2d049855a1529.zip |
Merge pull request #10858 from owncloud/issue/10847
Use correct language package so the subject is correctly translated
-rw-r--r-- | core/templates/altmail.php | 2 | ||||
-rw-r--r-- | lib/private/share/mailnotifications.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/altmail.php b/core/templates/altmail.php index b2b45e454a7..38531d109b7 100644 --- a/core/templates/altmail.php +++ b/core/templates/altmail.php @@ -2,7 +2,7 @@ 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.", array($_['expiration']))); - print_unescaped('\n\n'); + print_unescaped("\n\n"); } // TRANSLATORS term at the end of a mail p($l->t("Cheers!")); diff --git a/lib/private/share/mailnotifications.php b/lib/private/share/mailnotifications.php index 4a92503bdd3..2f704fb2b3c 100644 --- a/lib/private/share/mailnotifications.php +++ b/lib/private/share/mailnotifications.php @@ -52,7 +52,7 @@ class MailNotifications { * @param string $sender user id (if nothing is set we use the currently logged-in user) */ public function __construct($sender = null) { - $this->l = \OC::$server->getL10N('core'); + $this->l = \OC::$server->getL10N('lib'); $this->senderId = $sender; |