add partial localization for inform page

This commit is contained in:
Dawn_Ocean
2024-03-07 14:49:54 +08:00
parent 1a30ff6def
commit 0a98ea71ac
3 changed files with 41 additions and 7 deletions
+4
View File
@@ -8,6 +8,7 @@ import {
settingsPageZhCn,
} from './SettingsPage';
import { ReportPageText, reportPageEnUs, reportPageZhCn } from './ReportPage';
import { InformPageText, informPageZhCn, informtPageEnUs } from './InformPage';
interface TextRecord {
pageFooter: PageFooterText;
@@ -16,6 +17,7 @@ interface TextRecord {
tabBar: TabBarText;
settingsPage: SettingsPageText;
reportPage: ReportPageText;
informPage: InformPageText;
}
const textZhCn: TextRecord = {
@@ -25,6 +27,7 @@ const textZhCn: TextRecord = {
tabBar: tabBarZhCn,
settingsPage: settingsPageZhCn,
reportPage: reportPageZhCn,
informPage: informPageZhCn,
};
const textEnUs: TextRecord = {
@@ -34,6 +37,7 @@ const textEnUs: TextRecord = {
tabBar: tabBarEnUs,
settingsPage: settingsPageEnUs,
reportPage: reportPageEnUs,
informPage: informtPageEnUs,
};
// type Lang = 'zh_CN' | 'en_US' | ...;