Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(i18n): fix locale key grammar #922

Merged
merged 2 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion vrc-get-gui/app/projects/manage/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ function SuggestMigrateTo2022Card(
<Card className={"flex-shrink-0 p-2 flex flex-row items-center"}>
<Typography
className="cursor-pointer py-1.5 font-bold flex-grow-0 flex-shrink overflow-hidden whitespace-normal text-sm">
{tc("projects:manage:suggest unity migrate")}
{tc("projects:manage:suggest unity migration")}
</Typography>
<div className={"flex-grow flex-shrink-0 w-2"}></div>
<Button variant={"text"} color={"red"} onClick={onMigrateRequested} disabled={disabled}>
Expand Down
2 changes: 1 addition & 1 deletion vrc-get-gui/lib/backup-project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function useBackupProjectModal(_: Params = {}): Result {
if (channel == 'cancelled') {
toastNormal(tt("projects:toast:backup canceled"));
} else {
toastSuccess(tt("projects:toast:backup success"));
toastSuccess(tt("projects:toast:backup succeeded"));
}
setState({type: 'idle'});
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion vrc-get-gui/lib/remove-project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function useRemoveProjectModal({onRemoved}: Params): Result {
<DialogHeader>{tc("projects:remove project")}</DialogHeader>
<DialogBody>
<Typography className={"font-normal"}>
{tc("projects:dialog:warn remove project", {name: project.name})}
{tc("projects:dialog:warn removing project", {name: project.name})}
</Typography>
</DialogBody>
<DialogFooter>
Expand Down
8 changes: 4 additions & 4 deletions vrc-get-gui/locales/de.json5
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"projects:tooltip:git-vcc not supported": "git-VCC Projekte werden nicht unterstützt",
"projects:button:manage": "Verwalten",
"projects:remove project": "Projekt entfernen",
"projects:dialog:warn remove project": "Du bist dabei, das Projekt <strong>{{name}}</strong> zu entfernen. Bist du sicher?",
"projects:dialog:warn removing project": "Du bist dabei, das Projekt <strong>{{name}}</strong> zu entfernen. Bist du sicher?",
"general:button:cancel": "Abbrechen",
"projects:button:remove from list": "Von Liste entfernen",
"projects:button:remove directory": "Dauerhaft löschen",
Expand Down Expand Up @@ -94,7 +94,7 @@
"projects:manage:button:select repositories": "Paketquellen filtern",
"vpm repositories:source:official": "Offiziell",
"vpm repositories:source:curated": "Geprüft",
"projects:manage:suggest unity migrate": "Dein Projekt verwendet Unity 2019, welches nicht mehr vom VRChat SDK unterstützt wird. Es wird empfohlen zu Unity 2022 zu migrieren.",
"projects:manage:suggest unity migration": "Dein Projekt verwendet Unity 2019, welches nicht mehr vom VRChat SDK unterstützt wird. Es wird empfohlen zu Unity 2022 zu migrieren.",
"projects:manage:suggest unity patch migration": "Dein Projekt verwendet einen älteren Unity 2022 patch. VRChat empfiehlt zu einer neueren Version von Unity 2022 zu migrieren.",
"projects:manage:dialog:unity migrate header": "Unity Migration",
"projects:manage:dialog:multiple unity found": "Es wurden mehrere Unity Installationen mit dieser Version gefunden.",
Expand Down Expand Up @@ -199,9 +199,9 @@
"projects:dialog:backup header": "Backup erstellen",
"projects:dialog:creating backup...": "Erstelle Backup...",
"projects:toast:backup canceled": "Backup abgebrochen",
"projects:toast:backup success": "Backup erfolgreich erstellt",
"projects:toast:backup succeeded": "Backup erfolgreich erstellt",
"settings:language": "Sprache",
"settings:report issue": "Problembehandlung",
"settings:button:open issue": "Fehler melden",
},
}
}
6 changes: 3 additions & 3 deletions vrc-get-gui/locales/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"projects:tooltip:git-vcc not supported": "git-VCC projects are not supported.",
"projects:button:manage": "Manage",
"projects:remove project": "Remove Project",
"projects:dialog:warn remove project": "You're about to remove the project <strong>{{name}}</strong>. Are you sure?",
"projects:dialog:warn removing project": "You're about to remove the project <strong>{{name}}</strong>. Are you sure?",
"general:button:cancel": "Cancel",
"projects:button:remove from list": "Remove from the List",
"projects:button:remove directory": "Remove the Directory",
Expand Down Expand Up @@ -94,7 +94,7 @@
"projects:manage:button:select repositories": "Select Repositories",
"vpm repositories:source:official": "Official",
"vpm repositories:source:curated": "Curated",
"projects:manage:suggest unity migrate": "Your project is using Unity 2019 which is no longer supported by VRChat SDK. VRChat recommends you migrate your project to Unity 2022.",
"projects:manage:suggest unity migration": "Your project is using Unity 2019 which is no longer supported by VRChat SDK. VRChat recommends you migrate your project to Unity 2022.",
"projects:manage:suggest unity patch migration": "Your project is using a bit older version of Unity 2022. VRChat recommends you migrate your project to newer version of Unity 2022.",
"projects:manage:dialog:unity migrate header": "Unity Migration",
"projects:manage:dialog:multiple unity found": "Multiple Unity installations of the version were found.",
Expand Down Expand Up @@ -199,7 +199,7 @@
"projects:dialog:backup header": "Backup Project",
"projects:dialog:creating backup...": "Creating a backup...",
"projects:toast:backup canceled": "Backup was canceled.",
"projects:toast:backup success": "Backup was created successfully.",
"projects:toast:backup succeeded": "Backup was created successfully.",
"settings:language": "Language",
"settings:report issue": "Report an Issue",
"settings:button:open issue": "Open an Issue",
Expand Down
6 changes: 3 additions & 3 deletions vrc-get-gui/locales/fr.json5
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"projects:tooltip:git-vcc not supported": "Les projets git-VCC ne sont pas supportés.",
"projects:button:manage": "Configurer",
"projects:remove project": "Supprimer le projet",
"projects:dialog:warn remove project": "Vous vous apprêtez a supprimer le projet <strong>{{name}}</strong>. Êtes vous sur ?",
"projects:dialog:warn removing project": "Vous vous apprêtez a supprimer le projet <strong>{{name}}</strong>. Êtes vous sur ?",
"general:button:cancel": "Annuler",
"projects:button:remove from list": "Supprimer de la liste",
"projects:button:remove directory": "Supprimer du dossier",
Expand Down Expand Up @@ -95,7 +95,7 @@
"projects:manage:button:select repositories": "Sélectionner un dépot",
"vpm repositories:source:official": "Officiel",
"vpm repositories:source:curated": "Epurée",
"projects:manage:suggest unity migrate": "Votre projet utilise Unity 2019 qui n'est plus supporté par le SDK de VRChat. Il est recommandé de migrer votre projet vers Unity 2022.",
"projects:manage:suggest unity migration": "Votre projet utilise Unity 2019 qui n'est plus supporté par le SDK de VRChat. Il est recommandé de migrer votre projet vers Unity 2022.",
"projects:manage:dialog:unity migrate header": "Migration Unity",
"projects:manage:button:continue": "Continuer",
"projects:manage:dialog:do not close": "Ne fermez pas cette fenêttre.",
Expand Down Expand Up @@ -194,7 +194,7 @@
"projects:dialog:backup header": "Backup de projet",
"projects:dialog:creating backup...": "Création d'un backup...",
"projects:toast:backup canceled": "Le backup a été annulé",
"projects:toast:backup success": "Le backup a été crée avec succès.",
"projects:toast:backup succeeded": "Le backup a été crée avec succès.",
"projects:toast:unity exits with non-zero": "Unity s'est fermé avec un code d'erreur différent de zéro.",
"projects:manage:suggest unity patch migration": "Votre projet utilise une vieille version de Unity 2022. VRChat vous recommande de migrer votre projet vers la version la plus récente de Unity 2022.",
"projects:manage:dialog:multiple unity found": "Plusieurs installations identiques de cette version de Unity ont été trouvés.",
Expand Down
6 changes: 3 additions & 3 deletions vrc-get-gui/locales/ja.json5
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"projects:tooltip:git-vcc not supported": "git-VCCのプロジェクトはサポートされていません。",
"projects:button:manage": "管理",
"projects:remove project": "プロジェクトを削除",
"projects:dialog:warn remove project": "プロジェクト <strong>{{name}}</strong> を削除します。<br>ファイルを削除した場合は復元出来ません。よろしいですか?",
"projects:dialog:warn removing project": "プロジェクト <strong>{{name}}</strong> を削除します。<br>ファイルを削除した場合は復元出来ません。よろしいですか?",
"general:button:cancel": "キャンセル",
"projects:button:remove from list": "リストから削除する",
"projects:button:remove directory": "プロジェクトのファイルも削除する",
Expand Down Expand Up @@ -88,7 +88,7 @@
"projects:manage:button:select repositories": "VPMリポジトリを選択",
"vpm repositories:source:official": "Official",
"vpm repositories:source:curated": "Curated",
"projects:manage:suggest unity migrate": "このプロジェクトは、VRChat SDKによるサポートが終了したUnity 2019を使用しています。VRChatはUnity 2022に移行することを推奨しています。",
"projects:manage:suggest unity migration": "このプロジェクトは、VRChat SDKによるサポートが終了したUnity 2019を使用しています。VRChatはUnity 2022に移行することを推奨しています。",
"projects:manage:suggest unity patch migration": "このプロジェクトは少し古いバージョンのUnity 2022を使用しています。VRChatはより新しいバージョンのUnity 2022に移行することを推奨しています。",
"projects:manage:dialog:unity migrate header": "Unityバージョンを移行",
"projects:manage:dialog:multiple unity found": "プロジェクトのUnityバージョン指定に一致するUnityが複数見つかりました。",
Expand Down Expand Up @@ -190,7 +190,7 @@
"projects:dialog:backup header": "バックアップを作成",
"projects:dialog:creating backup...": "バックアップを作成中...",
"projects:toast:backup canceled": "バックアップをキャンセルしました。",
"projects:toast:backup success": "バックアップを作成しました。",
"projects:toast:backup succeeded": "バックアップを作成しました。",
"settings:language": "言語設定(Language)",
"settings:report issue": "問題を報告する",
"settings:button:open issue": "Issueを作成",
Expand Down
6 changes: 3 additions & 3 deletions vrc-get-gui/locales/zh_cn.json5
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"projects:tooltip:git-vcc not supported": "不支持 git-VCC 项目",
"projects:button:manage": "管理",
"projects:remove project": "删除项目",
"projects:dialog:warn remove project": "您即将删除项目 <strong>{{name}}</strong>。您确定吗?",
"projects:dialog:warn removing project": "您即将删除项目 <strong>{{name}}</strong>。您确定吗?",
"general:button:cancel": "取消",
"projects:button:remove from list": "从列表删除",
"projects:button:remove directory": "删除目录",
Expand Down Expand Up @@ -94,7 +94,7 @@
"projects:manage:button:select repositories": "选择存储库",
"vpm repositories:source:official": "官方",
"vpm repositories:source:curated": "精选",
"projects:manage:suggest unity migrate": "您的项目使用的是 VRChat SDK 不再支持的 Unity 2019。VRChat 建议您将项目迁移到 Unity 2022。",
"projects:manage:suggest unity migration": "您的项目使用的是 VRChat SDK 不再支持的 Unity 2019。VRChat 建议您将项目迁移到 Unity 2022。",
"projects:manage:suggest unity patch migration": "您的项目使用的是较旧版本的 Unity 2022。VRChat 建议您将项目迁移到较新版本的 Unity 2022。",
"projects:manage:dialog:unity migrate header": "Unity 迁移",
"projects:manage:dialog:multiple unity found": "发现该版本有多个 Unity 安装。",
Expand Down Expand Up @@ -198,7 +198,7 @@
"projects:dialog:backup header": "备份项目",
"projects:dialog:creating backup...": "正在创建备份...",
"projects:toast:backup canceled": "备份操作已被取消",
"projects:toast:backup success": "备份创建成功",
"projects:toast:backup succeeded": "备份创建成功",
"settings:language": "界面语言(Language)",
"settings:report issue": "报告问题",
"settings:button:open issue": "在 GitHub 上创建问题",
Expand Down