From: Volkan Gezer Date: Wed, 6 Aug 2014 18:48:26 +0000 (+0200) Subject: typo fix from transifex suggestion X-Git-Tag: v8.0.0alpha1~959^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=173538befbbc00b356728db0ee3f6759221d63e4;p=nextcloud-server.git typo fix from transifex suggestion --- diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 47b82f2a42d..646511fd64d 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -956,8 +956,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 = 'Cannot set expiration date. Shares cannot expire later than ' . $maxDays . ' after they where shared'; - $warning_t = $l->t('Cannot set expiration date. Shares cannot expire later than %s after they where shared', array($maxDays)); + $warning = 'Cannot set expiration date. Shares cannot expire later than ' . $maxDays . ' after they have been shared'; + $warning_t = $l->t('Cannot set expiration date. Shares cannot expire later than %s after they have been shared', array($maxDays)); \OCP\Util::writeLog('OCP\Share', $warning, \OCP\Util::WARN); throw new \Exception($warning_t); }