diff options
author | Volkan Gezer <wakeup@users.noreply.github.com> | 2014-07-29 17:47:42 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-07-30 14:07:32 +0200 |
commit | 90d8f42d7c5b8c8c064af8ab74e181d5e5471522 (patch) | |
tree | 0ac4ef68cfeb52cc44f5a8ce83acea506f489906 /lib/private/share | |
parent | 06d118d06c0def5a33aab64c6a2c20f79944b378 (diff) | |
download | nextcloud-server-90d8f42d7c5b8c8c064af8ab74e181d5e5471522.tar.gz nextcloud-server-90d8f42d7c5b8c8c064af8ab74e181d5e5471522.zip |
typo fix from transifex suggestion
Diffstat (limited to 'lib/private/share')
-rw-r--r-- | lib/private/share/share.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 0c42853302d..88a28adb75b 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); } |