mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-05 03:58:42 +00:00
add localization
This commit is contained in:
parent
89f0e1dda8
commit
9b0a85edda
|
|
@ -16,9 +16,12 @@ return ['Media' => [
|
|||
'Account' => 'Account',
|
||||
'AddToCollection' => 'Zum Ordner hinzufügen',
|
||||
'Author' => 'Autor',
|
||||
'Back' => 'Zurück',
|
||||
'Changed' => 'Geändert',
|
||||
'Changedby' => 'Geändert by',
|
||||
'Created' => 'Erstellt',
|
||||
'CreateCollection' => 'Erstelle Ordner',
|
||||
'CreateFile' => 'Erstelle Datei',
|
||||
'Creator' => 'Ersteller',
|
||||
'Data' => 'Daten',
|
||||
'Description' => 'Beschreibung',
|
||||
|
|
|
|||
|
|
@ -16,9 +16,12 @@ return ['Media' => [
|
|||
'Account' => 'Account',
|
||||
'AddToCollection' => 'Add to collection',
|
||||
'Author' => 'Author',
|
||||
'Back' => 'Back',
|
||||
'Changed' => 'Changed',
|
||||
'Changedby' => 'Changed by',
|
||||
'Created' => 'Created',
|
||||
'CreateCollection' => 'Create Collection',
|
||||
'CreateFile' => 'Create File',
|
||||
'Creator' => 'Creator',
|
||||
'Data' => 'Data',
|
||||
'Description' => 'Description',
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ use phpOMS\Uri\UriFactory;
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box">
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/list?path={?path}'); ?>">Back</a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/list?path={?path}'); ?>"><?= $this->getHtml('Back'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ $media = $this->getData('media');
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box">
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/upload?path={?path}'); ?>">Upload</a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/file/create?path={?path}'); ?>">Create File</a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/collection/create?path={?path}'); ?>">Create Collection</a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/upload?path={?path}'); ?>"><?= $this->getHtml('Upload'); ?></a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/file/create?path={?path}'); ?>"><?= $this->getHtml('CreateFile'); ?></a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/collection/create?path={?path}'); ?>"><?= $this->getHtml('CreateCollection'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
|
||||
use \phpOMS\System\File\FileUtils;
|
||||
use \phpOMS\System\File\Local\File;
|
||||
use \phpOMS\Uri\UriFactory;
|
||||
|
|
@ -29,9 +28,9 @@ echo $this->getData('nav')->render();
|
|||
<div class="col-xs-12">
|
||||
<div class="box">
|
||||
<?php if ($this->request->getData('path') !== null) : ?>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/list?path={?path}'); ?>">Back</a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/list?path={?path}'); ?>"><?= $this->getHtml('Back'); ?></a>
|
||||
<?php else: ?>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/list'); ?>">Back</a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}media/list'); ?>"><?= $this->getHtml('Back'); ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ use phpOMS\Uri\UriFactory;
|
|||
<div class="portlet-body">
|
||||
<table class="layout wf-100">
|
||||
<tr><td><label for="iPath"><?= $this->getHtml('Path') ?></label>
|
||||
<tr><td><input type="text" id="iPath" name="virtualPath" value="<?= $this->request->getUri()->getQuery('path') ?? ''; ?>" disabled>
|
||||
<tr><td><input type="text" id="iPath" name="virtualPath" value="<?= empty($this->request->getUri()->getQuery('path')) ? '/' : $this->request->getUri()->getQuery('path'); ?>" disabled>
|
||||
<tr><td><label><?= $this->getHtml('Settings') ?></label>
|
||||
<tr><td><input type="checkbox" id="iAddCollection" name="addcollection" checked><label for="iAddCollection"><?= $this->getHtml('AddToCollection') ?></label>
|
||||
<tr><td><label for="iPathSettings"><?= $this->getHtml('PathSettings') ?></label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user