add localization for tab-bar

This commit is contained in:
Dawn_Ocean
2024-03-07 14:21:55 +08:00
parent 6cbd6685bc
commit d995c6ed43
3 changed files with 29 additions and 7 deletions
+17
View File
@@ -0,0 +1,17 @@
export interface TabBarText {
indexText: string;
repairText: string;
userText: string;
}
export const tabBarZhCn: TabBarText = {
indexText: '主页',
repairText: '维修',
userText: '我的',
};
export const tabBarEnUs: TabBarText = {
indexText: 'Home',
repairText: 'Repair',
userText: 'Account',
};