← Back to team overview

cairo-dock-team team mailing list archive

[Merge] lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Translator into lp:cairo-dock-plug-ins-extras

 

Eduardo Mucelli Rezende Oliveira has proposed merging lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Translator into lp:cairo-dock-plug-ins-extras.

Requested reviews:
  Cairo-Dock Team (cairo-dock-team)

For more details, see:
https://code.launchpad.net/~eduardo-mucelli/cairo-dock-plug-ins-extras/Translator/+merge/81202

Updating the list of languages supported by the Google Translator.
-- 
https://code.launchpad.net/~eduardo-mucelli/cairo-dock-plug-ins-extras/Translator/+merge/81202
Your team Cairo-Dock Team is requested to review the proposed merge of lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Translator into lp:cairo-dock-plug-ins-extras.
=== modified file 'Translator/.languages'
--- Translator/.languages	2010-07-15 00:56:36 +0000
+++ Translator/.languages	2011-11-03 20:06:10 +0000
@@ -5,9 +5,11 @@
 Azerbaijani az
 Basque eu
 Belarusian be
+Bengali bn
 Bulgarian bg
 Catalan ca
-Chinese zh-CN
+Chinese(simp.) zh-CN
+Chinese(trad.) zh-TW
 Croatian hr
 Czech cs
 Danish da
@@ -21,7 +23,8 @@
 Georgian ka
 German de
 Greek el
-Haitian Creole ht
+Gujarati gu
+Haitian ht
 Hebrew iw
 Hindi hi
 Hungarian hu
@@ -30,7 +33,9 @@
 Irish ga
 Italian it
 Japanese ja
+Kannada kn
 Korean ko
+Latin la
 Latvian lv
 Lithuanian lt
 Macedonian mk
@@ -48,6 +53,8 @@
 Spanish es
 Swahili sw
 Swedish sv
+Tamil ta
+Telugu te
 Thai th
 Turkish tr
 Ukrainian uk

=== modified file 'Translator/Changelog.txt'
--- Translator/Changelog.txt	2011-02-19 01:46:01 +0000
+++ Translator/Changelog.txt	2011-11-03 20:06:10 +0000
@@ -1,3 +1,5 @@
+0.2.1:(November/3/2011): Updating the list of languages supported by the Google Translator.
+0.2.0:(February/17/2011): Using CDApplet interface. Improving, and fixing the dictionary, added some unknown word types when fetching dictionary. Not always one word means that dictionary will be returned.
 0.1.8:(January/17/2011): Dropping text, or URL is allowed in the plugin.
 0.1.7:(January/16/2011): Added the Web Page translation. Entering a URL, the translated page is loaded in the current web browser.
 0.1.6:(January/14/2011): Added the dictionary functionality. If there is only one word to be translated, show the dictionary with the possible translations in categories.

=== modified file 'Translator/Translator.conf'
--- Translator/Translator.conf	2011-09-11 10:58:52 +0000
+++ Translator/Translator.conf	2011-11-03 20:06:10 +0000
@@ -1,134 +1,117 @@
-#0.2.2
-
-#[gtk-about]
-[Icon]
-
-#F[Applet]
-frame_maininfo=
-
-#d Name of the dock it belongs to:
-dock name =
-
-#s Name of the icon as it will appear in its caption in the dock:
-#{Let empty to display the current source and destination languages.}
-name =
-
-#F[Display]
-frame_display=
-
-#S+ Image filename:
-#{Leave empty to use the default one.}
-icon = 
-
-#j+[0;128] Desired icon size for this applet
-#{Set to 0 to use the default applet size}
-icon size = 0;0
-
-order=
-
-#F[Applet's Handbook]
-frame_hand=
-#A
-handbook=Translator
-
-
-#[gtk-convert]
-[Desklet]
-
-#X[Position]
-frame_pos =
-
-#b Lock position?
-#{If locked, the desklet cannot be moved by simply dragging it with the left mouse button. It can still be moved with ALT + left-click.}
-locked = false
-
-#j+[24;512] Desklet dimensions (width x height):
-#{Depending on your WindowManager, you may be able to resize this with ALT + middle-click or ALT + left-click.}
-size = 96;96
-
-#i[-2048;2048] Desklet position (x, y):
-#{Depending on your WindowManager, you may be able to move this with ALT + left-click.. Negative values are counted from the right/bottom of the screen}
-x position=0
-#i[-2048;2048] ...
-y position=0
-
-#I[-180;180] Rotation:
-#{You can quickly rotate the desklet with the mouse, by dragging the little buttons on its left and top sides.}
-rotation = 0
-
-#X[Visibility]
-frame_visi =
-
-#b Is detached from the dock
-initially detached=false
-#l[Normal;Keep above;Keep below;Keep on widget layer;Reserve space] Visibility:
-#{for CompizFusion's "widget layer", set behaviour in Compiz to: (class=Cairo-dock & type=Utility)}
-accessibility=0
-#b Should be visible on all desktops?
-sticky=true
-
-
-#F[Decorations;gtk-orientation-portrait]
-frame_deco=
-
-#o+ Choose a decoration theme for this desklet:
-#{Choose 'Custom decorations' to define your own decorations below.}
-decorations = default
-
-#v
-sep_deco =
-
-#S+ Background image:
-#{Image to be displayed below drawings, e.g. a frame. Leave empty for no image.}
-bg desklet =
-#e+[0;1] Background transparency:
-bg alpha = 1
-#i+[0;256] Left offset:
-#{in pixels. Use this to adjust the left position of drawings.}
-left offset = 0
-#i+[0;256] Top offset:
-#{in pixels. Use this to adjust the top position of drawings.}
-top offset = 0
-#i+[0;256] Right offset:
-#{in pixels. Use this to adjust the right position of drawings.}
-right offset = 0
-#i+[0;256] Bottom offset:
-#{in pixels. Use this to adjust the bottom position of drawings.}
-bottom offset = 0
-#S+ Foreground image:
-#{Image to be displayed above the drawings, e.g. a reflection. Leave empty for no image.}
-fg desklet =
-#e+[0;1] Foreground tansparency:
-fg alpha = 1
-
-
-#[gtk-preferences]
-[Configuration]
-
-#F[Languages;gtk-convert]
-frame_lang =
-
-#l-[Afrikaans;Albanian;Arabic;Armenian;Azerbaijani;Basque;Belarusian;Bulgarian;Catalan;Chinese;Croatian;Czech;Danish;Dutch;English;Estonian;Filipino;Finnish;French;Galician;Georgian;German;Greek;Haitian;Hebrew;Hindi;Hungarian;Icelandic;Indonesian;Irish;Italian;Japanese;Korean;Latvian;Lithuanian;Macedonian;Malay;Maltese;Norwegian;Persian;Polish;Portuguese;Romanian;Russian;Serbian;Slovak;Slovenian;Spanish;Swahili;Swedish;Thai;Turkish;Ukrainian;Urdu;Vietnamese;Welsh;Yiddish] Translate from:
-source = 14
-#l-[Afrikaans;Albanian;Arabic;Armenian;Azerbaijani;Basque;Belarusian;Bulgarian;Catalan;Chinese;Croatian;Czech;Danish;Dutch;English;Estonian;Filipino;Finnish;French;Galician;Georgian;German;Greek;Haitian;Hebrew;Hindi;Hungarian;Icelandic;Indonesian;Irish;Italian;Japanese;Korean;Latvian;Lithuanian;Macedonian;Malay;Maltese;Norwegian;Persian;Polish;Portuguese;Romanian;Russian;Serbian;Slovak;Slovenian;Spanish;Swahili;Swedish;Thai;Turkish;Ukrainian;Urdu;Vietnamese;Welsh;Yiddish]Translate to:
-destiny = 41
-
-#F[Shortkeys;gtk-italic]
-frame_keys =
-
-#k- Shortkey to start translating from (read):
-shortkey_from = <Control><Alt>r
-
-#k- Shortkey to start translating to (write):
-shortkey_to = <Control><Alt>w
-
-#F[Dialog;gtk-info]
-frame_dial =
-
-#i-[0;60] Time-length of the result dialog:
-#{In s. Set 0 for an unlimited time.}
-dialog time = 10
-
-#b- Editable text widget?
-dialog editable = True
-
+#!en;0.2.1
+
+#[gtk-about]
+[Icon]
+
+#F[Applet]
+frame_maininfo=
+
+#d Name of the dock it belongs to:
+dock name = 
+
+#s Name of the icon as it will appear in its caption in the dock:
+name = Translator
+
+#F[Display]
+frame_display=
+
+#S+ Image filename:
+#{Leave empty to use the default one.}
+icon = 
+
+#j+[0;128] Desired icon size for this applet
+#{Set to 0 to use the default applet size}
+icon size = 0;0
+
+order=
+
+#F[Applet's Handbook]
+frame_hand=
+#A
+handbook=Translator
+
+
+#[gtk-convert]
+[Desklet]
+
+#j+[48;512] Desklet's dimension (width x height) :
+#{Depending on your WindowManager, you can resize it with ALT + middle_click or ALT + left_click for exemple.}
+size = 164;96
+
+#i[-2048;2048] Desklet's position (x ; y) :
+#{Depending on your WindowManager, you can move it with ALT + left_click}
+x position=0
+#i[-2048;2048] ...
+y position=0
+
+#b Is detached from the dock ?
+initially detached=false
+#l[Normal;Keep above;Keep below;On Widget Layer;Reserve space] Accessibility :
+#{for CompizFusion's "widget layer", set behaviour in Compiz to: (class=Cairo-dock & type=utility)}
+accessibility=0
+#b Should be visible on all desktops ?
+sticky=true
+
+#b Lock position ?
+#{If locked, the desklet can't be moved by simply dragging it with the left mouse button. Of course you can still move it with ALT + left_click.}
+locked = false
+
+#I[-180;180] Rotation :
+#{in degrees.}
+rotation = 0
+
+use size=
+
+#F[Decorations;gtk-orientation-portrait]
+frame_deco=
+
+#o+ Choose a decoration theme for this desklet :
+#{Choose the 'personnal' one to define your own decorations below.}
+decorations = default
+
+#v
+sep_deco =
+
+#S+ Background image :
+#{It's an image that will be displayed below the drawings, like a frame for exemple. Let empty to not use any.}
+bg desklet =
+#e+[0;1] Background tansparency :
+bg alpha = 1
+#i+[0;256] Left offset :
+#{in pixels. Use this to adjust the left position of the drawings.}
+left offset = 0
+#i+[0;256] Top offset :
+#{in pixels. Use this to adjust the top position of the drawings.}
+top offset = 0
+#i+[0;256] Right offset :
+#{in pixels. Use this to adjust the right position of the drawings.}
+right offset = 0
+#i+[0;256] Bottom offset :
+#{in pixels. Use this to adjust the bottom position of the drawings.}
+bottom offset = 0
+#S+ Foreground image :
+#{It's an image that will be displayed above the drawings, like a reflect for exemple. Let empty to not use any.}
+fg desklet =
+#e+[0;1] Foreground tansparency :
+fg alpha = 1
+
+
+#[gtk-preferences]
+[Configuration]
+
+#F[Languages;gtk-convert]
+frame_lang =
+
+#l-[Afrikaans;Albanian;Arabic;Armenian;Azerbaijani;Basque;Belarusian;Bengali;Bulgarian;Catalan;Chinese (simplified);Chinese (traditional);Croatian;Czech;Danish;Dutch;English;Estonian;Filipino;Finnish;French;Galician;Georgian;German;Greek;Gujarati;Haitian;Hebrew;Hindi;Hungarian;Icelandic;Indonesian;Irish;Italian;Japanese;Kannada;Korean;Latin;Latvian;Lithuanian;Macedonian;Malay;Maltese;Norwegian;Persian;Polish;Portuguese;Romanian;Russian;Serbian;Slovak;Slovenian;Spanish;Swahili;Swedish;Tamil;Telugu;Thai;Turkish;Ukrainian;Urdu;Vietnamese;Welsh;Yiddish] Translate from:
+source = 16
+#l-[Afrikaans;Albanian;Arabic;Armenian;Azerbaijani;Basque;Belarusian;Bengali;Bulgarian;Catalan;Simplified Chinese;Traditional Chinese;Croatian;Czech;Danish;Dutch;English;Estonian;Filipino;Finnish;French;Galician;Georgian;German;Greek;Gujarati;Haitian;Hebrew;Hindi;Hungarian;Icelandic;Indonesian;Irish;Italian;Japanese;Kannada;Korean;Latin;Latvian;Lithuanian;Macedonian;Malay;Maltese;Norwegian;Persian;Polish;Portuguese;Romanian;Russian;Serbian;Slovak;Slovenian;Spanish;Swahili;Swedish;Tamil;Telugu;Thai;Turkish;Ukrainian;Urdu;Vietnamese;Welsh;Yiddish]Translate to:
+destiny = 46
+
+#F[Shortkeys;gtk-italic]
+frame_keys =
+
+#k- Shortkey to start translating from (read):
+shortkey_from = <Control><Alt>r
+
+#k- Shortkey to start translating to (write):
+shortkey_to = <Control><Alt>w

=== modified file 'Translator/auto-load.conf'
--- Translator/auto-load.conf	2011-05-19 23:57:32 +0000
+++ Translator/auto-load.conf	2011-11-03 20:06:10 +0000
@@ -1,16 +1,16 @@
-[Register]
-
-# Author of the applet
-author = Eduardo Mucelli Rezende Oliveira
-
-# A short description of the applet and how to use it.
-description = This applet translates single words, complete sentences, or web pages.\nTo use it, either click on the icon or press the shortkey, then enter your text and press Enter. The translated text will be shown in a popup and be available in the clipboard, just press Ctrl+v to have it.\nYou can also drop some text onto the icon, or translate the current clipboard content (middle-click).\nYou can select the languages you want to translate from/to through the menu, or in the config window of the applet. Shortkeys can be configured too.\nBy default:\n  - If you want to translate something you are reading in the foreign language, press Ctrl + Alt + R\n  - If you are writing something in your native language, press Ctrl + Alt + W
-
-# Category of the applet : 2 = files, 3 = internet, 4 = Desktop, 5 = accessory, 6 = system, 7 = fun
-category = 5
-
-# 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.2.2
+[Register]
+
+# Author of the applet
+author = Eduardo Mucelli Rezende Oliveira
+
+# A short description of the applet and how to use it.
+description = This applet translates single words, complete sentences, or web pages.\nTo use it, either click on the icon or press the shortkey, then enter your text and press Enter. The translated text will be shown in a popup and be available in the clipboard, just press Ctrl+v to have it.\nYou can also drop some text onto the icon, or translate the current clipboard content (middle-click).\nYou can select the languages you want to translate from/to through the menu, or in the config window of the applet. Shortkeys can be configured too.\nBy default:\n  - If you want to translate something you are reading in the foreign language, press Ctrl + Alt + R\n  - If you are writing something in your native language, press Ctrl + Alt + W
+
+# Category of the applet : 2 = files, 3 = internet, 4 = Desktop, 5 = accessory, 6 = system, 7 = fun
+category = 5
+
+# 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.2.1
 
 # Whether the applet can be instanciated several times or not.
 multi-instance = true


Follow ups