mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor(i18n): load server catalogs from weblate json (#3378)
This commit is contained in:
1 parent
d564ca5691
commit
1198b61648
114 files changed
+171
-27595
No files matched your search
@@ -1,7 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {defineStaticLocaleMessages} from '@fluxer/i18n/src/runtime/MessageCatalogTypes';
|
||||
|
||||
export const ERROR_I18N_MESSAGES = {
|
||||
'account.communication_disabled': 'Communication is disabled.',
|
||||
'account.email_verification_required': 'Email verification is required for this action.',
|
||||
@@ -594,5 +592,3 @@ export const ERROR_I18N_MESSAGES = {
|
||||
|
||||
export type ErrorI18nCatalog = typeof ERROR_I18N_MESSAGES;
|
||||
export type ErrorI18nKey = keyof ErrorI18nCatalog;
|
||||
|
||||
export const defineErrorI18nLocaleMessages = defineStaticLocaleMessages<ErrorI18nCatalog>();
|
||||
Reference in new issue
Block a user