Update string

This commit is contained in:
danpros 2025-11-02 10:01:09 +07:00
commit 411979257b
5 changed files with 11 additions and 11 deletions

View file

@ -1650,7 +1650,7 @@ EOF;
}
if ($role === 'admin') {
$toolbar .= '<li class="tb-config"><a href="' . $base . 'admin/config">' . i18n('Config') . '</a></li>';
$toolbar .= '<li class="tb-config"><a href="' . $base . 'admin/themes">' . i18n('blog_theme') . '</a></li>';
$toolbar .= '<li class="tb-config"><a href="' . $base . 'admin/themes">' . i18n('themes') . '</a></li>';
$toolbar .= '<li class="tb-backup"><a href="' . $base . 'admin/backup">' . i18n('Backup') . '</a></li>';
$toolbar .= '<li class="tb-update"><a href="' . $base . 'admin/update">' . i18n('Update') . '</a></li>';
}

View file

@ -29,7 +29,7 @@
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label"><?php echo i18n('Popular_posts_widget');?></label>
<label class="col-sm-2 col-form-label"><?php echo i18n('views_counter');?></label>
<div class="col-sm-10">
<div class="col-sm-10">
<div class="form-check">

View file

@ -170,7 +170,7 @@ if (isset($author[0])) {
<li class="nav-item">
<a href="<?php echo site_url();?>admin/themes" class="nav-link">
<p>
<?php echo i18n('blog_theme'); ?>
<?php echo i18n('themes'); ?>
</p>
</a>
</li>

View file

@ -20,27 +20,27 @@ if (file_exists($configPath)) {
</div>
<div class="col">
<div class="mb-3">
<strong>Theme:</strong>
<strong><?php echo i18n('name');?>:</strong>
<div><?php echo $themeConfig['name'] ?: $theme; ?></div>
</div>
<div class="mb-3">
<strong>Version:</strong>
<strong><?php echo i18n('version');?>:</strong>
<div><?php echo $themeConfig['version'] ?: HTMLY_VERSION; ?></div>
</div>
<div class="mb-3">
<strong>Author:</strong>
<strong><?php echo i18n('author');?>:</strong>
<div><?php echo $themeConfig['author'] ?: 'Contributor'; ?></div>
</div>
<div class="mb-3">
<strong>Homepage:</strong>
<strong><?php echo i18n('homepage');?>:</strong>
<div><a target="_blank" href="<?php echo $themeConfig['homepage'] ?: site_url(); ?>"><?php echo $themeConfig['homepage'] ?: site_url(); ?></a></div>
</div>
<div class="mb-3">
<strong>Description:</strong>
<strong><?php echo i18n('description');?>:</strong>
<div><?php echo $themeConfig['description'] ?: 'HTMLy ' . $theme; ?></div>
</div>