From 97f215efc3c403ba2bfed66c6584425ead59d902 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Sun, 13 Mar 2016 09:49:39 +0100 Subject: [PATCH] Show notification when entering Marks mode --- extension/lib/commands.coffee | 2 ++ extension/locale/de/vimfx.properties | 2 ++ extension/locale/en-US/vimfx.properties | 2 ++ extension/locale/es/vimfx.properties | 2 ++ extension/locale/fr/vimfx.properties | 2 ++ extension/locale/id/vimfx.properties | 2 ++ extension/locale/it/vimfx.properties | 2 ++ extension/locale/ja/vimfx.properties | 2 ++ extension/locale/nl/vimfx.properties | 2 ++ extension/locale/pt-BR/vimfx.properties | 2 ++ extension/locale/ru/vimfx.properties | 2 ++ extension/locale/sv-SE/vimfx.properties | 2 ++ extension/locale/zh-CN/vimfx.properties | 2 ++ extension/locale/zh-TW/vimfx.properties | 2 ++ 14 files changed, 28 insertions(+) diff --git a/extension/lib/commands.coffee b/extension/lib/commands.coffee index 4b35886..0cb239f 100644 --- a/extension/lib/commands.coffee +++ b/extension/lib/commands.coffee @@ -208,6 +208,7 @@ helper_mark_last_scroll_position = (vim) -> commands.mark_scroll_position = ({vim}) -> vim.enterMode('marks', (keyStr) -> vim._run('mark_scroll_position', {keyStr})) + vim.notify(translate('notification.mark_scroll_position.enter')) commands.scroll_to_mark = ({vim}) -> vim.enterMode('marks', (keyStr) -> @@ -216,6 +217,7 @@ commands.scroll_to_mark = ({vim}) -> helper_scroll(vim, null, 'scrollTo', 'other', ['top', 'left'], keyStr, ['scrollTopMax', 'scrollLeftMax'], 0, 'scroll_to_mark') ) + vim.notify(translate('notification.scroll_to_mark.enter')) diff --git a/extension/locale/de/vimfx.properties b/extension/locale/de/vimfx.properties index a83771a..e0660b1 100644 --- a/extension/locale/de/vimfx.properties +++ b/extension/locale/de/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Das ist schon das höchste URL-Level notification.history_back.limit=Kann nicht weiter in der Chronik zurück notification.history_forward.limit=Kann nicht weiter in der Chronik nach vorne notification.history_list.none=Keine Vorwärts-/Rückwärts-Chronik +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Markierung gesetzt: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=Keine Markierung für: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/en-US/vimfx.properties b/extension/locale/en-US/vimfx.properties index 7526025..ce5f246 100644 --- a/extension/locale/en-US/vimfx.properties +++ b/extension/locale/en-US/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Already at the top level of the URL notification.history_back.limit=Cannot go back in history notification.history_forward.limit=Cannot go forward in history notification.history_list.none=No back/forward history +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Mark set: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=No mark for: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/es/vimfx.properties b/extension/locale/es/vimfx.properties index b783372..83fc7ef 100644 --- a/extension/locale/es/vimfx.properties +++ b/extension/locale/es/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Ya está en el nivel máximo de la URL notification.history_back.limit=No se puede seguir retrocediendo en el historial notification.history_forward.limit=No se puede seguir avanzando en el historial notification.history_list.none=No hay historial anterior/siguiente +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Marca establecida: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=No hay marca para: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/fr/vimfx.properties b/extension/locale/fr/vimfx.properties index 46fa333..18e4dfb 100644 --- a/extension/locale/fr/vimfx.properties +++ b/extension/locale/fr/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Already at the top level of the URL notification.history_back.limit=Cannot go back in history notification.history_forward.limit=Cannot go forward in history notification.history_list.none=No back/forward history +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Mark set: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=No mark for: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/id/vimfx.properties b/extension/locale/id/vimfx.properties index 87cf5b4..a6abfba 100644 --- a/extension/locale/id/vimfx.properties +++ b/extension/locale/id/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Already at the top level of the URL notification.history_back.limit=Cannot go back in history notification.history_forward.limit=Cannot go forward in history notification.history_list.none=No back/forward history +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Penanda dibuat: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=Tidak ada penanda untuk: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/it/vimfx.properties b/extension/locale/it/vimfx.properties index cc1207c..bcd9b9b 100644 --- a/extension/locale/it/vimfx.properties +++ b/extension/locale/it/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Already at the top level of the URL notification.history_back.limit=Cannot go back in history notification.history_forward.limit=Cannot go forward in history notification.history_list.none=No back/forward history +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Mark set: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=No mark for: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/ja/vimfx.properties b/extension/locale/ja/vimfx.properties index 030801f..0a4a67d 100644 --- a/extension/locale/ja/vimfx.properties +++ b/extension/locale/ja/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=既にURLの最上階層です notification.history_back.limit=履歴をこれ以上戻れません notification.history_forward.limit=履歴をこれ以上進めません notification.history_list.none=戻る/進む履歴がありません +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=マークをセット: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=マークがありません: %S notification.tab_select_most_recent.none=直近のタブがありません notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/nl/vimfx.properties b/extension/locale/nl/vimfx.properties index 312722e..76ec9fe 100644 --- a/extension/locale/nl/vimfx.properties +++ b/extension/locale/nl/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Already at the top level of the URL notification.history_back.limit=Cannot go back in history notification.history_forward.limit=Cannot go forward in history notification.history_list.none=No back/forward history +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Mark set: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=No mark for: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/pt-BR/vimfx.properties b/extension/locale/pt-BR/vimfx.properties index 81201f6..b8af729 100644 --- a/extension/locale/pt-BR/vimfx.properties +++ b/extension/locale/pt-BR/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Already at the top level of the URL notification.history_back.limit=Cannot go back in history notification.history_forward.limit=Cannot go forward in history notification.history_list.none=No back/forward history +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Mark set: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=No mark for: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/ru/vimfx.properties b/extension/locale/ru/vimfx.properties index dca375a..b1a4569 100644 --- a/extension/locale/ru/vimfx.properties +++ b/extension/locale/ru/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Already at the top level of the URL notification.history_back.limit=Cannot go back in history notification.history_forward.limit=Cannot go forward in history notification.history_list.none=No back/forward history +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Mark set: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=No mark for: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/sv-SE/vimfx.properties b/extension/locale/sv-SE/vimfx.properties index a2e53b3..734757d 100644 --- a/extension/locale/sv-SE/vimfx.properties +++ b/extension/locale/sv-SE/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Redan vid toppnivån av URL:en notification.history_back.limit=Kan inte gå bakåt i historiken notification.history_forward.limit=Kan inte gå framåt i historiken notification.history_list.none=Ingen bakåt/framåt-historik +notification.mark_scroll_position.enter=Markera scrollposition (tryck på en tangent…) notification.mark_scroll_position.success=Markör satt: %S +notification.scroll_to_mark.enter=Scrolla till markör (tryck på en tangent…) notification.scroll_to_mark.none=Ingen markör för: %S notification.tab_select_most_recent.none=Ingen senaste flik notification.tab_select_oldest_unvisited.none=Inga obesökta flikar diff --git a/extension/locale/zh-CN/vimfx.properties b/extension/locale/zh-CN/vimfx.properties index 2eaf35e..2f37778 100644 --- a/extension/locale/zh-CN/vimfx.properties +++ b/extension/locale/zh-CN/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=当前已在 URL 的根目录页面 notification.history_back.limit=无法后退(历史记录) notification.history_forward.limit=无法前进(历史记录) notification.history_list.none=无后退/前进历史 +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=设置标记: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=没有发现标记: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs diff --git a/extension/locale/zh-TW/vimfx.properties b/extension/locale/zh-TW/vimfx.properties index d5e508e..99d8dd7 100644 --- a/extension/locale/zh-TW/vimfx.properties +++ b/extension/locale/zh-TW/vimfx.properties @@ -115,7 +115,9 @@ notification.go_up_path.limit=Already at the top level of the URL notification.history_back.limit=Cannot go back in history notification.history_forward.limit=Cannot go forward in history notification.history_list.none=No back/forward history +notification.mark_scroll_position.enter=Mark scroll position (press a key…) notification.mark_scroll_position.success=Mark set: %S +notification.scroll_to_mark.enter=Scroll to mark (press a key…) notification.scroll_to_mark.none=No mark for: %S notification.tab_select_most_recent.none=No most recent tab notification.tab_select_oldest_unvisited.none=No unvisited tabs -- 2.39.3