mirror of
https://github.com/mue/mue.git
synced 2026-06-05 23:45:53 +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');
|
||||
break;
|
||||
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.background.title'),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user