Skip to content

Commit

Permalink
Merge pull request #91 from sinamics/improve_translations
Browse files Browse the repository at this point in the history
improved Chinese translations
  • Loading branch information
sinamics authored Aug 18, 2023
2 parents 5bbe75b + 8a4a205 commit 65fcb0f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@
"placeholder": "Search anything..."
}
},
"deletedNetworkMembersTable":{
"buttons":{
"viewStashedMembers":"View stashed members"
}
},
"inviteMemberByMail": {
"title": "Mail",
"labelText": "E-Mail Join Instructions",
Expand Down
5 changes: 5 additions & 0 deletions src/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@
"placeholder": "Buscar cualquier cosa..."
}
},
"deletedNetworkMembersTable":{
"buttons":{
"viewStashedMembers":"Ver miembros almacenados"
}
},
"inviteMemberByMail": {
"title": "Correo",
"labelText": "Instrucciones para unirse por correo electrónico",
Expand Down
5 changes: 5 additions & 0 deletions src/locales/no/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@
"placeholder": "Søk etter noe..."
}
},
"deletedNetworkMembersTable":{
"buttons":{
"viewStashedMembers":"Se lagrede medlemmer"
}
},
"inviteMemberByMail": {
"title": "Epost",
"labelText": "E-postinvitasjonsinstruksjoner",
Expand Down
7 changes: 6 additions & 1 deletion src/locales/zh/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"actions": {
"header": "操作",
"optionBtn": "选项",
"stashBtn": "存储"
"stashBtn": "隐藏"
}
},
"optionModalTitle": "成员选项",
Expand All @@ -173,6 +173,11 @@
"placeholder": "搜索任何东西..."
}
},
"deletedNetworkMembersTable":{
"buttons":{
"viewStashedMembers":"显示隐藏的成员"
}
},
"inviteMemberByMail": {
"title": "邮件",
"labelText": "电子邮件邀请说明",
Expand Down
5 changes: 3 additions & 2 deletions src/pages/network/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const NetworkById = () => {
{ enabled: !!query.id, refetchInterval: 10000 },
);
const { network, members = [] } = networkById || {};

if (errorNetwork) {
return (
<div className="flex flex-col items-center justify-center">
Expand Down Expand Up @@ -240,7 +240,8 @@ const NetworkById = () => {
}
className="btn btn-wide"
>
View stashed members ({networkById?.zombieMembers?.length})
{t("deletedNetworkMembersTable.buttons.viewStashedMembers")} (
{networkById?.zombieMembers?.length})
</button>

{state.viewZombieTable ? (
Expand Down

0 comments on commit 65fcb0f

Please sign in to comment.