Skip to content

Commit

Permalink
🐛 fix: fix add abouttext
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk committed Mar 9, 2024
1 parent 07a6208 commit 95dc034
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions locales/en-US/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
}
},
"about": "About",
"abouttext": "This application is developed by Mr. Ng for the sake of enabling students to engage in self-directed learning with the help of AI.",
"advanceSettings": "Advanced Settings",
"agentMaxToken": "Max Session Length",
"agentModel": "Model",
Expand Down
1 change: 1 addition & 0 deletions locales/zh-CN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
}
},
"about": "关于",
"abouttext": "此应用由伍Sir开发,旨在使学生能够在人工智能的帮助下进行自主学习。",
"advanceSettings": "高级设置",
"agentMaxToken": "会话最大长度",
"agentModel": "模型",
Expand Down
1 change: 1 addition & 0 deletions locales/zh-TW/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
}
},
"about": "關於",
"abouttext": "此應用程式由伍Sir開發,旨在使學生能夠在人工智能的幫助下進行自主學習。",
"advanceSettings": "進階設定",
"agentMaxToken": "助手最大標記",
"agentModel": "模型",
Expand Down
4 changes: 2 additions & 2 deletions src/app/settings/about/AboutList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const AboutList = memo(() => {
},
{
icon: Heart,
label: t('about', { ns: 'common' }),
label: t('abouttext', { ns: 'common' }),
onClick: () => window.open(ABOUT, '__blank'),
value: 'about',
value: 'abouttext',
},
];

Expand Down
1 change: 1 addition & 0 deletions src/locales/default/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
},
},
about: '关于',
abouttext: '此应用由伍Sir开发,旨在使学生能够在人工智能的帮助下进行自主学习。',
advanceSettings: '高级设置',
agentMaxToken: '会话最大长度',
agentModel: '模型',
Expand Down

0 comments on commit 95dc034

Please sign in to comment.