Replace gettext with i18n

This commit is contained in:
wvffle 2022-09-08 14:32:45 +00:00 committed by Kasper Seweryn
commit ebea32faf9
197 changed files with 2621 additions and 2930 deletions

View file

@ -1,6 +1,6 @@
import type { Module } from 'vuex'
import type { RootState } from '~/store/index'
import type { availableLanguages } from '~/init/locale'
import type { SUPPORTED_LOCALES } from '~/init/locale'
import axios from 'axios'
import moment from 'moment'
@ -31,7 +31,7 @@ interface Message {
type NotificationsKey = 'inbox' | 'pendingReviewEdits' | 'pendingReviewReports' | 'pendingReviewRequests'
export interface State {
currentLanguage: 'en_US' | keyof typeof availableLanguages
currentLanguage: 'en_US' | keyof typeof SUPPORTED_LOCALES
selectedLanguage: boolean
queueFocused: null | 'queue' | 'player'
momentLocale: 'en'