Translate the "by" word

This commit is contained in:
Szabó Gergő 2017-04-19 10:35:22 +02:00
parent 96d0ce1c20
commit 83b8f48b6f
4 changed files with 6 additions and 5 deletions

View File

@ -8,7 +8,7 @@
<div class="layout-cell min-height theme-description">
<h3><?= e($theme->getConfigValue('name', $theme->getDirName())) ?></h3>
<?php if (strlen($author)): ?>
<p class="author">by <a href="<?= e($theme->getConfigValue('homepage', '#')) ?>"><?= e($author) ?></a></p>
<p class="author"><?= e(trans('cms::lang.theme.by')) ?> <a href="<?= e($theme->getConfigValue('homepage', '#')) ?>"><?= e($author) ?></a></p>
<?php endif ?>
<p class="description">
<?= e($theme->getConfigValue('description', 'The theme description is not provided.')) ?>
@ -73,7 +73,7 @@
href="javascript:;"
class="oc-icon-copy">
<?= e(trans('cms::lang.theme.duplicate_button')) ?>
</a>
</li>
<li role="presentation">

View File

@ -24,6 +24,7 @@ return [
],
'theme' => [
'not_found_name' => "The theme ':name' is not found.",
'by' => 'By',
'active' => [
'not_set' => 'The active theme is not set.',
'not_found' => 'The active theme is not found.'
@ -77,7 +78,7 @@ return [
'export_folders_label' => 'Folders',
'export_folders_comment' => 'Please select the theme folders you would like to export',
'delete_button' => 'Delete',
'delete_confirm' => 'Are you sure you want to delete this theme? It cannot be undone!',
'delete_confirm' => 'Delete this theme? It cannot be undone!',
'delete_active_theme_failed' => 'Cannot delete the active theme, try making another theme active first.',
'delete_theme_success' => 'Theme deleted!',
'create_title' => 'Create theme',

View File

@ -46,7 +46,7 @@
</div>
<div class="details">
<h4><?= $plugin['name'] ?></h4>
<p>by <?= $plugin['author'] ?></p>
<p><?= e(trans('cms::lang.theme.by')) ?> <?= $plugin['author'] ?></p>
</div>
<button
type="button"

View File

@ -48,7 +48,7 @@
</div>
<div class="details">
<h4><?= $theme['name'] ?></h4>
<p>by <?= $theme['author'] ?></p>
<p><?= e(trans('cms::lang.theme.by')) ?> <?= $theme['author'] ?></p>
</div>
<button
type="button"