aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2017-10-08 19:05:19 +0200
committerGravatar Alexis Degrugillier <github@ainw.org> 2017-10-10 06:46:25 +0200
commitac60e35f6a6849f2dc13b3644d94fae59d83db77 (patch)
treed740d152002778251f9f6e70af4c56dd6d9c7315 /app/views
parent863ce029dde483e201ee3177db02bae93d2b62e0 (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.phtml2
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>