Skip to content

Commit

Permalink
update the naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mkumbobeaty committed Oct 22, 2024
1 parent 9b209d0 commit f9b2362
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default ({
},
{
id: "remove",
title: t("Remove"),
title: t("Move to Recycle Bin"),
icon: "trash",
onClick: () => handleProjectRemoveModal(true)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const GeneralSettings: FC<Props> = ({
</Typography>
<ButtonWrapper>
<Button
title={t("Remove project")}
title={t("Move to Recycle Bin")}
appearance="dangerous"
onClick={() => handleProjectRemoveModal(true)}
/>
Expand Down
4 changes: 2 additions & 2 deletions web/src/services/api/projectApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export default () => {
setNotification({
type: "error",
text: input.deleted
? t("Failed to move the project to trash.")
? t("Failed to move to the recycle bin.")
: t("Failed to restore the project!")
});

Expand All @@ -311,7 +311,7 @@ export default () => {
setNotification({
type: "success",
text: input.deleted
? t("Successfully moved the project to trash!")
? t("Successfully moved to recycle bin!")
: t("Successfully restored the project!")
});
return { data: data?.updateProject?.project, status: "success" };
Expand Down
8 changes: 4 additions & 4 deletions web/src/services/i18n/translations/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ No Project has been created yet: ''
Rename: ''
Project Setting: ''
Export: ''
Remove: ''
Move to Recycle Bin: ''
Create new project: ''
Project Name *: ''
Text: ''
Expand Down Expand Up @@ -234,7 +234,6 @@ Submit: ''
Danger Zone: ''
Remove this project: ''
This process will move this project to recycle bin.: ''
Remove project: ''
Plugin Marketplace: ''
Public Installed: ''
Personal Installed: ''
Expand Down Expand Up @@ -281,6 +280,7 @@ aria-label-zoom-in: ''
aria-label-Go-to-the-home-position: ''
aria-label-zoom-out: ''
Spacing settings: ''
Remove: ''
Block: ''
Unsupported field type: ''
Workspace: ''
Expand Down Expand Up @@ -399,9 +399,9 @@ Successfully published your project with search engine indexing!: ''
Successfully unpublished your scene. Now nobody can access your scene.: ''
Failed to update project.: ''
Successfully updated project!: ''
Failed to move the project to trash.: ''
Failed to move to the recycle bin.: ''
Failed to restore the project!: ''
Successfully moved the project to trash!: ''
Successfully moved to recycle bin!: ''
Successfully restored the project!: ''
Failed to archive project.: ''
Failed to unarchive project.: ''
Expand Down
8 changes: 4 additions & 4 deletions web/src/services/i18n/translations/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ No Project has been created yet: ''
Rename: 名称変更
Project Setting: プロジェクト設定
Export: エクスポート
Remove: 削除
Move to Recycle Bin: ''
Create new project: ''
Project Name *: ''
Text: ''
Expand Down Expand Up @@ -234,7 +234,6 @@ Submit: 反映
Danger Zone: 重要操作
Remove this project: ''
This process will move this project to recycle bin.: ''
Remove project: ''
Plugin Marketplace: プラグインマーケットプレイス
Public Installed: 公開インストール済み
Personal Installed: 個人インストール済み
Expand Down Expand Up @@ -281,6 +280,7 @@ aria-label-zoom-in: ズームイン
aria-label-Go-to-the-home-position: 元の位置に戻る
aria-label-zoom-out: ズームアウト
Spacing settings: 余白設定
Remove: 削除
Block: ブロック
Unsupported field type: サポートされていないフィールドタイプです
Workspace: ''
Expand Down Expand Up @@ -399,9 +399,9 @@ Successfully published your project with search engine indexing!: 検索エン
Successfully unpublished your scene. Now nobody can access your scene.: シーンは非公開状態です。現在、誰も閲覧することはできません。
Failed to update project.: プロジェクトのアップデートに失敗しました。
Successfully updated project!: プロジェクトのアップデートに成功しました!
Failed to move the project to trash.: ''
Failed to move to the recycle bin.: ''
Failed to restore the project!: ''
Successfully moved the project to trash!: ''
Successfully moved to recycle bin!: ''
Successfully restored the project!: ''
Failed to archive project.: プロジェクトの非編集状態に失敗しました。
Failed to unarchive project.: プロジェクトの非編集化の解除に失敗しました。
Expand Down

0 comments on commit f9b2362

Please sign in to comment.