Translation fixes (0 still missing)

This commit is contained in:
Dennis Eichhorn 2016-07-27 13:15:05 +02:00
parent 2aab36eb11
commit 5acd8a0798
2 changed files with 23 additions and 23 deletions

View File

@ -17,35 +17,35 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-50">
<header><h1><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Project'); ?></h1></header>
<header><h1><?= $this->getText('Project'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td colspan="3"><label for="iName"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Name'); ?></label>
<tr><td colspan="3"><label for="iName"><?= $this->getText('Name'); ?></label>
<tr><td colspan="2"><input type="text" id="iName" name="name" placeholder="" required><td>
<tr><td colspan="3"><label for="iDescription"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Description'); ?></label>
<tr><td colspan="3"><label for="iDescription"><?= $this->getText('Description'); ?></label>
<tr><td colspan="2"><textarea id="iDescription" name="description"></textarea><td>
<tr><td colspan="3"><label for="iStatus"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Status'); ?></label>
<tr><td colspan="3"><label for="iStatus"><?= $this->getText('Status'); ?></label>
<tr><td colspan="2"><select id="iStatus" name="status">
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::ACTIVE ?>"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Active'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::INACTIVE ?>"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Inactive'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::FINISHED ?>"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Finished'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::CANCELED ?>"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Canceled'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::HOLD ?>"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Hold'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::ACTIVE ?>"><?= $this->getText('Active'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::INACTIVE ?>"><?= $this->getText('Inactive'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::FINISHED ?>"><?= $this->getText('Finished'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::CANCELED ?>"><?= $this->getText('Canceled'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::HOLD ?>"><?= $this->getText('Hold'); ?>
</select><td>
<tr><td colspan="3"><label for="iFiles"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Files'); ?></label>
<tr><td colspan="3"><label for="iFiles"><?= $this->getText('Files'); ?></label>
<tr><td colspan="2"><input type="file" id="iFiles" name="file" multiple><td>
<tr><td colspan="3"><label for="iBudget"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Budget'); ?></label>
<tr><td colspan="3"><label for="iBudget"><?= $this->getText('Budget'); ?></label>
<tr><td colspan="2"><input type="text" id="iBudget" name="budget" placeholder=""><td>
<tr><td><label for="iDue"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Start'); ?></label><td><label for="iDue"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Due'); ?></label><td>
<tr><td><label for="iDue"><?= $this->getText('Start'); ?></label><td><label for="iDue"><?= $this->getText('Due'); ?></label><td>
<tr><td><input type="datetime-local" id="iDue" name="due"><td><input type="datetime-local" id="iDue" name="due"><td>
<tr><td><label for="iResponsibility"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Responsibility'); ?></label><td><label for="iUser"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'UserGroup'); ?></label><td>
<tr><td><label for="iResponsibility"><?= $this->getText('Responsibility'); ?></label><td><label for="iUser"><?= $this->getText('UserGroup'); ?></label><td>
<tr><td><select id="iStatus" name="status">
<option value="<?= \Modules\ProjectManagement\Models\ProjectResponsibility::MANAGER ?>"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Manager'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectResponsibility::OTHER ?>"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Other'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectResponsibility::MANAGER ?>"><?= $this->getText('Manager'); ?>
<option value="<?= \Modules\ProjectManagement\Models\ProjectResponsibility::OTHER ?>"><?= $this->getText('Other'); ?>
</select>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iUser" name="user" placeholder=""></span><td><button><?= $this->l11n->getText(0, 'Backend', 'Add'); ?></button>
<tr><td colspan="3"><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create'); ?>">
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iUser" name="user" placeholder=""></span><td><button><?= $this->getText('Add'); ?></button>
<tr><td colspan="3"><input type="submit" value="<?= $this->getText('Create'); ?>">
</table>
</form>
</div>

View File

@ -23,13 +23,13 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Projects') ?></caption>
<caption><?= $this->getText('Projects') ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Status'); ?>
<td class="wf-100"><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Title'); ?>
<td><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Start'); ?>
<td><?= $this->l11n->getText('ProjectManagement', 'Backend', 'Due'); ?>
<td><?= $this->getText('Status'); ?>
<td class="wf-100"><?= $this->getText('Title'); ?>
<td><?= $this->getText('Start'); ?>
<td><?= $this->getText('Due'); ?>
<tfoot>
<tr>
<td colspan="5"><?= $footerView->render(); ?>
@ -37,7 +37,7 @@ echo $this->getData('nav')->render(); ?>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?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>