summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Notification
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 11:36:20 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:17 +0200
commitede15f0988c02cf65f9d1a763d9bb2ea0edde2e9 (patch)
tree7e2295dd8598ba894b4eaaf7d7d47ff8b4946d7e /apps/user_ldap/lib/Notification
parentfd465d4e492bf19812f2c62f06766b3d70f8a270 (diff)
downloadnextcloud-server-ede15f0988c02cf65f9d1a763d9bb2ea0edde2e9.tar.gz
nextcloud-server-ede15f0988c02cf65f9d1a763d9bb2ea0edde2e9.zip
Fix L10N::t
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/user_ldap/lib/Notification')
-rw-r--r--apps/user_ldap/lib/Notification/Notifier.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Notification/Notifier.php b/apps/user_ldap/lib/Notification/Notifier.php
index 0099d764f03..795d8d4c344 100644
--- a/apps/user_ldap/lib/Notification/Notifier.php
+++ b/apps/user_ldap/lib/Notification/Notifier.php
@@ -63,9 +63,9 @@ class Notifier implements INotifier {
$params = $notification->getSubjectParameters();
$days = (int) $params[0];
if ($days === 2) {
- $notification->setParsedSubject($l->t('Your password will expire tomorrow.', $days));
+ $notification->setParsedSubject($l->t('Your password will expire tomorrow.'));
} else if ($days === 1) {
- $notification->setParsedSubject($l->t('Your password will expire today.', $days));
+ $notification->setParsedSubject($l->t('Your password will expire today.'));
} else {
$notification->setParsedSubject($l->n(
'Your password will expire within %n day.',