[gedit-plugins] Fixes #794046



commit e9a01da76dc511188991631c3890c76fb9368e96
Author: Jordi Mas <jmas softcatala org>
Date:   Sat Mar 10 15:53:19 2018 +0100

    Fixes #794046

 help/C/translate.page                   |    2 +-
 plugins/translate/translate/__init__.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/help/C/translate.page b/help/C/translate.page
index d125498..b2adfc6 100644
--- a/help/C/translate.page
+++ b/help/C/translate.page
@@ -52,7 +52,7 @@
       <p>Select the part of text that you would like to translate.</p>
     </item>
     <item>
-      <p>Press <keyseq><key>Ctrl</key><key>M</key></keyseq> or use the context menu to translate it.</p>
+      <p>Press <keyseq><key>Ctrl</key><key>K</key></keyseq> or use the context menu to translate it.</p>
       <p>The translation appears in the document or in the bottom panel, depending on your configuration.</p>
     </item>
   </steps>
diff --git a/plugins/translate/translate/__init__.py b/plugins/translate/translate/__init__.py
index 066e1c9..4ed869c 100644
--- a/plugins/translate/translate/__init__.py
+++ b/plugins/translate/translate/__init__.py
@@ -46,7 +46,7 @@ class TranslateAppActivatable(GObject.Object, Gedit.AppActivatable):
         GObject.Object.__init__(self)
 
     def do_activate(self):
-        self.app.add_accelerator("<Primary>M", "win.translate", None)
+        self.app.add_accelerator("<Primary>K", "win.translate", None)
        
     def do_deactivate(self):
         self.app.remove_accelerator("win.translate", None)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]