add plain-text support for user page
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
export interface UserPageText {
|
||||
mainTitleLine: string;
|
||||
subTitleLine: string;
|
||||
ticketColumn: {
|
||||
title: string;
|
||||
note: string;
|
||||
};
|
||||
infoColumn: {
|
||||
title: string;
|
||||
note: string;
|
||||
};
|
||||
settingsColumn: {
|
||||
title: string;
|
||||
note: string;
|
||||
};
|
||||
reportColumn: {
|
||||
title: string;
|
||||
note: string;
|
||||
};
|
||||
}
|
||||
|
||||
export const userPageZhCn: UserPageText = {
|
||||
mainTitleLine: '您好,这里是E志者协会',
|
||||
subTitleLine: '维修请至【东三-204】实验室',
|
||||
ticketColumn: {
|
||||
title: '我的工单',
|
||||
note: '在这里查看历史工单!',
|
||||
},
|
||||
infoColumn: {
|
||||
title: '我的信息',
|
||||
note: '能帮助亦可更好地找到你哦!',
|
||||
},
|
||||
settingsColumn: {
|
||||
title: '应用设置',
|
||||
note: '在这里配置小程序',
|
||||
},
|
||||
reportColumn: {
|
||||
title: '意见反馈',
|
||||
note: '有什么想说的都可以告诉亦可哦!',
|
||||
},
|
||||
};
|
||||
@@ -1,14 +1,17 @@
|
||||
import { PageFooterText, pageFooterZhCn } from './PageFooter';
|
||||
import { MainPageText, mainPageZhCn } from './MainPage';
|
||||
import { UserPageText, userPageZhCn } from './UserPage';
|
||||
|
||||
interface TextRecord {
|
||||
pageFooter: PageFooterText;
|
||||
mainPage: MainPageText;
|
||||
userPage: UserPageText;
|
||||
}
|
||||
|
||||
const textZhCn: TextRecord = {
|
||||
pageFooter: pageFooterZhCn,
|
||||
mainPage: mainPageZhCn,
|
||||
userPage: userPageZhCn,
|
||||
};
|
||||
|
||||
// type Lang = 'zh_CN' | 'en_US' | ...;
|
||||
|
||||
Reference in New Issue
Block a user