This commit is contained in:
syuilo 2024-09-01 14:15:59 +09:00
parent aab1c76981
commit d9f3f0c972
6 changed files with 15 additions and 10 deletions

View file

@ -7,7 +7,7 @@
* Language manager for SW
*/
import { get, set } from 'idb-keyval';
import { I18n } from '../../../frontend/src/scripts/i18n.js';
import { I18n } from '@@/js/i18n.js';
import type { Locale } from '../../../../locales/index.js';
class SwLang {

View file

@ -6,7 +6,7 @@
import { get } from 'idb-keyval';
import * as Misskey from 'misskey-js';
import type { PushNotificationDataMap } from '@/types.js';
import type { I18n } from '../../frontend/src/scripts/i18n.js';
import type { I18n } from '@@/js/i18n.js';
import type { Locale } from '../../../locales/index.js';
import { createEmptyNotification, createNotification } from '@/scripts/create-notification.js';
import { swLang } from '@/scripts/lang.js';