Skip to content

Commit

Permalink
Merge pull request #599 from sinamics/translations
Browse files Browse the repository at this point in the history
Fix missing translations
  • Loading branch information
sinamics authored Dec 14, 2024
2 parents 38a5c9d + 27e612b commit a694719
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/pages/central/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ const CentralNetworkById = ({ orgIds }) => {
<button
onClick={() =>
callModal({
title: `Delete network ${network.name}`,
title: `${t("commonButtons.deleteNetwork")} ${network.name}`,
description:
"Are you sure you want to delete this network? This cannot be undone and all members will be deleted from this network",
yesAction: () => {
Expand All @@ -336,7 +336,7 @@ const CentralNetworkById = ({ orgIds }) => {
}
className="btn btn-error btn-outline btn-wide"
>
Delete network
{t("commonButtons.deleteNetwork")}
</button>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/network/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const NetworkById = ({ orgIds }: IProps) => {
<button
onClick={() =>
callModal({
title: `Delete network ${query.id as string}`,
title: `${t("commonButtons.deleteNetwork")}: ${query.id as string}`,
description:
"Are you sure you want to delete this network? This cannot be undone and all members will be deleted from this network",
yesAction: () => {
Expand All @@ -101,7 +101,7 @@ const NetworkById = ({ orgIds }: IProps) => {
}
className="btn btn-error btn-outline btn-wide"
>
Delete network
{t("commonButtons.deleteNetwork")}
</button>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/pages/organization/[orgid]/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const OrganizationNetworkById = ({ orgIds }: IProps) => {
<button
onClick={() =>
callModal({
title: `Delete network ${query.id as string}`,
title: `${t("commonButtons.deleteNetwork")}: ${query.id as string}`,
description:
"Are you sure you want to delete this network? This cannot be undone and all members will be deleted from this network",
yesAction: () => {
Expand All @@ -92,7 +92,7 @@ const OrganizationNetworkById = ({ orgIds }: IProps) => {
}
className="btn btn-error btn-outline btn-wide"
>
Delete network
{t("commonButtons.deleteNetwork")}
</button>
</div>
</div>
Expand Down Expand Up @@ -366,7 +366,7 @@ const OrganizationNetworkById = ({ orgIds }: IProps) => {
<button
onClick={() =>
callModal({
title: `Delete network ${network.name}`,
title: `${t("commonButtons.deleteNetwork")}: ${network.name}`,
description:
"Are you sure you want to delete this network? This cannot be undone and all members will be deleted from this network",
yesAction: () => {
Expand All @@ -379,7 +379,7 @@ const OrganizationNetworkById = ({ orgIds }: IProps) => {
}
className="btn btn-error btn-outline btn-wide"
>
Delete network
{t("commonButtons.deleteNetwork")}
</button>
</div>
</div>
Expand Down

0 comments on commit a694719

Please sign in to comment.