|
44 | 44 | export let bookmark = "home"; |
45 | 45 |
|
46 | 46 | const tabs = [ |
47 | | - {name: "home", component: Start, icon: home_icon}, |
48 | | - {name: "personal", component: PersonalInfo, icon: personalInfoSvg}, |
49 | | - {name: "data-activity", component: DataActivity, icon: dataActivitySvg}, |
50 | | - {name: "security", component: Security, icon: securitySvg}, |
51 | | - {name: "account", component: Account, icon: accountSvg}, |
| 47 | + {name: "home", alias: "Home", component: Start, icon: home_icon}, |
| 48 | + {name: "personal", alias: "Personal", component: PersonalInfo, icon: personalInfoSvg}, |
| 49 | + {name: "data-activity", alias: "DataAndActivity", component: DataActivity, icon: dataActivitySvg}, |
| 50 | + {name: "security", alias: "Security", component: Security, icon: securitySvg}, |
| 51 | + {name: "account", alias: "Account", component: Account, icon: accountSvg}, |
52 | 52 |
|
53 | 53 | {name: "edit-name", alias: "personal", component: EditName, ignore: true}, |
54 | 54 | {name: "manage", alias: "personal", component: PersonalInfo, ignore: true}, |
|
260 | 260 | {@html tab.icon} |
261 | 261 | <a href="/{tab.name}" |
262 | 262 | on:click|preventDefault|stopPropagation={switchTab(tab.name)}> |
263 | | - {I18n.t(`home.${tab.name}`)} |
| 263 | + {I18n.t(`Home.${tab.alias}.COPY`)} |
264 | 264 | </a> |
265 | 265 | </li> |
266 | 266 | {/if} |
|
0 commit comments