Merge lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Translator into lp:~cairo-dock-team/cairo-dock-plug-ins-extras/third-party

Proposed by Eduardo Mucelli Rezende Oliveira
Status: Merged
Merged at revision: 205
Proposed branch: lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Translator
Merge into: lp:~cairo-dock-team/cairo-dock-plug-ins-extras/third-party
Diff against target: 345 lines (+141/-149)
4 files modified
Translator/.languages (+9/-2)
Translator/Changelog.txt (+2/-0)
Translator/Translator.conf (+117/-134)
Translator/auto-load.conf (+13/-13)
To merge this branch: bzr merge lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Translator
Reviewer Review Type Date Requested Status
Cairo-Dock Devs Pending
Review via email: mp+81202@code.launchpad.net

Description of the change

Updating the list of languages supported by the Google Translator.

To post a comment you must log in.
205. By Eduardo Mucelli Rezende Oliveira

Updating the list of languages supported by the Google Translator.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Translator/.languages'
2--- Translator/.languages 2010-07-15 00:56:36 +0000
3+++ Translator/.languages 2011-11-03 20:06:10 +0000
4@@ -5,9 +5,11 @@
5 Azerbaijani az
6 Basque eu
7 Belarusian be
8+Bengali bn
9 Bulgarian bg
10 Catalan ca
11-Chinese zh-CN
12+Chinese(simp.) zh-CN
13+Chinese(trad.) zh-TW
14 Croatian hr
15 Czech cs
16 Danish da
17@@ -21,7 +23,8 @@
18 Georgian ka
19 German de
20 Greek el
21-Haitian Creole ht
22+Gujarati gu
23+Haitian ht
24 Hebrew iw
25 Hindi hi
26 Hungarian hu
27@@ -30,7 +33,9 @@
28 Irish ga
29 Italian it
30 Japanese ja
31+Kannada kn
32 Korean ko
33+Latin la
34 Latvian lv
35 Lithuanian lt
36 Macedonian mk
37@@ -48,6 +53,8 @@
38 Spanish es
39 Swahili sw
40 Swedish sv
41+Tamil ta
42+Telugu te
43 Thai th
44 Turkish tr
45 Ukrainian uk
46
47=== modified file 'Translator/Changelog.txt'
48--- Translator/Changelog.txt 2011-02-19 01:46:01 +0000
49+++ Translator/Changelog.txt 2011-11-03 20:06:10 +0000
50@@ -1,3 +1,5 @@
51+0.2.1:(November/3/2011): Updating the list of languages supported by the Google Translator.
52+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.
53 0.1.8:(January/17/2011): Dropping text, or URL is allowed in the plugin.
54 0.1.7:(January/16/2011): Added the Web Page translation. Entering a URL, the translated page is loaded in the current web browser.
55 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.
56
57=== modified file 'Translator/Translator.conf'
58--- Translator/Translator.conf 2011-09-11 10:58:52 +0000
59+++ Translator/Translator.conf 2011-11-03 20:06:10 +0000
60@@ -1,134 +1,117 @@
61-#0.2.2
62-
63-#[gtk-about]
64-[Icon]
65-
66-#F[Applet]
67-frame_maininfo=
68-
69-#d Name of the dock it belongs to:
70-dock name =
71-
72-#s Name of the icon as it will appear in its caption in the dock:
73-#{Let empty to display the current source and destination languages.}
74-name =
75-
76-#F[Display]
77-frame_display=
78-
79-#S+ Image filename:
80-#{Leave empty to use the default one.}
81-icon =
82-
83-#j+[0;128] Desired icon size for this applet
84-#{Set to 0 to use the default applet size}
85-icon size = 0;0
86-
87-order=
88-
89-#F[Applet's Handbook]
90-frame_hand=
91-#A
92-handbook=Translator
93-
94-
95-#[gtk-convert]
96-[Desklet]
97-
98-#X[Position]
99-frame_pos =
100-
101-#b Lock position?
102-#{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.}
103-locked = false
104-
105-#j+[24;512] Desklet dimensions (width x height):
106-#{Depending on your WindowManager, you may be able to resize this with ALT + middle-click or ALT + left-click.}
107-size = 96;96
108-
109-#i[-2048;2048] Desklet position (x, y):
110-#{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}
111-x position=0
112-#i[-2048;2048] ...
113-y position=0
114-
115-#I[-180;180] Rotation:
116-#{You can quickly rotate the desklet with the mouse, by dragging the little buttons on its left and top sides.}
117-rotation = 0
118-
119-#X[Visibility]
120-frame_visi =
121-
122-#b Is detached from the dock
123-initially detached=false
124-#l[Normal;Keep above;Keep below;Keep on widget layer;Reserve space] Visibility:
125-#{for CompizFusion's "widget layer", set behaviour in Compiz to: (class=Cairo-dock & type=Utility)}
126-accessibility=0
127-#b Should be visible on all desktops?
128-sticky=true
129-
130-
131-#F[Decorations;gtk-orientation-portrait]
132-frame_deco=
133-
134-#o+ Choose a decoration theme for this desklet:
135-#{Choose 'Custom decorations' to define your own decorations below.}
136-decorations = default
137-
138-#v
139-sep_deco =
140-
141-#S+ Background image:
142-#{Image to be displayed below drawings, e.g. a frame. Leave empty for no image.}
143-bg desklet =
144-#e+[0;1] Background transparency:
145-bg alpha = 1
146-#i+[0;256] Left offset:
147-#{in pixels. Use this to adjust the left position of drawings.}
148-left offset = 0
149-#i+[0;256] Top offset:
150-#{in pixels. Use this to adjust the top position of drawings.}
151-top offset = 0
152-#i+[0;256] Right offset:
153-#{in pixels. Use this to adjust the right position of drawings.}
154-right offset = 0
155-#i+[0;256] Bottom offset:
156-#{in pixels. Use this to adjust the bottom position of drawings.}
157-bottom offset = 0
158-#S+ Foreground image:
159-#{Image to be displayed above the drawings, e.g. a reflection. Leave empty for no image.}
160-fg desklet =
161-#e+[0;1] Foreground tansparency:
162-fg alpha = 1
163-
164-
165-#[gtk-preferences]
166-[Configuration]
167-
168-#F[Languages;gtk-convert]
169-frame_lang =
170-
171-#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:
172-source = 14
173-#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:
174-destiny = 41
175-
176-#F[Shortkeys;gtk-italic]
177-frame_keys =
178-
179-#k- Shortkey to start translating from (read):
180-shortkey_from = <Control><Alt>r
181-
182-#k- Shortkey to start translating to (write):
183-shortkey_to = <Control><Alt>w
184-
185-#F[Dialog;gtk-info]
186-frame_dial =
187-
188-#i-[0;60] Time-length of the result dialog:
189-#{In s. Set 0 for an unlimited time.}
190-dialog time = 10
191-
192-#b- Editable text widget?
193-dialog editable = True
194-
195+#!en;0.2.1
196+
197+#[gtk-about]
198+[Icon]
199+
200+#F[Applet]
201+frame_maininfo=
202+
203+#d Name of the dock it belongs to:
204+dock name =
205+
206+#s Name of the icon as it will appear in its caption in the dock:
207+name = Translator
208+
209+#F[Display]
210+frame_display=
211+
212+#S+ Image filename:
213+#{Leave empty to use the default one.}
214+icon =
215+
216+#j+[0;128] Desired icon size for this applet
217+#{Set to 0 to use the default applet size}
218+icon size = 0;0
219+
220+order=
221+
222+#F[Applet's Handbook]
223+frame_hand=
224+#A
225+handbook=Translator
226+
227+
228+#[gtk-convert]
229+[Desklet]
230+
231+#j+[48;512] Desklet's dimension (width x height) :
232+#{Depending on your WindowManager, you can resize it with ALT + middle_click or ALT + left_click for exemple.}
233+size = 164;96
234+
235+#i[-2048;2048] Desklet's position (x ; y) :
236+#{Depending on your WindowManager, you can move it with ALT + left_click}
237+x position=0
238+#i[-2048;2048] ...
239+y position=0
240+
241+#b Is detached from the dock ?
242+initially detached=false
243+#l[Normal;Keep above;Keep below;On Widget Layer;Reserve space] Accessibility :
244+#{for CompizFusion's "widget layer", set behaviour in Compiz to: (class=Cairo-dock & type=utility)}
245+accessibility=0
246+#b Should be visible on all desktops ?
247+sticky=true
248+
249+#b Lock position ?
250+#{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.}
251+locked = false
252+
253+#I[-180;180] Rotation :
254+#{in degrees.}
255+rotation = 0
256+
257+use size=
258+
259+#F[Decorations;gtk-orientation-portrait]
260+frame_deco=
261+
262+#o+ Choose a decoration theme for this desklet :
263+#{Choose the 'personnal' one to define your own decorations below.}
264+decorations = default
265+
266+#v
267+sep_deco =
268+
269+#S+ Background image :
270+#{It's an image that will be displayed below the drawings, like a frame for exemple. Let empty to not use any.}
271+bg desklet =
272+#e+[0;1] Background tansparency :
273+bg alpha = 1
274+#i+[0;256] Left offset :
275+#{in pixels. Use this to adjust the left position of the drawings.}
276+left offset = 0
277+#i+[0;256] Top offset :
278+#{in pixels. Use this to adjust the top position of the drawings.}
279+top offset = 0
280+#i+[0;256] Right offset :
281+#{in pixels. Use this to adjust the right position of the drawings.}
282+right offset = 0
283+#i+[0;256] Bottom offset :
284+#{in pixels. Use this to adjust the bottom position of the drawings.}
285+bottom offset = 0
286+#S+ Foreground image :
287+#{It's an image that will be displayed above the drawings, like a reflect for exemple. Let empty to not use any.}
288+fg desklet =
289+#e+[0;1] Foreground tansparency :
290+fg alpha = 1
291+
292+
293+#[gtk-preferences]
294+[Configuration]
295+
296+#F[Languages;gtk-convert]
297+frame_lang =
298+
299+#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:
300+source = 16
301+#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:
302+destiny = 46
303+
304+#F[Shortkeys;gtk-italic]
305+frame_keys =
306+
307+#k- Shortkey to start translating from (read):
308+shortkey_from = <Control><Alt>r
309+
310+#k- Shortkey to start translating to (write):
311+shortkey_to = <Control><Alt>w
312
313=== modified file 'Translator/auto-load.conf'
314--- Translator/auto-load.conf 2011-05-19 23:57:32 +0000
315+++ Translator/auto-load.conf 2011-11-03 20:06:10 +0000
316@@ -1,16 +1,16 @@
317-[Register]
318-
319-# Author of the applet
320-author = Eduardo Mucelli Rezende Oliveira
321-
322-# A short description of the applet and how to use it.
323-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
324-
325-# Category of the applet : 2 = files, 3 = internet, 4 = Desktop, 5 = accessory, 6 = system, 7 = fun
326-category = 5
327-
328-# 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.
329-version = 0.2.2
330+[Register]
331+
332+# Author of the applet
333+author = Eduardo Mucelli Rezende Oliveira
334+
335+# A short description of the applet and how to use it.
336+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
337+
338+# Category of the applet : 2 = files, 3 = internet, 4 = Desktop, 5 = accessory, 6 = system, 7 = fun
339+category = 5
340+
341+# 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.
342+version = 0.2.1
343
344 # Whether the applet can be instanciated several times or not.
345 multi-instance = true

Subscribers

People subscribed via source and target branches