Skip to content

Commit

Permalink
fix: fix translation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Jun 27, 2023
1 parent 22651c7 commit b038c5a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/shared/i18n/langs/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
"k77d3028d": "Unknown Panel",
"k77ee6a43": "Member Manage",
"k78e52ed0": "Accept",
"k79304fa9": "Nickname changed successfully",
"k7a89720": "Open in new window",
"k7c232f9e": "Panel",
"k7cf4e7ff": "Message deleted successfully",
Expand Down
1 change: 1 addition & 0 deletions client/shared/i18n/langs/zh-CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
"k77d3028d": "未知的面板",
"k77ee6a43": "成员管理",
"k78e52ed0": "接受",
"k79304fa9": "修改昵称成功",
"k7a89720": "在新窗口打开",
"k7c232f9e": "面板",
"k7cf4e7ff": "消息删除成功",
Expand Down
2 changes: 1 addition & 1 deletion client/web/src/components/modals/SettingsView/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const SettingsAccount: React.FC = React.memo(() => {
fieldValue: newNickname,
})
);
showToasts(t('修改头像成功'), 'success');
showToasts(t('修改昵称成功'), 'success');
},
[]
);
Expand Down
2 changes: 2 additions & 0 deletions server/locales/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"k7f4ea7c": "The file address is not a valid resource address",
"k82f5a5d4": "Password incorrect",
"k89bf46fc": "Unable to recall messages from {{minutes}} minutes ago",
"k8c49f532": "Failed to set nickname, no friendship information found",
"k986040de": "No group found",
"ka3eb52f8": "Call ended, duration: {{num}} minutes",
"ka5b432c0": "Too frequent requests can share the same OTP within 10 minutes",
Expand All @@ -42,6 +43,7 @@
"kc1e668f5": "Not allowed to kick yourself out",
"kc4b77045": "{{nickname}} join this group with invite code from {{creator}}",
"kcb07c88f": "Personal message subscription created, subscribeId: {{subscribeId}}",
"kce1dbb11": "Creating groups has been disabled by administrator",
"kcfcea753": "This panel was not found",
"kd08fb1bf": "Unable to get robot ID",
"kd1af615e": "Panel not exist",
Expand Down
2 changes: 2 additions & 0 deletions server/locales/zh-CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"k7f4ea7c": "文件地址不是一个合法的资源地址",
"k82f5a5d4": "密码不正确",
"k89bf46fc": "无法撤回 {{minutes}} 分钟前的消息",
"k8c49f532": "设置昵称失败, 没有找到好友关系信息",
"k986040de": "没有找到群组",
"ka3eb52f8": "通话已结束, 时长: {{num}}分钟",
"ka5b432c0": "过于频繁的请求,10 分钟内可以共用同一OTP",
Expand All @@ -42,6 +43,7 @@
"kc1e668f5": "不允许踢出自己",
"kc4b77045": "{{nickname}} 通过 {{creator}} 的邀请码加入群组",
"kcb07c88f": "个人消息订阅已创建, subscribeId: {{subscribeId}}",
"kce1dbb11": "创建群组功能已被管理员禁用",
"kcfcea753": "没有找到该面板",
"kd08fb1bf": "无法获取到机器人ID",
"kd1af615e": "面板不存在",
Expand Down

0 comments on commit b038c5a

Please sign in to comment.