From 90d8f42d7c5b8c8c064af8ab74e181d5e5471522 Mon Sep 17 00:00:00 2001 From: Volkan Gezer Date: Tue, 29 Jul 2014 17:47:42 +0200 Subject: [PATCH] typo fix from transifex suggestion --- lib/private/share/share.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 0c42853302..88a28adb75 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -955,8 +955,8 @@ class Share extends \OC\Share\Constants { $maxDays = \OCP\Config::getAppValue('core', 'shareapi_expire_after_n_days', '7'); $maxDate->add(new \DateInterval('P' . $maxDays . 'D')); if ($date > $maxDate) { - $warning = 'Can not set expire date. Shares can not expire later then ' . $maxDays . ' after they where shared'; - $warning_t = $l->t('Can not set expire date. Shares can not expire later then %s after they where shared', array($maxDays)); + $warning = 'Can not set expire date. Shares can not expire later than ' . $maxDays . ' after they where shared'; + $warning_t = $l->t('Can not set expire date. Shares can not expire later than %s after they where shared', array($maxDays)); \OCP\Util::writeLog('OCP\Share', $warning, \OCP\Util::WARN); throw new \Exception($warning_t); }