From e37cf9b1a74d30cfbb876060a7e6464b42279f27 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Wed, 1 Sep 2021 17:32:41 +0800 Subject: [PATCH] add missing and add Japanese to the list --- src/languages/ja.js | 91 ++++++++++++++++++++++++++++++++++++++++++++- src/main.js | 2 + 2 files changed, 92 insertions(+), 1 deletion(-) diff --git a/src/languages/ja.js b/src/languages/ja.js index da688af0..171c3d12 100644 --- a/src/languages/ja.js +++ b/src/languages/ja.js @@ -1,5 +1,5 @@ export default { - languageName: "Japanese", + languageName: "日本語", checkEverySecond: "{0}秒ごとにチェックします。", "Avg.": "平均 ", retriesDescription: "サービスがダウンとしてマークされ、通知が送信されるまでの最大リトライ数", @@ -16,4 +16,93 @@ export default { resoverserverDescription: "Cloudflareがデフォルトのサーバーですが、いつでもリゾルバサーバーを変更できます。", rrtypeDescription: "監視するRRタイプを選択します", pauseMonitorMsg: "一時停止しますか?", + Settings: "Settings", + Dashboard: "Dashboard", + "New Update": "New Update", + Language: "Language", + Appearance: "Appearance", + Theme: "Theme", + General: "General", + Version: "Version", + "Check Update On GitHub": "Check Update On GitHub", + List: "List", + Add: "Add", + "Add New Monitor": "Add New Monitor", + "Quick Stats": "Quick Stats", + Up: "Up", + Down: "Down", + Pending: "Pending", + Unknown: "Unknown", + Pause: "Pause", + Name: "Name", + Status: "Status", + DateTime: "DateTime", + Message: "Message", + "No important events": "No important events", + Resume: "Resume", + Edit: "Edit", + Delete: "Delete", + Current: "Current", + Uptime: "Uptime", + "Cert Exp.": "Cert Exp.", + days: "days", + day: "day", + "-day": "-day", + hour: "hour", + "-hour": "-hour", + Response: "Response", + Ping: "Ping", + "Monitor Type": "Monitor Type", + Keyword: "Keyword", + "Friendly Name": "Friendly Name", + URL: "URL", + Hostname: "Hostname", + Port: "Port", + "Heartbeat Interval": "Heartbeat Interval", + Retries: "Retries", + Advanced: "Advanced", + "Upside Down Mode": "Upside Down Mode", + "Max. Redirects": "Max. Redirects", + "Accepted Status Codes": "Accepted Status Codes", + Save: "Save", + Notifications: "Notifications", + "Not available, please setup.": "Not available, please setup.", + "Setup Notification": "Setup Notification", + Light: "Light", + Dark: "Dark", + Auto: "Auto", + "Theme - Heartbeat Bar": "Theme - Heartbeat Bar", + Normal: "Normal", + Bottom: "Bottom", + None: "None", + Timezone: "Timezone", + "Search Engine Visibility": "Search Engine Visibility", + "Allow indexing": "Allow indexing", + "Discourage search engines from indexing site": "Discourage search engines from indexing site", + "Change Password": "Change Password", + "Current Password": "Current Password", + "New Password": "New Password", + "Repeat New Password": "Repeat New Password", + "Update Password": "Update Password", + "Disable Auth": "Disable Auth", + "Enable Auth": "Enable Auth", + Logout: "Logout", + Leave: "Leave", + "I understand, please disable": "I understand, please disable", + Confirm: "Confirm", + Yes: "Yes", + No: "No", + Username: "Username", + Password: "Password", + "Remember me": "Remember me", + Login: "Login", + "No Monitors, please": "No Monitors, please", + "add one": "add one", + "Notification Type": "Notification Type", + Email: "Email", + Test: "Test", + "Certificate Info": "Certificate Info", + "Resolver Server": "Resolver Server", + "Resource Record Type": "Resource Record Type", + "Last Result": "Last Result" } diff --git a/src/main.js b/src/main.js index cdf37998..a77e47ac 100644 --- a/src/main.js +++ b/src/main.js @@ -27,6 +27,7 @@ import en from "./languages/en"; import zhHK from "./languages/zh-HK"; import deDE from "./languages/de-DE"; import fr from "./languages/fr"; +import ja from "./languages/ja"; const routes = [ { @@ -94,6 +95,7 @@ const languageList = { "zh-HK": zhHK, "de-DE": deDE, "fr": fr, + "ja": ja, }; const i18n = createI18n({