You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2021/02/11 21:56:29 UTC

[incubator-hop] branch master updated: Hop 2518 Add keyboard shortcut Ctrl+Shift+S to save as menu (#621)

This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new 9635d4c  Hop 2518 Add keyboard shortcut Ctrl+Shift+S to save as menu (#621)
9635d4c is described below

commit 9635d4c2fcc06bd60b2f0719324f3698073cc56a
Author: Nicolas Adment <39...@users.noreply.github.com>
AuthorDate: Thu Feb 11 22:56:20 2021 +0100

    Hop 2518 Add keyboard shortcut Ctrl+Shift+S to save as menu (#621)
    
    * Hop-2508 Fix some smell codes
    
    * Fix transform plugins category
    
    * Better fr translation
    
    * HOP-2518 Add keyboard shortcut Ctrl+Shift+S to save as menu
---
 ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java                   | 2 ++
 .../org/apache/hop/ui/hopgui/messages/messages_fr_FR.properties         | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java b/ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java
index 4cd90db..a348f87 100644
--- a/ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java
+++ b/ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java
@@ -579,6 +579,8 @@ public class HopGui
       id = ID_MAIN_TOOLBAR_SAVE_AS,
       image = "ui/images/save-as.svg",
       toolTip = "i18n::HopGui.Menu.File.SaveAs")
+  @GuiKeyboardShortcut(control = true, shift=true, key = 's')
+  @GuiOsxKeyboardShortcut(command = true, shift=true, key = 's')  
   public void menuFileSaveAs() {
     fileDelegate.fileSaveAs();
   }
diff --git a/ui/src/main/resources/org/apache/hop/ui/hopgui/messages/messages_fr_FR.properties b/ui/src/main/resources/org/apache/hop/ui/hopgui/messages/messages_fr_FR.properties
index f5de334..75f7e08 100644
--- a/ui/src/main/resources/org/apache/hop/ui/hopgui/messages/messages_fr_FR.properties
+++ b/ui/src/main/resources/org/apache/hop/ui/hopgui/messages/messages_fr_FR.properties
@@ -304,7 +304,7 @@ HopGui.Menu.File.NewPipeline=Pipeline
 HopGui.Menu.File.NewSlave=Serveur esclave
 HopGui.Menu.File.NewWorkflow=T\u00E2che
 HopGui.Menu.File.Open=&Ouvrir
-HopGui.Menu.File.Open.Recent=Ouverte r\u00E9camment...
+HopGui.Menu.File.Open.Recent=R\u00E9cent...
 HopGui.Menu.File.Open.Recent.Popup=Ouvrir fichiers r\u00E9cents
 HopGui.Menu.File.OpenVFS=Ouvrir un fichier depuis une &URL
 HopGui.Menu.File.Print=&Imprimer