Merge branch 'yhy' into dev
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
export interface NavBarTitle {
|
||||
ticketDetail: string;
|
||||
user: {
|
||||
myTicket: string;
|
||||
report: string;
|
||||
member: string;
|
||||
inform: string;
|
||||
about: string;
|
||||
};
|
||||
}
|
||||
|
||||
export const navBarTitleZhCh: NavBarTitle = {
|
||||
ticketDetail: '工单详情',
|
||||
user: {
|
||||
myTicket: '我的工单',
|
||||
report: '意见反馈',
|
||||
inform: '我的信息',
|
||||
about: '关于我们',
|
||||
member: '协会成员登录',
|
||||
},
|
||||
};
|
||||
|
||||
export const navBarTitleEnUs: NavBarTitle = {
|
||||
ticketDetail: 'Ticket Detail',
|
||||
user: {
|
||||
myTicket: 'My Tickets',
|
||||
report: 'Report',
|
||||
inform: 'Information',
|
||||
about: 'About us',
|
||||
member: 'Member login',
|
||||
},
|
||||
};
|
||||
@@ -8,6 +8,7 @@ import { AboutPageText, aboutPageEnUs, aboutPageZhCn } from './AboutPage';
|
||||
import { ButtonText, buttonEnUs, buttonZhCn } from './Button';
|
||||
import { MemberPageText, memberPageEnUs, memberPageZhCn } from './MemberPage';
|
||||
import { TicketListText, ticketListEnUs, ticketListZhCn } from './TicketList';
|
||||
import { NavBarTitle, navBarTitleEnUs, navBarTitleZhCh } from './NavBarTitle';
|
||||
|
||||
interface TextRecord {
|
||||
pageFooter: PageFooterText;
|
||||
@@ -20,6 +21,7 @@ interface TextRecord {
|
||||
button: ButtonText;
|
||||
memberPage: MemberPageText;
|
||||
ticketList: TicketListText;
|
||||
navBar: NavBarTitle;
|
||||
}
|
||||
|
||||
const textZhCn: TextRecord = {
|
||||
@@ -33,6 +35,7 @@ const textZhCn: TextRecord = {
|
||||
button: buttonZhCn,
|
||||
memberPage: memberPageZhCn,
|
||||
ticketList: ticketListZhCn,
|
||||
navBar: navBarTitleZhCh,
|
||||
};
|
||||
|
||||
const textEnUs: TextRecord = {
|
||||
@@ -46,6 +49,7 @@ const textEnUs: TextRecord = {
|
||||
button: buttonEnUs,
|
||||
memberPage: memberPageEnUs,
|
||||
ticketList: ticketListEnUs,
|
||||
navBar: navBarTitleEnUs,
|
||||
};
|
||||
|
||||
// type Lang = 'zh_CN' | 'en_US' | ...;
|
||||
|
||||
Reference in New Issue
Block a user