mirror of
https://github.com/mue/mue.git
synced 2026-07-14 20:43:54 +02:00
fix: vite extension build, add source to photo info
This commit is contained in:
@@ -31,9 +31,10 @@ export default class Radio extends PureComponent {
|
||||
localStorage.getItem('tabName') ===
|
||||
variables.language.getMessage(variables.languagecode, 'tabname')
|
||||
) {
|
||||
// todo: fix this it doesn't work and shows as undefined
|
||||
localStorage.setItem(
|
||||
'tabName',
|
||||
require(`translations/${value.replace('-', '_')}.json`).tabname,
|
||||
import(`../../../../translations/${value.replace('-', '_')}.json`).tabname,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,8 +11,8 @@ import SettingsItem from '../SettingsItem';
|
||||
|
||||
import EventBus from 'modules/helpers/eventbus';
|
||||
|
||||
import * as searchEngines from 'components/widgets/search/search_engines.json';
|
||||
import * as autocompleteProviders from 'components/widgets/search/autocomplete_providers.json';
|
||||
import searchEngines from 'components/widgets/search/search_engines.json';
|
||||
import autocompleteProviders from 'components/widgets/search/autocomplete_providers.json';
|
||||
|
||||
export default class SearchSettings extends PureComponent {
|
||||
getMessage = (text) => variables.language.getMessage(variables.languagecode, text);
|
||||
|
||||
Reference in New Issue
Block a user