tangled
alpha
login
or
join now
stream.place
/
streamplace
77
fork
atom
Live video on the AT Protocol
77
fork
atom
overview
issues
1
pulls
pipelines
Add files via upload
authored by
Laszlo19
and committed by
GitHub
2 weeks ago
9d8c3a85
d4c29106
+5
1 changed file
expand all
collapse all
unified
split
js
components
src
i18n
i18n-loader.native.ts
+5
js/components/src/i18n/i18n-loader.native.ts
···
10
10
import frFRSettings from "../../public/locales/fr-FR/settings.json";
11
11
import ptBRCommon from "../../public/locales/pt-BR/common.json";
12
12
import ptBRSettings from "../../public/locales/pt-BR/settings.json";
13
13
+
import roROCommon from "../../public/locales/ro-RO/common.json";
14
14
+
import roROSettings from "../../public/locales/ro-RO/settings.json";
13
15
import zhHansCommon from "../../public/locales/zh-Hans/common.json";
14
16
import zhHansSettings from "../../public/locales/zh-Hans/settings.json";
15
17
import zhHantCommon from "../../public/locales/zh-Hant/common.json";
···
28
30
"zh-Hant/settings": zhHantSettings,
29
31
"fr-FR/common": frFRCommon,
30
32
"fr-FR/settings": frFRSettings,
33
33
+
"ro-RO/common": roROCommon,
34
34
+
"ro-RO/settings": roROSettings,
31
35
};
32
36
33
37
export async function loadTranslationData(
···
43
47
es: "es-ES",
44
48
zh: "zh-Hant",
45
49
fr: "fr-FR",
50
50
+
ro: "ro-RO",
46
51
}[locale] || locale;
47
52
48
53
const localeNamespaceKey = `${fullLocale}/${namespace}`;