add partial localization for inform page
This commit is contained in:
@@ -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' | ...;
|
||||
|
||||
Reference in New Issue
Block a user