Localization fix

This commit is contained in:
Dennis Eichhorn 2016-07-27 22:20:30 +02:00
parent 7609491375
commit b578b1db9e
4 changed files with 20 additions and 20 deletions

View File

@ -39,7 +39,7 @@ echo $this->getData('nav')->render(); ?>
<div class="inner">
<form>
<table class="layout w-100">
<tr><td><label for="iId"><?= $this->getText('ID'); ?></label>
<tr><td><label for="iId"><?= $this->getText('ID', 0, 0); ?></label>
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="number" id="iId" min="1" name="id" required></span>
<tr><td><label for="iName1"><?= $this->getText('Name1'); ?></label>
<tr><td><input type="text" id="iName1" name="name1" placeholder="&#xf040;" required>
@ -47,7 +47,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input type="text" id="iName2" name="name2" placeholder="&#xf040;">
<tr><td><label for="iName3"><?= $this->getText('Name3'); ?></label>
<tr><td><input type="text" id="iName3" name="name3" placeholder="&#xf040;">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Create') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
</table>
</form>
</div>
@ -78,7 +78,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input type="text" id="iCInfo" name="cinfo">
<tr><td><label for="iCData"><?= $this->getText('Contact'); ?></label>
<tr><td><input type="text" id="iCData" name="cdata">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -106,7 +106,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><label for="iAInfo"><?= $this->getText('Info'); ?></label>
<tr><td><input type="text" id="iAInfo" name="ainfo">
<tr><td><span class="check"><input type="checkbox" id="iDefault" name="default" checked><label for="iDefault"><?= $this->getText('IsDefault'); ?></label></span>
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -134,7 +134,7 @@ echo $this->getData('nav')->render(); ?>
<option>
</select>
<tr><td><span class="check"><input type="checkbox" id="iFreightage" name="freightage"><label for="iFreightage"><?= $this->getText('Freightage') ?></label></span>
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -152,7 +152,7 @@ echo $this->getData('nav')->render(); ?>
<option><?= $this->getText('Wire'); ?>
<option><?= $this->getText('Creditcard'); ?>
</select>
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -190,7 +190,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input id="iDiscountP" name="discountp" type="number" step="any" min="0" placeholder=""><td>
<tr><td><label for="iBonus"><?= $this->getText('Bonus') ?></label>
<tr><td><input id="iBonus" name="bonus" type="number" step="any" min="0" placeholder=""><td>
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -216,7 +216,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input id="iGroup" name="group" type="text" placeholder="">
<tr><td><label for="iArticlegroup"><?= $this->getText('Articlegroup') ?></label>
<tr><td><input id="iArticlegroup" name="articlegroup" type="text" placeholder="">
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>

View File

@ -64,7 +64,7 @@ echo $this->getData('nav')->render(); ?>
<caption><?= $this->getText('Clients') ?></caption>
<thead>
<tr>
<td><?= $this->getText('ID'); ?>
<td><?= $this->getText('ID', 0, 0); ?>
<td><?= $this->getText('Name1'); ?>
<td><?= $this->getText('Name2'); ?>
<td class="wf-100"><?= $this->getText('Name3'); ?>
@ -79,7 +79,7 @@ echo $this->getData('nav')->render(); ?>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="8" class="empty"><?= $this->getText('Empty'); ?>
<tr><td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>

View File

@ -39,7 +39,7 @@ echo $this->getData('nav')->render(); ?>
<div class="inner">
<form>
<table class="layout w-100">
<tr><td><label for="iId"><?= $this->getText('ID'); ?></label>
<tr><td><label for="iId"><?= $this->getText('ID', 0, 0); ?></label>
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="number" id="iId" min="1" name="id" required></span>
<tr><td><label for="iName1"><?= $this->getText('Name1'); ?></label>
<tr><td><input type="text" id="iName1" name="name1" placeholder="&#xf040;" required>
@ -47,7 +47,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input type="text" id="iName2" name="name2" placeholder="&#xf040;">
<tr><td><label for="iName3"><?= $this->getText('Name3'); ?></label>
<tr><td><input type="text" id="iName3" name="name3" placeholder="&#xf040;">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Create') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
</table>
</form>
</div>
@ -78,7 +78,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input type="text" id="iCInfo" name="cinfo">
<tr><td><label for="iCData"><?= $this->getText('Contact'); ?></label>
<tr><td><input type="text" id="iCData" name="cdata">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -106,7 +106,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><label for="iAInfo"><?= $this->getText('Info'); ?></label>
<tr><td><input type="text" id="iAInfo" name="ainfo">
<tr><td><span class="check"><input type="checkbox" id="iDefault" name="default" checked><label for="iDefault"><?= $this->getText('IsDefault'); ?></label></span>
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -134,7 +134,7 @@ echo $this->getData('nav')->render(); ?>
<option>
</select>
<tr><td><span class="check"><input type="checkbox" id="iFreightage" name="freightage"><label for="iFreightage"><?= $this->getText('Freightage') ?></label></span>
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -152,7 +152,7 @@ echo $this->getData('nav')->render(); ?>
<option><?= $this->getText('Wire'); ?>
<option><?= $this->getText('Creditcard'); ?>
</select>
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -190,7 +190,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input id="iDiscountP" name="discountp" type="number" step="any" min="0" placeholder=""><td>
<tr><td><label for="iBonus"><?= $this->getText('Bonus') ?></label>
<tr><td><input id="iBonus" name="bonus" type="number" step="any" min="0" placeholder=""><td>
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>
@ -216,7 +216,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input id="iGroup" name="group" type="text" placeholder="">
<tr><td><label for="iArticlegroup"><?= $this->getText('Articlegroup') ?></label>
<tr><td><input id="iArticlegroup" name="articlegroup" type="text" placeholder="">
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
</table>
</form>
</div>

View File

@ -64,7 +64,7 @@ echo $this->getData('nav')->render(); ?>
<caption><?= $this->getText('Clients') ?></caption>
<thead>
<tr>
<td><?= $this->getText('ID'); ?>
<td><?= $this->getText('ID', 0, 0); ?>
<td><?= $this->getText('Name1'); ?>
<td><?= $this->getText('Name2'); ?>
<td class="wf-100"><?= $this->getText('Name3'); ?>
@ -79,7 +79,7 @@ echo $this->getData('nav')->render(); ?>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="8" class="empty"><?= $this->getText('Empty'); ?>
<tr><td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>