issue #2211 missing translation

Change string from custom to custom dates, and add translation
This commit is contained in:
HWFord 2024-09-23 14:59:01 +02:00
parent 46dba55d60
commit 270a84ecff
3 changed files with 4 additions and 2 deletions

View file

@ -450,4 +450,5 @@ $lang['Pages'] = "Pages";
$lang['The PDF you requested is too large to display on this page.']= 'The PDF you requested is too large to display on this page.';
$lang['Click here to display it']= 'Click here to display it';
$lang['last 12 months'] = 'Last 12 months';
$lang['Custom dates'] = 'Custom dates';

View file

@ -450,3 +450,4 @@ $lang['Pages'] = "Pages";
$lang['The PDF you requested is too large to display on this page.']= 'Le PDF que vous avez demandé est trop volumineux pour être affiché sur cette page.';
$lang['Click here to display it']= 'Cliquez ici pour le voir';
$lang['last 12 months'] = '12 derniers mois';
$lang['Custom dates'] = 'Dates personnalisées';

View file

@ -297,7 +297,7 @@ const prefix_icon = 'gallery-icon-';
<input type="radio" id="date_posted-custom" value="custom" name="date_posted-period">
<label for="date_posted_custom" class="custom_posted_date_toggle">
<span class="mcs-icon gallery-icon-checkmark checked-icon"></span>
<span class="date-period">{'Custom'|translate}</span>
<span class="date-period">{'Custom dates'|translate}</span>
</label>
</div>
</div>
@ -395,7 +395,7 @@ const prefix_icon = 'gallery-icon-';
<input type="radio" id="date_created-custom" value="custom" name="date_created-period">
<label for="date_created_custom" class="custom_created_date_toggle">
<span class="mcs-icon gallery-icon-checkmark checked-icon"></span>
<span class="date-period">{'Custom'|translate}</span>
<span class="date-period">{'Custom dates'|translate}</span>
</label>
</div>
</div>