From 10510cbd642f813e5a025428e2973f80c5cfcc70 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Tue, 14 Apr 2015 09:39:21 -0500 Subject: [PATCH] =?UTF-8?q?i18n:=20'After=20<n>=20month(s)'=20=E2=80=94?= =?UTF-8?q?=C2=A0make=20single=20phrase?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/staff/settings-system.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/staff/settings-system.inc.php b/include/staff/settings-system.inc.php index 30efbb4c5..7b609ce98 100644 --- a/include/staff/settings-system.inc.php +++ b/include/staff/settings-system.inc.php @@ -99,7 +99,8 @@ $gmtime = Misc::gmtime(); for ($i = 1; $i <=12; $i++) { ?> <option <?php echo $config['log_graceperiod']==$i?'selected="selected"':''; ?> value="<?php echo $i; ?>"> - <?php echo __('After');?> <?php echo $i; ?> <?php echo ($i>1)?__('Months'):__('Month'); ?></option> + <?php echo sprintf(_N('After %d month', 'After %d months', $i), $i);?> + </option> <?php } ?> </select> -- GitLab