move about page to user page

This commit is contained in:
Dawn_Ocean
2024-03-07 21:47:16 +08:00
parent 229dffa9a1
commit bea23f4705
13 changed files with 52 additions and 29 deletions
+5
View File
@@ -0,0 +1,5 @@
export interface AboutPageText {}
export const aboutPageZhCn: AboutPageText = {};
export const aboutPageEnUs: AboutPageText = {};
+3 -12
View File
@@ -1,14 +1,5 @@
export interface SettingsPageText {
aboutText: string;
quitText: string;
}
export interface SettingsPageText {}
export const settingsPageZhCn: SettingsPageText = {
aboutText: '关于 EVA Notify',
quitText: '退出账号',
};
export const settingsPageZhCn: SettingsPageText = {};
export const settingsPageEnUs: SettingsPageText = {
aboutText: 'About EVA Notify',
quitText: 'Log Out',
};
export const settingsPageEnUs: SettingsPageText = {};
+12
View File
@@ -17,6 +17,10 @@ export interface UserPageText {
title: string;
note: string;
};
aboutColumn: {
title: string;
note: string;
};
}
export const userPageZhCn: UserPageText = {
@@ -38,6 +42,10 @@ export const userPageZhCn: UserPageText = {
title: '意见反馈',
note: '有什么想说的都可以告诉亦可哦!',
},
aboutColumn: {
title: '关于我们',
note: '查看开发者信息',
},
};
export const userPageEnUs: UserPageText = {
@@ -59,4 +67,8 @@ export const userPageEnUs: UserPageText = {
title: '意见反馈',
note: '有什么想说的都可以告诉亦可哦!',
},
aboutColumn: {
title: '关于我们',
note: '查看开发者信息',
},
};
+4
View File
@@ -9,6 +9,7 @@ import {
} from './SettingsPage';
import { ReportPageText, reportPageEnUs, reportPageZhCn } from './ReportPage';
import { InformPageText, informPageZhCn, informtPageEnUs } from './InformPage';
import { AboutPageText, aboutPageEnUs, aboutPageZhCn } from './AboutPage';
interface TextRecord {
pageFooter: PageFooterText;
@@ -18,6 +19,7 @@ interface TextRecord {
settingsPage: SettingsPageText;
reportPage: ReportPageText;
informPage: InformPageText;
aboutPage: AboutPageText;
}
const textZhCn: TextRecord = {
@@ -28,6 +30,7 @@ const textZhCn: TextRecord = {
settingsPage: settingsPageZhCn,
reportPage: reportPageZhCn,
informPage: informPageZhCn,
aboutPage: aboutPageZhCn,
};
const textEnUs: TextRecord = {
@@ -38,6 +41,7 @@ const textEnUs: TextRecord = {
settingsPage: settingsPageEnUs,
reportPage: reportPageEnUs,
informPage: informtPageEnUs,
aboutPage: aboutPageEnUs,
};
// type Lang = 'zh_CN' | 'en_US' | ...;