From 308e5d07e81ccec6c0cac68eed02139c924b9293 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 28 Jan 2023 18:15:30 -0800 Subject: [PATCH] Add localizations --- public/locales/en/common.json | 15 ++++++++++++--- public/locales/ja/common.json | 9 +++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 0f7ee421..47376222 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -54,9 +54,6 @@ }, "remove": "Remove from grid" }, - "errors": { - "unauthorized": "You don't have permission to perform that action" - }, "filters": { "labels": { "element": "Element", @@ -94,6 +91,18 @@ "light": "Light" } }, + "errors": { + "internal_server_error": { + "title": "Internal Server Error", + "description": "The server reported a problem that we couldn't automatically recover from. Please try your request again." + }, + "not_found": { + "title": "Not found", + "description": "The page you're looking for couldn't be found", + "button": "Create a new party" + }, + "unauthorized": "You don't have permission to perform that action" + }, "proficiencies": { "sabre": "Sabre", "dagger": "Dagger", diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json index 4bcfc3cf..015295ac 100644 --- a/public/locales/ja/common.json +++ b/public/locales/ja/common.json @@ -63,6 +63,15 @@ } }, "errors": { + "internal_server_error": { + "title": "サーバーエラー", + "description": "サーバーから届いたエラーは自動的に復されなかったため、再びリクエストを行なってください" + }, + "not_found": { + "title": "見つかりませんでした", + "description": "探しているページは見つかりませんでした", + "button": "新しい編成を作成" + }, "unauthorized": "行ったアクションを実行する権限がありません" }, "header": {