mirror of
https://github.com/mue/mue.git
synced 2026-06-08 14:10:42 +02:00
fix: (80bf052) use correct language in tooltip
This commit is contained in:
@@ -29,7 +29,10 @@ function Refresh() {
|
|||||||
text = variables.getMessage('modals.main.settings.sections.quote.title');
|
text = variables.getMessage('modals.main.settings.sections.quote.title');
|
||||||
break;
|
break;
|
||||||
case 'quotebackground':
|
case 'quotebackground':
|
||||||
text = new Intl.ListFormat('en-GB', { style: 'long', type: 'conjunction' }).format([
|
text = new Intl.ListFormat(localStorage.getItem('language')?.replace(/_/gm, '-') || 'en-GB', {
|
||||||
|
style: 'long',
|
||||||
|
type: 'conjunction',
|
||||||
|
}).format([
|
||||||
variables.getMessage('modals.main.settings.sections.quote.title'),
|
variables.getMessage('modals.main.settings.sections.quote.title'),
|
||||||
variables.getMessage('modals.main.settings.sections.background.title'),
|
variables.getMessage('modals.main.settings.sections.background.title'),
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user