Localization fix

This commit is contained in:
Dennis Eichhorn 2016-07-27 22:20:30 +02:00
parent 06b2552e33
commit e60ad59329
6 changed files with 9 additions and 9 deletions

View File

@ -33,7 +33,7 @@ echo $this->getData('nav')->render(); ?>
</select>
<tr><td><label for="iDescription"><?= $this->getText('Description'); ?></label>
<tr><td><textarea name="description" id="iDescription" placeholder="&#xf040;"></textarea>
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
</table>
</form>
</div>

View File

@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>
<caption><?= $this->getText('Departments'); ?></caption>
<thead>
<tr>
<td><?= $this->getText('ID'); ?>
<td><?= $this->getText('ID', 0, 0); ?>
<td class="wf-100"><?= $this->getText('Name'); ?>
<td><?= $this->getText('Parent'); ?>
<td><?= $this->getText('Unit'); ?>
@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
<?php endforeach; ?>
<?php if($c === 0) : ?>
<tr>
<td colspan="4" class="empty"><?= $this->getText('Empty'); ?>
<td colspan="4" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>

View File

@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?>
</select>
<tr><td><label for="iDescription"><?= $this->getText('Description'); ?></label>
<tr><td><textarea name="description" id="iDescription" placeholder="&#xf040;"></textarea>
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
</table>
</form>
</div>

View File

@ -33,7 +33,7 @@ echo $this->getData('nav')->render(); ?>
<caption><?= $this->getText('Positions'); ?></caption>
<thead>
<tr>
<td><?= $this->getText('ID'); ?>
<td><?= $this->getText('ID', 0, 0); ?>
<td class="wf-100"><?= $this->getText('Name'); ?>
<td><?= $this->getText('Parent'); ?>
<tfoot>
@ -47,7 +47,7 @@ echo $this->getData('nav')->render(); ?>
<td><a href="<?= $url; ?>"><?= $value->getParent(); ?></a>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="5" class="empty"><?= $this->getText('Empty'); ?>
<tr><td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>

View File

@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?>
</select>
<tr><td><label for="iDescription"><?= $this->getText('Description'); ?></label>
<tr><td><textarea name="description" id="iDescription" placeholder="&#xf040;"></textarea>
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
</table>
</form>
</div>

View File

@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>
<caption><?= $this->getText('Units'); ?></caption>
<thead>
<tr>
<td><?= $this->getText('ID'); ?>
<td><?= $this->getText('ID', 0, 0); ?>
<td class="wf-100"><?= $this->getText('Name'); ?>
<td><?= $this->getText('Parent'); ?>
<tfoot>
@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?>
<?php foreach ($this->getData('list:elements') as $key => $value) :
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/unit/profile?id=' . $value->getId()); ?>
<tr>
<td data-label="<?= $this->getText('ID'); ?>"><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td data-label="<?= $this->getText('ID', 0, 0); ?>"><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td data-label="<?= $this->getText('Name'); ?>"><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<td data-label="<?= $this->getText('Parent'); ?>"><a href="<?= $url; ?>"><?= $value->getParent(); ?></a>
<?php endforeach; ?>