pagination.previous = "previous"
pagination.gotopage = "Goto page"
-pagionation.next = "next"
+pagination.next = "next"
+pagination.select.sort.default = "Default"
+pagination.select.sort.latest = "Latest"
<input id="password" type="password" autocomplete="off" name="fdata[password]">
</div>
<div class="field-row">
- <input type="submit" value="Login" name="submitForm" />
+ <input type="submit" value="<?php echo $I18n->t('global.login'); ?>" name="submitForm" />
</div>
</form>
<?php } ?>
-<h3 class="uk-h3">Bulkedit these entries in: <a href="index.php?p=colletions&collection<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+<h3 class="uk-h3"><?php echo $I18n->t('bulkedit.headline.edit'); ?> <a href="index.php?p=colletions&collection<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
<?php if(!empty($TemplateData['itemsToWorkWith'])) { ?>
}
?>
<div class="field-row-stacked">
- <input type="submit" name="submitForm" value="Save">
+ <input type="submit" name="submitForm" value="<?php echo $I18n->t('global.save'); ?>">
</div>
</form>
?>
<select name="s">
<?php if(!empty($TemplateData['defaultSortField'])) { ?>
- <option value="<?php echo $TemplateData['defaultSortField']; ?>">Default</option>
+ <option value="<?php echo $TemplateData['defaultSortField']; ?>"><?php echo $I18n->t('pagination.select.sort.default'); ?></option>
<?php } else { ?>
- <option value="">Latest</option>
+ <option value=""><?php echo $I18n->t('pagination.select.sort.latest'); ?></option>
<?php } ?>
<?php
?>
</select>
<select name="sd">
- <option value="ASC" <?php echo ($TemplateData['pagination']['currentGetParameters']['sd'] ?? '') == 'ASC' ? 'selected' : '' ?>>ascending</option>
- <option value="DESC" <?php echo ($TemplateData['pagination']['currentGetParameters']['sd'] ?? '') == 'DESC' ? 'selected' : '' ?>>descending</option>
+ <option value="ASC" <?php echo ($TemplateData['pagination']['currentGetParameters']['sd'] ?? '') == 'ASC' ? 'selected' : '' ?>><?php echo $I18n->t('global.ascending'); ?></option>
+ <option value="DESC" <?php echo ($TemplateData['pagination']['currentGetParameters']['sd'] ?? '') == 'DESC' ? 'selected' : '' ?>><?php echo $I18n->t('global.descending'); ?></option>
</select>
- <input type="submit" value="Sort" />
+ <input type="submit" value="<?php echo $I18n->t('global.sort'); ?>" />
</form>
<?php } ?>
<?php if(!empty($TemplateData['search'])) { ?>
<div class="window">
<div class="title-bar">
- <div class="title-bar-text">Search</div>
+ <div class="title-bar-text"><?php echo $I18n->t('global.search'); ?></div>
<div class="title-bar-controls">
<button aria-label="Close" id="searchNoteWindowCloseButton"></button>
</div>
</div>
<div class="window-body">
- <p>Display result for: <b><?php echo $TemplateData['search']; ?></b></p>
+ <p><?php echo $I18n->t('global.search.resultfor', $TemplateData['search'] ?? ''); ?></p>
</div>
</div>
<script>
<table width="100%">
<thead>
<tr>
- <th width="60px">Image</th>
- <th width="300px">Title</th>
- <th>Description</th>
- <th width="60px">View</th>
+ <th width="60px"><?php echo $I18n->t('global.image'); ?></th>
+ <th width="300px"><?php echo $I18n->t('global.title'); ?></th>
+ <th><?php echo $I18n->t('global.description'); ?></th>
+ <th width="60px"><?php echo $I18n->t('global.sort'); ?></th>
</tr>
</thead>
<tbody>
} ?>
</td>
<td>
- <a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>">View</a>
+ <a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>"><?php echo $I18n->t('global.view'); ?></a>
</td>
</tr>
<?php } ?>
</tbody>
- </tbody>
</table>
</div>
<?php } elseif(!empty($TemplateData['collections'])) { ?>
-<h3>Please select a collection first</h3>
+<h3><?php echo $I18n->t('global.collection.select.notice'); ?></h3>
<div class="sunken-panel">
<table width="100%">
<thead>
<tr>
- <th width="100px">Name</th>
- <th>Description</th>
+ <th width="100px"><?php echo $I18n->t('global.name'); ?></th>
+ <th><?php echo $I18n->t('global.description'); ?></th>
</tr>
</thead>
<tbody>
<div class="uk-width-2-3">
<?php if(!isset($TemplateData['pagination']['hideSort'])) { ?>
<div class="uk-inline">
- <button class="uk-button uk-button-default uk-button-small" type="button">Sort</button>
+ <button class="uk-button uk-button-default uk-button-small" type="button"><?php echo $I18n->t('global.sort'); ?></button>
<div uk-dropdown>
<ul class="uk-nav uk-dropdown-nav">
<?php if(!empty($TemplateData['defaultSortField'])) { ?>
- <li><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>$TemplateData['defaultSortField'],'sd'=>$TemplateData['defaultSortOrder'])); ?>">Default</a></li>
+ <li><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>$TemplateData['defaultSortField'],'sd'=>$TemplateData['defaultSortOrder'])); ?>"><?php echo $I18n->t('pagination.select.sort.default'); ?></a></li>
<?php } else { ?>
- <li><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>'','sd'=>'ASC')); ?>">Latest</a></li>
+ <li><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>'','sd'=>'ASC')); ?>"><?php echo $I18n->t('pagination.select.sort.latest'); ?></a></li>
<?php } ?>
<?php
<?php if(!empty($TemplateData['search'])) { ?>
<div uk-alert id="searchNotice">
<button class="uk-alert-close" type="button" uk-close></button>
- <p>Display result for: <b><?php echo $TemplateData['search']; ?></b></p>
+ <p><?php echo $I18n->t('global.search.resultfor', $TemplateData['search'] ?? ''); ?></p>
</div>
<script type="text/javascript">
UIkit.util.on('#searchNotice', 'hide', function () {
<?php } ?>
</div>
<div class="uk-card-footer">
- <a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text">View</a>
+ <a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text"><?php echo $I18n->t('global.view'); ?></a>
</div>
</div>
</div>
<?php } elseif(!empty($TemplateData['collections'])) { ?>
<div class="uk-grid-small uk-grid-row-small uk-grid-row-small" uk-grid>
<div class="uk-width-2-3@m uk-width-1-2@xl">
- <h3 class="uk-heading-divider">Please select a collection first</h3>
+ <h3 class="uk-heading-divider"><?php echo $I18n->t('global.collection.select.notice'); ?></h3>
<dl class="uk-description-list ">
<?php foreach($TemplateData['collections'] as $k=>$v) { ?>
<dt><a href="index.php?p=collections&collection=<?php echo $k; ?>"><?php echo $v['name']; ?></a></dt>
</div>
<div class="uk-margin">
<button class="uk-button uk-button-primary" type="submit" name="submitForm">
- Login
+ <?php echo $I18n->t('global.login'); ?>
<span class="uk-icon" uk-icon="icon: sign-in"></span>
</button>
</div>
-<h3 class="uk-h3">Bulkedit these entries in: <a href="index.php?p=colletions&collection<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+<h3 class="uk-h3"><?php echo $I18n->t('bulkedit.headline.edit'); ?> <a href="index.php?p=colletions&collection<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
<?php if(!empty($TemplateData['itemsToWorkWith'])) { ?>
?>
<div class="uk-margin">
<button class="uk-button uk-button-primary" type="submit" name="submitForm">
- Save
+ <?php echo $I18n->t('global.save'); ?>
</button>
</div>
<div class="uk-width-2-3">
<?php if(!isset($TemplateData['pagination']['hideSort'])) { ?>
<div class="uk-inline">
- <button class="uk-button uk-button-default uk-button-small" type="button">Sort</button>
+ <button class="uk-button uk-button-default uk-button-small" type="button"><?php echo $I18n->t('global.sort'); ?></button>
<div uk-dropdown>
<ul class="uk-nav uk-dropdown-nav">
<?php if(!empty($TemplateData['defaultSortField'])) { ?>
- <li><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>$TemplateData['defaultSortField'],'sd'=>$TemplateData['defaultSortOrder'])); ?>">Default</a></li>
+ <li><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>$TemplateData['defaultSortField'],'sd'=>$TemplateData['defaultSortOrder'])); ?>"><?php echo $I18n->t('pagination.select.sort.default'); ?></a></li>
<?php } else { ?>
- <li><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>'','sd'=>'ASC')); ?>">Latest</a></li>
+ <li><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>'','sd'=>'ASC')); ?>"><?php echo $I18n->t('pagination.select.sort.latest'); ?></a></li>
<?php } ?>
<?php
<?php if(!empty($TemplateData['search'])) { ?>
<div uk-alert id="searchNotice">
<button class="uk-alert-close" type="button" uk-close></button>
- <p>Display result for: <b><?php echo $TemplateData['search']; ?></b></p>
+ <p><?php echo $I18n->t('global.search.resultfor', $TemplateData['search'] ?? ''); ?></p>
</div>
<script type="text/javascript">
UIkit.util.on('#searchNotice', 'hide', function () {
<?php } ?>
</div>
<div class="uk-card-footer">
- <a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text">View</a>
+ <a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text"><?php echo $I18n->t('global.View'); ?></a>
</div>
</div>
</div>
<?php } ?>
</div>
<?php } elseif(!empty($TemplateData['collections'])) { ?>
-<h3 class="uk-h3">Please select a collection first</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('global.collection.select.notice'); ?></h3>
<div class="uk-grid-small uk-grid-row-small uk-grid-row-small" uk-grid>
<div class="uk-width-2-3@m uk-width-1-2@xl">
<dl class="uk-description-list uk-description-list-divider">