add inform page request

This commit is contained in:
Dawn_Ocean
2024-03-08 22:45:40 +08:00
parent b174304d74
commit dd770b8ece
7 changed files with 73 additions and 45 deletions
+4
View File
@@ -5,6 +5,7 @@ import { TabBarText, tabBarEnUs, tabBarZhCn } from './TabBar';
import { ReportPageText, reportPageEnUs, reportPageZhCn } from './ReportPage';
import { InformPageText, informPageZhCn, informtPageEnUs } from './InformPage';
import { AboutPageText, aboutPageEnUs, aboutPageZhCn } from './AboutPage';
import { ButtonText, buttonEnUs, buttonZhCn } from './Button';
interface TextRecord {
pageFooter: PageFooterText;
@@ -14,6 +15,7 @@ interface TextRecord {
reportPage: ReportPageText;
informPage: InformPageText;
aboutPage: AboutPageText;
button: ButtonText;
}
const textZhCn: TextRecord = {
@@ -24,6 +26,7 @@ const textZhCn: TextRecord = {
reportPage: reportPageZhCn,
informPage: informPageZhCn,
aboutPage: aboutPageZhCn,
button: buttonZhCn,
};
const textEnUs: TextRecord = {
@@ -34,6 +37,7 @@ const textEnUs: TextRecord = {
reportPage: reportPageEnUs,
informPage: informtPageEnUs,
aboutPage: aboutPageEnUs,
button: buttonEnUs,
};
// type Lang = 'zh_CN' | 'en_US' | ...;