Fix missing type support for i18n resources
Due to the change in 65a9a905be - moving to a json file - it wasn't ensured anymore that IsoLanguages contained the i18n language codes
This commit is contained in:
@@ -10,7 +10,14 @@ import { i18n } from '@lingui/core';
|
||||
import { detectLocale, SELECTED_LANGUAGE_CODE_KEY } from '@/lib/ISOLanguageUtil.ts';
|
||||
import { AppStorage } from '@/lib/storage/AppStorage.ts';
|
||||
|
||||
// This array is auto-generated by tools/scripts/weblate/generatei18nResources.ts. Do not edit manually.
|
||||
/**
|
||||
* Keys have to match {@link IsoLanguages} codes, they're used for showing the language name in the dropdown in the {@link Settings}.<br/>
|
||||
* In case there is no language code for the key in {@link IsoLanguages}, the corresponding language has to be added
|
||||
*
|
||||
* **IMPORTANT:**
|
||||
*
|
||||
* This is generated by the `i18n:gen-resources` script
|
||||
*/
|
||||
export const i18nResources = [
|
||||
'de',
|
||||
'en',
|
||||
|
||||
Reference in New Issue
Block a user