Skip to content

Commit

Permalink
FIX: Translation Link in Metadata Page
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed Feb 2, 2023
1 parent 88b5887 commit 859a6b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Locale/en_GB/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
//'Application Settings' => '',
//'Go to Application Settings' => '',
//'Site Description' => '',
//'The meta description applies across the site except for the \'Reset Password\' page' => '',
//'The meta description applies across the site except for the %s page' => '',
//'Meta Description' => '',
//'Use this kanban platform to manage your productivity using tasks inside project boards to track files, comments and activities.' => '',
//'The generic description will be used if this field is left empty' => '',
Expand Down
2 changes: 1 addition & 1 deletion Locale/translations-starter-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
'Application Settings' => '',
'Go to Application Settings' => '',
'Site Description' => '',
'The meta description applies across the site except for the \'Reset Password\' page' => '',
'The meta description applies across the site except for the %s page.' => '',
'Meta Description' => '',
'Use this kanban platform to manage your productivity using tasks inside project boards to track files, comments and activities.' => '',
'The generic description will be used if this field is left empty' => '',
Expand Down
4 changes: 3 additions & 1 deletion Template/config/metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<fieldset class="site-desc-metadata">
<legend class=""><?= t('Site Description') ?></legend>
<div class="metadata-wrapper">
<p class=""><?= t('The meta description applies across the site except for the \'Reset Password\' page') ?></p>
<p class="">
<?= e('The meta description applies across the site except for the %s page.', $this->url->link(t('Reset Password'), 'PasswordResetController', 'create', array(), false, 'application-link', t('Opens in a new window'), true)) ?>
</p>
<?= $this->form->label(t('Meta Description'), 'meta_description', array('class="meta-desc"')) ?>
<?= $this->form->text('meta_description', $values, $errors, array('placeholder="'. t('Use this kanban platform to manage your productivity using tasks inside project boards to track files, comments and activities.') .'"'), 'meta-desc-text') ?>
<p class="form-help"><?= t('The generic description will be used if this field is left empty') ?></p>
Expand Down

0 comments on commit 859a6b4

Please sign in to comment.