Translation fixes (0 still missing)

This commit is contained in:
Dennis Eichhorn 2016-07-27 13:15:05 +02:00
parent e53f6dea13
commit 06b2552e33
9 changed files with 64 additions and 64 deletions

View File

@ -20,20 +20,20 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-33">
<header><h1><?= $this->l11n->getText('Organization', 'Backend', 'Department'); ?></h1></header>
<header><h1><?= $this->getText('Department'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Organization', 'Backend', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
<tr><td><input type="text" name="name" id="iName" placeholder="&#xf040; R&D" required>
<tr><td><label for="iParent"><?= $this->l11n->getText('Organization', 'Backend', 'Parent'); ?></label>
<tr><td><label for="iParent"><?= $this->getText('Parent'); ?></label>
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" name="parent" id="iParent"></span>
<tr><td><label for="iUnit"><?= $this->l11n->getText('Organization', 'Backend', 'Unit'); ?></label>
<tr><td><label for="iUnit"><?= $this->getText('Unit'); ?></label>
<tr><td><select name="unit" id="iUnit">
</select>
<tr><td><label for="iDescription"><?= $this->l11n->getText('Organization', 'Backend', 'Description'); ?></label>
<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->l11n->getText(0, 'Backend', 'Create') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
</table>
</form>
</div>

View File

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

View File

@ -22,22 +22,22 @@ $department = $this->getData('department');
echo $this->getData('nav')->render(); ?>
<section class="box w-33">
<h1><?= $this->l11n->getText('Organization', 'Backend', 'Position'); ?></h1>
<h1><?= $this->getText('Position'); ?></h1>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Organization', 'Backend', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
<tr><td><input type="text" name="name" id="iName" value="<?= $department->getName(); ?>">
<tr><td><label for="iParent"><?= $this->l11n->getText('Organization', 'Backend', 'Parent'); ?></label>
<tr><td><label for="iParent"><?= $this->getText('Parent'); ?></label>
<tr><td><input type="text" name="parent" id="iParent" value="<?= $department->getParent(); ?>">
<tr><td><label for="iStatus"><?= $this->l11n->getText('Organization', 'Backend', 'Status'); ?></label>
<tr><td><label for="iStatus"><?= $this->getText('Status'); ?></label>
<tr><td><select name="status" id="iStatus">
<option><?= $this->l11n->getText('Organization', 'Backend', 'Active'); ?>
<option><?= $this->l11n->getText('Organization', 'Backend', 'Inactive'); ?>
<option><?= $this->getText('Active'); ?>
<option><?= $this->getText('Inactive'); ?>
</select>
<tr><td><label for="iDescription"><?= $this->l11n->getText('Organization', 'Backend', 'Description'); ?></label>
<tr><td><label for="iDescription"><?= $this->getText('Description'); ?></label>
<tr><td><textarea name="description" id="iDescription"><?= $department->getDescription(); ?></textarea>
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Save') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Save') ?>">
</table>
</form>
</div>

View File

@ -20,22 +20,22 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-33">
<header><h1><?= $this->l11n->getText('Organization', 'Backend', 'Position'); ?></h1></header>
<header><h1><?= $this->getText('Position'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Organization', 'Backend', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
<tr><td><input type="text" name="name" id="iName" placeholder="&#xf040; Orange Management" required>
<tr><td><label for="iParent"><?= $this->l11n->getText('Organization', 'Backend', 'Parent'); ?></label>
<tr><td><label for="iParent"><?= $this->getText('Parent'); ?></label>
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" name="parent" id="iParent"></span>
<tr><td><label for="iStatus"><?= $this->l11n->getText('Organization', 'Backend', 'Status'); ?></label>
<tr><td><label for="iStatus"><?= $this->getText('Status'); ?></label>
<tr><td><select name="status" id="iStatus">
<option><?= $this->l11n->getText('Organization', 'Backend', 'Active'); ?>
<option><?= $this->l11n->getText('Organization', 'Backend', 'Inactive'); ?>
<option><?= $this->getText('Active'); ?>
<option><?= $this->getText('Inactive'); ?>
</select>
<tr><td><label for="iDescription"><?= $this->l11n->getText('Organization', 'Backend', 'Description'); ?></label>
<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->l11n->getText(0, 'Backend', 'Create') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
</table>
</form>
</div>

View File

@ -30,12 +30,12 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Organization', 'Backend', 'Positions'); ?></caption>
<caption><?= $this->getText('Positions'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Organization', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Organization', 'Backend', 'Parent'); ?>
<td><?= $this->getText('ID'); ?>
<td class="wf-100"><?= $this->getText('Name'); ?>
<td><?= $this->getText('Parent'); ?>
<tfoot>
<tr><td colspan="3"><?= $footerView->render(); ?>
<tbody>
@ -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->l11n->getText(0, 'Backend', 'Empty'); ?>
<tr><td colspan="5" class="empty"><?= $this->getText('Empty'); ?>
<?php endif; ?>
</table>
</div>

View File

@ -22,22 +22,22 @@ $unit = $this->getData('unit');
echo $this->getData('nav')->render(); ?>
<section class="box w-33">
<header><h1><?= $this->l11n->getText('Organization', 'Backend', 'Position'); ?></h1></header>
<header><h1><?= $this->getText('Position'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Organization', 'Backend', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
<tr><td><input type="text" name="name" id="iName" value="<?= $unit->getName(); ?>">
<tr><td><label for="iParent"><?= $this->l11n->getText('Organization', 'Backend', 'Parent'); ?></label>
<tr><td><label for="iParent"><?= $this->getText('Parent'); ?></label>
<tr><td><input type="text" name="parent" id="iParent" value="<?= $unit->getParent(); ?>">
<tr><td><label for="iStatus"><?= $this->l11n->getText('Organization', 'Backend', 'Status'); ?></label>
<tr><td><label for="iStatus"><?= $this->getText('Status'); ?></label>
<tr><td><select name="status" id="iStatus">
<option><?= $this->l11n->getText('Organization', 'Backend', 'Active'); ?>
<option><?= $this->l11n->getText('Organization', 'Backend', 'Inactive'); ?>
<option><?= $this->getText('Active'); ?>
<option><?= $this->getText('Inactive'); ?>
</select>
<tr><td><label for="iDescription"><?= $this->l11n->getText('Organization', 'Backend', 'Description'); ?></label>
<tr><td><label for="iDescription"><?= $this->getText('Description'); ?></label>
<tr><td><textarea name="description" id="iDescription"><?= $unit->getDescription(); ?></textarea>
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Save') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Save') ?>">
</table>
</form>
</div>

View File

@ -20,22 +20,22 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-33">
<header><h1><?= $this->l11n->getText('Organization', 'Backend', 'Unit'); ?></h1></header>
<header><h1><?= $this->getText('Unit'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Organization', 'Backend', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
<tr><td><input type="text" name="name" id="iName" placeholder="&#xf040; Orange Management" required>
<tr><td><label for="iParent"><?= $this->l11n->getText('Organization', 'Backend', 'Parent'); ?></label>
<tr><td><label for="iParent"><?= $this->getText('Parent'); ?></label>
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" name="parent" id="iParent"></span>
<tr><td><label for="iStatus"><?= $this->l11n->getText('Organization', 'Backend', 'Status'); ?></label>
<tr><td><label for="iStatus"><?= $this->getText('Status'); ?></label>
<tr><td><select name="status" id="iStatus">
<option><?= $this->l11n->getText('Organization', 'Backend', 'Active'); ?>
<option><?= $this->l11n->getText('Organization', 'Backend', 'Inactive'); ?>
<option><?= $this->getText('Active'); ?>
<option><?= $this->getText('Inactive'); ?>
</select>
<tr><td><label for="iDescription"><?= $this->l11n->getText('Organization', 'Backend', 'Description'); ?></label>
<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->l11n->getText(0, 'Backend', 'Create') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
</table>
</form>
</div>

View File

@ -28,21 +28,21 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Organization', 'Backend', 'Units'); ?></caption>
<caption><?= $this->getText('Units'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Organization', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Organization', 'Backend', 'Parent'); ?>
<td><?= $this->getText('ID'); ?>
<td class="wf-100"><?= $this->getText('Name'); ?>
<td><?= $this->getText('Parent'); ?>
<tfoot>
<tr><td colspan="3"><?= $footerView->render(); ?>
<tbody>
<?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->l11n->getText(0, 'Backend', 'ID'); ?>"><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td data-label="<?= $this->l11n->getText('Organization', 'Backend', 'Name'); ?>"><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<td data-label="<?= $this->l11n->getText('Organization', 'Backend', 'Parent'); ?>"><a href="<?= $url; ?>"><?= $value->getParent(); ?></a>
<td data-label="<?= $this->getText('ID'); ?>"><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; ?>
</table>
</div>

View File

@ -22,22 +22,22 @@ $unit = $this->getData('unit');
echo $this->getData('nav')->render(); ?>
<section class="box w-33">
<header><h1><?= $this->l11n->getText('Organization', 'Backend', 'Unit'); ?></h1></header>
<header><h1><?= $this->getText('Unit'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Organization', 'Backend', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
<tr><td><input type="text" name="name" id="iName" value="<?= $unit->getName(); ?>">
<tr><td><label for="iParent"><?= $this->l11n->getText('Organization', 'Backend', 'Parent'); ?></label>
<tr><td><label for="iParent"><?= $this->getText('Parent'); ?></label>
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" name="parent" id="iParent" value="<?= $unit->getParent(); ?>" required></span>
<tr><td><label for="iStatus"><?= $this->l11n->getText('Organization', 'Backend', 'Status'); ?></label>
<tr><td><label for="iStatus"><?= $this->getText('Status'); ?></label>
<tr><td><select name="status" id="iStatus">
<option><?= $this->l11n->getText('Organization', 'Backend', 'Active'); ?>
<option><?= $this->l11n->getText('Organization', 'Backend', 'Inactive'); ?>
<option><?= $this->getText('Active'); ?>
<option><?= $this->getText('Inactive'); ?>
</select>
<tr><td><label for="iDescription"><?= $this->l11n->getText('Organization', 'Backend', 'Description'); ?></label>
<tr><td><label for="iDescription"><?= $this->getText('Description'); ?></label>
<tr><td><textarea name="description" id="iDescription"><?= $unit->getDescription(); ?></textarea>
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Save') ?>">
<tr><td><input type="submit" value="<?= $this->getText('Save') ?>">
</table>
</form>
</div>