mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-13 22:08:16 -04:00
Add two new translation strings across all locale files under app/Language/*/Common.php to support upcoming export UI that lets users choose between exporting all records or only current page. - Add `export_all` and `export_page` keys next to existing `export_csv*` entries in each language file - Applied uniformly across every supported locale (en, en-GB, de-DE, de-CH, fr, es-ES, es-MX, ar-EG, ar-LB, az, bg, bs, ckb, cs, da, el, fa, he, hr-HR, and others) to keep translations in sync - No logic changes; pure language resource additions Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
19 lines
533 B
PHP
19 lines
533 B
PHP
<script type="text/javascript">
|
|
(function(lang, $) {
|
|
|
|
const lines = {
|
|
'common_submit': "<?= lang('Common.submit') ?>",
|
|
'common_close': "<?= lang('Common.close') ?>",
|
|
'common_export_all': "<?= lang('Common.export_all') ?>",
|
|
'common_export_page': "<?= lang('Common.export_page') ?>"
|
|
};
|
|
|
|
$.extend(lang, {
|
|
line: function(key) {
|
|
return lines[key];
|
|
}
|
|
});
|
|
|
|
})(window.lang = window.lang || {}, jQuery);
|
|
</script>
|