Improve calendar localisation

This commit is contained in:
Jay Trees 2022-04-08 09:11:13 +02:00
parent c08073a077
commit c5322d0916
2 changed files with 6 additions and 4 deletions

View file

@ -182,6 +182,7 @@ $(function() {
now : text.calendar_now,
am : text.calendar_am,
pm : text.calendar_pm,
weekNo : text.calendar_week_no,
};
/**

View file

@ -336,10 +336,11 @@ class Page
form_prompt_exactCount : '<?= __('{name} must have exactly {ruleValue} choices') ?>',
form_prompt_maxCount : '<?= __('{name} must have {ruleValue} or less choices') ?>',
calendar_today : '<?= _x('Today', 'Calendar') ?>',
calendar_now : '<?= _x('Now', 'Calendar') ?>',
calendar_am : '<?= _x('AM', 'Calendar') ?>',
calendar_pm : '<?= _x('PM', 'Calendar') ?>',
calendar_today : '<?= _x('Today', 'Calendar') ?>',
calendar_now : '<?= _x('Now', 'Calendar') ?>',
calendar_am : '<?= _x('AM', 'Calendar') ?>',
calendar_pm : '<?= _x('PM', 'Calendar') ?>',
calendar_week_no : '<?= _x('Week', 'Calendar') ?>',
};
</script>
<?php