Localize status bits

This commit is contained in:
Romain Neutron
2013-06-13 16:05:34 +02:00
parent 1a13d02c2a
commit 906d4ba9c5
14 changed files with 236 additions and 129 deletions

View File

@@ -81,7 +81,7 @@
</td>
<td style='text-align:right'>
<label for="status-radio-{{ sbasId ~ "-" ~ bit ~ '-off'}}" {% if inverse == 2 %}style='color:#FF3333'{% endif%}>
{{ values['labeloff']|default('off') }}
{{ values['labels_off_i18n'][app['locale.I18n']]|default('off') }}
</label>
</td>
<td style='text-align:right'>
@@ -92,7 +92,7 @@
</td>
<td style='text-align:left'>
<label for="status-radio-{{ sbasId ~ "-" ~ bit ~ '-on'}}" {% if inverse == 2 %}style='color:#FF3333'{% endif%}>
{{ values['labelon']|default('on') }}
{{ values['labels_on_i18n'][app['locale.I18n']]|default('on') }}
</label>
</td>
<td style='text-align:left'>