From 92de588a77cb57311c17341602174a951bb02857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Frenoy?= Date: Wed, 15 Aug 2018 09:08:44 +0200 Subject: [PATCH] More hard-coded "loading..." texts + typos --- src/config/locales/en/translation.json | 7 ++----- src/config/locales/fr/translation.json | 7 ++----- src/config/locales/ja/translation.json | 7 ++----- src/config/locales/ja/translation.missing.json | 10 ---------- src/renderer/components/Login/LoginForm.vue | 2 +- src/renderer/components/TimelineSpace.vue | 2 +- .../components/TimelineSpace/Contents/SideBar.vue | 2 +- .../TimelineSpace/Contents/SideBar/AccountProfile.vue | 2 +- 8 files changed, 10 insertions(+), 29 deletions(-) diff --git a/src/config/locales/en/translation.json b/src/config/locales/en/translation.json index 5cb37ca2..994e3d06 100644 --- a/src/config/locales/en/translation.json +++ b/src/config/locales/en/translation.json @@ -217,15 +217,12 @@ "add_user_error": "Failed to add user", "authorize_url_error": "Failed to get authorize url", "domain_confirmed": "{{domain}} is confirmed, please login", - "domain_doesnt_exist": "{{domain}} does not exist" - }, - "timeline": { + "domain_doesnt_exist": "{{domain}} does not exist", "loading": "Loading..." }, "validation": { "login": { - "loading": "Loading...", - "rquire_domain_name": "Domain name is required", + "require_domain_name": "Domain name is required", "domain_format": "Please write only domain name" }, "new_toot": { diff --git a/src/config/locales/fr/translation.json b/src/config/locales/fr/translation.json index 6d1fffd5..dfc06cdf 100644 --- a/src/config/locales/fr/translation.json +++ b/src/config/locales/fr/translation.json @@ -217,15 +217,12 @@ "add_user_error": "Erreur lors de l'ajout d'un utilisateur⋅trice", "authorize_url_error": "Erreur à la récupération de l'URL d'autorisation", "domain_confirmed": "{{domain}} est confirmé, veuillez à présent vous connecter", - "domain_doesnt_exist": "{{domain}} n'existe pas" - }, - "timeline": { + "domain_doesnt_exist": "{{domain}} n'existe pas", "loading": "Chargement..." }, "validation": { "login": { - "loading": "Chargement...", - "rquire_domain_name": "Un nom de domaine est requis", + "require_domain_name": "Un nom de domaine est requis", "domain_format": "Veuillez uniquement indiquer le nom de domaine" }, "new_toot": { diff --git a/src/config/locales/ja/translation.json b/src/config/locales/ja/translation.json index b85ae24e..f58b557e 100644 --- a/src/config/locales/ja/translation.json +++ b/src/config/locales/ja/translation.json @@ -217,15 +217,12 @@ "add_user_error": "メンバー追加に失敗しました", "authorize_url_error": "認証用URLの取得に失敗しました", "domain_confirmed": "{{domain}} が確認できました,ログインしてください", - "domain_doesnt_exist": "{{domain}} は存在しません" - }, - "timeline": { + "domain_doesnt_exist": "{{domain}} は存在しません", "loading": "読み込み中..." }, "validation": { "login": { - "loading": "読み込み中...", - "rquire_domain_name": "ドメイン名は必須です", + "require_domain_name": "ドメイン名は必須です", "domain_format": "ドメイン名のみを入力してください" }, "new_toot": { diff --git a/src/config/locales/ja/translation.missing.json b/src/config/locales/ja/translation.missing.json index 8035d43d..e69de29b 100644 --- a/src/config/locales/ja/translation.missing.json +++ b/src/config/locales/ja/translation.missing.json @@ -1,10 +0,0 @@ -{ - "timeline": { - "loading": "Loading..." - }, - "validation": { - "login": { - "loading": "Loading..." - } - } -} diff --git a/src/renderer/components/Login/LoginForm.vue b/src/renderer/components/Login/LoginForm.vue index 63d9d162..61a7e832 100644 --- a/src/renderer/components/Login/LoginForm.vue +++ b/src/renderer/components/Login/LoginForm.vue @@ -68,7 +68,7 @@ export default { login () { const loading = this.$loading({ lock: true, - text: this.$t('validation.login.loading'), + text: this.$t('message.loading'), spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)' }) diff --git a/src/renderer/components/TimelineSpace.vue b/src/renderer/components/TimelineSpace.vue index 65ffcb5c..1abcbde4 100644 --- a/src/renderer/components/TimelineSpace.vue +++ b/src/renderer/components/TimelineSpace.vue @@ -2,7 +2,7 @@
diff --git a/src/renderer/components/TimelineSpace/Contents/SideBar.vue b/src/renderer/components/TimelineSpace/Contents/SideBar.vue index f771ea4a..455e29d0 100644 --- a/src/renderer/components/TimelineSpace/Contents/SideBar.vue +++ b/src/renderer/components/TimelineSpace/Contents/SideBar.vue @@ -11,7 +11,7 @@
diff --git a/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile.vue b/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile.vue index baabd141..fcb5e686 100644 --- a/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile.vue +++ b/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile.vue @@ -1,7 +1,7 @@