cairo-dock-team team mailing list archive
-
cairo-dock-team team
-
Mailing list archive
-
Message #02141
[Merge] lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/doCkranslator into lp:cairo-dock-plug-ins-extras
Eduardo Mucelli Rezende Oliveira has proposed merging lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/doCkranslator into lp:cairo-dock-plug-ins-extras.
Requested reviews:
Cairo-Dock Team (cairo-dock-team)
Translator (formally doCkranslator), and minor changes
--
https://code.launchpad.net/~eduardo-mucelli/cairo-dock-plug-ins-extras/doCkranslator/+merge/32060
Your team Cairo-Dock Team is requested to review the proposed merge of lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/doCkranslator into lp:cairo-dock-plug-ins-extras.
=== renamed directory 'doCkranslator' => 'Translator'
=== modified file 'Translator/Changelog.txt'
--- doCkranslator/Changelog.txt 2010-07-18 23:06:11 +0000
+++ Translator/Changelog.txt 2010-08-08 23:41:15 +0000
@@ -1,3 +1,4 @@
+0.1.2:(August/8/2010): Formally known as doCkranslator, the applet was renamed to Translator.
0.1.1:(July/18/2010): Switch languages menu added, thanks to Matttbe for this suggestion. util module added.
0.1.0:(July/18/2010): doCkranslator now has another fast-as-hell way to translate. Press Ctrl + F8 to open the input dialog, paste some text, and press Enter. The shortcut capability requires Python-Xlib, but even if the user has not it, the applet works without this capability.
0.0.5:(July/16/2010): Source language now can be defined by context menu. doCkranslator now has a fast way to translate, select any text and middle-click on the icon, just it.
=== renamed file 'doCkranslator/doCkranslator' => 'Translator/Translator'
--- doCkranslator/doCkranslator 2010-07-18 23:06:11 +0000
+++ Translator/Translator 2010-08-08 23:41:15 +0000
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# This is a part of the external doCkranslator applet for Cairo-Dock
+# This is a part of the external Translator (formally doCkranslator) applet for Cairo-Dock
#
# Author: Eduardo Mucelli Rezende Oliveira
# E-mail: edumucelli@xxxxxxxxx or eduardom@xxxxxxxxxxx
@@ -12,14 +12,14 @@
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# This applet provides a translator tool using the Google Translator service
-# doCkranslator translates from lots of languages to lots of languages
+# Translator (formally doCkranslator) translates from lots of languages to lots of languages
# To choose the source and destination languages:
# (I) Right-click on the icon -> To/From -> Choose the destination language
-# (II) Right-click on the icon -> doCkranslator -> Configuration
+# (II) Right-click on the icon -> Translator -> Configuration
# Anyway, the easier way to choose the destination language is scroll up/down over the icon
# To translate:
# (I) Press Ctrl + F8, type the text, and press Enter (requires Python-Xlib)
@@ -113,7 +113,7 @@
log ("Pressed key %s" % self.lookup_keysym(self.disp.keycode_to_keysym(keycode,0)))
if aEvent.type == X.KeyPress:
if keycode == self.f8_keycode:
- print "Ok, 'Ctrl + F8' pressed"
+ log ("Ok, 'Ctrl + F8' pressed")
self.applet.ask_text() # Abrir o caixa de dialogo para o texto a ser traduzido
def start(self, name, sleeptime):
=== renamed file 'doCkranslator/doCkranslator.conf' => 'Translator/Translator.conf'
--- doCkranslator/doCkranslator.conf 2010-07-18 23:06:11 +0000
+++ Translator/Translator.conf 2010-08-08 23:41:15 +0000
@@ -1,4 +1,4 @@
-#!en;0.1.1
+#!en;0.1.2
#[gtk-about]
[Icon]
@@ -7,7 +7,7 @@
icon size = 0;0
#s Name of the icon as it will appear in its label in the dock :
-name = doCkranslator
+name = Translator
#S+ Image's filename :
#{Let empty to use the default one.}
@@ -21,7 +21,7 @@
#F[Applet's Handbook]
frame_hand=
#A
-handbook=doCkranslator
+handbook=Translator
#[gtk-convert]
[Desklet]
=== modified file 'Translator/auto-load.conf'
--- doCkranslator/auto-load.conf 2010-07-18 23:06:11 +0000
+++ Translator/auto-load.conf 2010-08-08 23:41:15 +0000
@@ -4,10 +4,10 @@
author = Eduardo Mucelli Rezende Oliveira
# A short description of the applet and how to use it.
-description = doCkranslator translates from lots of languages to lots of languages\nTo choose the source and destination languages: (I) Right-click on the icon -> To/From -> Choose the destination language\n (II) Right-click on the icon -> doCkranslator -> Configuration\nAnyway, the easier way to choose the destination language is scroll up/down over the icon\nTo translate:\n (I) Press Ctrl + F8, type the text, and press Enter (requires Python-Xlib)\n (II) Left-click on the icon; type your text and press Enter\n (III) Select any text in any place, and middle click on the icon\nTranslated text will be shown as a dialog and be available in the clipboard, just press Ctrl+v to have it
+description = Translator (formally doCkranslator) translates from lots of languages to lots of languages\nTo choose the source and destination languages:\n (I) Right-click on the icon -> To/From -> Choose the destination language\n (II) Right-click on the icon -> Translator -> Configuration\nAnyway, the easier way to choose the destination language is scroll up/down over the icon\nTo translate:\n (I) Press Ctrl + F8, type the text, and press Enter (requires Python-Xlib)\n (II) Left-click on the icon; type your text and press Enter\n (III) Select any text in any place, and middle click on the icon\nTranslated text will be shown as a dialog and be available in the clipboard, just press Ctrl+v to have it
# Category of the applet : 2 = accessory, 3 = Desktop, 4 = Controler
category = 2
# Version of the applet; change it everytime you change something in the config file. Don't forget to update the version both in this file and in the config file.
-version = 0.1.1
+version = 0.1.2
=== modified file 'Translator/util.py'
--- doCkranslator/util.py 2010-07-18 23:06:11 +0000
+++ Translator/util.py 2010-08-08 23:41:15 +0000
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# This is a part of the external doCkranslator applet for Cairo-Dock
+# This is a part of the external Translator (formally doCkranslator) applet for Cairo-Dock
#
# Author: Eduardo Mucelli Rezende Oliveira
# E-mail: edumucelli@xxxxxxxxx or eduardom@xxxxxxxxxxx
Follow ups