diff options
| author | 2017-10-08 19:05:19 +0200 | |
|---|---|---|
| committer | 2017-10-10 06:46:25 +0200 | |
| commit | ac60e35f6a6849f2dc13b3644d94fae59d83db77 (patch) | |
| tree | d740d152002778251f9f6e70af4c56dd6d9c7315 /app/views | |
| parent | 863ce029dde483e201ee3177db02bae93d2b62e0 (diff) | |
Improve translation tools
I was not happy with the previous version. I refactored everything to make it reusable.
It allows me do do more verifications and to build a tool to handle the files themselves.
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/configure/system.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml index 935b49fda..37b68c991 100644 --- a/app/views/configure/system.phtml +++ b/app/views/configure/system.phtml @@ -33,7 +33,7 @@ <div class="group-controls"> <?php $number = count(listUsers()); - echo _t($number > 1 ? 'admin.user.numbers' : 'admin.user.number', $number); + echo ($number > 1 ? _t('admin.user.numbers', $number) : _t('admin.user.number', $number)); ?> </div> </div> |
