Translation fixes (0 still missing)

This commit is contained in:
Dennis Eichhorn 2016-07-27 13:15:05 +02:00
parent b1515225a9
commit c93f2f34aa
2 changed files with 11 additions and 11 deletions

View File

@ -19,15 +19,15 @@
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-50"> <section class="box w-50">
<header><h1><?= $this->l11n->getText('Media', 'Backend', 'Upload'); ?></h1></header> <header><h1><?= $this->getText('Upload'); ?></h1></header>
<div class="inner"> <div class="inner">
<form method="POST" id="media-uploader" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/media'); ?>"> <form method="POST" id="media-uploader" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/media'); ?>">
<table class="layout wf-100"> <table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Media', 'Backend', 'Name'); ?></label> <tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
<tr><td><input type="text" id="iName" name="name" placeholder="&#xf040;"> <tr><td><input type="text" id="iName" name="name" placeholder="&#xf040;">
<tr><td><label for="iFiles"><?= $this->l11n->getText('Media', 'Backend', 'Files'); ?></label> <tr><td><label for="iFiles"><?= $this->getText('Files'); ?></label>
<tr><td><input type="file" id="iFiles" name="files" multiple><input name="media" type="hidden"> <tr><td><input type="file" id="iFiles" name="files" multiple><input name="media" type="hidden">
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create'); ?>"> <tr><td><input type="submit" value="<?= $this->getText('Create'); ?>">
</table> </table>
</form> </form>
</div> </div>

View File

@ -26,14 +26,14 @@ $footerView->setPage(1);
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<div class="box"> <div class="box">
<table class="table"> <table class="table">
<caption><?= $this->l11n->getText('Media', 'Backend', 'Media'); ?></caption> <caption><?= $this->getText('Media'); ?></caption>
<thead> <thead>
<tr> <tr>
<td class="wf-100"><?= $this->l11n->getText('Media', 'Backend', 'Name'); ?> <td class="wf-100"><?= $this->getText('Name'); ?>
<td><?= $this->l11n->getText('Media', 'Backend', 'Type'); ?> <td><?= $this->getText('Type'); ?>
<td><?= $this->l11n->getText('Media', 'Backend', 'Size'); ?> <td><?= $this->getText('Size'); ?>
<td><?= $this->l11n->getText('Media', 'Backend', 'Creator'); ?> <td><?= $this->getText('Creator'); ?>
<td><?= $this->l11n->getText('Media', 'Backend', 'Created'); ?> <td><?= $this->getText('Created'); ?>
<tfoot> <tfoot>
<tr> <tr>
<td colspan="3"><?= $footerView->render(); ?> <td colspan="3"><?= $footerView->render(); ?>
@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
<td><a href="<?= $url; ?>"><?= $value->getCreatedAt()->format('Y-m-d H:i:s'); ?></a> <td><a href="<?= $url; ?>"><?= $value->getCreatedAt()->format('Y-m-d H:i:s'); ?></a>
<?php endforeach; ?> <?php endforeach; ?>
<?php if($count === 0) : ?> <?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; ?> <?php endif; ?>
</table> </table>
</div> </div>