add precision localization

This commit is contained in:
Dennis Eichhorn 2020-03-22 21:49:16 +01:00
parent 520a33336e
commit bc35f48cb4
3 changed files with 30 additions and 0 deletions

View File

@ -53,6 +53,7 @@ return ['Profile' => [
'OFF' => 'OFF',
'ON' => 'ON',
'Phone' => 'Telefon',
'Precision' => 'Nachkommastellen',
'Profile' => 'Profil',
'ProfileImage' => 'Profilbild',
'Profiles' => 'Profile',

View File

@ -53,6 +53,7 @@ return ['Profile' => [
'OFF' => 'OFF',
'ON' => 'ON',
'Phone' => 'Phone',
'Precision' => 'Precision',
'Profile' => 'Profile',
'ProfileImage' => 'Profile Image',
'Profiles' => 'Profiles',

View File

@ -269,6 +269,34 @@ echo $this->getData('nav')->render();
</div>
</div>
<div class="col-xs-12 col-md-4">
<div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Precision'); ?></div>
<div class="portlet-body">
<form>
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPrecisionVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
<tr><td>
<input form="fLocalization" id="iPrecisionVeryShort" name="settings_precision_vs" value="<?= $this->printHtml($l11n->getPrecision()['very_short']); ?>" type="number">
<tr><td><label for="iPrecisionShort"><?= $this->getHtml('Short'); ?></label>
<tr><td>
<input form="fLocalization" id="iPrecisionLight" name="settings_precision_s" value="<?= $this->printHtml($l11n->getPrecision()['short']); ?>" type="number">
<tr><td><label for="iPrecisionMedium"><?= $this->getHtml('Medium'); ?></label>
<tr><td>
<input form="fLocalization" id="iPrecisionMedium" name="settings_precision_m" value="<?= $this->printHtml($l11n->getPrecision()['medium']); ?>" type="number">
<tr><td><label for="iPrecisionLong"><?= $this->getHtml('Long'); ?></label>
<tr><td>
<input form="fLocalization" id="iPrecisionLong" name="settings_precision_l" value="<?= $this->printHtml($l11n->getPrecision()['long']); ?>" type="number">
<tr><td><label for="iPrecisionVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
<tr><td>
<input form="fLocalization" id="iPrecisionVeryLong" name="settings_precision_vl" value="<?= $this->printHtml($l11n->getPrecision()['very_long']); ?>" type="number">
</table>
</form>
</div>
</div>
</div>
<div class="col-xs-12 col-md-4">
<div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Weight'); ?></div>