From 66d14650600a3ae32bc354a4b7c8b29f59f243fd Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Wed, 25 Sep 2019 23:06:50 +0900 Subject: [PATCH 1/2] Add shortcut description for reload in modal --- .../locales/de/translation.missing.json | 1 + src/config/locales/en/translation.json | 1 + .../locales/fr/translation.missing.json | 8 +- .../locales/it/translation.missing.json | 3 + src/config/locales/ja/translation.json | 1 + .../locales/ko/translation.missing.json | 3 + .../locales/pl/translation.missing.json | 1 + .../locales/zh_cn/translation.missing.json | 8 +- .../TimelineSpace/Modals/Shortcut.vue | 161 +++++++++--------- 9 files changed, 104 insertions(+), 83 deletions(-) diff --git a/src/config/locales/de/translation.missing.json b/src/config/locales/de/translation.missing.json index 191a1a01..ce0d96cc 100644 --- a/src/config/locales/de/translation.missing.json +++ b/src/config/locales/de/translation.missing.json @@ -26,6 +26,7 @@ "ctrl_k": "Jump to other timelines", "ctrl_n": "Open the new toot modal", "ctrl_enter": "Post the toot", + "ctrl_r": "Reload current timeline", "j": "Select the next toot", "k": "Select the previous toot", "h": "Switch the focus to left column", diff --git a/src/config/locales/en/translation.json b/src/config/locales/en/translation.json index f5466887..7fa0aad2 100644 --- a/src/config/locales/en/translation.json +++ b/src/config/locales/en/translation.json @@ -256,6 +256,7 @@ "ctrl_k": "Jump to other timelines", "ctrl_n": "Open the new toot modal", "ctrl_enter": "Post the toot", + "ctrl_r": "Reload current timeline", "j": "Select the next toot", "k": "Select the previous toot", "h": "Switch focus to the left column", diff --git a/src/config/locales/fr/translation.missing.json b/src/config/locales/fr/translation.missing.json index 0967ef42..72ced0ba 100644 --- a/src/config/locales/fr/translation.missing.json +++ b/src/config/locales/fr/translation.missing.json @@ -1 +1,7 @@ -{} +{ + "modals": { + "shortcut": { + "ctrl_r": "Reload current timeline" + } + } +} diff --git a/src/config/locales/it/translation.missing.json b/src/config/locales/it/translation.missing.json index dd0eef53..5da1aab4 100644 --- a/src/config/locales/it/translation.missing.json +++ b/src/config/locales/it/translation.missing.json @@ -31,6 +31,9 @@ "7_days": "7 days" } } + }, + "shortcut": { + "ctrl_r": "Reload current timeline" } }, "cards": { diff --git a/src/config/locales/ja/translation.json b/src/config/locales/ja/translation.json index afb13e16..824bd3b8 100644 --- a/src/config/locales/ja/translation.json +++ b/src/config/locales/ja/translation.json @@ -256,6 +256,7 @@ "ctrl_k": "タイムラインの移動", "ctrl_n": "トゥートモーダルの表示", "ctrl_enter": "トゥート送信", + "ctrl_r": "タイムラインを更新", "j": "次のトゥートを選択", "k": "前のトゥートを選択", "h": "右のカラムを選択", diff --git a/src/config/locales/ko/translation.missing.json b/src/config/locales/ko/translation.missing.json index a9c7f316..494098ab 100644 --- a/src/config/locales/ko/translation.missing.json +++ b/src/config/locales/ko/translation.missing.json @@ -51,6 +51,9 @@ "comment": "Additional comments", "cancel": "Cancel", "ok": "Report" + }, + "shortcut": { + "ctrl_r": "Reload current timeline" } }, "cards": { diff --git a/src/config/locales/pl/translation.missing.json b/src/config/locales/pl/translation.missing.json index b12f5b0c..cd2396eb 100644 --- a/src/config/locales/pl/translation.missing.json +++ b/src/config/locales/pl/translation.missing.json @@ -53,6 +53,7 @@ "ok": "Report" }, "shortcut": { + "ctrl_r": "Reload current timeline", "h": "Switch the focus to left column", "l": "Switch the focus to right column", "?": "Show this help" diff --git a/src/config/locales/zh_cn/translation.missing.json b/src/config/locales/zh_cn/translation.missing.json index 0967ef42..72ced0ba 100644 --- a/src/config/locales/zh_cn/translation.missing.json +++ b/src/config/locales/zh_cn/translation.missing.json @@ -1 +1,7 @@ -{} +{ + "modals": { + "shortcut": { + "ctrl_r": "Reload current timeline" + } + } +} diff --git a/src/renderer/components/TimelineSpace/Modals/Shortcut.vue b/src/renderer/components/TimelineSpace/Modals/Shortcut.vue index 5985742e..6a9ded85 100644 --- a/src/renderer/components/TimelineSpace/Modals/Shortcut.vue +++ b/src/renderer/components/TimelineSpace/Modals/Shortcut.vue @@ -1,83 +1,82 @@