Merge lp://qastaging/~raof/do-plugins/plugins-i18n into lp://qastaging/do-plugins
- plugins-i18n
- Merge into trunk
Proposed by
Chris Halse Rogers
Status: | Merged |
---|---|
Merge reported by: | Chris Halse Rogers |
Merged at revision: | not available |
Proposed branch: | lp://qastaging/~raof/do-plugins/plugins-i18n |
Merge into: | lp://qastaging/do-plugins |
Diff against target: | None lines |
To merge this branch: | bzr merge lp://qastaging/~raof/do-plugins/plugins-i18n |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris S. | Approve | ||
Review via email: mp+7742@code.qastaging.launchpad.net |
Commit message
Use translations in plugins. Fixes bug #321748.
Description of the change
To post a comment you must log in.
Revision history for this message
Chris Halse Rogers (raof) wrote : | # |
Revision history for this message
Chris S. (cszikszoy) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'Alias/Alias.mdp' |
2 | --- Alias/Alias.mdp 2009-02-28 16:16:48 +0000 |
3 | +++ Alias/Alias.mdp 2009-06-22 01:49:55 +0000 |
4 | @@ -25,6 +25,5 @@ |
5 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
6 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
7 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
8 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
9 | </References> |
10 | -</Project> |
11 | \ No newline at end of file |
12 | +</Project> |
13 | |
14 | === modified file 'Alias/Makefile.am' |
15 | --- Alias/Makefile.am 2009-01-09 05:04:13 +0000 |
16 | +++ Alias/Makefile.am 2009-06-21 11:51:24 +0000 |
17 | @@ -14,6 +14,5 @@ |
18 | REFERENCES = \ |
19 | System \ |
20 | System.Core \ |
21 | - Mono.Posix \ |
22 | $(DO_PLATFORM_LIBS) \ |
23 | $(DO_UNIVERSE_LIBS) |
24 | |
25 | === renamed file 'Alias/Resources/Alias.addin.xml' => 'Alias/Resources/Alias.addin.xml.in' |
26 | --- Alias/Resources/Alias.addin.xml 2009-03-31 23:19:25 +0000 |
27 | +++ Alias/Resources/Alias.addin.xml.in 2009-06-21 11:51:24 +0000 |
28 | @@ -13,10 +13,12 @@ |
29 | <Import assembly="Alias.dll"/> |
30 | </Runtime> |
31 | |
32 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
33 | + |
34 | <Dependencies> |
35 | <Addin id="Universe" version="1.0" /> |
36 | </Dependencies> |
37 | - |
38 | + |
39 | <Extension path="/Do/ItemSource"> |
40 | <ItemSource type="Alias.AliasItemSource" /> |
41 | </Extension> |
42 | |
43 | === modified file 'Alias/src/AliasAction.cs' |
44 | --- Alias/src/AliasAction.cs 2008-12-31 23:40:35 +0000 |
45 | +++ Alias/src/AliasAction.cs 2009-06-21 08:59:18 +0000 |
46 | @@ -21,7 +21,7 @@ |
47 | using System; |
48 | using System.Linq; |
49 | using System.Collections.Generic; |
50 | -using Mono.Unix; |
51 | +using Mono.Addins; |
52 | |
53 | using Do.Universe; |
54 | using Do.Platform; |
55 | @@ -33,11 +33,11 @@ |
56 | { |
57 | |
58 | public override string Name { |
59 | - get { return Catalog.GetString ("Assign Alias..."); } |
60 | + get { return AddinManager.CurrentLocalizer.GetString ("Assign Alias..."); } |
61 | } |
62 | |
63 | public override string Description { |
64 | - get { return Catalog.GetString ("Give an item an alternate name."); } |
65 | + get { return AddinManager.CurrentLocalizer.GetString ("Give an item an alternate name."); } |
66 | } |
67 | |
68 | public override string Icon { |
69 | |
70 | === modified file 'Alias/src/AliasItemSource.cs' |
71 | --- Alias/src/AliasItemSource.cs 2009-06-17 02:06:45 +0000 |
72 | +++ Alias/src/AliasItemSource.cs 2009-06-21 08:59:18 +0000 |
73 | @@ -25,7 +25,7 @@ |
74 | using System.Runtime.Serialization; |
75 | using System.Runtime.Serialization.Formatters.Binary; |
76 | |
77 | -using Mono.Unix; |
78 | +using Mono.Addins; |
79 | |
80 | using Do.Universe; |
81 | using Do.Platform; |
82 | @@ -137,11 +137,11 @@ |
83 | } |
84 | |
85 | public override string Name { |
86 | - get { return Catalog.GetString ("Alias items"); } |
87 | + get { return AddinManager.CurrentLocalizer.GetString ("Alias items"); } |
88 | } |
89 | |
90 | public override string Description { |
91 | - get { return Catalog.GetString ("Aliased items from Do's universe."); } |
92 | + get { return AddinManager.CurrentLocalizer.GetString ("Aliased items from Do's universe."); } |
93 | } |
94 | |
95 | public override string Icon { |
96 | |
97 | === modified file 'Alias/src/DeleteAliasAction.cs' |
98 | --- Alias/src/DeleteAliasAction.cs 2008-12-31 23:40:35 +0000 |
99 | +++ Alias/src/DeleteAliasAction.cs 2009-06-21 08:59:18 +0000 |
100 | @@ -21,7 +21,7 @@ |
101 | using System.Linq; |
102 | using System.Collections.Generic; |
103 | |
104 | -using Mono.Unix; |
105 | +using Mono.Addins; |
106 | |
107 | using Do.Universe; |
108 | using Do.Platform; |
109 | @@ -31,13 +31,12 @@ |
110 | |
111 | class DeleteAliasAction : Act |
112 | { |
113 | - |
114 | public override string Name { |
115 | - get { return Catalog.GetString ("Delete Alias"); } |
116 | + get { return AddinManager.CurrentLocalizer.GetString ("Delete Alias"); } |
117 | } |
118 | |
119 | public override string Description { |
120 | - get { return Catalog.GetString ("Deletes an alias."); } |
121 | + get { return AddinManager.CurrentLocalizer.GetString ("Deletes an alias."); } |
122 | } |
123 | |
124 | public override string Icon { |
125 | |
126 | === modified file 'AptURL/AptURL.mdp' |
127 | --- AptURL/AptURL.mdp 2009-02-28 16:16:48 +0000 |
128 | +++ AptURL/AptURL.mdp 2009-06-22 01:49:55 +0000 |
129 | @@ -25,4 +25,4 @@ |
130 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
131 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
132 | </References> |
133 | -</Project> |
134 | \ No newline at end of file |
135 | +</Project> |
136 | |
137 | === renamed file 'AptURL/Resources/AptURL.addin.xml' => 'AptURL/Resources/AptURL.addin.xml.in' |
138 | --- AptURL/Resources/AptURL.addin.xml 2009-03-31 23:19:25 +0000 |
139 | +++ AptURL/Resources/AptURL.addin.xml.in 2009-06-21 11:51:24 +0000 |
140 | @@ -13,6 +13,8 @@ |
141 | <Import assembly="AptURL.dll"/> |
142 | </Runtime> |
143 | |
144 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
145 | + |
146 | <Dependencies> |
147 | <Addin id="Universe" version="1.0" /> |
148 | </Dependencies> |
149 | |
150 | === modified file 'Archive/Archive.mdp' |
151 | --- Archive/Archive.mdp 2009-02-28 16:16:48 +0000 |
152 | +++ Archive/Archive.mdp 2009-06-22 01:49:55 +0000 |
153 | @@ -23,8 +23,7 @@ |
154 | </Contents> |
155 | <References> |
156 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
157 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
158 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
159 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
160 | </References> |
161 | -</Project> |
162 | \ No newline at end of file |
163 | +</Project> |
164 | |
165 | === modified file 'Archive/Makefile.am' |
166 | --- Archive/Makefile.am 2009-01-09 05:04:13 +0000 |
167 | +++ Archive/Makefile.am 2009-06-21 11:51:24 +0000 |
168 | @@ -11,7 +11,6 @@ |
169 | Resources/Archive.addin.xml |
170 | |
171 | REFERENCES = \ |
172 | - Mono.Posix \ |
173 | System \ |
174 | System.Core \ |
175 | $(DO_UNIVERSE_LIBS) |
176 | |
177 | === renamed file 'Archive/Resources/Archive.addin.xml' => 'Archive/Resources/Archive.addin.xml.in' |
178 | --- Archive/Resources/Archive.addin.xml 2009-03-31 23:19:25 +0000 |
179 | +++ Archive/Resources/Archive.addin.xml.in 2009-06-21 11:51:24 +0000 |
180 | @@ -12,6 +12,8 @@ |
181 | <Runtime> |
182 | <Import assembly="Archive.dll"/> |
183 | </Runtime> |
184 | + |
185 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
186 | |
187 | <Dependencies> |
188 | <Addin id="Universe" version="1.0" /> |
189 | |
190 | === modified file 'Archive/src/CreateArchiveAction.cs' |
191 | --- Archive/src/CreateArchiveAction.cs 2008-12-21 23:44:34 +0000 |
192 | +++ Archive/src/CreateArchiveAction.cs 2009-06-21 11:51:24 +0000 |
193 | @@ -24,7 +24,7 @@ |
194 | using System.Diagnostics; |
195 | using System.Linq; |
196 | |
197 | -using Mono.Unix; |
198 | +using Mono.Addins; |
199 | using Do.Universe; |
200 | |
201 | namespace Archive { |
202 | @@ -38,11 +38,11 @@ |
203 | } |
204 | |
205 | public override string Name { |
206 | - get { return Catalog.GetString ("Create archive"); } |
207 | + get { return AddinManager.CurrentLocalizer.GetString ("Create archive"); } |
208 | } |
209 | |
210 | public override string Description { |
211 | - get { return Catalog.GetString ("Create an archive with the selected item"); } |
212 | + get { return AddinManager.CurrentLocalizer.GetString ("Create an archive with the selected item"); } |
213 | } |
214 | |
215 | public override string Icon { |
216 | |
217 | === modified file 'Archive/src/ExtractArchiveAction.cs' |
218 | --- Archive/src/ExtractArchiveAction.cs 2009-05-29 09:39:41 +0000 |
219 | +++ Archive/src/ExtractArchiveAction.cs 2009-06-21 11:51:24 +0000 |
220 | @@ -24,7 +24,7 @@ |
221 | using System.Diagnostics; |
222 | using System.Linq; |
223 | |
224 | -using Mono.Unix; |
225 | +using Mono.Addins; |
226 | using Do.Universe; |
227 | |
228 | namespace Archive { |
229 | @@ -37,11 +37,11 @@ |
230 | } |
231 | |
232 | public override string Name { |
233 | - get { return Catalog.GetString ("Extract archive"); } |
234 | + get { return AddinManager.CurrentLocalizer.GetString ("Extract archive"); } |
235 | } |
236 | |
237 | public override string Description { |
238 | - get { return Catalog.GetString ("Extract an archive to a given folder"); } |
239 | + get { return AddinManager.CurrentLocalizer.GetString ("Extract an archive to a given folder"); } |
240 | } |
241 | |
242 | public override string Icon { |
243 | |
244 | === modified file 'Banshee/Banshee.mdp' |
245 | --- Banshee/Banshee.mdp 2009-02-28 16:16:48 +0000 |
246 | +++ Banshee/Banshee.mdp 2009-06-22 01:49:55 +0000 |
247 | @@ -33,7 +33,6 @@ |
248 | </Contents> |
249 | <References> |
250 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
251 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
252 | <ProjectReference type="Gac" localcopy="True" refto="NDesk.DBus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f6716e4f9b2ed099" /> |
253 | <ProjectReference type="Gac" localcopy="True" refto="NDesk.DBus.GLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f6716e4f9b2ed099" /> |
254 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
255 | @@ -41,4 +40,4 @@ |
256 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
257 | </References> |
258 | <Deployment.LinuxDeployData scriptName="banshee-1" /> |
259 | -</Project> |
260 | \ No newline at end of file |
261 | +</Project> |
262 | |
263 | === modified file 'Banshee/Makefile.am' |
264 | --- Banshee/Makefile.am 2009-05-07 16:03:28 +0000 |
265 | +++ Banshee/Makefile.am 2009-06-21 11:51:24 +0000 |
266 | @@ -23,7 +23,6 @@ |
267 | Resources/Banshee.addin.xml |
268 | |
269 | REFERENCES = \ |
270 | - Mono.Posix \ |
271 | System \ |
272 | System.Core \ |
273 | $(BANSHEE_INDEXER_LIBS) \ |
274 | |
275 | === modified file 'Banshee/Resources/Banshee.addin.xml.in' |
276 | --- Banshee/Resources/Banshee.addin.xml.in 2009-05-18 06:45:46 +0000 |
277 | +++ Banshee/Resources/Banshee.addin.xml.in 2009-06-21 11:51:24 +0000 |
278 | @@ -11,8 +11,10 @@ |
279 | |
280 | <Runtime> |
281 | <Import assembly="Banshee.dll"/> |
282 | - <Import assembly="@BANSHEE_INDEXER_DLL@"/> |
283 | + <Import assembly="/usr/lib/banshee-1/Banshee.CollectionIndexer.dll"/> |
284 | </Runtime> |
285 | + |
286 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
287 | |
288 | <Dependencies> |
289 | <Addin id="Universe" version="1.0" /> |
290 | |
291 | === modified file 'Banshee/src/BansheeIndexer.cs' |
292 | --- Banshee/src/BansheeIndexer.cs 2009-01-23 07:31:12 +0000 |
293 | +++ Banshee/src/BansheeIndexer.cs 2009-06-21 11:51:24 +0000 |
294 | @@ -28,7 +28,7 @@ |
295 | |
296 | using Banshee.Collection.Indexer.RemoteHelper; |
297 | |
298 | -using Mono.Unix; |
299 | +using Mono.Addins; |
300 | |
301 | using Do.Platform; |
302 | using Do.Universe; |
303 | |
304 | === modified file 'Banshee/src/BrowseMediaItems.cs' |
305 | --- Banshee/src/BrowseMediaItems.cs 2009-01-22 03:02:27 +0000 |
306 | +++ Banshee/src/BrowseMediaItems.cs 2009-06-21 11:51:24 +0000 |
307 | @@ -21,7 +21,7 @@ |
308 | |
309 | using System; |
310 | |
311 | -using Mono.Unix; |
312 | +using Mono.Addins; |
313 | |
314 | using Do.Universe; |
315 | |
316 | @@ -53,8 +53,8 @@ |
317 | public class BrowseArtistMusicItem : BrowseMediaItem |
318 | { |
319 | public BrowseArtistMusicItem () : |
320 | - base (Catalog.GetString ("Browse Artists"), |
321 | - Catalog.GetString ("Browse Music by Artist")) |
322 | + base (AddinManager.CurrentLocalizer.GetString ("Browse Artists"), |
323 | + AddinManager.CurrentLocalizer.GetString ("Browse Music by Artist")) |
324 | { |
325 | } |
326 | |
327 | @@ -66,24 +66,24 @@ |
328 | public class BrowseAlbumsMusicItem : BrowseMediaItem |
329 | { |
330 | public BrowseAlbumsMusicItem () : |
331 | - base (Catalog.GetString ("Browse Albums"), |
332 | - Catalog.GetString ("Browse Music by Album")) |
333 | + base (AddinManager.CurrentLocalizer.GetString ("Browse Albums"), |
334 | + AddinManager.CurrentLocalizer.GetString ("Browse Music by Album")) |
335 | { |
336 | } |
337 | } |
338 | |
339 | public class BrowsePublisherPodcastItem : BrowseMediaItem |
340 | { |
341 | - public BrowsePublisherPodcastItem () : base (Catalog.GetString ("Browse Podcasts"), |
342 | - Catalog.GetString ("Browse Podcasts by Publisher")) |
343 | + public BrowsePublisherPodcastItem () : base (AddinManager.CurrentLocalizer.GetString ("Browse Podcasts"), |
344 | + AddinManager.CurrentLocalizer.GetString ("Browse Podcasts by Publisher")) |
345 | { |
346 | } |
347 | } |
348 | |
349 | public class BrowseVideoItem : BrowseMediaItem |
350 | { |
351 | - public BrowseVideoItem () : base (Catalog.GetString ("Browse Videos"), |
352 | - Catalog.GetString ("Browse All Videos")) |
353 | + public BrowseVideoItem () : base (AddinManager.CurrentLocalizer.GetString ("Browse Videos"), |
354 | + AddinManager.CurrentLocalizer.GetString ("Browse All Videos")) |
355 | { |
356 | } |
357 | } |
358 | |
359 | === modified file 'Banshee/src/EnqueueAction.cs' |
360 | --- Banshee/src/EnqueueAction.cs 2009-01-22 04:17:45 +0000 |
361 | +++ Banshee/src/EnqueueAction.cs 2009-06-21 11:51:24 +0000 |
362 | @@ -24,7 +24,7 @@ |
363 | using System.Threading; |
364 | using System.Collections.Generic; |
365 | |
366 | -using Mono.Unix; |
367 | +using Mono.Addins; |
368 | |
369 | using Do.Platform; |
370 | using Do.Universe; |
371 | @@ -34,11 +34,11 @@ |
372 | public class EnqueueAction : Act |
373 | { |
374 | public override string Name { |
375 | - get { return Catalog.GetString ("Add to Play Queue"); } |
376 | + get { return AddinManager.CurrentLocalizer.GetString ("Add to Play Queue"); } |
377 | } |
378 | |
379 | public override string Description { |
380 | - get { return Catalog.GetString ("Add media to play queue"); } |
381 | + get { return AddinManager.CurrentLocalizer.GetString ("Add media to play queue"); } |
382 | } |
383 | |
384 | public override string Icon { |
385 | |
386 | === modified file 'Banshee/src/MediaItemSource.cs' |
387 | --- Banshee/src/MediaItemSource.cs 2009-01-23 04:17:06 +0000 |
388 | +++ Banshee/src/MediaItemSource.cs 2009-06-21 11:51:24 +0000 |
389 | @@ -22,7 +22,7 @@ |
390 | using System; |
391 | using System.Collections.Generic; |
392 | |
393 | -using Mono.Unix; |
394 | +using Mono.Addins; |
395 | |
396 | using Do.Platform; |
397 | using Do.Universe; |
398 | @@ -43,11 +43,11 @@ |
399 | } |
400 | |
401 | public override string Name { |
402 | - get { return Catalog.GetString ("Banshee Media"); } |
403 | + get { return AddinManager.CurrentLocalizer.GetString ("Banshee Media"); } |
404 | } |
405 | |
406 | public override string Description { |
407 | - get { return Catalog.GetString ("Indexes Media from Banshee Media Player"); } |
408 | + get { return AddinManager.CurrentLocalizer.GetString ("Indexes Media from Banshee Media Player"); } |
409 | } |
410 | |
411 | public override string Icon { |
412 | |
413 | === modified file 'Banshee/src/MediaItems.cs' |
414 | --- Banshee/src/MediaItems.cs 2009-01-22 04:17:45 +0000 |
415 | +++ Banshee/src/MediaItems.cs 2009-06-21 11:51:24 +0000 |
416 | @@ -21,7 +21,7 @@ |
417 | using System; |
418 | using Do.Universe; |
419 | |
420 | -using Mono.Unix; |
421 | +using Mono.Addins; |
422 | |
423 | namespace Banshee |
424 | { |
425 | @@ -188,7 +188,7 @@ |
426 | |
427 | public override string Description { |
428 | get { return string.Format ("{0} {1} {2}", |
429 | - Catalog.GetString ("All Music by"), artist, Year); } |
430 | + AddinManager.CurrentLocalizer.GetString ("All Music by"), artist, Year); } |
431 | } |
432 | |
433 | public override string Icon { |
434 | |
435 | === modified file 'Banshee/src/NextAction.cs' |
436 | --- Banshee/src/NextAction.cs 2009-01-22 03:02:27 +0000 |
437 | +++ Banshee/src/NextAction.cs 2009-06-21 11:51:24 +0000 |
438 | @@ -20,7 +20,7 @@ |
439 | |
440 | using System; |
441 | |
442 | -using Mono.Unix; |
443 | +using Mono.Addins; |
444 | |
445 | using Do.Universe; |
446 | |
447 | @@ -29,11 +29,11 @@ |
448 | public class NextAction : AbstractPlayerAction |
449 | { |
450 | public override string Name { |
451 | - get { return Catalog.GetString ("Next"); } |
452 | + get { return AddinManager.CurrentLocalizer.GetString ("Next"); } |
453 | } |
454 | |
455 | public override string Description { |
456 | - get { return Catalog.GetString ("Play next track"); } |
457 | + get { return AddinManager.CurrentLocalizer.GetString ("Play next track"); } |
458 | } |
459 | |
460 | public override string Icon { |
461 | |
462 | === modified file 'Banshee/src/PauseAction.cs' |
463 | --- Banshee/src/PauseAction.cs 2009-02-27 06:17:30 +0000 |
464 | +++ Banshee/src/PauseAction.cs 2009-06-21 11:51:24 +0000 |
465 | @@ -20,7 +20,7 @@ |
466 | |
467 | using System; |
468 | |
469 | -using Mono.Unix; |
470 | +using Mono.Addins; |
471 | |
472 | using Do.Platform; |
473 | using Do.Universe; |
474 | @@ -30,11 +30,11 @@ |
475 | public class PauseAction : AbstractPlayerAction |
476 | { |
477 | public override string Name { |
478 | - get { return Catalog.GetString ("Pause"); } |
479 | + get { return AddinManager.CurrentLocalizer.GetString ("Pause"); } |
480 | } |
481 | |
482 | public override string Description { |
483 | - get { return Catalog.GetString ("Pause playing track"); } |
484 | + get { return AddinManager.CurrentLocalizer.GetString ("Pause playing track"); } |
485 | } |
486 | |
487 | public override string Icon { |
488 | |
489 | === modified file 'Banshee/src/PlayAction.cs' |
490 | --- Banshee/src/PlayAction.cs 2009-03-01 17:35:43 +0000 |
491 | +++ Banshee/src/PlayAction.cs 2009-06-21 11:51:24 +0000 |
492 | @@ -23,7 +23,7 @@ |
493 | using System.Linq; |
494 | using System.Collections.Generic; |
495 | |
496 | -using Mono.Unix; |
497 | +using Mono.Addins; |
498 | |
499 | using Do.Universe; |
500 | |
501 | @@ -32,11 +32,11 @@ |
502 | public class PlayAction : AbstractPlayerAction |
503 | { |
504 | public override string Name { |
505 | - get { return Catalog.GetString ("Play"); } |
506 | + get { return AddinManager.CurrentLocalizer.GetString ("Play"); } |
507 | } |
508 | |
509 | public override string Description { |
510 | - get { return Catalog.GetString ("Play from your Banshee Collection"); } |
511 | + get { return AddinManager.CurrentLocalizer.GetString ("Play from your Banshee Collection"); } |
512 | } |
513 | |
514 | public override string Icon { |
515 | |
516 | === modified file 'Banshee/src/PreviousAction.cs' |
517 | --- Banshee/src/PreviousAction.cs 2009-01-22 03:02:27 +0000 |
518 | +++ Banshee/src/PreviousAction.cs 2009-06-21 11:51:24 +0000 |
519 | @@ -20,7 +20,7 @@ |
520 | |
521 | using System; |
522 | |
523 | -using Mono.Unix; |
524 | +using Mono.Addins; |
525 | |
526 | using Do.Universe; |
527 | |
528 | @@ -29,11 +29,11 @@ |
529 | public class PreviousAction : AbstractPlayerAction |
530 | { |
531 | public override string Name { |
532 | - get { return Catalog.GetString ("Previous"); } |
533 | + get { return AddinManager.CurrentLocalizer.GetString ("Previous"); } |
534 | } |
535 | |
536 | public override string Description { |
537 | - get { return Catalog.GetString ("Play previous track"); } |
538 | + get { return AddinManager.CurrentLocalizer.GetString ("Play previous track"); } |
539 | } |
540 | |
541 | public override string Icon { |
542 | |
543 | === modified file 'Banshee/src/SearchCollectionAction.cs' |
544 | --- Banshee/src/SearchCollectionAction.cs 2009-01-23 04:17:06 +0000 |
545 | +++ Banshee/src/SearchCollectionAction.cs 2009-06-21 11:51:24 +0000 |
546 | @@ -23,7 +23,7 @@ |
547 | using System.Linq; |
548 | using System.Collections.Generic; |
549 | |
550 | -using Mono.Unix; |
551 | +using Mono.Addins; |
552 | |
553 | using Do.Platform; |
554 | using Do.Universe; |
555 | @@ -33,11 +33,11 @@ |
556 | public class SearchCollectionAction : Act |
557 | { |
558 | public override string Name { |
559 | - get { return Catalog.GetString ("Search Banshee Media"); } |
560 | + get { return AddinManager.CurrentLocalizer.GetString ("Search Banshee Media"); } |
561 | } |
562 | |
563 | public override string Description { |
564 | - get { return Catalog.GetString ("Search your entire Banshee collection"); } |
565 | + get { return AddinManager.CurrentLocalizer.GetString ("Search your entire Banshee collection"); } |
566 | } |
567 | |
568 | public override string Icon { |
569 | |
570 | === modified file 'Bibtex/Bibtex.mdp' |
571 | --- Bibtex/Bibtex.mdp 2009-02-28 16:16:48 +0000 |
572 | +++ Bibtex/Bibtex.mdp 2009-06-22 01:49:55 +0000 |
573 | @@ -30,10 +30,9 @@ |
574 | <References> |
575 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
576 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
577 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
578 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
579 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
580 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform.Linux, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
581 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
582 | </References> |
583 | -</Project> |
584 | \ No newline at end of file |
585 | +</Project> |
586 | |
587 | === modified file 'Bibtex/Makefile.am' |
588 | --- Bibtex/Makefile.am 2009-02-04 02:36:34 +0000 |
589 | +++ Bibtex/Makefile.am 2009-06-22 01:49:05 +0000 |
590 | @@ -17,7 +17,6 @@ |
591 | gtk-gui/objects.xml |
592 | |
593 | REFERENCES = \ |
594 | - Mono.Posix \ |
595 | System \ |
596 | System.Core \ |
597 | $(GTK_SHARP_20_LIBS) \ |
598 | |
599 | === renamed file 'Bibtex/Resources/Bibtex.addin.xml' => 'Bibtex/Resources/Bibtex.addin.xml.in' |
600 | --- Bibtex/Resources/Bibtex.addin.xml 2009-03-31 23:19:25 +0000 |
601 | +++ Bibtex/Resources/Bibtex.addin.xml.in 2009-06-21 11:51:24 +0000 |
602 | @@ -13,6 +13,8 @@ |
603 | <Import assembly="Bibtex.dll"/> |
604 | </Runtime> |
605 | |
606 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
607 | + |
608 | <Dependencies> |
609 | <Addin id="Universe" version="1.0" /> |
610 | </Dependencies> |
611 | |
612 | === modified file 'Bibtex/gtk-gui/Bibtex.Configuration.cs' |
613 | --- Bibtex/gtk-gui/Bibtex.Configuration.cs 2009-01-22 12:54:17 +0000 |
614 | +++ Bibtex/gtk-gui/Bibtex.Configuration.cs 2009-06-22 01:49:05 +0000 |
615 | @@ -41,13 +41,13 @@ |
616 | // Container child table1.Gtk.Table+TableChild |
617 | this.bibtexFileLabel = new Gtk.Label(); |
618 | this.bibtexFileLabel.Name = "bibtexFileLabel"; |
619 | - this.bibtexFileLabel.LabelProp = Mono.Unix.Catalog.GetString("Choose BibTeX file"); |
620 | + this.bibtexFileLabel.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Choose BibTeX file"); |
621 | this.table1.Add(this.bibtexFileLabel); |
622 | Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.bibtexFileLabel])); |
623 | w1.XOptions = ((Gtk.AttachOptions)(4)); |
624 | w1.YOptions = ((Gtk.AttachOptions)(4)); |
625 | // Container child table1.Gtk.Table+TableChild |
626 | - this.chooseBibtexFileButton = new Gtk.FileChooserButton(Mono.Unix.Catalog.GetString("Select A File"), ((Gtk.FileChooserAction)(0))); |
627 | + this.chooseBibtexFileButton = new Gtk.FileChooserButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Select A File"), ((Gtk.FileChooserAction)(0))); |
628 | this.chooseBibtexFileButton.Name = "chooseBibtexFileButton"; |
629 | this.table1.Add(this.chooseBibtexFileButton); |
630 | Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.chooseBibtexFileButton])); |
631 | @@ -55,7 +55,7 @@ |
632 | w2.RightAttach = ((uint)(2)); |
633 | w2.YOptions = ((Gtk.AttachOptions)(4)); |
634 | // Container child table1.Gtk.Table+TableChild |
635 | - this.chooseDocsFolderButton = new Gtk.FileChooserButton(Mono.Unix.Catalog.GetString("Select your documents folder"), ((Gtk.FileChooserAction)(2))); |
636 | + this.chooseDocsFolderButton = new Gtk.FileChooserButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Select your documents folder"), ((Gtk.FileChooserAction)(2))); |
637 | this.chooseDocsFolderButton.Name = "chooseDocsFolderButton"; |
638 | this.table1.Add(this.chooseDocsFolderButton); |
639 | Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.chooseDocsFolderButton])); |
640 | @@ -67,7 +67,7 @@ |
641 | // Container child table1.Gtk.Table+TableChild |
642 | this.docFolderLable = new Gtk.Label(); |
643 | this.docFolderLable.Name = "docFolderLable"; |
644 | - this.docFolderLable.LabelProp = Mono.Unix.Catalog.GetString("Choose documents folder"); |
645 | + this.docFolderLable.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Choose documents folder"); |
646 | this.table1.Add(this.docFolderLable); |
647 | Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.docFolderLable])); |
648 | w4.TopAttach = ((uint)(1)); |
649 | |
650 | === modified file 'Bibtex/gtk-gui/gui.stetic' |
651 | --- Bibtex/gtk-gui/gui.stetic 2009-01-22 12:54:17 +0000 |
652 | +++ Bibtex/gtk-gui/gui.stetic 2009-06-22 01:49:05 +0000 |
653 | @@ -2,8 +2,12 @@ |
654 | <stetic-interface> |
655 | <configuration> |
656 | <images-root-path>..</images-root-path> |
657 | - <target-gtk-version>2.12.1</target-gtk-version> |
658 | + <target-gtk-version>2.12.9</target-gtk-version> |
659 | </configuration> |
660 | + <import> |
661 | + <widget-library name="Do.Platform.Linux, Version=0.9.0.0, Culture=neutral" /> |
662 | + <widget-library name="../bin/Debug/Bibtex.dll" internal="true" /> |
663 | + </import> |
664 | <widget class="Gtk.Bin" id="Bibtex.Configuration" design-size="375 300"> |
665 | <property name="MemberName" /> |
666 | <child> |
667 | @@ -97,4 +101,4 @@ |
668 | </widget> |
669 | </child> |
670 | </widget> |
671 | -</stetic-interface> |
672 | +</stetic-interface> |
673 | \ No newline at end of file |
674 | |
675 | === modified file 'Bibtex/gtk-gui/objects.xml' |
676 | --- Bibtex/gtk-gui/objects.xml 2008-12-29 18:23:07 +0000 |
677 | +++ Bibtex/gtk-gui/objects.xml 2009-06-22 01:49:05 +0000 |
678 | @@ -1,5 +1,5 @@ |
679 | <objects attr-sync="on"> |
680 | - <object type="Do.Addins.Bibtex.Configuration" palette-category="Bibtex" allow-children="false" base-type="Gtk.Bin"> |
681 | + <object type="Bibtex.Configuration" palette-category="Bibtex" allow-children="false" base-type="Gtk.Bin"> |
682 | <itemgroups> |
683 | <itemgroup label="Configuration Properties"> |
684 | <property name="BibtexFilePath" /> |
685 | |
686 | === modified file 'Cl.ickable/Cl.ickable.mdp' |
687 | --- Cl.ickable/Cl.ickable.mdp 2009-02-28 16:16:48 +0000 |
688 | +++ Cl.ickable/Cl.ickable.mdp 2009-06-22 01:49:55 +0000 |
689 | @@ -23,10 +23,9 @@ |
690 | </Contents> |
691 | <References> |
692 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
693 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
694 | <ProjectReference type="Gac" localcopy="True" refto="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
695 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
696 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
697 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
698 | </References> |
699 | -</Project> |
700 | \ No newline at end of file |
701 | +</Project> |
702 | |
703 | === modified file 'Cl.ickable/Makefile.am' |
704 | --- Cl.ickable/Makefile.am 2009-01-09 05:04:13 +0000 |
705 | +++ Cl.ickable/Makefile.am 2009-06-21 11:51:24 +0000 |
706 | @@ -11,7 +11,6 @@ |
707 | Resources/Cl.ickable.addin.xml |
708 | |
709 | REFERENCES = \ |
710 | - Mono.Posix \ |
711 | System \ |
712 | System.Core \ |
713 | System.Web \ |
714 | |
715 | === renamed file 'Cl.ickable/Resources/Cl.ickable.addin.xml' => 'Cl.ickable/Resources/Cl.ickable.addin.xml.in' |
716 | --- Cl.ickable/Resources/Cl.ickable.addin.xml 2009-03-31 23:19:25 +0000 |
717 | +++ Cl.ickable/Resources/Cl.ickable.addin.xml.in 2009-06-21 11:51:24 +0000 |
718 | @@ -12,6 +12,8 @@ |
719 | <Runtime> |
720 | <Import assembly="Cl.ickable.dll"/> |
721 | </Runtime> |
722 | + |
723 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
724 | |
725 | <Dependencies> |
726 | <Addin id="Universe" version="1.0" /> |
727 | |
728 | === modified file 'Cl.ickable/src/ClickableItemSource.cs' |
729 | --- Cl.ickable/src/ClickableItemSource.cs 2008-12-21 23:44:34 +0000 |
730 | +++ Cl.ickable/src/ClickableItemSource.cs 2009-06-21 11:51:24 +0000 |
731 | @@ -18,7 +18,7 @@ |
732 | |
733 | using System; |
734 | using System.Collections.Generic; |
735 | -using Mono.Unix; |
736 | +using Mono.Addins; |
737 | |
738 | using Do.Universe; |
739 | |
740 | @@ -28,11 +28,11 @@ |
741 | { |
742 | |
743 | public override string Name { |
744 | - get { return Catalog.GetString ("Cl.ickable Items"); } |
745 | + get { return AddinManager.CurrentLocalizer.GetString ("Cl.ickable Items"); } |
746 | } |
747 | |
748 | public override string Description { |
749 | - get { return Catalog.GetString ("Usefull Cl.ickable Items"); } |
750 | + get { return AddinManager.CurrentLocalizer.GetString ("Usefull Cl.ickable Items"); } |
751 | } |
752 | |
753 | public override string Icon { |
754 | |
755 | === modified file 'Cl.ickable/src/ClipAction.cs' |
756 | --- Cl.ickable/src/ClipAction.cs 2009-01-15 17:55:40 +0000 |
757 | +++ Cl.ickable/src/ClipAction.cs 2009-06-21 11:51:24 +0000 |
758 | @@ -21,7 +21,7 @@ |
759 | using System.Linq; |
760 | using System.Collections.Generic; |
761 | |
762 | -using Mono.Unix; |
763 | +using Mono.Addins; |
764 | |
765 | using Do.Platform; |
766 | using Do.Universe; |
767 | @@ -35,11 +35,11 @@ |
768 | const string ClipPostURL = "http://cl.ickable.com/cgi-bin/SaveClip.cgi"; |
769 | |
770 | public override string Name { |
771 | - get { return Catalog.GetString ("Clip"); } |
772 | + get { return AddinManager.CurrentLocalizer.GetString ("Clip"); } |
773 | } |
774 | |
775 | public override string Description { |
776 | - get { return Catalog.GetString ("Create a clip with Cl.ickable"); } |
777 | + get { return AddinManager.CurrentLocalizer.GetString ("Create a clip with Cl.ickable"); } |
778 | } |
779 | |
780 | public override string Icon { |
781 | |
782 | === modified file 'Cl.ickable/src/WebClipsItem.cs' |
783 | --- Cl.ickable/src/WebClipsItem.cs 2008-12-21 23:44:34 +0000 |
784 | +++ Cl.ickable/src/WebClipsItem.cs 2009-06-21 11:51:24 +0000 |
785 | @@ -17,7 +17,7 @@ |
786 | // |
787 | |
788 | using System; |
789 | -using Mono.Unix; |
790 | +using Mono.Addins; |
791 | |
792 | using Do.Platform; |
793 | using Do.Universe; |
794 | @@ -29,11 +29,11 @@ |
795 | const string WebClipsURL = "http://cl.ickable.com/clips/"; |
796 | |
797 | public override string Name { |
798 | - get { return Catalog.GetString ("Cl.ickable Clips"); } |
799 | + get { return AddinManager.CurrentLocalizer.GetString ("Cl.ickable Clips"); } |
800 | } |
801 | |
802 | public override string Description { |
803 | - get { return Catalog.GetString ("Opens your cl.ickable clips"); } |
804 | + get { return AddinManager.CurrentLocalizer.GetString ("Opens your cl.ickable clips"); } |
805 | } |
806 | |
807 | public override string Icon { |
808 | |
809 | === modified file 'ClawsMail/ClawsMail.mdp' |
810 | --- ClawsMail/ClawsMail.mdp 2009-02-28 16:16:48 +0000 |
811 | +++ ClawsMail/ClawsMail.mdp 2009-06-22 01:49:55 +0000 |
812 | @@ -23,9 +23,8 @@ |
813 | <References> |
814 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
815 | <ProjectReference type="Gac" localcopy="True" refto="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
816 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
817 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
818 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
819 | </References> |
820 | <Deployment.LinuxDeployData scriptName="sylpheed-claws-address" /> |
821 | -</Project> |
822 | \ No newline at end of file |
823 | +</Project> |
824 | |
825 | === modified file 'ClawsMail/Makefile.am' |
826 | --- ClawsMail/Makefile.am 2009-01-09 07:25:58 +0000 |
827 | +++ ClawsMail/Makefile.am 2009-06-21 11:51:24 +0000 |
828 | @@ -14,6 +14,5 @@ |
829 | System \ |
830 | System.Xml \ |
831 | System.Core \ |
832 | - Mono.Posix \ |
833 | $(DO_PLATFORM_LIBS) \ |
834 | $(DO_UNIVERSE_LIBS) |
835 | |
836 | === renamed file 'ClawsMail/Resources/ClawsMail.addin.xml' => 'ClawsMail/Resources/ClawsMail.addin.xml.in' |
837 | --- ClawsMail/Resources/ClawsMail.addin.xml 2009-03-31 23:19:25 +0000 |
838 | +++ ClawsMail/Resources/ClawsMail.addin.xml.in 2009-06-21 11:51:24 +0000 |
839 | @@ -13,6 +13,8 @@ |
840 | <Import assembly="ClawsMail.dll"/> |
841 | </Runtime> |
842 | |
843 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
844 | + |
845 | <Dependencies> |
846 | <Addin id="Universe" version="1.0" /> |
847 | </Dependencies> |
848 | |
849 | === modified file 'ClawsMail/src/ClawsContactDetailItem.cs' |
850 | --- ClawsMail/src/ClawsContactDetailItem.cs 2009-01-07 04:28:04 +0000 |
851 | +++ ClawsMail/src/ClawsContactDetailItem.cs 2009-06-21 11:51:24 +0000 |
852 | @@ -19,7 +19,7 @@ |
853 | */ |
854 | |
855 | using System; |
856 | -using Mono.Unix; |
857 | +using Mono.Addins; |
858 | using Do.Universe; |
859 | |
860 | namespace Claws { |
861 | @@ -68,18 +68,18 @@ |
862 | |
863 | string remark = type.Substring (type.LastIndexOf (".") + 1); |
864 | if (type.StartsWith (ClawsContactsItemSource.ClawsPrimaryEmailPrefix)) { |
865 | - name = Catalog.GetString ("Primary Email") + " " + remark; |
866 | + name = AddinManager.CurrentLocalizer.GetString ("Primary Email") + " " + remark; |
867 | } else { |
868 | if (remark.Length > 0) { |
869 | - name = Catalog.GetString ("Email") + " " + remark; |
870 | + name = AddinManager.CurrentLocalizer.GetString ("Email") + " " + remark; |
871 | } else { |
872 | - name = Catalog.GetString ("Other email"); |
873 | + name = AddinManager.CurrentLocalizer.GetString ("Other email"); |
874 | } |
875 | } |
876 | |
877 | } else { |
878 | icon = IconForOthers; |
879 | - name = Catalog.GetString ("Other"); |
880 | + name = AddinManager.CurrentLocalizer.GetString ("Other"); |
881 | } |
882 | } |
883 | |
884 | |
885 | === modified file 'ClawsMail/src/ClawsContactsItemSource.cs' |
886 | --- ClawsMail/src/ClawsContactsItemSource.cs 2009-01-07 04:28:04 +0000 |
887 | +++ ClawsMail/src/ClawsContactsItemSource.cs 2009-06-21 11:51:24 +0000 |
888 | @@ -23,7 +23,7 @@ |
889 | using System.IO; |
890 | using System.Collections.Generic; |
891 | using System.Xml; |
892 | -using Mono.Unix; |
893 | +using Mono.Addins; |
894 | using Do.Universe; |
895 | using Do.Platform; |
896 | |
897 | @@ -50,11 +50,11 @@ |
898 | #region std properties |
899 | |
900 | public override string Name { |
901 | - get { return Catalog.GetString ("ClawsMail contacts"); } |
902 | + get { return AddinManager.CurrentLocalizer.GetString ("ClawsMail contacts"); } |
903 | } |
904 | |
905 | public override string Description { |
906 | - get { return Catalog.GetString ("Contacts in ClawsMail address book"); } |
907 | + get { return AddinManager.CurrentLocalizer.GetString ("Contacts in ClawsMail address book"); } |
908 | } |
909 | |
910 | public override string Icon { |
911 | |
912 | === modified file 'Confluence/Confluence.mdp' |
913 | --- Confluence/Confluence.mdp 2009-02-28 16:16:48 +0000 |
914 | +++ Confluence/Confluence.mdp 2009-06-22 01:49:55 +0000 |
915 | @@ -30,7 +30,6 @@ |
916 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
917 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
918 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
919 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
920 | <ProjectReference type="Gac" localcopy="True" refto="gconf-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
921 | <ProjectReference type="Gac" localcopy="True" refto="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
922 | <ProjectReference type="Gac" localcopy="True" refto="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
923 | @@ -40,4 +39,4 @@ |
924 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
925 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform.Linux, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
926 | </References> |
927 | -</Project> |
928 | \ No newline at end of file |
929 | +</Project> |
930 | |
931 | === modified file 'Confluence/Makefile.am' |
932 | --- Confluence/Makefile.am 2009-01-09 07:45:01 +0000 |
933 | +++ Confluence/Makefile.am 2009-06-22 01:49:05 +0000 |
934 | @@ -17,7 +17,6 @@ |
935 | gtk-gui/objects.xml |
936 | |
937 | REFERENCES = \ |
938 | - Mono.Posix \ |
939 | System \ |
940 | System.Core \ |
941 | System.Web \ |
942 | |
943 | === renamed file 'Confluence/Resources/Confluence.addin.xml' => 'Confluence/Resources/Confluence.addin.xml.in' |
944 | --- Confluence/Resources/Confluence.addin.xml 2009-03-31 23:19:25 +0000 |
945 | +++ Confluence/Resources/Confluence.addin.xml.in 2009-06-21 11:51:24 +0000 |
946 | @@ -13,6 +13,8 @@ |
947 | <Import assembly="Confluence.dll"/> |
948 | </Runtime> |
949 | |
950 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
951 | + |
952 | <Dependencies> |
953 | <Addin id="Universe" version="1.0" /> |
954 | </Dependencies> |
955 | |
956 | === modified file 'Confluence/gtk-gui/Confluence.ConfluenceConfigWidget.cs' |
957 | --- Confluence/gtk-gui/Confluence.ConfluenceConfigWidget.cs 2009-01-05 01:32:46 +0000 |
958 | +++ Confluence/gtk-gui/Confluence.ConfluenceConfigWidget.cs 2009-06-22 01:49:05 +0000 |
959 | @@ -51,7 +51,7 @@ |
960 | w1.SetTip(this._entryBaseUrl, "The base url location to your Confluence install. ie. http://opensource.atlassian.com/confluence/spring", "The base url location to your Confluence install. ie. http://opensource.atlassian.com/confluence/spring"); |
961 | this._entryBaseUrl.CanFocus = true; |
962 | this._entryBaseUrl.Name = "_entryBaseUrl"; |
963 | - this._entryBaseUrl.Text = Mono.Unix.Catalog.GetString("http://opensource.atlassian.com/confluence/spring"); |
964 | + this._entryBaseUrl.Text = Mono.Addins.AddinManager.CurrentLocalizer.GetString("http://opensource.atlassian.com/confluence/spring"); |
965 | this._entryBaseUrl.IsEditable = true; |
966 | this._entryBaseUrl.WidthChars = 40; |
967 | this._entryBaseUrl.InvisibleChar = '●'; |
968 | @@ -94,7 +94,7 @@ |
969 | this._entryUsername = new Gtk.Entry(); |
970 | this._entryUsername.CanFocus = true; |
971 | this._entryUsername.Name = "_entryUsername"; |
972 | - this._entryUsername.Text = Mono.Unix.Catalog.GetString("username1"); |
973 | + this._entryUsername.Text = Mono.Addins.AddinManager.CurrentLocalizer.GetString("username1"); |
974 | this._entryUsername.IsEditable = true; |
975 | this._entryUsername.InvisibleChar = '●'; |
976 | this.table1.Add(this._entryUsername); |
977 | |
978 | === modified file 'Confluence/gtk-gui/gui.stetic' |
979 | --- Confluence/gtk-gui/gui.stetic 2009-01-09 07:25:58 +0000 |
980 | +++ Confluence/gtk-gui/gui.stetic 2009-06-22 01:49:05 +0000 |
981 | @@ -2,7 +2,7 @@ |
982 | <stetic-interface> |
983 | <configuration> |
984 | <images-root-path>..</images-root-path> |
985 | - <target-gtk-version>2.12</target-gtk-version> |
986 | + <target-gtk-version>2.12.9</target-gtk-version> |
987 | </configuration> |
988 | <import> |
989 | <widget-library name="../bin/Debug/Confluence.dll" internal="true" /> |
990 | |
991 | === modified file 'Confluence/src/ConfluenceSearchAction.cs' |
992 | --- Confluence/src/ConfluenceSearchAction.cs 2008-12-24 04:37:17 +0000 |
993 | +++ Confluence/src/ConfluenceSearchAction.cs 2009-06-21 11:51:24 +0000 |
994 | @@ -21,7 +21,7 @@ |
995 | using System.Collections.Generic; |
996 | using Do.Universe; |
997 | using Do.Platform.Linux; |
998 | -using Mono.Unix; |
999 | +using Mono.Addins; |
1000 | |
1001 | |
1002 | /// <summary> |
1003 | @@ -82,7 +82,7 @@ |
1004 | /// </value> |
1005 | public override string Name |
1006 | { |
1007 | - get { return Catalog.GetString ("Search Confluence"); } |
1008 | + get { return AddinManager.CurrentLocalizer.GetString ("Search Confluence"); } |
1009 | } |
1010 | |
1011 | /// <value> |
1012 | @@ -90,7 +90,7 @@ |
1013 | /// </value> |
1014 | public override string Description |
1015 | { |
1016 | - get { return Catalog.GetString ("Searches Confluence and returns results to Do"); } |
1017 | + get { return AddinManager.CurrentLocalizer.GetString ("Searches Confluence and returns results to Do"); } |
1018 | } |
1019 | |
1020 | /// <value> |
1021 | |
1022 | === modified file 'Del.icio.us/Makefile.am' |
1023 | --- Del.icio.us/Makefile.am 2009-01-16 01:25:56 +0000 |
1024 | +++ Del.icio.us/Makefile.am 2009-06-21 11:51:24 +0000 |
1025 | @@ -17,7 +17,6 @@ |
1026 | Resources/icons/delicious.png |
1027 | |
1028 | REFERENCES = \ |
1029 | - Mono.Posix \ |
1030 | System \ |
1031 | System.Core \ |
1032 | System.Web \ |
1033 | |
1034 | === renamed file 'Del.icio.us/Resources/delicious.addin.xml' => 'Del.icio.us/Resources/delicious.addin.xml.in' |
1035 | --- Del.icio.us/Resources/delicious.addin.xml 2009-03-31 23:19:25 +0000 |
1036 | +++ Del.icio.us/Resources/delicious.addin.xml.in 2009-06-21 11:51:24 +0000 |
1037 | @@ -12,6 +12,8 @@ |
1038 | <Runtime> |
1039 | <Import assembly="del.icio.us.dll"/> |
1040 | </Runtime> |
1041 | + |
1042 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
1043 | |
1044 | <Dependencies> |
1045 | <Addin id="Universe" version="1.0" /> |
1046 | |
1047 | === modified file 'Del.icio.us/del.icio.us.mdp' |
1048 | --- Del.icio.us/del.icio.us.mdp 2009-02-28 16:16:48 +0000 |
1049 | +++ Del.icio.us/del.icio.us.mdp 2009-06-22 01:49:55 +0000 |
1050 | @@ -30,7 +30,6 @@ |
1051 | <References> |
1052 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1053 | <ProjectReference type="Gac" localcopy="True" refto="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1054 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
1055 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
1056 | <ProjectReference type="Gac" localcopy="True" refto="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
1057 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1058 | @@ -38,4 +37,4 @@ |
1059 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
1060 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform.Linux, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
1061 | </References> |
1062 | -</Project> |
1063 | \ No newline at end of file |
1064 | +</Project> |
1065 | |
1066 | === modified file 'Del.icio.us/src/BookmarksItemSource.cs' |
1067 | --- Del.icio.us/src/BookmarksItemSource.cs 2009-05-29 09:39:41 +0000 |
1068 | +++ Del.icio.us/src/BookmarksItemSource.cs 2009-06-21 11:51:24 +0000 |
1069 | @@ -27,18 +27,18 @@ |
1070 | |
1071 | using Do.Platform.Linux; |
1072 | |
1073 | -using Mono.Unix; |
1074 | +using Mono.Addins; |
1075 | |
1076 | namespace Delicious |
1077 | { |
1078 | public class BookmarksItemSource : ItemSource, IConfigurable |
1079 | { |
1080 | public override string Name { |
1081 | - get { return Catalog.GetString ("Del.icio.us bookmarks"); } |
1082 | + get { return AddinManager.CurrentLocalizer.GetString ("Del.icio.us bookmarks"); } |
1083 | } |
1084 | |
1085 | public override string Description { |
1086 | - get { return Catalog.GetString ("Indexes your del.icio.us bookmarks"); } |
1087 | + get { return AddinManager.CurrentLocalizer.GetString ("Indexes your del.icio.us bookmarks"); } |
1088 | } |
1089 | |
1090 | public override string Icon { |
1091 | |
1092 | === modified file 'Del.icio.us/src/NewBookmarkAction.cs' |
1093 | --- Del.icio.us/src/NewBookmarkAction.cs 2009-05-29 09:39:41 +0000 |
1094 | +++ Del.icio.us/src/NewBookmarkAction.cs 2009-06-21 11:51:24 +0000 |
1095 | @@ -23,7 +23,7 @@ |
1096 | using System.Threading; |
1097 | using System.Text.RegularExpressions; |
1098 | |
1099 | -using Mono.Unix; |
1100 | +using Mono.Addins; |
1101 | using Do.Universe; |
1102 | |
1103 | |
1104 | @@ -55,11 +55,11 @@ |
1105 | } |
1106 | |
1107 | public override string Name { |
1108 | - get { return Catalog.GetString ("New del.icio.us bookmark"); } |
1109 | + get { return AddinManager.CurrentLocalizer.GetString ("New del.icio.us bookmark"); } |
1110 | } |
1111 | |
1112 | public override string Description { |
1113 | - get { return Catalog.GetString ("Create a new bookmark at del.icio.us"); } |
1114 | + get { return AddinManager.CurrentLocalizer.GetString ("Create a new bookmark at del.icio.us"); } |
1115 | } |
1116 | |
1117 | public override string Icon { |
1118 | |
1119 | === modified file 'Del.icio.us/src/SearchAction.cs' |
1120 | --- Del.icio.us/src/SearchAction.cs 2009-05-29 09:39:41 +0000 |
1121 | +++ Del.icio.us/src/SearchAction.cs 2009-06-21 11:51:24 +0000 |
1122 | @@ -26,7 +26,7 @@ |
1123 | using System.Collections.Generic; |
1124 | using System.Security.Cryptography.X509Certificates; |
1125 | |
1126 | -using Mono.Unix; |
1127 | +using Mono.Addins; |
1128 | |
1129 | using Do.Universe; |
1130 | using Do.Universe.Common; |
1131 | @@ -44,11 +44,11 @@ |
1132 | public class SearchAction : Act |
1133 | { |
1134 | public override string Name { |
1135 | - get { return Catalog.GetString ("Search del.icio.us"); } |
1136 | + get { return AddinManager.CurrentLocalizer.GetString ("Search del.icio.us"); } |
1137 | } |
1138 | |
1139 | public override string Description { |
1140 | - get { return Catalog.GetString ("del.icio.us tag search"); } |
1141 | + get { return AddinManager.CurrentLocalizer.GetString ("del.icio.us tag search"); } |
1142 | } |
1143 | |
1144 | public override string Icon { |
1145 | |
1146 | === modified file 'Del.icio.us/src/TagItem.cs' |
1147 | --- Del.icio.us/src/TagItem.cs 2008-12-21 23:44:34 +0000 |
1148 | +++ Del.icio.us/src/TagItem.cs 2009-06-21 11:51:24 +0000 |
1149 | @@ -21,7 +21,7 @@ |
1150 | |
1151 | using System; |
1152 | using Do.Universe; |
1153 | -using Mono.Unix; |
1154 | +using Mono.Addins; |
1155 | |
1156 | namespace Delicious |
1157 | { |
1158 | @@ -42,9 +42,9 @@ |
1159 | public override string Description { |
1160 | get { |
1161 | if (tag.Equals ("Untagged")) |
1162 | - return Catalog.GetString ("Untagged del.ico.us bookmarks"); |
1163 | + return AddinManager.CurrentLocalizer.GetString ("Untagged del.ico.us bookmarks"); |
1164 | return string.Format ( |
1165 | - Catalog.GetString ("del.icio.us bookmarks tagged with {0}"), Name); |
1166 | + AddinManager.CurrentLocalizer.GetString ("del.icio.us bookmarks tagged with {0}"), Name); |
1167 | } |
1168 | } |
1169 | |
1170 | |
1171 | === modified file 'Del.icio.us/src/TagsItemSource.cs' |
1172 | --- Del.icio.us/src/TagsItemSource.cs 2009-02-17 13:57:19 +0000 |
1173 | +++ Del.icio.us/src/TagsItemSource.cs 2009-06-21 11:51:24 +0000 |
1174 | @@ -22,7 +22,7 @@ |
1175 | using System; |
1176 | using System.Collections.Generic; |
1177 | |
1178 | -using Mono.Unix; |
1179 | +using Mono.Addins; |
1180 | |
1181 | using Do.Universe; |
1182 | |
1183 | @@ -31,11 +31,11 @@ |
1184 | public class TagsItemSource : ItemSource |
1185 | { |
1186 | public override string Name { |
1187 | - get { return Catalog.GetString ("Del.icio.us Tags"); } |
1188 | + get { return AddinManager.CurrentLocalizer.GetString ("Del.icio.us Tags"); } |
1189 | } |
1190 | |
1191 | public override string Description { |
1192 | - get { return Catalog.GetString ("Organizes your del.icio.us bookmarks by tag"); } |
1193 | + get { return AddinManager.CurrentLocalizer.GetString ("Organizes your del.icio.us bookmarks by tag"); } |
1194 | } |
1195 | |
1196 | public override string Icon { |
1197 | |
1198 | === modified file 'DiskMounter/DiskMounter.mdp' |
1199 | --- DiskMounter/DiskMounter.mdp 2009-06-17 01:07:23 +0000 |
1200 | +++ DiskMounter/DiskMounter.mdp 2009-06-22 01:49:55 +0000 |
1201 | @@ -25,9 +25,8 @@ |
1202 | <References> |
1203 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1204 | <ProjectReference type="Gac" localcopy="True" refto="gnome-vfs-sharp, Version=2.24.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
1205 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
1206 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1207 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> |
1208 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
1209 | </References> |
1210 | -</Project> |
1211 | \ No newline at end of file |
1212 | +</Project> |
1213 | |
1214 | === modified file 'DiskMounter/Makefile.am' |
1215 | --- DiskMounter/Makefile.am 2009-01-09 05:04:13 +0000 |
1216 | +++ DiskMounter/Makefile.am 2009-06-21 11:51:24 +0000 |
1217 | @@ -13,7 +13,6 @@ |
1218 | Resources/DiskMounter.addin.xml |
1219 | |
1220 | REFERENCES = \ |
1221 | - Mono.Posix \ |
1222 | System \ |
1223 | System.Core \ |
1224 | $(GNOME_VFS_SHARP_20_LIBS) \ |
1225 | |
1226 | === renamed file 'DiskMounter/Resources/DiskMounter.addin.xml' => 'DiskMounter/Resources/DiskMounter.addin.xml.in' |
1227 | --- DiskMounter/Resources/DiskMounter.addin.xml 2009-03-31 23:19:25 +0000 |
1228 | +++ DiskMounter/Resources/DiskMounter.addin.xml.in 2009-06-21 11:51:24 +0000 |
1229 | @@ -12,6 +12,8 @@ |
1230 | <Runtime> |
1231 | <Import assembly="DiskMounter.dll"/> |
1232 | </Runtime> |
1233 | + |
1234 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
1235 | |
1236 | <Dependencies> |
1237 | <Addin id="Universe" version="1.0" /> |
1238 | |
1239 | === modified file 'DiskMounter/src/MountAction.cs' |
1240 | --- DiskMounter/src/MountAction.cs 2009-06-17 01:07:23 +0000 |
1241 | +++ DiskMounter/src/MountAction.cs 2009-06-21 11:51:24 +0000 |
1242 | @@ -19,7 +19,7 @@ |
1243 | using System.Collections.Generic; |
1244 | using System.Linq; |
1245 | |
1246 | -using Mono.Unix; |
1247 | +using Mono.Addins; |
1248 | |
1249 | using Do.Universe; |
1250 | using Do.Platform; |
1251 | @@ -29,11 +29,11 @@ |
1252 | public class MountAction : Act |
1253 | { |
1254 | public override string Name { |
1255 | - get { return Catalog.GetString ("Mount"); } |
1256 | + get { return AddinManager.CurrentLocalizer.GetString ("Mount"); } |
1257 | } |
1258 | |
1259 | public override string Description { |
1260 | - get { return Catalog.GetString ("Mount volume"); } |
1261 | + get { return AddinManager.CurrentLocalizer.GetString ("Mount volume"); } |
1262 | } |
1263 | |
1264 | public override string Icon { |
1265 | |
1266 | === modified file 'DiskMounter/src/OpenVolumeAction.cs' |
1267 | --- DiskMounter/src/OpenVolumeAction.cs 2009-06-17 01:07:23 +0000 |
1268 | +++ DiskMounter/src/OpenVolumeAction.cs 2009-06-21 11:51:24 +0000 |
1269 | @@ -22,7 +22,7 @@ |
1270 | using System.Linq; |
1271 | |
1272 | using Gnome.Vfs; |
1273 | -using Mono.Unix; |
1274 | +using Mono.Addins; |
1275 | |
1276 | using Do.Universe; |
1277 | using Do.Platform; |
1278 | @@ -37,11 +37,11 @@ |
1279 | } |
1280 | |
1281 | public override string Name { |
1282 | - get { return Catalog.GetString ("Open"); } |
1283 | + get { return AddinManager.CurrentLocalizer.GetString ("Open"); } |
1284 | } |
1285 | |
1286 | public override string Description { |
1287 | - get { return Catalog.GetString ("Open a removable volume"); } |
1288 | + get { return AddinManager.CurrentLocalizer.GetString ("Open a removable volume"); } |
1289 | } |
1290 | |
1291 | public override string Icon { |
1292 | |
1293 | === modified file 'DiskMounter/src/UnmountAction.cs' |
1294 | --- DiskMounter/src/UnmountAction.cs 2009-06-17 01:07:23 +0000 |
1295 | +++ DiskMounter/src/UnmountAction.cs 2009-06-21 11:51:24 +0000 |
1296 | @@ -20,7 +20,7 @@ |
1297 | using System.Collections.Generic; |
1298 | using System.Linq; |
1299 | |
1300 | -using Mono.Unix; |
1301 | +using Mono.Addins; |
1302 | |
1303 | using Do.Universe; |
1304 | using Do.Platform; |
1305 | @@ -30,11 +30,11 @@ |
1306 | public class UnmountAction : Act |
1307 | { |
1308 | public override string Name { |
1309 | - get { return Catalog.GetString ("Unmount"); } |
1310 | + get { return AddinManager.CurrentLocalizer.GetString ("Unmount"); } |
1311 | } |
1312 | |
1313 | public override string Description { |
1314 | - get { return Catalog.GetString ("Unmount or eject a volume"); } |
1315 | + get { return AddinManager.CurrentLocalizer.GetString ("Unmount or eject a volume"); } |
1316 | } |
1317 | |
1318 | public override string Icon { |
1319 | |
1320 | === modified file 'Dropbox/Dropbox.mdp' |
1321 | --- Dropbox/Dropbox.mdp 2009-06-14 15:24:47 +0000 |
1322 | +++ Dropbox/Dropbox.mdp 2009-06-22 01:49:55 +0000 |
1323 | @@ -43,8 +43,7 @@ |
1324 | <References> |
1325 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
1326 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
1327 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
1328 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1329 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1330 | </References> |
1331 | -</Project> |
1332 | \ No newline at end of file |
1333 | +</Project> |
1334 | |
1335 | === modified file 'Dropbox/Makefile.am' |
1336 | --- Dropbox/Makefile.am 2009-06-14 15:24:47 +0000 |
1337 | +++ Dropbox/Makefile.am 2009-06-22 01:49:05 +0000 |
1338 | @@ -31,7 +31,6 @@ |
1339 | REFERENCES = \ |
1340 | System \ |
1341 | System.Core \ |
1342 | - Mono.Posix \ |
1343 | $(DO_PLATFORM_LINUX_LIBS) \ |
1344 | $(DO_UNIVERSE_LIBS) \ |
1345 | $(GTK_SHARP_20_LIBS) |
1346 | |
1347 | === renamed file 'Dropbox/Resources/Dropbox.addin.xml' => 'Dropbox/Resources/Dropbox.addin.xml.in' |
1348 | --- Dropbox/Resources/Dropbox.addin.xml 2009-05-10 17:04:26 +0000 |
1349 | +++ Dropbox/Resources/Dropbox.addin.xml.in 2009-06-21 11:51:24 +0000 |
1350 | @@ -13,6 +13,8 @@ |
1351 | <Import assembly="Dropbox.dll"/> |
1352 | </Runtime> |
1353 | |
1354 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
1355 | + |
1356 | <Dependencies> |
1357 | <Addin id="Universe" version="1.0" /> |
1358 | </Dependencies> |
1359 | |
1360 | === modified file 'Dropbox/gtk-gui/Dropbox.DropboxConfig.cs' |
1361 | --- Dropbox/gtk-gui/Dropbox.DropboxConfig.cs 2009-06-02 19:25:08 +0000 |
1362 | +++ Dropbox/gtk-gui/Dropbox.DropboxConfig.cs 2009-06-22 01:49:05 +0000 |
1363 | @@ -77,7 +77,7 @@ |
1364 | this.frame2.Add(this.GtkAlignment); |
1365 | this.GtkLabel1 = new Gtk.Label(); |
1366 | this.GtkLabel1.Name = "GtkLabel1"; |
1367 | - this.GtkLabel1.LabelProp = Mono.Unix.Catalog.GetString("Dropbox Location"); |
1368 | + this.GtkLabel1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Dropbox Location"); |
1369 | this.GtkLabel1.UseMarkup = true; |
1370 | this.frame2.LabelWidget = this.GtkLabel1; |
1371 | this.vbox2.Add(this.frame2); |
1372 | |
1373 | === modified file 'Dropbox/gtk-gui/gui.stetic' |
1374 | --- Dropbox/gtk-gui/gui.stetic 2009-06-10 17:32:19 +0000 |
1375 | +++ Dropbox/gtk-gui/gui.stetic 2009-06-22 01:49:05 +0000 |
1376 | @@ -2,7 +2,7 @@ |
1377 | <stetic-interface> |
1378 | <configuration> |
1379 | <images-root-path>..</images-root-path> |
1380 | - <target-gtk-version>2.12</target-gtk-version> |
1381 | + <target-gtk-version>2.12.9</target-gtk-version> |
1382 | </configuration> |
1383 | <import> |
1384 | <widget-library name="../bin/Debug/Dropbox.dll" internal="true" /> |
1385 | |
1386 | === modified file 'Dropbox/src/Config/DropboxConfig.cs' |
1387 | --- Dropbox/src/Config/DropboxConfig.cs 2009-06-06 16:40:38 +0000 |
1388 | +++ Dropbox/src/Config/DropboxConfig.cs 2009-06-21 11:51:24 +0000 |
1389 | @@ -22,7 +22,7 @@ |
1390 | using System; |
1391 | using System.IO; |
1392 | |
1393 | -using Mono.Unix; |
1394 | +using Mono.Addins; |
1395 | |
1396 | using Gtk; |
1397 | |
1398 | @@ -65,7 +65,7 @@ |
1399 | protected virtual void OnBasePathBtnClicked (object sender, System.EventArgs e) |
1400 | { |
1401 | FileChooserDialog chooser = new FileChooserDialog ( |
1402 | - Catalog.GetString ("Select location of Dropbox folder"), |
1403 | + AddinManager.CurrentLocalizer.GetString ("Select location of Dropbox folder"), |
1404 | new Dialog (), FileChooserAction.SelectFolder, |
1405 | Gtk.Stock.Cancel, ResponseType.Cancel, |
1406 | Gtk.Stock.Open, ResponseType.Accept); |
1407 | |
1408 | === modified file 'Dropbox/src/DropboxAbstractAction.cs' |
1409 | --- Dropbox/src/DropboxAbstractAction.cs 2009-06-15 19:39:58 +0000 |
1410 | +++ Dropbox/src/DropboxAbstractAction.cs 2009-06-21 11:51:24 +0000 |
1411 | @@ -24,7 +24,7 @@ |
1412 | using System.Diagnostics; |
1413 | using System.Collections.Generic; |
1414 | |
1415 | -using Mono.Unix; |
1416 | +using Mono.Addins; |
1417 | |
1418 | using Do.Universe; |
1419 | using Do.Platform; |
1420 | @@ -45,7 +45,7 @@ |
1421 | |
1422 | protected void Notify (string message) |
1423 | { |
1424 | - Notification notification = new Notification (Catalog.GetString ("Dropbox"), message, "dropbox"); |
1425 | + Notification notification = new Notification (AddinManager.CurrentLocalizer.GetString ("Dropbox"), message, "dropbox"); |
1426 | Services.Notifications.Notify (notification); |
1427 | } |
1428 | |
1429 | |
1430 | === modified file 'Dropbox/src/DropboxLinkAction.cs' |
1431 | --- Dropbox/src/DropboxLinkAction.cs 2009-06-14 15:24:47 +0000 |
1432 | +++ Dropbox/src/DropboxLinkAction.cs 2009-06-21 11:51:24 +0000 |
1433 | @@ -24,7 +24,7 @@ |
1434 | using System.Linq; |
1435 | using System.Collections.Generic; |
1436 | |
1437 | -using Mono.Unix; |
1438 | +using Mono.Addins; |
1439 | |
1440 | using Do.Universe; |
1441 | using Do.Universe.Common; |
1442 | @@ -37,11 +37,11 @@ |
1443 | { |
1444 | |
1445 | public override string Name { |
1446 | - get { return Catalog.GetString ("Add to Dropbox..."); } |
1447 | + get { return AddinManager.CurrentLocalizer.GetString ("Add to Dropbox..."); } |
1448 | } |
1449 | |
1450 | public override string Description { |
1451 | - get { return Catalog.GetString ("Links a file or folder to your Dropbox."); } |
1452 | + get { return AddinManager.CurrentLocalizer.GetString ("Links a file or folder to your Dropbox."); } |
1453 | } |
1454 | |
1455 | public override string Icon { |
1456 | |
1457 | === modified file 'Dropbox/src/DropboxPuburlAction.cs' |
1458 | --- Dropbox/src/DropboxPuburlAction.cs 2009-06-15 19:39:58 +0000 |
1459 | +++ Dropbox/src/DropboxPuburlAction.cs 2009-06-21 11:51:24 +0000 |
1460 | @@ -23,7 +23,7 @@ |
1461 | using System.Linq; |
1462 | using System.Collections.Generic; |
1463 | |
1464 | -using Mono.Unix; |
1465 | +using Mono.Addins; |
1466 | |
1467 | using Do.Universe; |
1468 | using Do.Universe.Common; |
1469 | @@ -38,11 +38,11 @@ |
1470 | { |
1471 | |
1472 | public override string Name { |
1473 | - get { return Catalog.GetString ("Get public URL"); } |
1474 | + get { return AddinManager.CurrentLocalizer.GetString ("Get public URL"); } |
1475 | } |
1476 | |
1477 | public override string Description { |
1478 | - get { return Catalog.GetString ("Gets public URL of a shared Dropbox file."); } |
1479 | + get { return AddinManager.CurrentLocalizer.GetString ("Gets public URL of a shared Dropbox file."); } |
1480 | } |
1481 | |
1482 | public override string Icon { |
1483 | |
1484 | === modified file 'Dropbox/src/DropboxRevisionsAction.cs' |
1485 | --- Dropbox/src/DropboxRevisionsAction.cs 2009-06-14 15:24:47 +0000 |
1486 | +++ Dropbox/src/DropboxRevisionsAction.cs 2009-06-21 11:51:24 +0000 |
1487 | @@ -23,7 +23,7 @@ |
1488 | using System.Linq; |
1489 | using System.Collections.Generic; |
1490 | |
1491 | -using Mono.Unix; |
1492 | +using Mono.Addins; |
1493 | |
1494 | using Do.Universe; |
1495 | using Do.Universe.Common; |
1496 | @@ -38,11 +38,11 @@ |
1497 | { |
1498 | |
1499 | public override string Name { |
1500 | - get { return Catalog.GetString ("View revisions"); } |
1501 | + get { return AddinManager.CurrentLocalizer.GetString ("View revisions"); } |
1502 | } |
1503 | |
1504 | public override string Description { |
1505 | - get { return Catalog.GetString ("Views file history in Dropbox web interface."); } |
1506 | + get { return AddinManager.CurrentLocalizer.GetString ("Views file history in Dropbox web interface."); } |
1507 | } |
1508 | |
1509 | public override string Icon { |
1510 | |
1511 | === modified file 'Dropbox/src/DropboxShareAction.cs' |
1512 | --- Dropbox/src/DropboxShareAction.cs 2009-06-15 19:39:58 +0000 |
1513 | +++ Dropbox/src/DropboxShareAction.cs 2009-06-21 11:51:24 +0000 |
1514 | @@ -24,7 +24,7 @@ |
1515 | using System.Linq; |
1516 | using System.Collections.Generic; |
1517 | |
1518 | -using Mono.Unix; |
1519 | +using Mono.Addins; |
1520 | |
1521 | using Do.Universe; |
1522 | using Do.Universe.Common; |
1523 | @@ -39,11 +39,11 @@ |
1524 | { |
1525 | |
1526 | public override string Name { |
1527 | - get { return Catalog.GetString ("Share with Dropbox"); } |
1528 | + get { return AddinManager.CurrentLocalizer.GetString ("Share with Dropbox"); } |
1529 | } |
1530 | |
1531 | public override string Description { |
1532 | - get { return Catalog.GetString ("Links a file to your Dropbox public folder."); } |
1533 | + get { return AddinManager.CurrentLocalizer.GetString ("Links a file to your Dropbox public folder."); } |
1534 | } |
1535 | |
1536 | public override string Icon { |
1537 | |
1538 | === modified file 'Dropbox/src/DropboxStartAction.cs' |
1539 | --- Dropbox/src/DropboxStartAction.cs 2009-06-14 15:24:47 +0000 |
1540 | +++ Dropbox/src/DropboxStartAction.cs 2009-06-21 11:51:24 +0000 |
1541 | @@ -22,7 +22,7 @@ |
1542 | using System.Linq; |
1543 | using System.Collections.Generic; |
1544 | |
1545 | -using Mono.Unix; |
1546 | +using Mono.Addins; |
1547 | |
1548 | using Do.Universe; |
1549 | using Do.Universe.Common; |
1550 | @@ -38,11 +38,11 @@ |
1551 | { |
1552 | |
1553 | public override string Name { |
1554 | - get { return Catalog.GetString ("Start Dropbox"); } |
1555 | + get { return AddinManager.CurrentLocalizer.GetString ("Start Dropbox"); } |
1556 | } |
1557 | |
1558 | public override string Description { |
1559 | - get { return Catalog.GetString ("Starts the Dropbox daemon."); } |
1560 | + get { return AddinManager.CurrentLocalizer.GetString ("Starts the Dropbox daemon."); } |
1561 | } |
1562 | |
1563 | public override string Icon { |
1564 | |
1565 | === modified file 'Dropbox/src/DropboxStopAction.cs' |
1566 | --- Dropbox/src/DropboxStopAction.cs 2009-06-14 15:24:47 +0000 |
1567 | +++ Dropbox/src/DropboxStopAction.cs 2009-06-21 11:51:24 +0000 |
1568 | @@ -22,7 +22,7 @@ |
1569 | using System.Linq; |
1570 | using System.Collections.Generic; |
1571 | |
1572 | -using Mono.Unix; |
1573 | +using Mono.Addins; |
1574 | |
1575 | using Do.Universe; |
1576 | using Do.Platform; |
1577 | @@ -36,11 +36,11 @@ |
1578 | { |
1579 | |
1580 | public override string Name { |
1581 | - get { return Catalog.GetString ("Stop Dropbox"); } |
1582 | + get { return AddinManager.CurrentLocalizer.GetString ("Stop Dropbox"); } |
1583 | } |
1584 | |
1585 | public override string Description { |
1586 | - get { return Catalog.GetString ("Stops the Dropbox daemon."); } |
1587 | + get { return AddinManager.CurrentLocalizer.GetString ("Stops the Dropbox daemon."); } |
1588 | } |
1589 | |
1590 | public override string Icon { |
1591 | |
1592 | === modified file 'Dropbox/src/DropboxUnshareAction.cs' |
1593 | --- Dropbox/src/DropboxUnshareAction.cs 2009-06-14 15:24:47 +0000 |
1594 | +++ Dropbox/src/DropboxUnshareAction.cs 2009-06-21 11:51:24 +0000 |
1595 | @@ -24,7 +24,7 @@ |
1596 | using System.Linq; |
1597 | using System.Collections.Generic; |
1598 | |
1599 | -using Mono.Unix; |
1600 | +using Mono.Addins; |
1601 | |
1602 | using Do.Universe; |
1603 | using Do.Universe.Common; |
1604 | @@ -38,11 +38,11 @@ |
1605 | { |
1606 | |
1607 | public override string Name { |
1608 | - get { return Catalog.GetString ("Stop sharing with Dropbox"); } |
1609 | + get { return AddinManager.CurrentLocalizer.GetString ("Stop sharing with Dropbox"); } |
1610 | } |
1611 | |
1612 | public override string Description { |
1613 | - get { return Catalog.GetString ("Unlinks a file from your Dropbox public folder."); } |
1614 | + get { return AddinManager.CurrentLocalizer.GetString ("Unlinks a file from your Dropbox public folder."); } |
1615 | } |
1616 | |
1617 | public override string Icon { |
1618 | @@ -64,7 +64,7 @@ |
1619 | |
1620 | Unlink (link_path); |
1621 | |
1622 | - Notify (String.Format (Catalog.GetString ("Stopped sharing") + " {0}", path)); |
1623 | + Notify (String.Format (AddinManager.CurrentLocalizer.GetString ("Stopped sharing") + " {0}", path)); |
1624 | } |
1625 | |
1626 | yield break; |
1627 | |
1628 | === modified file 'Dropbox/src/DropboxWebInterfaceAction.cs' |
1629 | --- Dropbox/src/DropboxWebInterfaceAction.cs 2009-06-14 15:24:47 +0000 |
1630 | +++ Dropbox/src/DropboxWebInterfaceAction.cs 2009-06-21 11:51:24 +0000 |
1631 | @@ -24,7 +24,7 @@ |
1632 | using System.Linq; |
1633 | using System.Collections.Generic; |
1634 | |
1635 | -using Mono.Unix; |
1636 | +using Mono.Addins; |
1637 | |
1638 | using Do.Universe; |
1639 | using Do.Platform; |
1640 | @@ -36,11 +36,11 @@ |
1641 | { |
1642 | |
1643 | public override string Name { |
1644 | - get { return Catalog.GetString ("Dropbox web interface"); } |
1645 | + get { return AddinManager.CurrentLocalizer.GetString ("Dropbox web interface"); } |
1646 | } |
1647 | |
1648 | public override string Description { |
1649 | - get { return Catalog.GetString ("View folder in Dropbox web interface."); } |
1650 | + get { return AddinManager.CurrentLocalizer.GetString ("View folder in Dropbox web interface."); } |
1651 | } |
1652 | |
1653 | public override string Icon { |
1654 | |
1655 | === modified file 'EOG-Slideshow/EOG-Slideshow.mdp' |
1656 | --- EOG-Slideshow/EOG-Slideshow.mdp 2009-02-28 16:16:48 +0000 |
1657 | +++ EOG-Slideshow/EOG-Slideshow.mdp 2009-06-22 01:49:55 +0000 |
1658 | @@ -24,4 +24,4 @@ |
1659 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1660 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
1661 | </References> |
1662 | -</Project> |
1663 | \ No newline at end of file |
1664 | +</Project> |
1665 | |
1666 | === modified file 'EOG-Slideshow/Makefile.am' |
1667 | --- EOG-Slideshow/Makefile.am 2009-01-14 18:25:25 +0000 |
1668 | +++ EOG-Slideshow/Makefile.am 2009-06-21 11:51:24 +0000 |
1669 | @@ -11,6 +11,5 @@ |
1670 | REFERENCES = \ |
1671 | System \ |
1672 | System.Core \ |
1673 | - Mono.Posix \ |
1674 | $(DO_PLATFORM_LIBS) \ |
1675 | $(DO_UNIVERSE_LIBS) |
1676 | |
1677 | === renamed file 'EOG-Slideshow/Resources/EOG-Slideshow.addin.xml' => 'EOG-Slideshow/Resources/EOG-Slideshow.addin.xml.in' |
1678 | --- EOG-Slideshow/Resources/EOG-Slideshow.addin.xml 2009-03-31 23:19:25 +0000 |
1679 | +++ EOG-Slideshow/Resources/EOG-Slideshow.addin.xml.in 2009-06-21 11:51:24 +0000 |
1680 | @@ -13,6 +13,8 @@ |
1681 | <Import assembly="EOG-Slideshow.dll"/> |
1682 | </Runtime> |
1683 | |
1684 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
1685 | + |
1686 | <Dependencies> |
1687 | <Addin id="Universe" version="1.0" /> |
1688 | </Dependencies> |
1689 | |
1690 | === modified file 'EOG-Slideshow/src/PlaySlideshowAction.cs' |
1691 | --- EOG-Slideshow/src/PlaySlideshowAction.cs 2009-01-14 18:25:25 +0000 |
1692 | +++ EOG-Slideshow/src/PlaySlideshowAction.cs 2009-06-21 11:51:24 +0000 |
1693 | @@ -23,7 +23,7 @@ |
1694 | using System.Diagnostics; |
1695 | using System.Collections.Generic; |
1696 | |
1697 | -using Mono.Unix; |
1698 | +using Mono.Addins; |
1699 | |
1700 | using Do.Universe; |
1701 | using Do.Platform; |
1702 | @@ -37,11 +37,11 @@ |
1703 | } |
1704 | |
1705 | public override string Name { |
1706 | - get { return Catalog.GetString ("Play Slideshow"); } |
1707 | + get { return AddinManager.CurrentLocalizer.GetString ("Play Slideshow"); } |
1708 | } |
1709 | |
1710 | public override string Description { |
1711 | - get { return Catalog.GetString ("Plays a slideshow of images in a folder."); } |
1712 | + get { return AddinManager.CurrentLocalizer.GetString ("Plays a slideshow of images in a folder."); } |
1713 | } |
1714 | |
1715 | public override string Icon { |
1716 | |
1717 | === modified file 'Emesene/Emesene.mdp' |
1718 | --- Emesene/Emesene.mdp 2009-02-28 16:16:48 +0000 |
1719 | +++ Emesene/Emesene.mdp 2009-06-22 01:49:55 +0000 |
1720 | @@ -48,4 +48,4 @@ |
1721 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
1722 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1723 | </References> |
1724 | -</Project> |
1725 | \ No newline at end of file |
1726 | +</Project> |
1727 | |
1728 | === renamed file 'Emesene/Resources/Emesene.addin.xml' => 'Emesene/Resources/Emesene.addin.xml.in' |
1729 | --- Emesene/Resources/Emesene.addin.xml 2009-03-31 23:19:25 +0000 |
1730 | +++ Emesene/Resources/Emesene.addin.xml.in 2009-06-21 11:51:24 +0000 |
1731 | @@ -12,6 +12,8 @@ |
1732 | <Runtime> |
1733 | <Import assembly="Emesene.dll"/> |
1734 | </Runtime> |
1735 | + |
1736 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
1737 | |
1738 | <Dependencies> |
1739 | <Addin id="Universe" version="1.0" /> |
1740 | |
1741 | === modified file 'Epiphany/Epiphany.mdp' |
1742 | --- Epiphany/Epiphany.mdp 2009-06-11 07:36:57 +0000 |
1743 | +++ Epiphany/Epiphany.mdp 2009-06-22 01:49:55 +0000 |
1744 | @@ -22,8 +22,7 @@ |
1745 | <References> |
1746 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1747 | <ProjectReference type="Gac" localcopy="True" refto="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1748 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
1749 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
1750 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
1751 | </References> |
1752 | -</Project> |
1753 | \ No newline at end of file |
1754 | +</Project> |
1755 | |
1756 | === modified file 'Epiphany/Makefile.am' |
1757 | --- Epiphany/Makefile.am 2009-06-11 07:36:57 +0000 |
1758 | +++ Epiphany/Makefile.am 2009-06-21 11:51:24 +0000 |
1759 | @@ -10,7 +10,6 @@ |
1760 | Resources/Epiphany.addin.xml |
1761 | |
1762 | REFERENCES = \ |
1763 | - Mono.Posix \ |
1764 | System \ |
1765 | System.Core \ |
1766 | System.Xml \ |
1767 | |
1768 | === renamed file 'Epiphany/Resources/Epiphany.addin.xml' => 'Epiphany/Resources/Epiphany.addin.xml.in' |
1769 | --- Epiphany/Resources/Epiphany.addin.xml 2009-03-31 23:19:25 +0000 |
1770 | +++ Epiphany/Resources/Epiphany.addin.xml.in 2009-06-21 11:51:24 +0000 |
1771 | @@ -12,6 +12,8 @@ |
1772 | <Runtime> |
1773 | <Import assembly="Epiphany.dll"/> |
1774 | </Runtime> |
1775 | + |
1776 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
1777 | |
1778 | <Dependencies> |
1779 | <Addin id="Universe" version="1.0" /> |
1780 | |
1781 | === modified file 'Epiphany/src/EpiphanyBookmarkItemSource.cs' |
1782 | --- Epiphany/src/EpiphanyBookmarkItemSource.cs 2009-06-11 07:36:57 +0000 |
1783 | +++ Epiphany/src/EpiphanyBookmarkItemSource.cs 2009-06-21 11:51:24 +0000 |
1784 | @@ -23,7 +23,7 @@ |
1785 | using System.Xml; |
1786 | using System.Collections.Generic; |
1787 | |
1788 | -using Mono.Unix; |
1789 | +using Mono.Addins; |
1790 | |
1791 | using Do.Universe; |
1792 | using Do.Universe.Common; |
1793 | @@ -41,10 +41,10 @@ |
1794 | items = new List<Item> (); |
1795 | } |
1796 | |
1797 | - public override string Name { get { return Catalog.GetString ("Epiphany Bookmarks"); } } |
1798 | + public override string Name { get { return AddinManager.CurrentLocalizer.GetString ("Epiphany Bookmarks"); } } |
1799 | |
1800 | public override string Description { |
1801 | - get { return Catalog.GetString ("Indexes your Epiphany bookmarks."); } |
1802 | + get { return AddinManager.CurrentLocalizer.GetString ("Indexes your Epiphany bookmarks."); } |
1803 | } |
1804 | |
1805 | public override string Icon { get { return "gnome-web-browser"; } } |
1806 | |
1807 | === modified file 'Epiphany/src/EpiphanyBrowseBookmarksItem.cs' |
1808 | --- Epiphany/src/EpiphanyBrowseBookmarksItem.cs 2009-06-11 07:36:57 +0000 |
1809 | +++ Epiphany/src/EpiphanyBrowseBookmarksItem.cs 2009-06-21 11:51:24 +0000 |
1810 | @@ -19,7 +19,7 @@ |
1811 | */ |
1812 | using System; |
1813 | |
1814 | -using Mono.Unix; |
1815 | +using Mono.Addins; |
1816 | |
1817 | using Do.Universe; |
1818 | |
1819 | @@ -28,11 +28,11 @@ |
1820 | public class EpiphanyBrowseBookmarksItem : Item |
1821 | { |
1822 | public override string Name { |
1823 | - get { return Catalog.GetString ("Bookmarks"); } |
1824 | + get { return AddinManager.CurrentLocalizer.GetString ("Bookmarks"); } |
1825 | } |
1826 | |
1827 | public override string Description { |
1828 | - get { return Catalog.GetString ("Browse Bookmarks"); } |
1829 | + get { return AddinManager.CurrentLocalizer.GetString ("Browse Bookmarks"); } |
1830 | } |
1831 | |
1832 | public override string Icon { |
1833 | |
1834 | === modified file 'Evolution/Evolution.mdp' |
1835 | --- Evolution/Evolution.mdp 2009-02-28 16:16:48 +0000 |
1836 | +++ Evolution/Evolution.mdp 2009-06-22 01:49:55 +0000 |
1837 | @@ -25,10 +25,9 @@ |
1838 | </Contents> |
1839 | <References> |
1840 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1841 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
1842 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
1843 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
1844 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
1845 | <ProjectReference type="Gac" localcopy="True" refto="evolution-sharp, Version=3.0.0.0, Culture=neutral, PublicKeyToken=457eed85bd9370df" /> |
1846 | </References> |
1847 | -</Project> |
1848 | \ No newline at end of file |
1849 | +</Project> |
1850 | |
1851 | === modified file 'Evolution/Makefile.am' |
1852 | --- Evolution/Makefile.am 2009-05-07 16:03:28 +0000 |
1853 | +++ Evolution/Makefile.am 2009-06-21 11:51:24 +0000 |
1854 | @@ -17,7 +17,6 @@ |
1855 | Resources/icons/phone.png |
1856 | |
1857 | REFERENCES = \ |
1858 | - Mono.Posix \ |
1859 | System \ |
1860 | System.Core \ |
1861 | $(EVOLUTION_SHARP_LIBS) \ |
1862 | |
1863 | === renamed file 'Evolution/Resources/Evolution.addin.xml' => 'Evolution/Resources/Evolution.addin.xml.in' |
1864 | --- Evolution/Resources/Evolution.addin.xml 2009-03-31 23:19:25 +0000 |
1865 | +++ Evolution/Resources/Evolution.addin.xml.in 2009-06-21 11:51:24 +0000 |
1866 | @@ -12,6 +12,8 @@ |
1867 | <Runtime> |
1868 | <Import assembly="Evolution.dll"/> |
1869 | </Runtime> |
1870 | + |
1871 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
1872 | |
1873 | <Dependencies> |
1874 | <Addin id="Universe" version="1.0" /> |
1875 | |
1876 | === modified file 'Evolution/src/AddressContactDetailItem.cs' |
1877 | --- Evolution/src/AddressContactDetailItem.cs 2008-12-24 00:36:22 +0000 |
1878 | +++ Evolution/src/AddressContactDetailItem.cs 2009-06-21 11:51:24 +0000 |
1879 | @@ -19,7 +19,7 @@ |
1880 | |
1881 | using System; |
1882 | using Do.Universe; |
1883 | -using Mono.Unix; |
1884 | +using Mono.Addins; |
1885 | |
1886 | namespace Evolution |
1887 | { |
1888 | @@ -31,7 +31,7 @@ |
1889 | |
1890 | public override string Name { |
1891 | get { |
1892 | - return Catalog.GetString ("Address"); |
1893 | + return AddinManager.CurrentLocalizer.GetString ("Address"); |
1894 | |
1895 | /* // The home/other/work tags are not exact. |
1896 | string desc = ""; |
1897 | |
1898 | === modified file 'Evolution/src/ContactItemSource.cs' |
1899 | --- Evolution/src/ContactItemSource.cs 2008-12-24 00:41:39 +0000 |
1900 | +++ Evolution/src/ContactItemSource.cs 2009-06-21 11:51:24 +0000 |
1901 | @@ -26,7 +26,7 @@ |
1902 | using Do.Universe.Common; |
1903 | using Do.Platform; |
1904 | |
1905 | -using Mono.Unix; |
1906 | +using Mono.Addins; |
1907 | |
1908 | namespace Evolution |
1909 | { |
1910 | @@ -55,8 +55,8 @@ |
1911 | get { yield return typeof (ContactItem); } |
1912 | } |
1913 | |
1914 | - public override string Name { get { return Catalog.GetString ("Evolution Contacts"); } } |
1915 | - public override string Description { get { return Catalog.GetString ("Evolution Contacts"); } } |
1916 | + public override string Name { get { return AddinManager.CurrentLocalizer.GetString ("Evolution Contacts"); } } |
1917 | + public override string Description { get { return AddinManager.CurrentLocalizer.GetString ("Evolution Contacts"); } } |
1918 | public override string Icon { get { return "evolution"; } } |
1919 | |
1920 | public override IEnumerable<Item> Items { |
1921 | |
1922 | === modified file 'Evolution/src/EmailContactDetailItem.cs' |
1923 | --- Evolution/src/EmailContactDetailItem.cs 2008-07-25 05:30:47 +0000 |
1924 | +++ Evolution/src/EmailContactDetailItem.cs 2009-06-21 11:51:24 +0000 |
1925 | @@ -19,7 +19,7 @@ |
1926 | |
1927 | using System; |
1928 | using Do.Universe; |
1929 | -using Mono.Unix; |
1930 | +using Mono.Addins; |
1931 | |
1932 | namespace Evolution |
1933 | { |
1934 | @@ -31,7 +31,7 @@ |
1935 | |
1936 | public override string Name { |
1937 | get { |
1938 | - return Catalog.GetString ("Email"); |
1939 | + return AddinManager.CurrentLocalizer.GetString ("Email"); |
1940 | /* // The home/other/work tags are not exact. |
1941 | string desc = ""; |
1942 | if (Key.Contains (".work")) |
1943 | |
1944 | === modified file 'Evolution/src/PhoneContactDetailItem.cs' |
1945 | --- Evolution/src/PhoneContactDetailItem.cs 2008-07-25 05:30:47 +0000 |
1946 | +++ Evolution/src/PhoneContactDetailItem.cs 2009-06-21 11:51:24 +0000 |
1947 | @@ -19,7 +19,7 @@ |
1948 | |
1949 | using System; |
1950 | using Do.Universe; |
1951 | -using Mono.Unix; |
1952 | +using Mono.Addins; |
1953 | |
1954 | namespace Evolution |
1955 | { |
1956 | @@ -31,9 +31,9 @@ |
1957 | |
1958 | public override string Name { |
1959 | get { |
1960 | - if (Key.Contains (".work")) return Catalog.GetString ("Work Phone"); |
1961 | - if (Key.Contains (".home")) return Catalog.GetString ("Home Phone"); |
1962 | - if (Key.Contains (".mobile")) return Catalog.GetString ("Mobile Phone"); |
1963 | + if (Key.Contains (".work")) return AddinManager.CurrentLocalizer.GetString ("Work Phone"); |
1964 | + if (Key.Contains (".home")) return AddinManager.CurrentLocalizer.GetString ("Home Phone"); |
1965 | + if (Key.Contains (".mobile")) return AddinManager.CurrentLocalizer.GetString ("Mobile Phone"); |
1966 | return "Phone"; |
1967 | } |
1968 | } |
1969 | |
1970 | === modified file 'Exaile/Makefile.am' |
1971 | --- Exaile/Makefile.am 2009-03-24 02:28:22 +0000 |
1972 | +++ Exaile/Makefile.am 2009-06-21 11:51:24 +0000 |
1973 | @@ -22,7 +22,6 @@ |
1974 | System.Core \ |
1975 | System.Xml \ |
1976 | System.Data \ |
1977 | - Mono.Posix \ |
1978 | Mono.Data.Sqlite \ |
1979 | $(GTK_SHARP_20_LIBS) \ |
1980 | $(DO_PLATFORM_LIBS) \ |
1981 | |
1982 | === renamed file 'Exaile/Resources/Exaile.addin.xml' => 'Exaile/Resources/Exaile.addin.xml.in' |
1983 | --- Exaile/Resources/Exaile.addin.xml 2009-05-16 20:18:15 +0000 |
1984 | +++ Exaile/Resources/Exaile.addin.xml.in 2009-06-21 11:51:24 +0000 |
1985 | @@ -13,6 +13,8 @@ |
1986 | <Import assembly="Exaile.dll"/> |
1987 | </Runtime> |
1988 | |
1989 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
1990 | + |
1991 | <Dependencies> |
1992 | <Addin id="Universe" version="1.0" /> |
1993 | </Dependencies> |
1994 | |
1995 | === modified file 'Exaile/src/ExaileItems.cs' |
1996 | --- Exaile/src/ExaileItems.cs 2009-04-30 21:06:05 +0000 |
1997 | +++ Exaile/src/ExaileItems.cs 2009-06-21 11:51:24 +0000 |
1998 | @@ -21,7 +21,7 @@ |
1999 | using System.Diagnostics; |
2000 | using System.Collections.Generic; |
2001 | |
2002 | -using Mono.Unix; |
2003 | +using Mono.Addins; |
2004 | |
2005 | using Do.Universe; |
2006 | using Do.Platform; |
2007 | @@ -47,7 +47,7 @@ |
2008 | class BrowseArtistsMusicItem : BrowseMusicItem |
2009 | { |
2010 | public BrowseArtistsMusicItem (): |
2011 | - base (Catalog.GetString ("Browse Artists"), Catalog.GetString ("Browse Exaile Music by Artist")) |
2012 | + base (AddinManager.CurrentLocalizer.GetString ("Browse Artists"), AddinManager.CurrentLocalizer.GetString ("Browse Exaile Music by Artist")) |
2013 | { |
2014 | } |
2015 | } |
2016 | @@ -55,7 +55,7 @@ |
2017 | class BrowseAlbumsMusicItem : BrowseMusicItem |
2018 | { |
2019 | public BrowseAlbumsMusicItem (): |
2020 | - base (Catalog.GetString ("Browse Albums"), Catalog.GetString ("Browse Exaile Music by Album")) |
2021 | + base (AddinManager.CurrentLocalizer.GetString ("Browse Albums"), AddinManager.CurrentLocalizer.GetString ("Browse Exaile Music by Album")) |
2022 | { |
2023 | } |
2024 | } |
2025 | @@ -64,20 +64,20 @@ |
2026 | { |
2027 | public static readonly IEnumerable<ExaileRunnableItem> Items = new [] { |
2028 | new ExaileRunnableItem ( |
2029 | - Catalog.GetString ("Show Current Track"), |
2030 | - Catalog.GetString ("Show Notification of Current Track in Exaile"), |
2031 | + AddinManager.CurrentLocalizer.GetString ("Show Current Track"), |
2032 | + AddinManager.CurrentLocalizer.GetString ("Show Notification of Current Track in Exaile"), |
2033 | "gnome-mime-audio", |
2034 | "--gui-query"), |
2035 | |
2036 | new ExaileRunnableItem ( |
2037 | - Catalog.GetString ("Volume Up"), |
2038 | - Catalog.GetString ("Increase Exaile Playback Volume"), |
2039 | + AddinManager.CurrentLocalizer.GetString ("Volume Up"), |
2040 | + AddinManager.CurrentLocalizer.GetString ("Increase Exaile Playback Volume"), |
2041 | "audio-volume-high", |
2042 | "--increase_vol=10"), |
2043 | |
2044 | new ExaileRunnableItem ( |
2045 | - Catalog.GetString ("Volume Down"), |
2046 | - Catalog.GetString ("Decrease Exaile Playback Volume"), |
2047 | + AddinManager.CurrentLocalizer.GetString ("Volume Down"), |
2048 | + AddinManager.CurrentLocalizer.GetString ("Decrease Exaile Playback Volume"), |
2049 | "audio-volume-low", |
2050 | "--decrease_vol=10"), |
2051 | }; |
2052 | |
2053 | === modified file 'Exaile/src/MusicItemSource.cs' |
2054 | --- Exaile/src/MusicItemSource.cs 2009-03-24 13:22:11 +0000 |
2055 | +++ Exaile/src/MusicItemSource.cs 2009-06-21 11:51:24 +0000 |
2056 | @@ -21,7 +21,7 @@ |
2057 | using System.Linq; |
2058 | using System.Collections.Generic; |
2059 | |
2060 | -using Mono.Unix; |
2061 | +using Mono.Addins; |
2062 | |
2063 | using Do.Universe; |
2064 | using Do.Platform; |
2065 | @@ -41,11 +41,11 @@ |
2066 | } |
2067 | |
2068 | public override string Name { |
2069 | - get { return Catalog.GetString ("Exaile Music"); } |
2070 | + get { return AddinManager.CurrentLocalizer.GetString ("Exaile Music"); } |
2071 | } |
2072 | |
2073 | public override string Description { |
2074 | - get { return Catalog.GetString ("Provides access to artists and albums from Exaile."); } |
2075 | + get { return AddinManager.CurrentLocalizer.GetString ("Provides access to artists and albums from Exaile."); } |
2076 | } |
2077 | |
2078 | public override string Icon { |
2079 | |
2080 | === modified file 'Exaile/src/MusicItems.cs' |
2081 | --- Exaile/src/MusicItems.cs 2009-03-24 13:22:11 +0000 |
2082 | +++ Exaile/src/MusicItems.cs 2009-06-21 11:51:24 +0000 |
2083 | @@ -20,7 +20,7 @@ |
2084 | using System; |
2085 | using System.Collections.Generic; |
2086 | |
2087 | -using Mono.Unix; |
2088 | +using Mono.Addins; |
2089 | |
2090 | using Do.Universe; |
2091 | |
2092 | @@ -74,7 +74,7 @@ |
2093 | public override string Description |
2094 | { |
2095 | get { |
2096 | - return string.Format (Catalog.GetString ("All music by") + " {0}", artist); |
2097 | + return string.Format (AddinManager.CurrentLocalizer.GetString ("All music by") + " {0}", artist); |
2098 | } |
2099 | } |
2100 | } |
2101 | |
2102 | === modified file 'Exaile/src/NextAction.cs' |
2103 | --- Exaile/src/NextAction.cs 2009-03-24 13:22:11 +0000 |
2104 | +++ Exaile/src/NextAction.cs 2009-06-21 11:51:24 +0000 |
2105 | @@ -23,7 +23,7 @@ |
2106 | using System.Diagnostics; |
2107 | using System.Collections.Generic; |
2108 | |
2109 | -using Mono.Unix; |
2110 | +using Mono.Addins; |
2111 | |
2112 | using Do.Universe; |
2113 | |
2114 | @@ -39,11 +39,11 @@ |
2115 | } |
2116 | |
2117 | public override string Name { |
2118 | - get { return Catalog.GetString ("Next"); } |
2119 | + get { return AddinManager.CurrentLocalizer.GetString ("Next"); } |
2120 | } |
2121 | |
2122 | public override string Description { |
2123 | - get { return Catalog.GetString ("Skip to the next track in Exaile."); } |
2124 | + get { return AddinManager.CurrentLocalizer.GetString ("Skip to the next track in Exaile."); } |
2125 | } |
2126 | |
2127 | public override string Icon { |
2128 | |
2129 | === modified file 'Exaile/src/PauseAction.cs' |
2130 | --- Exaile/src/PauseAction.cs 2009-03-24 13:22:11 +0000 |
2131 | +++ Exaile/src/PauseAction.cs 2009-06-21 11:51:24 +0000 |
2132 | @@ -23,7 +23,7 @@ |
2133 | using System.Diagnostics; |
2134 | using System.Collections.Generic; |
2135 | |
2136 | -using Mono.Unix; |
2137 | +using Mono.Addins; |
2138 | |
2139 | using Do.Universe; |
2140 | |
2141 | @@ -39,11 +39,11 @@ |
2142 | } |
2143 | |
2144 | public override string Name { |
2145 | - get { return Catalog.GetString ("Pause"); } |
2146 | + get { return AddinManager.CurrentLocalizer.GetString ("Pause"); } |
2147 | } |
2148 | |
2149 | public override string Description { |
2150 | - get { return Catalog.GetString ("Pause music in Exaile."); } |
2151 | + get { return AddinManager.CurrentLocalizer.GetString ("Pause music in Exaile."); } |
2152 | } |
2153 | |
2154 | public override string Icon { |
2155 | |
2156 | === modified file 'Exaile/src/PlayAction.cs' |
2157 | --- Exaile/src/PlayAction.cs 2009-03-24 13:22:11 +0000 |
2158 | +++ Exaile/src/PlayAction.cs 2009-06-21 11:51:24 +0000 |
2159 | @@ -23,7 +23,7 @@ |
2160 | using System.Diagnostics; |
2161 | using System.Collections.Generic; |
2162 | |
2163 | -using Mono.Unix; |
2164 | +using Mono.Addins; |
2165 | |
2166 | using Do.Universe; |
2167 | |
2168 | @@ -39,11 +39,11 @@ |
2169 | } |
2170 | |
2171 | public override string Name { |
2172 | - get { return Catalog.GetString ("Play"); } |
2173 | + get { return AddinManager.CurrentLocalizer.GetString ("Play"); } |
2174 | } |
2175 | |
2176 | public override string Description { |
2177 | - get { return Catalog.GetString ("Play music in Exaile."); } |
2178 | + get { return AddinManager.CurrentLocalizer.GetString ("Play music in Exaile."); } |
2179 | } |
2180 | |
2181 | public override string Icon { |
2182 | |
2183 | === modified file 'Exaile/src/PlayItemAction.cs' |
2184 | --- Exaile/src/PlayItemAction.cs 2009-03-24 13:22:11 +0000 |
2185 | +++ Exaile/src/PlayItemAction.cs 2009-06-21 11:51:24 +0000 |
2186 | @@ -23,7 +23,7 @@ |
2187 | using System.Diagnostics; |
2188 | using System.Collections.Generic; |
2189 | |
2190 | -using Mono.Unix; |
2191 | +using Mono.Addins; |
2192 | |
2193 | using Do.Universe; |
2194 | |
2195 | @@ -38,11 +38,11 @@ |
2196 | } |
2197 | |
2198 | public override string Name { |
2199 | - get { return Catalog.GetString ("Play"); } |
2200 | + get { return AddinManager.CurrentLocalizer.GetString ("Play"); } |
2201 | } |
2202 | |
2203 | public override string Description { |
2204 | - get { return Catalog.GetString ("Play an item in Exaile."); } |
2205 | + get { return AddinManager.CurrentLocalizer.GetString ("Play an item in Exaile."); } |
2206 | } |
2207 | |
2208 | public override string Icon { |
2209 | |
2210 | === modified file 'Exaile/src/PreviousAction.cs' |
2211 | --- Exaile/src/PreviousAction.cs 2009-03-24 13:22:11 +0000 |
2212 | +++ Exaile/src/PreviousAction.cs 2009-06-21 11:51:24 +0000 |
2213 | @@ -23,7 +23,7 @@ |
2214 | using System.Diagnostics; |
2215 | using System.Collections.Generic; |
2216 | |
2217 | -using Mono.Unix; |
2218 | +using Mono.Addins; |
2219 | |
2220 | using Do.Universe; |
2221 | |
2222 | @@ -39,11 +39,11 @@ |
2223 | } |
2224 | |
2225 | public override string Name { |
2226 | - get { return Catalog.GetString ("Previous"); } |
2227 | + get { return AddinManager.CurrentLocalizer.GetString ("Previous"); } |
2228 | } |
2229 | |
2230 | public override string Description { |
2231 | - get { return Catalog.GetString ("Skip to the previous track in Exaile."); } |
2232 | + get { return AddinManager.CurrentLocalizer.GetString ("Skip to the previous track in Exaile."); } |
2233 | } |
2234 | |
2235 | public override string Icon { |
2236 | |
2237 | === modified file 'File/File.mdp' |
2238 | --- File/File.mdp 2009-06-17 01:19:09 +0000 |
2239 | +++ File/File.mdp 2009-06-22 01:49:55 +0000 |
2240 | @@ -48,7 +48,6 @@ |
2241 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
2242 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
2243 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
2244 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
2245 | <ProjectReference type="Gac" localcopy="True" refto="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
2246 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
2247 | <ProjectReference type="Gac" localcopy="True" refto="Do.Interface.Linux, Version=0.9.0.0, Culture=neutral" /> |
2248 | @@ -56,4 +55,4 @@ |
2249 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform.Linux, Version=0.9.0.0, Culture=neutral" /> |
2250 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
2251 | </References> |
2252 | -</Project> |
2253 | \ No newline at end of file |
2254 | +</Project> |
2255 | |
2256 | === modified file 'File/Makefile.am' |
2257 | --- File/Makefile.am 2009-02-16 01:11:46 +0000 |
2258 | +++ File/Makefile.am 2009-06-22 01:49:05 +0000 |
2259 | @@ -32,7 +32,6 @@ |
2260 | Resources/File.addin.xml |
2261 | |
2262 | REFERENCES = \ |
2263 | - Mono.Posix \ |
2264 | System \ |
2265 | System.Core \ |
2266 | $(GTK_SHARP_20_LIBS) \ |
2267 | |
2268 | === renamed file 'File/Resources/File.addin.xml' => 'File/Resources/File.addin.xml.in' |
2269 | --- File/Resources/File.addin.xml 2009-03-31 23:19:25 +0000 |
2270 | +++ File/Resources/File.addin.xml.in 2009-06-21 11:51:24 +0000 |
2271 | @@ -13,6 +13,8 @@ |
2272 | <Import assembly="File.dll"/> |
2273 | </Runtime> |
2274 | |
2275 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
2276 | + |
2277 | <Dependencies> |
2278 | <Addin id="Universe" version="1.0" /> |
2279 | </Dependencies> |
2280 | |
2281 | === modified file 'File/gtk-gui/Do.FilesAndFolders.Configuration.cs' |
2282 | --- File/gtk-gui/Do.FilesAndFolders.Configuration.cs 2009-03-05 01:12:21 +0000 |
2283 | +++ File/gtk-gui/Do.FilesAndFolders.Configuration.cs 2009-06-22 01:49:05 +0000 |
2284 | @@ -183,7 +183,7 @@ |
2285 | this.show_hidden_chk = new Gtk.CheckButton(); |
2286 | this.show_hidden_chk.CanFocus = true; |
2287 | this.show_hidden_chk.Name = "show_hidden_chk"; |
2288 | - this.show_hidden_chk.Label = Mono.Unix.Catalog.GetString("Show hidden files"); |
2289 | + this.show_hidden_chk.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Show hidden files"); |
2290 | this.show_hidden_chk.DrawIndicator = true; |
2291 | this.show_hidden_chk.UseUnderline = true; |
2292 | this.show_hidden_chk.BorderWidth = ((uint)(5)); |
2293 | @@ -200,7 +200,7 @@ |
2294 | // Notebook tab |
2295 | this.label1 = new Gtk.Label(); |
2296 | this.label1.Name = "label1"; |
2297 | - this.label1.LabelProp = Mono.Unix.Catalog.GetString("Indexed Folders"); |
2298 | + this.label1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Indexed Folders"); |
2299 | this.notebook1.SetTabLabel(this.vbox4, this.label1); |
2300 | this.label1.ShowAll(); |
2301 | // Container child notebook1.Gtk.Notebook+NotebookChild |
2302 | @@ -308,7 +308,7 @@ |
2303 | // Notebook tab |
2304 | this.label2 = new Gtk.Label(); |
2305 | this.label2.Name = "label2"; |
2306 | - this.label2.LabelProp = Mono.Unix.Catalog.GetString("Ignored Folders"); |
2307 | + this.label2.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Ignored Folders"); |
2308 | this.notebook1.SetTabLabel(this.vbox5, this.label2); |
2309 | this.label2.ShowAll(); |
2310 | this.vbox1.Add(this.notebook1); |
2311 | |
2312 | === modified file 'File/gtk-gui/gui.stetic' |
2313 | --- File/gtk-gui/gui.stetic 2009-03-05 01:12:21 +0000 |
2314 | +++ File/gtk-gui/gui.stetic 2009-06-22 01:49:05 +0000 |
2315 | @@ -2,7 +2,7 @@ |
2316 | <stetic-interface> |
2317 | <configuration> |
2318 | <images-root-path>..</images-root-path> |
2319 | - <target-gtk-version>2.12</target-gtk-version> |
2320 | + <target-gtk-version>2.12.9</target-gtk-version> |
2321 | </configuration> |
2322 | <import> |
2323 | <widget-library name="../bin/Debug/File.dll" internal="true" /> |
2324 | |
2325 | === modified file 'File/src/Do/Do.FilesAndFolders/AbstractFileAction.cs' |
2326 | --- File/src/Do/Do.FilesAndFolders/AbstractFileAction.cs 2009-06-09 21:31:05 +0000 |
2327 | +++ File/src/Do/Do.FilesAndFolders/AbstractFileAction.cs 2009-06-21 11:51:24 +0000 |
2328 | @@ -24,7 +24,7 @@ |
2329 | using System.Diagnostics; |
2330 | using System.Collections.Generic; |
2331 | |
2332 | -using Mono.Unix; |
2333 | +using Mono.Addins; |
2334 | |
2335 | using Do.Universe; |
2336 | using Do.Platform; |
2337 | |
2338 | === modified file 'File/src/Do/Do.FilesAndFolders/Configuration.cs' |
2339 | --- File/src/Do/Do.FilesAndFolders/Configuration.cs 2009-03-05 01:12:21 +0000 |
2340 | +++ File/src/Do/Do.FilesAndFolders/Configuration.cs 2009-06-21 11:51:24 +0000 |
2341 | @@ -22,7 +22,7 @@ |
2342 | using System.Linq; |
2343 | |
2344 | using Gtk; |
2345 | -using Mono.Unix; |
2346 | +using Mono.Addins; |
2347 | |
2348 | namespace Do.FilesAndFolders |
2349 | { |
2350 | @@ -32,8 +32,8 @@ |
2351 | { |
2352 | PathNodeView[] nodeViews = new PathNodeView[2]; |
2353 | |
2354 | - string indexDialog = Catalog.GetString ("Choose a folder to index"); |
2355 | - string ignoreDialog = Catalog.GetString ("Choose a folder to ignore"); |
2356 | + string indexDialog = AddinManager.CurrentLocalizer.GetString ("Choose a folder to index"); |
2357 | + string ignoreDialog = AddinManager.CurrentLocalizer.GetString ("Choose a folder to ignore"); |
2358 | |
2359 | public Configuration () |
2360 | { |
2361 | |
2362 | === modified file 'File/src/Do/Do.FilesAndFolders/CopyAction.cs' |
2363 | --- File/src/Do/Do.FilesAndFolders/CopyAction.cs 2009-01-22 18:12:43 +0000 |
2364 | +++ File/src/Do/Do.FilesAndFolders/CopyAction.cs 2009-06-21 11:51:24 +0000 |
2365 | @@ -22,7 +22,7 @@ |
2366 | using System.Linq; |
2367 | using System.Collections.Generic; |
2368 | |
2369 | -using Mono.Unix; |
2370 | +using Mono.Addins; |
2371 | |
2372 | using Do.Universe; |
2373 | using Do.Platform; |
2374 | @@ -34,11 +34,11 @@ |
2375 | { |
2376 | |
2377 | public override string Name { |
2378 | - get { return Catalog.GetString ("Copy to..."); } |
2379 | + get { return AddinManager.CurrentLocalizer.GetString ("Copy to..."); } |
2380 | } |
2381 | |
2382 | public override string Description { |
2383 | - get { return Catalog.GetString ("Copies a file or folder to another location."); } |
2384 | + get { return AddinManager.CurrentLocalizer.GetString ("Copies a file or folder to another location."); } |
2385 | } |
2386 | |
2387 | public override string Icon { |
2388 | |
2389 | === modified file 'File/src/Do/Do.FilesAndFolders/DeleteAction.cs' |
2390 | --- File/src/Do/Do.FilesAndFolders/DeleteAction.cs 2009-01-22 18:12:43 +0000 |
2391 | +++ File/src/Do/Do.FilesAndFolders/DeleteAction.cs 2009-06-21 11:51:24 +0000 |
2392 | @@ -22,7 +22,7 @@ |
2393 | using System.Linq; |
2394 | using System.Collections.Generic; |
2395 | |
2396 | -using Mono.Unix; |
2397 | +using Mono.Addins; |
2398 | |
2399 | using Do.Universe; |
2400 | using Do.Platform; |
2401 | @@ -34,11 +34,11 @@ |
2402 | { |
2403 | |
2404 | public override string Name { |
2405 | - get { return Catalog.GetString ("Delete File"); } |
2406 | + get { return AddinManager.CurrentLocalizer.GetString ("Delete File"); } |
2407 | } |
2408 | |
2409 | public override string Description { |
2410 | - get { return Catalog.GetString ("Deletes a file or folder."); } |
2411 | + get { return AddinManager.CurrentLocalizer.GetString ("Deletes a file or folder."); } |
2412 | } |
2413 | |
2414 | public override string Icon { |
2415 | |
2416 | === modified file 'File/src/Do/Do.FilesAndFolders/FileItemSource.cs' |
2417 | --- File/src/Do/Do.FilesAndFolders/FileItemSource.cs 2009-06-17 01:07:23 +0000 |
2418 | +++ File/src/Do/Do.FilesAndFolders/FileItemSource.cs 2009-06-21 11:51:24 +0000 |
2419 | @@ -22,7 +22,7 @@ |
2420 | using System.Linq; |
2421 | using System.Collections.Generic; |
2422 | |
2423 | -using Mono.Unix; |
2424 | +using Mono.Addins; |
2425 | |
2426 | using Do.Universe; |
2427 | using Do.Platform; |
2428 | @@ -76,12 +76,12 @@ |
2429 | } |
2430 | |
2431 | public override string Name { |
2432 | - get { return Catalog.GetString ("Files and Folders"); } |
2433 | + get { return AddinManager.CurrentLocalizer.GetString ("Files and Folders"); } |
2434 | } |
2435 | |
2436 | public override string Description { |
2437 | get { |
2438 | - return Catalog.GetString ("Catalogs important files and folders for quick access."); |
2439 | + return AddinManager.CurrentLocalizer.GetString ("Catalogs important files and folders for quick access."); |
2440 | } |
2441 | } |
2442 | |
2443 | |
2444 | === modified file 'File/src/Do/Do.FilesAndFolders/MoveAction.cs' |
2445 | --- File/src/Do/Do.FilesAndFolders/MoveAction.cs 2009-01-22 18:12:43 +0000 |
2446 | +++ File/src/Do/Do.FilesAndFolders/MoveAction.cs 2009-06-21 11:51:24 +0000 |
2447 | @@ -22,7 +22,7 @@ |
2448 | using System.Linq; |
2449 | using System.Collections.Generic; |
2450 | |
2451 | -using Mono.Unix; |
2452 | +using Mono.Addins; |
2453 | |
2454 | using Do.Universe; |
2455 | using Do.Platform; |
2456 | @@ -34,11 +34,11 @@ |
2457 | { |
2458 | |
2459 | public override string Name { |
2460 | - get { return Catalog.GetString ("Move to..."); } |
2461 | + get { return AddinManager.CurrentLocalizer.GetString ("Move to..."); } |
2462 | } |
2463 | |
2464 | public override string Description { |
2465 | - get { return Catalog.GetString ("Moves a file or folder to another location."); } |
2466 | + get { return AddinManager.CurrentLocalizer.GetString ("Moves a file or folder to another location."); } |
2467 | } |
2468 | |
2469 | public override string Icon { |
2470 | |
2471 | === modified file 'File/src/Do/Do.FilesAndFolders/MoveToTrashAction.cs' |
2472 | --- File/src/Do/Do.FilesAndFolders/MoveToTrashAction.cs 2009-01-10 03:10:38 +0000 |
2473 | +++ File/src/Do/Do.FilesAndFolders/MoveToTrashAction.cs 2009-06-21 11:51:24 +0000 |
2474 | @@ -21,7 +21,7 @@ |
2475 | using System.IO; |
2476 | using System.Collections.Generic; |
2477 | |
2478 | -using Mono.Unix; |
2479 | +using Mono.Addins; |
2480 | |
2481 | using Do.Universe; |
2482 | using Do.Universe.Common; |
2483 | @@ -36,11 +36,11 @@ |
2484 | Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.LocalApplicationData), "Trash/files"); |
2485 | |
2486 | public override string Name { |
2487 | - get { return Catalog.GetString ("Move to Trash"); } |
2488 | + get { return AddinManager.CurrentLocalizer.GetString ("Move to Trash"); } |
2489 | } |
2490 | |
2491 | public override string Description { |
2492 | - get { return Catalog.GetString ("Moves a file or folder to the trash"); } |
2493 | + get { return AddinManager.CurrentLocalizer.GetString ("Moves a file or folder to the trash"); } |
2494 | } |
2495 | |
2496 | public override string Icon { |
2497 | |
2498 | === modified file 'File/src/Do/Do.FilesAndFolders/NewFileAction.cs' |
2499 | --- File/src/Do/Do.FilesAndFolders/NewFileAction.cs 2009-01-10 03:32:29 +0000 |
2500 | +++ File/src/Do/Do.FilesAndFolders/NewFileAction.cs 2009-06-21 11:51:24 +0000 |
2501 | @@ -22,7 +22,7 @@ |
2502 | using System.Linq; |
2503 | using System.Collections.Generic; |
2504 | |
2505 | -using Mono.Unix; |
2506 | +using Mono.Addins; |
2507 | |
2508 | using Do.Universe; |
2509 | using Do.Platform; |
2510 | @@ -34,11 +34,11 @@ |
2511 | { |
2512 | |
2513 | public override string Name { |
2514 | - get { return Catalog.GetString ("Create New File"); } |
2515 | + get { return AddinManager.CurrentLocalizer.GetString ("Create New File"); } |
2516 | } |
2517 | |
2518 | public override string Description { |
2519 | - get { return Catalog.GetString ("Creates an new, empty file."); } |
2520 | + get { return AddinManager.CurrentLocalizer.GetString ("Creates an new, empty file."); } |
2521 | } |
2522 | |
2523 | public override string Icon { |
2524 | @@ -146,7 +146,7 @@ |
2525 | if (!Directory.Exists (parent)) |
2526 | throw new FileNotFoundException ("Parent directory must exist", "parent"); |
2527 | |
2528 | - return GetNewFileName (parent, Catalog.GetString ("Untitled"), 0); |
2529 | + return GetNewFileName (parent, AddinManager.CurrentLocalizer.GetString ("Untitled"), 0); |
2530 | } |
2531 | |
2532 | static string GetNewFileName (string parent, string name, uint suffix) |
2533 | |
2534 | === modified file 'File/src/Do/Do.FilesAndFolders/NewFolderAction.cs' |
2535 | --- File/src/Do/Do.FilesAndFolders/NewFolderAction.cs 2009-01-10 02:13:19 +0000 |
2536 | +++ File/src/Do/Do.FilesAndFolders/NewFolderAction.cs 2009-06-21 11:51:24 +0000 |
2537 | @@ -21,7 +21,7 @@ |
2538 | using System.IO; |
2539 | using System.Collections.Generic; |
2540 | |
2541 | -using Mono.Unix; |
2542 | +using Mono.Addins; |
2543 | |
2544 | using Do.Universe; |
2545 | using Do.Platform; |
2546 | @@ -32,11 +32,11 @@ |
2547 | public class NewFolderAction : NewFileAction |
2548 | { |
2549 | public override string Name { |
2550 | - get { return Catalog.GetString ("Create New Folder"); } |
2551 | + get { return AddinManager.CurrentLocalizer.GetString ("Create New Folder"); } |
2552 | } |
2553 | |
2554 | public override string Description { |
2555 | - get { return Catalog.GetString ("Creates an new folder."); } |
2556 | + get { return AddinManager.CurrentLocalizer.GetString ("Creates an new folder."); } |
2557 | } |
2558 | |
2559 | public override string Icon { |
2560 | |
2561 | === modified file 'File/src/Do/Do.FilesAndFolders/RecentFileItemSource.cs' |
2562 | --- File/src/Do/Do.FilesAndFolders/RecentFileItemSource.cs 2009-02-14 20:52:23 +0000 |
2563 | +++ File/src/Do/Do.FilesAndFolders/RecentFileItemSource.cs 2009-06-21 11:51:24 +0000 |
2564 | @@ -22,7 +22,7 @@ |
2565 | using System.Linq; |
2566 | using System.Collections.Generic; |
2567 | |
2568 | -using Mono.Unix; |
2569 | +using Mono.Addins; |
2570 | |
2571 | using Do.Universe; |
2572 | using Do.Platform; |
2573 | @@ -69,11 +69,11 @@ |
2574 | } |
2575 | |
2576 | public override string Name { |
2577 | - get { return Catalog.GetString ("Recent Files"); } |
2578 | + get { return AddinManager.CurrentLocalizer.GetString ("Recent Files"); } |
2579 | } |
2580 | |
2581 | public override string Description { |
2582 | - get { return Catalog.GetString ("Finds recently-opened files."); } |
2583 | + get { return AddinManager.CurrentLocalizer.GetString ("Finds recently-opened files."); } |
2584 | } |
2585 | |
2586 | public override string Icon { |
2587 | |
2588 | === modified file 'File/src/Do/Do.FilesAndFolders/RenameAction.cs' |
2589 | --- File/src/Do/Do.FilesAndFolders/RenameAction.cs 2009-01-22 18:12:43 +0000 |
2590 | +++ File/src/Do/Do.FilesAndFolders/RenameAction.cs 2009-06-21 11:51:24 +0000 |
2591 | @@ -22,7 +22,7 @@ |
2592 | using System.Linq; |
2593 | using System.Collections.Generic; |
2594 | |
2595 | -using Mono.Unix; |
2596 | +using Mono.Addins; |
2597 | |
2598 | using Do.Universe; |
2599 | using Do.Platform; |
2600 | @@ -34,11 +34,11 @@ |
2601 | { |
2602 | |
2603 | public override string Name { |
2604 | - get { return Catalog.GetString ("Rename file..."); } |
2605 | + get { return AddinManager.CurrentLocalizer.GetString ("Rename file..."); } |
2606 | } |
2607 | |
2608 | public override string Description { |
2609 | - get { return Catalog.GetString ("Renames a file."); } |
2610 | + get { return AddinManager.CurrentLocalizer.GetString ("Renames a file."); } |
2611 | } |
2612 | |
2613 | public override string Icon { |
2614 | |
2615 | === modified file 'File/src/IgnorePathNodeView.cs' |
2616 | --- File/src/IgnorePathNodeView.cs 2009-03-04 22:34:14 +0000 |
2617 | +++ File/src/IgnorePathNodeView.cs 2009-06-21 11:51:24 +0000 |
2618 | @@ -19,7 +19,7 @@ |
2619 | */ |
2620 | |
2621 | using System; |
2622 | -using Mono.Unix; |
2623 | +using Mono.Addins; |
2624 | |
2625 | using Gtk; |
2626 | |
2627 | @@ -45,7 +45,7 @@ |
2628 | cell = new CellRendererText (); |
2629 | (cell as CellRendererText).Width = 310; |
2630 | (cell as CellRendererText).Ellipsize = Pango.EllipsizeMode.Middle; |
2631 | - AppendColumn (Catalog.GetString ("Folder"), cell, "text", Column.Path); |
2632 | + AppendColumn (AddinManager.CurrentLocalizer.GetString ("Folder"), cell, "text", Column.Path); |
2633 | |
2634 | Refresh (); |
2635 | } |
2636 | |
2637 | === modified file 'File/src/IndexPathNodeView.cs' |
2638 | --- File/src/IndexPathNodeView.cs 2009-03-05 01:12:21 +0000 |
2639 | +++ File/src/IndexPathNodeView.cs 2009-06-21 11:51:24 +0000 |
2640 | @@ -19,7 +19,7 @@ |
2641 | */ |
2642 | |
2643 | using System; |
2644 | -using Mono.Unix; |
2645 | +using Mono.Addins; |
2646 | |
2647 | using Gtk; |
2648 | |
2649 | @@ -46,13 +46,13 @@ |
2650 | cell = new CellRendererText (); |
2651 | (cell as CellRendererText).Width = 280; |
2652 | (cell as CellRendererText).Ellipsize = Pango.EllipsizeMode.Middle; |
2653 | - AppendColumn (Catalog.GetString ("Folder"), cell, "text", Column.Path); |
2654 | + AppendColumn (AddinManager.CurrentLocalizer.GetString ("Folder"), cell, "text", Column.Path); |
2655 | |
2656 | cell = new CellRendererText (); |
2657 | (cell as CellRendererText).Editable = true; |
2658 | (cell as CellRendererText).Edited += OnDepthEdited; |
2659 | (cell as CellRendererText).Alignment = Pango.Alignment.Right; |
2660 | - AppendColumn (Catalog.GetString ("Depth"), cell, "text", Column.Depth); |
2661 | + AppendColumn (AddinManager.CurrentLocalizer.GetString ("Depth"), cell, "text", Column.Depth); |
2662 | |
2663 | Refresh (); |
2664 | } |
2665 | |
2666 | === modified file 'File/src/PathNodeView.cs' |
2667 | --- File/src/PathNodeView.cs 2009-03-04 22:34:14 +0000 |
2668 | +++ File/src/PathNodeView.cs 2009-06-21 11:51:24 +0000 |
2669 | @@ -19,7 +19,7 @@ |
2670 | */ |
2671 | |
2672 | using System; |
2673 | -using Mono.Unix; |
2674 | +using Mono.Addins; |
2675 | |
2676 | using Gtk; |
2677 | |
2678 | |
2679 | === modified file 'Firefox/Firefox.mdp' |
2680 | --- Firefox/Firefox.mdp 2009-05-19 00:21:18 +0000 |
2681 | +++ Firefox/Firefox.mdp 2009-06-22 01:49:55 +0000 |
2682 | @@ -25,7 +25,6 @@ |
2683 | </Contents> |
2684 | <References> |
2685 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
2686 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
2687 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
2688 | <ProjectReference type="Gac" localcopy="True" refto="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
2689 | <ProjectReference type="Gac" localcopy="True" refto="Mono.Data.SqliteClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
2690 | @@ -35,4 +34,4 @@ |
2691 | <ProjectReference type="Gac" localcopy="True" refto="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
2692 | <ProjectReference type="Gac" localcopy="True" refto="Mono.Data.SqliteClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
2693 | </References> |
2694 | -</Project> |
2695 | \ No newline at end of file |
2696 | +</Project> |
2697 | |
2698 | === modified file 'Firefox/Makefile.am' |
2699 | --- Firefox/Makefile.am 2009-05-19 00:21:18 +0000 |
2700 | +++ Firefox/Makefile.am 2009-06-21 11:51:24 +0000 |
2701 | @@ -17,6 +17,5 @@ |
2702 | System.Core \ |
2703 | System.Data \ |
2704 | Mono.Data.SqliteClient \ |
2705 | - Mono.Posix \ |
2706 | $(DO_PLATFORM_LIBS) \ |
2707 | $(DO_UNIVERSE_LIBS) |
2708 | |
2709 | === renamed file 'Firefox/Resources/Firefox.addin.xml' => 'Firefox/Resources/Firefox.addin.xml.in' |
2710 | --- Firefox/Resources/Firefox.addin.xml 2009-05-19 00:21:18 +0000 |
2711 | +++ Firefox/Resources/Firefox.addin.xml.in 2009-06-21 11:51:24 +0000 |
2712 | @@ -13,6 +13,8 @@ |
2713 | <Import assembly="Firefox.dll"/> |
2714 | </Runtime> |
2715 | |
2716 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
2717 | + |
2718 | <Dependencies> |
2719 | <Addin id="Universe" version="1.0" /> |
2720 | </Dependencies> |
2721 | |
2722 | === modified file 'Firefox/src/BrowseBookmarkItem.cs' |
2723 | --- Firefox/src/BrowseBookmarkItem.cs 2009-05-19 00:21:18 +0000 |
2724 | +++ Firefox/src/BrowseBookmarkItem.cs 2009-06-21 11:51:24 +0000 |
2725 | @@ -18,7 +18,7 @@ |
2726 | |
2727 | using System; |
2728 | |
2729 | -using Mono.Unix; |
2730 | +using Mono.Addins; |
2731 | |
2732 | using Do.Universe; |
2733 | |
2734 | @@ -27,11 +27,11 @@ |
2735 | public class BrowseBookmarkItem : Item |
2736 | { |
2737 | public override string Name { |
2738 | - get { return Catalog.GetString ("Bookmarks"); } |
2739 | + get { return AddinManager.CurrentLocalizer.GetString ("Bookmarks"); } |
2740 | } |
2741 | |
2742 | public override string Description { |
2743 | - get { return Catalog.GetString ("Browse Firefox Bookmarks"); } |
2744 | + get { return AddinManager.CurrentLocalizer.GetString ("Browse Firefox Bookmarks"); } |
2745 | } |
2746 | |
2747 | public override string Icon { |
2748 | |
2749 | === modified file 'Firefox/src/BrowseHistoryItem.cs' |
2750 | --- Firefox/src/BrowseHistoryItem.cs 2009-05-19 00:21:18 +0000 |
2751 | +++ Firefox/src/BrowseHistoryItem.cs 2009-06-21 11:51:24 +0000 |
2752 | @@ -20,7 +20,7 @@ |
2753 | |
2754 | using System; |
2755 | |
2756 | -using Mono.Unix; |
2757 | +using Mono.Addins; |
2758 | |
2759 | using Do.Universe; |
2760 | |
2761 | @@ -29,11 +29,11 @@ |
2762 | public class BrowseHistoryItem : Item |
2763 | { |
2764 | public override string Name { |
2765 | - get { return Catalog.GetString ("History"); } |
2766 | + get { return AddinManager.CurrentLocalizer.GetString ("History"); } |
2767 | } |
2768 | |
2769 | public override string Description { |
2770 | - get { return Catalog.GetString ("Browse Firefox History"); } |
2771 | + get { return AddinManager.CurrentLocalizer.GetString ("Browse Firefox History"); } |
2772 | } |
2773 | |
2774 | public override string Icon { |
2775 | |
2776 | === modified file 'Firefox/src/FolderItem.cs' |
2777 | --- Firefox/src/FolderItem.cs 2009-05-19 00:21:18 +0000 |
2778 | +++ Firefox/src/FolderItem.cs 2009-06-21 11:51:24 +0000 |
2779 | @@ -20,7 +20,7 @@ |
2780 | |
2781 | using System; |
2782 | |
2783 | -using Mono.Unix; |
2784 | +using Mono.Addins; |
2785 | |
2786 | using Do.Universe; |
2787 | |
2788 | @@ -48,7 +48,7 @@ |
2789 | } |
2790 | |
2791 | public override string Description { |
2792 | - get { return Catalog.GetString ("A Firefox Bookmarks Directory"); } |
2793 | + get { return AddinManager.CurrentLocalizer.GetString ("A Firefox Bookmarks Directory"); } |
2794 | } |
2795 | |
2796 | public override string Icon { |
2797 | |
2798 | === modified file 'Firefox/src/PlaceItem.cs' |
2799 | --- Firefox/src/PlaceItem.cs 2009-05-19 00:21:18 +0000 |
2800 | +++ Firefox/src/PlaceItem.cs 2009-06-21 11:51:24 +0000 |
2801 | @@ -20,7 +20,7 @@ |
2802 | |
2803 | using System; |
2804 | |
2805 | -using Mono.Unix; |
2806 | +using Mono.Addins; |
2807 | |
2808 | using Do.Universe; |
2809 | using Do.Universe.Common; |
2810 | |
2811 | === modified file 'Firefox/src/PlacesItemSource.cs' |
2812 | --- Firefox/src/PlacesItemSource.cs 2009-05-19 03:46:55 +0000 |
2813 | +++ Firefox/src/PlacesItemSource.cs 2009-06-21 11:51:24 +0000 |
2814 | @@ -28,7 +28,7 @@ |
2815 | using Do.Universe; |
2816 | using Do.Universe.Common; |
2817 | |
2818 | -using Mono.Unix; |
2819 | +using Mono.Addins; |
2820 | using Mono.Data.SqliteClient; |
2821 | |
2822 | namespace Firefox |
2823 | @@ -66,11 +66,11 @@ |
2824 | } |
2825 | |
2826 | public override string Name { |
2827 | - get { return Catalog.GetString ("Firefox Places"); } |
2828 | + get { return AddinManager.CurrentLocalizer.GetString ("Firefox Places"); } |
2829 | } |
2830 | |
2831 | public override string Description { |
2832 | - get { return Catalog.GetString ("Search your bookmarks and history."); } |
2833 | + get { return AddinManager.CurrentLocalizer.GetString ("Search your bookmarks and history."); } |
2834 | } |
2835 | |
2836 | public override string Icon { |
2837 | @@ -246,7 +246,7 @@ |
2838 | * parent for all other directories. It doesn't have a name, |
2839 | * so we'll give it one. */ |
2840 | if (id == 1) |
2841 | - yield return new FolderItem (Catalog.GetString ("Mozilla Bookmarks"), id, parent); |
2842 | + yield return new FolderItem (AddinManager.CurrentLocalizer.GetString ("Mozilla Bookmarks"), id, parent); |
2843 | /* Firefox uses another field that doesn't have a name. |
2844 | * It references portions of their menu that generate |
2845 | * information dynamically from History, Tags, etc. |
2846 | |
2847 | === modified file 'Flickr/Flickr.mdp' |
2848 | --- Flickr/Flickr.mdp 2009-04-30 01:03:44 +0000 |
2849 | +++ Flickr/Flickr.mdp 2009-06-22 01:49:55 +0000 |
2850 | @@ -36,10 +36,9 @@ |
2851 | <ProjectReference type="Gac" localcopy="True" refto="FlickrNet, Version=2.1.5.0, Culture=neutral, PublicKeyToken=2491df59efa5d132" /> |
2852 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
2853 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
2854 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
2855 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
2856 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
2857 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
2858 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform.Linux, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
2859 | </References> |
2860 | -</Project> |
2861 | \ No newline at end of file |
2862 | +</Project> |
2863 | |
2864 | === modified file 'Flickr/Makefile.am' |
2865 | --- Flickr/Makefile.am 2009-05-07 16:03:28 +0000 |
2866 | +++ Flickr/Makefile.am 2009-06-22 01:49:05 +0000 |
2867 | @@ -23,7 +23,6 @@ |
2868 | Resources/icons/flickr.png |
2869 | |
2870 | REFERENCES = \ |
2871 | - Mono.Posix \ |
2872 | System \ |
2873 | System.Core \ |
2874 | $(GTK_SHARP_20_LIBS) \ |
2875 | |
2876 | === renamed file 'Flickr/Resources/Flickr.addin.xml' => 'Flickr/Resources/Flickr.addin.xml.in' |
2877 | --- Flickr/Resources/Flickr.addin.xml 2009-03-31 23:19:25 +0000 |
2878 | +++ Flickr/Resources/Flickr.addin.xml.in 2009-06-21 11:51:24 +0000 |
2879 | @@ -12,6 +12,8 @@ |
2880 | <Runtime> |
2881 | <Import assembly="Flickr.dll"/> |
2882 | </Runtime> |
2883 | + |
2884 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
2885 | |
2886 | <Dependencies> |
2887 | <Addin id="Universe" version="1.0" /> |
2888 | |
2889 | === modified file 'Flickr/gtk-gui/Flickr.AccountConfig.cs' |
2890 | --- Flickr/gtk-gui/Flickr.AccountConfig.cs 2009-04-24 01:15:22 +0000 |
2891 | +++ Flickr/gtk-gui/Flickr.AccountConfig.cs 2009-06-22 01:49:05 +0000 |
2892 | @@ -64,7 +64,7 @@ |
2893 | // Container child vbox2.Gtk.Box+BoxChild |
2894 | this.status_lbl = new Gtk.Label(); |
2895 | this.status_lbl.Name = "status_lbl"; |
2896 | - this.status_lbl.LabelProp = Mono.Unix.Catalog.GetString("Do needs your authorization in order to upload photos to your flickr account. Press the \"Authorize\" button to open a web browser and give Do authorization. "); |
2897 | + this.status_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Do needs your authorization in order to upload photos to your flickr account. Press the \"Authorize\" button to open a web browser and give Do authorization. "); |
2898 | this.status_lbl.Wrap = true; |
2899 | this.vbox2.Add(this.status_lbl); |
2900 | Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.status_lbl])); |
2901 | @@ -91,7 +91,7 @@ |
2902 | this.frame1.Add(this.GtkAlignment); |
2903 | this.auth_lbl = new Gtk.Label(); |
2904 | this.auth_lbl.Name = "auth_lbl"; |
2905 | - this.auth_lbl.LabelProp = Mono.Unix.Catalog.GetString("<b>Account</b>"); |
2906 | + this.auth_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Account</b>"); |
2907 | this.auth_lbl.UseMarkup = true; |
2908 | this.frame1.LabelWidget = this.auth_lbl; |
2909 | this.vbox1.Add(this.frame1); |
2910 | @@ -116,7 +116,7 @@ |
2911 | w9.Add(w10); |
2912 | // Container child GtkHBox.Gtk.Container+ContainerChild |
2913 | Gtk.Label w12 = new Gtk.Label(); |
2914 | - w12.LabelProp = Mono.Unix.Catalog.GetString("_Authorize"); |
2915 | + w12.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("_Authorize"); |
2916 | w12.UseUnderline = true; |
2917 | w9.Add(w12); |
2918 | w8.Add(w9); |
2919 | |
2920 | === modified file 'Flickr/gtk-gui/Flickr.UploadConfig.cs' |
2921 | --- Flickr/gtk-gui/Flickr.UploadConfig.cs 2009-04-19 02:03:26 +0000 |
2922 | +++ Flickr/gtk-gui/Flickr.UploadConfig.cs 2009-06-22 01:49:05 +0000 |
2923 | @@ -80,7 +80,7 @@ |
2924 | this.vbox6.Name = "vbox6"; |
2925 | this.vbox6.Spacing = 6; |
2926 | // Container child vbox6.Gtk.Box+BoxChild |
2927 | - this.private_radio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Private")); |
2928 | + this.private_radio = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Private")); |
2929 | this.private_radio.CanFocus = true; |
2930 | this.private_radio.Name = "private_radio"; |
2931 | this.private_radio.Active = true; |
2932 | @@ -104,7 +104,7 @@ |
2933 | this.friends_chk = new Gtk.CheckButton(); |
2934 | this.friends_chk.CanFocus = true; |
2935 | this.friends_chk.Name = "friends_chk"; |
2936 | - this.friends_chk.Label = Mono.Unix.Catalog.GetString("Visible to friends"); |
2937 | + this.friends_chk.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Visible to friends"); |
2938 | this.friends_chk.DrawIndicator = true; |
2939 | this.friends_chk.UseUnderline = true; |
2940 | this.vbox7.Add(this.friends_chk); |
2941 | @@ -116,7 +116,7 @@ |
2942 | this.family_chk = new Gtk.CheckButton(); |
2943 | this.family_chk.CanFocus = true; |
2944 | this.family_chk.Name = "family_chk"; |
2945 | - this.family_chk.Label = Mono.Unix.Catalog.GetString("Visible to family"); |
2946 | + this.family_chk.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Visible to family"); |
2947 | this.family_chk.DrawIndicator = true; |
2948 | this.family_chk.UseUnderline = true; |
2949 | this.vbox7.Add(this.family_chk); |
2950 | @@ -131,7 +131,7 @@ |
2951 | w5.Expand = false; |
2952 | w5.Fill = false; |
2953 | // Container child vbox6.Gtk.Box+BoxChild |
2954 | - this.public_radio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Public")); |
2955 | + this.public_radio = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Public")); |
2956 | this.public_radio.CanFocus = true; |
2957 | this.public_radio.Name = "public_radio"; |
2958 | this.public_radio.DrawIndicator = true; |
2959 | @@ -146,7 +146,7 @@ |
2960 | this.frame3.Add(this.GtkAlignment2); |
2961 | this.GtkLabel5 = new Gtk.Label(); |
2962 | this.GtkLabel5.Name = "GtkLabel5"; |
2963 | - this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>Viewing permissions</b>"); |
2964 | + this.GtkLabel5.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Viewing permissions</b>"); |
2965 | this.GtkLabel5.UseMarkup = true; |
2966 | this.frame3.LabelWidget = this.GtkLabel5; |
2967 | this.vbox4.Add(this.frame3); |
2968 | @@ -179,7 +179,7 @@ |
2969 | this.label1 = new Gtk.Label(); |
2970 | this.label1.Name = "label1"; |
2971 | this.label1.Xalign = 0F; |
2972 | - this.label1.LabelProp = Mono.Unix.Catalog.GetString("Default tags to use on images posted with Do. Seperate tags with a space; for multiple word tags use quotes. ex.) concert \"Mars Volta\" Omar"); |
2973 | + this.label1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Default tags to use on images posted with Do. Seperate tags with a space; for multiple word tags use quotes. ex.) concert \"Mars Volta\" Omar"); |
2974 | this.label1.Wrap = true; |
2975 | this.vbox5.Add(this.label1); |
2976 | Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox5[this.label1])); |
2977 | @@ -206,7 +206,7 @@ |
2978 | this.frame1.Add(this.GtkAlignment); |
2979 | this.GtkLabel4 = new Gtk.Label(); |
2980 | this.GtkLabel4.Name = "GtkLabel4"; |
2981 | - this.GtkLabel4.LabelProp = Mono.Unix.Catalog.GetString("<b>Tags</b>"); |
2982 | + this.GtkLabel4.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Tags</b>"); |
2983 | this.GtkLabel4.UseMarkup = true; |
2984 | this.frame1.LabelWidget = this.GtkLabel4; |
2985 | this.vbox3.Add(this.frame1); |
2986 | |
2987 | === modified file 'Flickr/gtk-gui/Flickr.UploadDialog.cs' |
2988 | --- Flickr/gtk-gui/Flickr.UploadDialog.cs 2009-04-24 00:44:55 +0000 |
2989 | +++ Flickr/gtk-gui/Flickr.UploadDialog.cs 2009-06-22 01:49:05 +0000 |
2990 | @@ -33,7 +33,7 @@ |
2991 | Stetic.Gui.Initialize(this); |
2992 | // Widget Flickr.UploadDialog |
2993 | this.Name = "Flickr.UploadDialog"; |
2994 | - this.Title = Mono.Unix.Catalog.GetString("Flickr Upload"); |
2995 | + this.Title = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Flickr Upload"); |
2996 | this.Icon = Gdk.Pixbuf.LoadFromResource("flickr.png"); |
2997 | this.WindowPosition = ((Gtk.WindowPosition)(4)); |
2998 | this.Resizable = false; |
2999 | @@ -118,7 +118,7 @@ |
3000 | w10.Add(w11); |
3001 | // Container child GtkHBox.Gtk.Container+ContainerChild |
3002 | Gtk.Label w13 = new Gtk.Label(); |
3003 | - w13.LabelProp = Mono.Unix.Catalog.GetString("_Hide"); |
3004 | + w13.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("_Hide"); |
3005 | w13.UseUnderline = true; |
3006 | w10.Add(w13); |
3007 | w9.Add(w10); |
3008 | @@ -143,7 +143,7 @@ |
3009 | w19.Add(w20); |
3010 | // Container child GtkHBox1.Gtk.Container+ContainerChild |
3011 | Gtk.Label w22 = new Gtk.Label(); |
3012 | - w22.LabelProp = Mono.Unix.Catalog.GetString("_OK"); |
3013 | + w22.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("_OK"); |
3014 | w22.UseUnderline = true; |
3015 | w19.Add(w22); |
3016 | w18.Add(w19); |
3017 | |
3018 | === modified file 'Flickr/gtk-gui/gui.stetic' |
3019 | --- Flickr/gtk-gui/gui.stetic 2009-04-30 01:03:44 +0000 |
3020 | +++ Flickr/gtk-gui/gui.stetic 2009-06-22 01:49:05 +0000 |
3021 | @@ -2,7 +2,7 @@ |
3022 | <stetic-interface> |
3023 | <configuration> |
3024 | <images-root-path>..</images-root-path> |
3025 | - <target-gtk-version>2.12</target-gtk-version> |
3026 | + <target-gtk-version>2.12.9</target-gtk-version> |
3027 | </configuration> |
3028 | <import> |
3029 | <widget-library name="../bin/Debug/Flickr.dll" internal="true" /> |
3030 | |
3031 | === modified file 'Flickr/src/AccountConfig.cs' |
3032 | --- Flickr/src/AccountConfig.cs 2008-12-24 03:48:49 +0000 |
3033 | +++ Flickr/src/AccountConfig.cs 2009-06-21 11:51:24 +0000 |
3034 | @@ -19,7 +19,7 @@ |
3035 | */ |
3036 | using System; |
3037 | using System.Threading; |
3038 | -using Mono.Unix; |
3039 | +using Mono.Addins; |
3040 | |
3041 | using Gtk; |
3042 | using FlickrNet; |
3043 | @@ -88,7 +88,7 @@ |
3044 | Frob = flickr.AuthGetFrob (); |
3045 | Services.Environment.OpenUrl (flickr.AuthCalcUrl (Frob, AuthLevel.Write)); |
3046 | Widget image = auth_btn.Image; |
3047 | - auth_btn.Label = Catalog.GetString ("Click to compete authorization"); |
3048 | + auth_btn.Label = AddinManager.CurrentLocalizer.GetString ("Click to compete authorization"); |
3049 | auth_btn.Image = image; |
3050 | auth_btn.Clicked -= new EventHandler (OnAuthBtnClicked); |
3051 | auth_btn.Clicked += new EventHandler (OnCompleteBtnClicked); |
3052 | @@ -109,7 +109,7 @@ |
3053 | |
3054 | private void SetBtnStateComplete () |
3055 | { |
3056 | - status_lbl.Text = String.Format (Catalog.GetString ("Thank you {0} " |
3057 | + status_lbl.Text = String.Format (AddinManager.CurrentLocalizer.GetString ("Thank you {0} " |
3058 | + "for allowing Do access to Flickr."), Username); |
3059 | auth_btn.Label = "Sign in as a different user"; |
3060 | auth_btn.Clicked -= new EventHandler (OnCompleteBtnClicked); |
3061 | |
3062 | === modified file 'Flickr/src/FlickrItemSource.cs' |
3063 | --- Flickr/src/FlickrItemSource.cs 2008-12-24 03:48:49 +0000 |
3064 | +++ Flickr/src/FlickrItemSource.cs 2009-06-21 11:51:24 +0000 |
3065 | @@ -21,7 +21,7 @@ |
3066 | |
3067 | using System; |
3068 | using System.Collections.Generic; |
3069 | -using Mono.Unix; |
3070 | +using Mono.Addins; |
3071 | |
3072 | using Do.Universe; |
3073 | using Do.Platform.Linux; |
3074 | @@ -31,7 +31,7 @@ |
3075 | public class FlickrItemSource : ItemSource, IConfigurable |
3076 | { |
3077 | public override string Name { |
3078 | - get { return Catalog.GetString ("Account"); } |
3079 | + get { return AddinManager.CurrentLocalizer.GetString ("Account"); } |
3080 | } |
3081 | |
3082 | public override string Description { |
3083 | |
3084 | === modified file 'Flickr/src/UploadAction.cs' |
3085 | --- Flickr/src/UploadAction.cs 2009-04-19 02:03:26 +0000 |
3086 | +++ Flickr/src/UploadAction.cs 2009-06-21 11:51:24 +0000 |
3087 | @@ -24,7 +24,7 @@ |
3088 | using System.Threading; |
3089 | using System.Collections.Generic; |
3090 | using System.Linq; |
3091 | -using Mono.Unix; |
3092 | +using Mono.Addins; |
3093 | |
3094 | using Do.Universe; |
3095 | using Do.Platform; |
3096 | @@ -37,11 +37,11 @@ |
3097 | const string ImageExtensions = ".jpg .jpeg .gif .png .tiff"; |
3098 | |
3099 | public override string Name { |
3100 | - get { return Catalog.GetString ("Upload photo"); } |
3101 | + get { return AddinManager.CurrentLocalizer.GetString ("Upload photo"); } |
3102 | } |
3103 | |
3104 | public override string Description { |
3105 | - get { return Catalog.GetString ("Upload one or more photos to Flickr"); } |
3106 | + get { return AddinManager.CurrentLocalizer.GetString ("Upload one or more photos to Flickr"); } |
3107 | } |
3108 | |
3109 | /* |
3110 | |
3111 | === modified file 'Flickr/src/UploadDialog.cs' |
3112 | --- Flickr/src/UploadDialog.cs 2009-05-05 19:29:20 +0000 |
3113 | +++ Flickr/src/UploadDialog.cs 2009-06-21 11:51:24 +0000 |
3114 | @@ -1,5 +1,5 @@ |
3115 | using System; |
3116 | -using Mono.Unix; |
3117 | +using Mono.Addins; |
3118 | |
3119 | using Gtk; |
3120 | using Gdk; |
3121 | @@ -29,17 +29,17 @@ |
3122 | |
3123 | this.CurrentUpload = 0; |
3124 | this.IsDestroyed = false; |
3125 | - UploadingLabel = Catalog.GetString ("Uploading {0}..."); |
3126 | - ProgressLabel = Catalog.GetString ("Uploading {0} of {1}..."); |
3127 | - FinishedUploadLabel = Catalog.GetString ("Finished uploading images to Flickr."); |
3128 | - FinishedProgressLabel = Catalog.GetString ("Uploaded {0} images"); |
3129 | - ContinuationText = Catalog.GetString ("Your images are still being uploaded."); |
3130 | + UploadingLabel = AddinManager.CurrentLocalizer.GetString ("Uploading {0}..."); |
3131 | + ProgressLabel = AddinManager.CurrentLocalizer.GetString ("Uploading {0} of {1}..."); |
3132 | + FinishedUploadLabel = AddinManager.CurrentLocalizer.GetString ("Finished uploading images to Flickr."); |
3133 | + FinishedProgressLabel = AddinManager.CurrentLocalizer.GetString ("Uploaded {0} images"); |
3134 | + ContinuationText = AddinManager.CurrentLocalizer.GetString ("Your images are still being uploaded."); |
3135 | |
3136 | using (Pixbuf FlickrPix = Pixbuf.LoadFromResource ("flickr.png")) |
3137 | FlickrImage.Pixbuf = FlickrPix.ScaleSimple (75, 75, Gdk.InterpType.Bilinear); |
3138 | |
3139 | - TextLabel.Text = Catalog.GetString ("Your images are being uploaded to Flickr."); |
3140 | - uploadProgress.Text = Catalog.GetString (string.Format (ProgressLabel, CurrentUpload, TotalUploads)); |
3141 | + TextLabel.Text = AddinManager.CurrentLocalizer.GetString ("Your images are being uploaded to Flickr."); |
3142 | + uploadProgress.Text = AddinManager.CurrentLocalizer.GetString (string.Format (ProgressLabel, CurrentUpload, TotalUploads)); |
3143 | } |
3144 | |
3145 | public int TotalUploads {get; set; } |
3146 | |
3147 | === modified file 'GNOME-Dictionary/GNOME-Dictionary.mdp' |
3148 | --- GNOME-Dictionary/GNOME-Dictionary.mdp 2009-02-28 16:16:48 +0000 |
3149 | +++ GNOME-Dictionary/GNOME-Dictionary.mdp 2009-06-22 01:49:55 +0000 |
3150 | @@ -21,11 +21,10 @@ |
3151 | </Contents> |
3152 | <References> |
3153 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3154 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
3155 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3156 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3157 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3158 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
3159 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
3160 | </References> |
3161 | -</Project> |
3162 | \ No newline at end of file |
3163 | +</Project> |
3164 | |
3165 | === modified file 'GNOME-Dictionary/Makefile.am' |
3166 | --- GNOME-Dictionary/Makefile.am 2009-01-09 05:04:13 +0000 |
3167 | +++ GNOME-Dictionary/Makefile.am 2009-06-21 11:51:24 +0000 |
3168 | @@ -9,7 +9,6 @@ |
3169 | Resources/GNOME-Dictionary.addin.xml |
3170 | |
3171 | REFERENCES = \ |
3172 | - Mono.Posix \ |
3173 | System \ |
3174 | System.Core \ |
3175 | $(GTK_SHARP_20_LIBS) \ |
3176 | |
3177 | === renamed file 'GNOME-Dictionary/Resources/GNOME-Dictionary.addin.xml' => 'GNOME-Dictionary/Resources/GNOME-Dictionary.addin.xml.in' |
3178 | --- GNOME-Dictionary/Resources/GNOME-Dictionary.addin.xml 2009-03-31 23:19:25 +0000 |
3179 | +++ GNOME-Dictionary/Resources/GNOME-Dictionary.addin.xml.in 2009-06-21 11:51:24 +0000 |
3180 | @@ -12,6 +12,8 @@ |
3181 | <Runtime> |
3182 | <Import assembly="GNOME-Dictionary.dll"/> |
3183 | </Runtime> |
3184 | + |
3185 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
3186 | |
3187 | <Dependencies> |
3188 | <Addin id="Universe" version="1.0" /> |
3189 | |
3190 | === modified file 'GNOME-Dictionary/src/DefineAction.cs' |
3191 | --- GNOME-Dictionary/src/DefineAction.cs 2008-12-21 23:44:34 +0000 |
3192 | +++ GNOME-Dictionary/src/DefineAction.cs 2009-06-21 11:51:24 +0000 |
3193 | @@ -21,7 +21,7 @@ |
3194 | using System.Collections.Generic; |
3195 | using System.Text.RegularExpressions; |
3196 | |
3197 | -using Mono.Unix; |
3198 | +using Mono.Addins; |
3199 | using Do.Universe; |
3200 | |
3201 | namespace GNOME |
3202 | @@ -48,12 +48,12 @@ |
3203 | } |
3204 | |
3205 | public override string Name { |
3206 | - get { return Catalog.GetString ("Define"); } |
3207 | + get { return AddinManager.CurrentLocalizer.GetString ("Define"); } |
3208 | } |
3209 | |
3210 | public override string Description |
3211 | { |
3212 | - get { return Catalog.GetString ("Define a given word."); } |
3213 | + get { return AddinManager.CurrentLocalizer.GetString ("Define a given word."); } |
3214 | } |
3215 | |
3216 | public override string Icon |
3217 | |
3218 | === modified file 'GNOME-Screenshot/GNOME-Screenshot.mdp' |
3219 | --- GNOME-Screenshot/GNOME-Screenshot.mdp 2009-02-28 16:16:48 +0000 |
3220 | +++ GNOME-Screenshot/GNOME-Screenshot.mdp 2009-06-22 01:49:55 +0000 |
3221 | @@ -25,9 +25,8 @@ |
3222 | </Contents> |
3223 | <References> |
3224 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3225 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
3226 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3227 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3228 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3229 | </References> |
3230 | -</Project> |
3231 | \ No newline at end of file |
3232 | +</Project> |
3233 | |
3234 | === modified file 'GNOME-Screenshot/Makefile.am' |
3235 | --- GNOME-Screenshot/Makefile.am 2009-01-09 05:04:13 +0000 |
3236 | +++ GNOME-Screenshot/Makefile.am 2009-06-21 11:51:24 +0000 |
3237 | @@ -14,7 +14,6 @@ |
3238 | Resources/GNOME-Screenshot.addin.xml |
3239 | |
3240 | REFERENCES = \ |
3241 | - Mono.Posix \ |
3242 | System \ |
3243 | System.Core \ |
3244 | $(DO_PLATFORM_LIBS) \ |
3245 | |
3246 | === renamed file 'GNOME-Screenshot/Resources/GNOME-Screenshot.addin.xml' => 'GNOME-Screenshot/Resources/GNOME-Screenshot.addin.xml.in' |
3247 | --- GNOME-Screenshot/Resources/GNOME-Screenshot.addin.xml 2009-03-31 23:19:25 +0000 |
3248 | +++ GNOME-Screenshot/Resources/GNOME-Screenshot.addin.xml.in 2009-06-21 11:51:24 +0000 |
3249 | @@ -12,6 +12,8 @@ |
3250 | <Runtime> |
3251 | <Import assembly="GNOME-Screenshot.dll"/> |
3252 | </Runtime> |
3253 | + |
3254 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
3255 | |
3256 | <Dependencies> |
3257 | <Addin id="Universe" version="1.0" /> |
3258 | |
3259 | === modified file 'GNOME-Screenshot/src/CurrentWindowScreenshotItem.cs' |
3260 | --- GNOME-Screenshot/src/CurrentWindowScreenshotItem.cs 2008-07-25 05:30:47 +0000 |
3261 | +++ GNOME-Screenshot/src/CurrentWindowScreenshotItem.cs 2009-06-21 11:51:24 +0000 |
3262 | @@ -19,17 +19,17 @@ |
3263 | */ |
3264 | |
3265 | using System; |
3266 | -using Mono.Unix; |
3267 | +using Mono.Addins; |
3268 | |
3269 | namespace GNOME { |
3270 | |
3271 | class CurrentWindowScreenshotItem : ScreenshotItem { |
3272 | public override string Name { |
3273 | - get { return Catalog.GetString ("Current window"); } |
3274 | + get { return AddinManager.CurrentLocalizer.GetString ("Current window"); } |
3275 | } |
3276 | |
3277 | public override string Description { |
3278 | - get { return Catalog.GetString ("Take a screenshot of the current window."); } |
3279 | + get { return AddinManager.CurrentLocalizer.GetString ("Take a screenshot of the current window."); } |
3280 | } |
3281 | |
3282 | public override string Icon { |
3283 | |
3284 | === modified file 'GNOME-Screenshot/src/ScreenshotDelayItem.cs' |
3285 | --- GNOME-Screenshot/src/ScreenshotDelayItem.cs 2008-12-24 03:53:06 +0000 |
3286 | +++ GNOME-Screenshot/src/ScreenshotDelayItem.cs 2009-06-21 11:51:24 +0000 |
3287 | @@ -19,7 +19,7 @@ |
3288 | */ |
3289 | |
3290 | using System; |
3291 | -using Mono.Unix; |
3292 | +using Mono.Addins; |
3293 | using Do.Universe; |
3294 | |
3295 | namespace GNOME |
3296 | @@ -34,12 +34,12 @@ |
3297 | } |
3298 | |
3299 | public override string Name { |
3300 | - get { return string.Format (Catalog.GetString ("{0}-second delay"), Seconds); } |
3301 | + get { return string.Format (AddinManager.CurrentLocalizer.GetString ("{0}-second delay"), Seconds); } |
3302 | } |
3303 | |
3304 | public override string Description { |
3305 | get { |
3306 | - string waitString = Catalog.GetPluralString ( |
3307 | + string waitString = AddinManager.CurrentLocalizer.GetPluralString ( |
3308 | "Wait {0} second before taking the screenshot.", |
3309 | "Wait {0} seconds before taking the screenshot.", Seconds); |
3310 | return string.Format (waitString, Seconds); |
3311 | |
3312 | === modified file 'GNOME-Screenshot/src/ScreenshotItemSource.cs' |
3313 | --- GNOME-Screenshot/src/ScreenshotItemSource.cs 2009-05-29 09:39:41 +0000 |
3314 | +++ GNOME-Screenshot/src/ScreenshotItemSource.cs 2009-06-21 11:51:24 +0000 |
3315 | @@ -20,7 +20,7 @@ |
3316 | |
3317 | using System; |
3318 | using System.Collections.Generic; |
3319 | -using Mono.Unix; |
3320 | +using Mono.Addins; |
3321 | |
3322 | using Do.Universe; |
3323 | |
3324 | @@ -37,11 +37,11 @@ |
3325 | } |
3326 | |
3327 | public override string Name { |
3328 | - get { return Catalog.GetString ("GNOME Screenshot Items"); } |
3329 | + get { return AddinManager.CurrentLocalizer.GetString ("GNOME Screenshot Items"); } |
3330 | } |
3331 | |
3332 | public override string Description { |
3333 | - get { return Catalog.GetString ("Whole screen or current window."); } |
3334 | + get { return AddinManager.CurrentLocalizer.GetString ("Whole screen or current window."); } |
3335 | } |
3336 | |
3337 | public override string Icon { |
3338 | |
3339 | === modified file 'GNOME-Screenshot/src/TakeScreenshotAction.cs' |
3340 | --- GNOME-Screenshot/src/TakeScreenshotAction.cs 2008-12-21 23:44:34 +0000 |
3341 | +++ GNOME-Screenshot/src/TakeScreenshotAction.cs 2009-06-21 11:51:24 +0000 |
3342 | @@ -22,7 +22,7 @@ |
3343 | using System.Diagnostics; |
3344 | using System.Collections.Generic; |
3345 | using System.Linq; |
3346 | -using Mono.Unix; |
3347 | +using Mono.Addins; |
3348 | |
3349 | using Do.Universe; |
3350 | |
3351 | @@ -31,11 +31,11 @@ |
3352 | public class TakeScreenshotAction : Act { |
3353 | |
3354 | public override string Name { |
3355 | - get { return Catalog.GetString ("Take screenshot"); } |
3356 | + get { return AddinManager.CurrentLocalizer.GetString ("Take screenshot"); } |
3357 | } |
3358 | |
3359 | public override string Description { |
3360 | - get { return Catalog.GetString ("Takes a screenshot with optional delay."); } |
3361 | + get { return AddinManager.CurrentLocalizer.GetString ("Takes a screenshot with optional delay."); } |
3362 | } |
3363 | |
3364 | public override string Icon { |
3365 | |
3366 | === modified file 'GNOME-Screenshot/src/WholeScreenScreenshotItem.cs' |
3367 | --- GNOME-Screenshot/src/WholeScreenScreenshotItem.cs 2008-07-25 05:30:47 +0000 |
3368 | +++ GNOME-Screenshot/src/WholeScreenScreenshotItem.cs 2009-06-21 11:51:24 +0000 |
3369 | @@ -19,17 +19,17 @@ |
3370 | */ |
3371 | |
3372 | using System; |
3373 | -using Mono.Unix; |
3374 | +using Mono.Addins; |
3375 | |
3376 | namespace GNOME { |
3377 | |
3378 | class WholeScreenScreenshotItem : ScreenshotItem { |
3379 | public override string Name { |
3380 | - get { return Catalog.GetString ("Whole screen"); } |
3381 | + get { return AddinManager.CurrentLocalizer.GetString ("Whole screen"); } |
3382 | } |
3383 | |
3384 | public override string Description { |
3385 | - get { return Catalog.GetString ("Take a screenshot of the entire screen."); } |
3386 | + get { return AddinManager.CurrentLocalizer.GetString ("Take a screenshot of the entire screen."); } |
3387 | } |
3388 | |
3389 | public override string Icon { |
3390 | |
3391 | === modified file 'GNOME-Session/GNOME-Session.mdp' |
3392 | --- GNOME-Session/GNOME-Session.mdp 2009-02-28 16:16:48 +0000 |
3393 | +++ GNOME-Session/GNOME-Session.mdp 2009-06-22 01:49:55 +0000 |
3394 | @@ -25,9 +25,8 @@ |
3395 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3396 | <ProjectReference type="Gac" localcopy="True" refto="NDesk.DBus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f6716e4f9b2ed099" /> |
3397 | <ProjectReference type="Gac" localcopy="True" refto="NDesk.DBus.GLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f6716e4f9b2ed099" /> |
3398 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
3399 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3400 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3401 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3402 | </References> |
3403 | -</Project> |
3404 | \ No newline at end of file |
3405 | +</Project> |
3406 | |
3407 | === modified file 'GNOME-Session/Makefile.am' |
3408 | --- GNOME-Session/Makefile.am 2009-05-17 07:43:33 +0000 |
3409 | +++ GNOME-Session/Makefile.am 2009-06-21 11:51:24 +0000 |
3410 | @@ -13,7 +13,6 @@ |
3411 | Resources/GNOME-Session.addin.xml |
3412 | |
3413 | REFERENCES = \ |
3414 | - Mono.Posix \ |
3415 | System \ |
3416 | System.Core \ |
3417 | $(NDESK_DBUS_10_LIBS) \ |
3418 | |
3419 | === renamed file 'GNOME-Session/Resources/GNOME-Session.addin.xml' => 'GNOME-Session/Resources/GNOME-Session.addin.xml.in' |
3420 | --- GNOME-Session/Resources/GNOME-Session.addin.xml 2009-05-17 07:43:33 +0000 |
3421 | +++ GNOME-Session/Resources/GNOME-Session.addin.xml.in 2009-06-21 11:51:24 +0000 |
3422 | @@ -12,6 +12,8 @@ |
3423 | <Runtime> |
3424 | <Import assembly="GNOME-Session.dll"/> |
3425 | </Runtime> |
3426 | + |
3427 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
3428 | |
3429 | <Dependencies> |
3430 | <Addin id="Universe" version="1.0" /> |
3431 | |
3432 | === modified file 'GNOME-Session/src/SessionCommandsItemSource.cs' |
3433 | --- GNOME-Session/src/SessionCommandsItemSource.cs 2009-05-29 09:39:41 +0000 |
3434 | +++ GNOME-Session/src/SessionCommandsItemSource.cs 2009-06-21 11:51:24 +0000 |
3435 | @@ -21,7 +21,7 @@ |
3436 | using System; |
3437 | using System.Collections.Generic; |
3438 | |
3439 | -using Mono.Unix; |
3440 | +using Mono.Addins; |
3441 | |
3442 | using Do.Universe; |
3443 | |
3444 | @@ -38,11 +38,11 @@ |
3445 | } |
3446 | |
3447 | public override string Name { |
3448 | - get { return Catalog.GetString ("GNOME Session Commands"); } |
3449 | + get { return AddinManager.CurrentLocalizer.GetString ("GNOME Session Commands"); } |
3450 | } |
3451 | |
3452 | public override string Description { |
3453 | - get { return Catalog.GetString ("Log out, Shutdown, Restart, etc."); } |
3454 | + get { return AddinManager.CurrentLocalizer.GetString ("Log out, Shutdown, Restart, etc."); } |
3455 | } |
3456 | |
3457 | public override string Icon { get { return "system-log-out"; } } |
3458 | @@ -51,38 +51,38 @@ |
3459 | { |
3460 | get { |
3461 | yield return new SessionCommandItem ( |
3462 | - Catalog.GetString ("Log Out"), |
3463 | - Catalog.GetString ("Close your session and return to the login screen."), |
3464 | + AddinManager.CurrentLocalizer.GetString ("Log Out"), |
3465 | + AddinManager.CurrentLocalizer.GetString ("Close your session and return to the login screen."), |
3466 | "system-log-out", |
3467 | PowerManagement.Logout); |
3468 | |
3469 | yield return new SessionCommandItem ( |
3470 | - Catalog.GetString ("Shutdown"), |
3471 | - Catalog.GetString ("Turn your computer off."), |
3472 | + AddinManager.CurrentLocalizer.GetString ("Shutdown"), |
3473 | + AddinManager.CurrentLocalizer.GetString ("Turn your computer off."), |
3474 | "system-shutdown", |
3475 | SystemManagement.Shutdown); |
3476 | |
3477 | yield return new SessionCommandItem ( |
3478 | - Catalog.GetString ("Hibernate"), |
3479 | - Catalog.GetString ("Put your computer into hibernation mode."), |
3480 | + AddinManager.CurrentLocalizer.GetString ("Hibernate"), |
3481 | + AddinManager.CurrentLocalizer.GetString ("Put your computer into hibernation mode."), |
3482 | "gnome-session-hibernate", |
3483 | PowerManagement.Hibernate); |
3484 | |
3485 | yield return new SessionCommandItem ( |
3486 | - Catalog.GetString ("Suspend"), |
3487 | - Catalog.GetString ("Put your computer into suspend mode."), |
3488 | + AddinManager.CurrentLocalizer.GetString ("Suspend"), |
3489 | + AddinManager.CurrentLocalizer.GetString ("Put your computer into suspend mode."), |
3490 | "gnome-session-suspend", |
3491 | PowerManagement.Suspend); |
3492 | |
3493 | yield return new SessionCommandItem ( |
3494 | - Catalog.GetString ("Restart"), |
3495 | - Catalog.GetString ("Restart your computer."), |
3496 | + AddinManager.CurrentLocalizer.GetString ("Restart"), |
3497 | + AddinManager.CurrentLocalizer.GetString ("Restart your computer."), |
3498 | "reload", |
3499 | SystemManagement.Restart); |
3500 | |
3501 | yield return new SessionCommandItem ( |
3502 | - Catalog.GetString ("Lock Screen"), |
3503 | - Catalog.GetString ("Lock your screen."), |
3504 | + AddinManager.CurrentLocalizer.GetString ("Lock Screen"), |
3505 | + AddinManager.CurrentLocalizer.GetString ("Lock your screen."), |
3506 | "system-lock-screen", |
3507 | ScreenSaver.Lock); |
3508 | } |
3509 | |
3510 | === modified file 'GNOME-Terminal/GNOME-Terminal.mdp' |
3511 | --- GNOME-Terminal/GNOME-Terminal.mdp 2009-02-28 16:16:48 +0000 |
3512 | +++ GNOME-Terminal/GNOME-Terminal.mdp 2009-06-22 01:49:55 +0000 |
3513 | @@ -24,7 +24,6 @@ |
3514 | </Contents> |
3515 | <References> |
3516 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3517 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
3518 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3519 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3520 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3521 | @@ -32,4 +31,4 @@ |
3522 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
3523 | <ProjectReference type="Gac" localcopy="True" refto="gconf-sharp, Version=2.20.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
3524 | </References> |
3525 | -</Project> |
3526 | \ No newline at end of file |
3527 | +</Project> |
3528 | |
3529 | === modified file 'GNOME-Terminal/Makefile.am' |
3530 | --- GNOME-Terminal/Makefile.am 2009-02-03 19:01:29 +0000 |
3531 | +++ GNOME-Terminal/Makefile.am 2009-06-21 11:51:24 +0000 |
3532 | @@ -12,7 +12,6 @@ |
3533 | Resources/GNOME-Terminal.addin.xml |
3534 | |
3535 | REFERENCES = \ |
3536 | - Mono.Posix \ |
3537 | System \ |
3538 | System.Core \ |
3539 | $(GCONF_SHARP_20_LIBS) \ |
3540 | |
3541 | === renamed file 'GNOME-Terminal/Resources/GNOME-Terminal.addin.xml' => 'GNOME-Terminal/Resources/GNOME-Terminal.addin.xml.in' |
3542 | --- GNOME-Terminal/Resources/GNOME-Terminal.addin.xml 2009-03-31 23:19:25 +0000 |
3543 | +++ GNOME-Terminal/Resources/GNOME-Terminal.addin.xml.in 2009-06-21 11:51:24 +0000 |
3544 | @@ -12,6 +12,8 @@ |
3545 | <Runtime> |
3546 | <Import assembly="GNOME-Terminal.dll"/> |
3547 | </Runtime> |
3548 | + |
3549 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
3550 | |
3551 | <Dependencies> |
3552 | <Addin id="Universe" version="1.0" /> |
3553 | |
3554 | === modified file 'GNOME-Terminal/src/OpenTerminalHereAction.cs' |
3555 | --- GNOME-Terminal/src/OpenTerminalHereAction.cs 2008-12-21 23:44:34 +0000 |
3556 | +++ GNOME-Terminal/src/OpenTerminalHereAction.cs 2009-06-21 11:51:24 +0000 |
3557 | @@ -22,7 +22,7 @@ |
3558 | using System.Collections.Generic; |
3559 | using System.Linq; |
3560 | using System.Diagnostics; |
3561 | -using Mono.Unix; |
3562 | +using Mono.Addins; |
3563 | using Do.Universe; |
3564 | |
3565 | namespace GNOME.Terminal |
3566 | @@ -35,12 +35,12 @@ |
3567 | |
3568 | public override string Name |
3569 | { |
3570 | - get { return Catalog.GetString ("Open Terminal Here"); } |
3571 | + get { return AddinManager.CurrentLocalizer.GetString ("Open Terminal Here"); } |
3572 | } |
3573 | |
3574 | public override string Description |
3575 | { |
3576 | - get { return Catalog.GetString ("Opens a GNOME Terminal in a given location."); } |
3577 | + get { return AddinManager.CurrentLocalizer.GetString ("Opens a GNOME Terminal in a given location."); } |
3578 | } |
3579 | |
3580 | public override string Icon |
3581 | |
3582 | === modified file 'GNOME-Terminal/src/ProfileItem.cs' |
3583 | --- GNOME-Terminal/src/ProfileItem.cs 2009-02-03 19:01:29 +0000 |
3584 | +++ GNOME-Terminal/src/ProfileItem.cs 2009-06-21 11:51:24 +0000 |
3585 | @@ -23,7 +23,7 @@ |
3586 | using System.Collections.Generic; |
3587 | |
3588 | using GConf; |
3589 | -using Mono.Unix; |
3590 | +using Mono.Addins; |
3591 | |
3592 | using Do.Platform; |
3593 | using Do.Universe; |
3594 | @@ -33,8 +33,8 @@ |
3595 | |
3596 | public class ProfileItem : Item, IOpenableItem |
3597 | { |
3598 | - readonly new string DefaultName = Catalog.GetString ("Unnamed Profile"); |
3599 | - readonly new string DefaultDescription = Catalog.GetString ("GNOME Terminal Profile"); |
3600 | + readonly new string DefaultName = AddinManager.CurrentLocalizer.GetString ("Unnamed Profile"); |
3601 | + readonly new string DefaultDescription = AddinManager.CurrentLocalizer.GetString ("GNOME Terminal Profile"); |
3602 | |
3603 | string name, description; |
3604 | |
3605 | |
3606 | === modified file 'GNOME-Terminal/src/ProfileItemSource.cs' |
3607 | --- GNOME-Terminal/src/ProfileItemSource.cs 2009-02-03 18:35:49 +0000 |
3608 | +++ GNOME-Terminal/src/ProfileItemSource.cs 2009-06-21 11:51:24 +0000 |
3609 | @@ -23,7 +23,7 @@ |
3610 | using System.Collections.Generic; |
3611 | using System.Text.RegularExpressions; |
3612 | |
3613 | -using Mono.Unix; |
3614 | +using Mono.Addins; |
3615 | |
3616 | using Do.Universe; |
3617 | |
3618 | @@ -46,11 +46,11 @@ |
3619 | } |
3620 | |
3621 | public override string Name { |
3622 | - get { return Catalog.GetString ("GNOME Terminal Profiles"); } |
3623 | + get { return AddinManager.CurrentLocalizer.GetString ("GNOME Terminal Profiles"); } |
3624 | } |
3625 | |
3626 | public override string Description { |
3627 | - get { return Catalog.GetString ("Indexes your GNOME Terminal profiles."); } |
3628 | + get { return AddinManager.CurrentLocalizer.GetString ("Indexes your GNOME Terminal profiles."); } |
3629 | } |
3630 | |
3631 | public override string Icon { |
3632 | |
3633 | === modified file 'GNOME-Terminal/src/RunInTerminalAction.cs' |
3634 | --- GNOME-Terminal/src/RunInTerminalAction.cs 2009-01-08 23:51:32 +0000 |
3635 | +++ GNOME-Terminal/src/RunInTerminalAction.cs 2009-06-21 11:51:24 +0000 |
3636 | @@ -24,7 +24,7 @@ |
3637 | using System.Collections.Generic; |
3638 | using System.Diagnostics; |
3639 | |
3640 | -using Mono.Unix; |
3641 | +using Mono.Addins; |
3642 | |
3643 | using Do.Universe; |
3644 | using Do.Platform; |
3645 | @@ -39,11 +39,11 @@ |
3646 | } |
3647 | |
3648 | public override string Name { |
3649 | - get { return Catalog.GetString ("Run in Terminal"); } |
3650 | + get { return AddinManager.CurrentLocalizer.GetString ("Run in Terminal"); } |
3651 | } |
3652 | |
3653 | public override string Description { |
3654 | - get { return Catalog.GetString ("Runs a command in GNOME Terminal."); } |
3655 | + get { return AddinManager.CurrentLocalizer.GetString ("Runs a command in GNOME Terminal."); } |
3656 | } |
3657 | |
3658 | public override string Icon { |
3659 | |
3660 | === modified file 'GoogleCalculator/GoogleCalculator.mdp' |
3661 | --- GoogleCalculator/GoogleCalculator.mdp 2009-02-28 16:16:48 +0000 |
3662 | +++ GoogleCalculator/GoogleCalculator.mdp 2009-06-22 01:49:55 +0000 |
3663 | @@ -20,10 +20,9 @@ |
3664 | </Contents> |
3665 | <References> |
3666 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3667 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
3668 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3669 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3670 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3671 | <ProjectReference type="Gac" localcopy="True" refto="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
3672 | </References> |
3673 | -</Project> |
3674 | \ No newline at end of file |
3675 | +</Project> |
3676 | |
3677 | === modified file 'GoogleCalculator/Makefile.am' |
3678 | --- GoogleCalculator/Makefile.am 2009-02-05 04:18:51 +0000 |
3679 | +++ GoogleCalculator/Makefile.am 2009-06-21 11:51:24 +0000 |
3680 | @@ -9,7 +9,6 @@ |
3681 | Resources/GoogleCalculator.addin.xml |
3682 | |
3683 | REFERENCES = \ |
3684 | - Mono.Posix \ |
3685 | System \ |
3686 | System.Core \ |
3687 | System.Web \ |
3688 | |
3689 | === renamed file 'GoogleCalculator/Resources/GoogleCalculator.addin.xml' => 'GoogleCalculator/Resources/GoogleCalculator.addin.xml.in' |
3690 | --- GoogleCalculator/Resources/GoogleCalculator.addin.xml 2009-03-31 23:19:25 +0000 |
3691 | +++ GoogleCalculator/Resources/GoogleCalculator.addin.xml.in 2009-06-21 11:51:24 +0000 |
3692 | @@ -12,6 +12,8 @@ |
3693 | <Runtime> |
3694 | <Import assembly="GoogleCalculator.dll"/> |
3695 | </Runtime> |
3696 | + |
3697 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
3698 | |
3699 | <Dependencies> |
3700 | <Addin id="Universe" version="1.0" /> |
3701 | |
3702 | === modified file 'GoogleCalculator/src/GoogleCalculatorAction.cs' |
3703 | --- GoogleCalculator/src/GoogleCalculatorAction.cs 2009-05-01 21:48:45 +0000 |
3704 | +++ GoogleCalculator/src/GoogleCalculatorAction.cs 2009-06-21 11:51:24 +0000 |
3705 | @@ -25,7 +25,7 @@ |
3706 | using System.Text.RegularExpressions; |
3707 | using System.Web; |
3708 | |
3709 | -using Mono.Unix; |
3710 | +using Mono.Addins; |
3711 | |
3712 | using Do.Platform; |
3713 | using Do.Universe; |
3714 | @@ -50,7 +50,7 @@ |
3715 | } |
3716 | |
3717 | public override string Description { |
3718 | - get { return Catalog.GetString ("Perform a calculation using Google Calculator."); } |
3719 | + get { return AddinManager.CurrentLocalizer.GetString ("Perform a calculation using Google Calculator."); } |
3720 | } |
3721 | |
3722 | public override string Icon { |
3723 | @@ -90,7 +90,7 @@ |
3724 | // Strip HTML tags: |
3725 | reply = Regex.Replace (reply, @"<[^>]+>", ""); |
3726 | } catch { |
3727 | - reply = Catalog.GetString ("Google Calculator could not evaluate the expression."); |
3728 | + reply = AddinManager.CurrentLocalizer.GetString ("Google Calculator could not evaluate the expression."); |
3729 | } |
3730 | |
3731 | yield return new TextItem (HttpUtility.HtmlDecode(reply)); |
3732 | |
3733 | === modified file 'GoogleCalendar/GoogleCalendar.mdp' |
3734 | --- GoogleCalendar/GoogleCalendar.mdp 2009-02-28 16:16:48 +0000 |
3735 | +++ GoogleCalendar/GoogleCalendar.mdp 2009-06-22 01:49:55 +0000 |
3736 | @@ -35,7 +35,6 @@ |
3737 | <References> |
3738 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
3739 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
3740 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
3741 | <ProjectReference type="Assembly" localcopy="True" refto="../BundledLibraries/Google.GData.AccessControl.dll" /> |
3742 | <ProjectReference type="Assembly" localcopy="True" refto="../BundledLibraries/Google.GData.Calendar.dll" /> |
3743 | <ProjectReference type="Assembly" localcopy="True" refto="../BundledLibraries/Google.GData.Client.dll" /> |
3744 | @@ -47,4 +46,4 @@ |
3745 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform.Linux, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3746 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
3747 | </References> |
3748 | -</Project> |
3749 | \ No newline at end of file |
3750 | +</Project> |
3751 | |
3752 | === modified file 'GoogleCalendar/Makefile.am' |
3753 | --- GoogleCalendar/Makefile.am 2009-05-15 23:36:54 +0000 |
3754 | +++ GoogleCalendar/Makefile.am 2009-06-21 11:51:24 +0000 |
3755 | @@ -22,7 +22,6 @@ |
3756 | Resources/icons/calIcon.png |
3757 | |
3758 | REFERENCES = \ |
3759 | - Mono.Posix \ |
3760 | System \ |
3761 | System.Core \ |
3762 | System.Xml \ |
3763 | |
3764 | === renamed file 'GoogleCalendar/Resources/GoogleCalendar.addin.xml' => 'GoogleCalendar/Resources/GoogleCalendar.addin.xml.in' |
3765 | --- GoogleCalendar/Resources/GoogleCalendar.addin.xml 2009-05-07 19:49:44 +0000 |
3766 | +++ GoogleCalendar/Resources/GoogleCalendar.addin.xml.in 2009-06-21 11:51:24 +0000 |
3767 | @@ -13,6 +13,8 @@ |
3768 | <Import assembly="GoogleCalendar.dll"/> |
3769 | </Runtime> |
3770 | |
3771 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
3772 | + |
3773 | <Dependencies> |
3774 | <Addin id="Universe" version="1.0" /> |
3775 | </Dependencies> |
3776 | |
3777 | === modified file 'GoogleCalendar/src/Configuration.cs' |
3778 | --- GoogleCalendar/src/Configuration.cs 2009-01-01 01:25:16 +0000 |
3779 | +++ GoogleCalendar/src/Configuration.cs 2009-06-21 11:51:24 +0000 |
3780 | @@ -23,7 +23,7 @@ |
3781 | |
3782 | using Gtk; |
3783 | |
3784 | -using Mono.Unix; |
3785 | +using Mono.Addins; |
3786 | |
3787 | using Do.Platform.Linux; |
3788 | |
3789 | @@ -39,7 +39,7 @@ |
3790 | |
3791 | public Configuration() : base ("Google Calendar", Uri) |
3792 | { |
3793 | - UsernameLabel = Catalog.GetString ("E-Mail:"); |
3794 | + UsernameLabel = AddinManager.CurrentLocalizer.GetString ("E-Mail:"); |
3795 | Username = GCal.Preferences.Username; |
3796 | Password = GCal.Preferences.Password; |
3797 | } |
3798 | |
3799 | === modified file 'GoogleCalendar/src/GCal.cs' |
3800 | --- GoogleCalendar/src/GCal.cs 2008-12-31 21:07:37 +0000 |
3801 | +++ GoogleCalendar/src/GCal.cs 2009-06-21 11:51:24 +0000 |
3802 | @@ -21,7 +21,7 @@ |
3803 | using System; |
3804 | using System.Collections.Generic; |
3805 | |
3806 | -using Mono.Unix; |
3807 | +using Mono.Addins; |
3808 | |
3809 | using Do.Platform; |
3810 | using Do.Universe; |
3811 | @@ -31,7 +31,7 @@ |
3812 | |
3813 | public static class GCal |
3814 | { |
3815 | - static readonly string ConnectionErrorMessage = Catalog.GetString ("Failed to connect to GCal service"); |
3816 | + static readonly string ConnectionErrorMessage = AddinManager.CurrentLocalizer.GetString ("Failed to connect to GCal service"); |
3817 | static GCalClient client; |
3818 | |
3819 | static GCal() |
3820 | |
3821 | === modified file 'GoogleCalendar/src/GCalClient.cs' |
3822 | --- GoogleCalendar/src/GCalClient.cs 2009-01-01 01:25:16 +0000 |
3823 | +++ GoogleCalendar/src/GCalClient.cs 2009-06-21 11:51:24 +0000 |
3824 | @@ -23,7 +23,7 @@ |
3825 | using System.Linq; |
3826 | using System.Collections.Generic; |
3827 | |
3828 | -using Mono.Unix; |
3829 | +using Mono.Addins; |
3830 | |
3831 | using Google.GData.Client; |
3832 | using Google.GData.Calendar; |
3833 | @@ -37,8 +37,8 @@ |
3834 | |
3835 | public class GCalClient |
3836 | { |
3837 | - readonly string AllEventsCalName = Catalog.GetString ("All Events"); |
3838 | - readonly string ErrorInMethod = Catalog.GetString ("An error has occurred in {0}"); |
3839 | + readonly string AllEventsCalName = AddinManager.CurrentLocalizer.GetString ("All Events"); |
3840 | + readonly string ErrorInMethod = AddinManager.CurrentLocalizer.GetString ("An error has occurred in {0}"); |
3841 | |
3842 | const int MonthsToIndex = 1; |
3843 | const string GAppName = "alexLauni-gnomeDoGCalPlugin-1.5"; |
3844 | |
3845 | === modified file 'GoogleCalendar/src/GCalPreferences.cs' |
3846 | --- GoogleCalendar/src/GCalPreferences.cs 2009-01-01 01:25:16 +0000 |
3847 | +++ GoogleCalendar/src/GCalPreferences.cs 2009-06-21 11:51:24 +0000 |
3848 | @@ -20,7 +20,7 @@ |
3849 | |
3850 | using System; |
3851 | |
3852 | -using Mono.Unix; |
3853 | +using Mono.Addins; |
3854 | |
3855 | using Do.Platform; |
3856 | |
3857 | |
3858 | === modified file 'GoogleCalendar/src/GCalendarItem.cs' |
3859 | --- GoogleCalendar/src/GCalendarItem.cs 2009-01-01 01:25:16 +0000 |
3860 | +++ GoogleCalendar/src/GCalendarItem.cs 2009-06-21 11:51:24 +0000 |
3861 | @@ -20,7 +20,7 @@ |
3862 | |
3863 | using System; |
3864 | using System.Text; |
3865 | -using Mono.Unix; |
3866 | +using Mono.Addins; |
3867 | |
3868 | using Do.Platform; |
3869 | using Do.Universe; |
3870 | @@ -42,7 +42,7 @@ |
3871 | } |
3872 | |
3873 | public override string Description { |
3874 | - get { return Catalog.GetString ("Google Calendar"); } |
3875 | + get { return AddinManager.CurrentLocalizer.GetString ("Google Calendar"); } |
3876 | } |
3877 | |
3878 | public override string Icon { |
3879 | |
3880 | === modified file 'GoogleCalendar/src/GCalendarItemSource.cs' |
3881 | --- GoogleCalendar/src/GCalendarItemSource.cs 2008-12-31 21:16:30 +0000 |
3882 | +++ GoogleCalendar/src/GCalendarItemSource.cs 2009-06-21 11:51:24 +0000 |
3883 | @@ -23,7 +23,7 @@ |
3884 | using System.Linq; |
3885 | using System.Collections.Generic; |
3886 | |
3887 | -using Mono.Unix; |
3888 | +using Mono.Addins; |
3889 | |
3890 | using Do.Universe; |
3891 | using Do.Platform.Linux; |
3892 | @@ -37,11 +37,11 @@ |
3893 | } |
3894 | |
3895 | public override string Name { |
3896 | - get { return Catalog.GetString ("Google Calendars"); } |
3897 | + get { return AddinManager.CurrentLocalizer.GetString ("Google Calendars"); } |
3898 | } |
3899 | |
3900 | public override string Description { |
3901 | - get { return Catalog.GetString ("Indexes your Google Calendars"); } |
3902 | + get { return AddinManager.CurrentLocalizer.GetString ("Indexes your Google Calendars"); } |
3903 | } |
3904 | |
3905 | public override string Icon { |
3906 | |
3907 | === modified file 'GoogleCalendar/src/GCalendarNewEvent.cs' |
3908 | --- GoogleCalendar/src/GCalendarNewEvent.cs 2009-01-01 01:25:16 +0000 |
3909 | +++ GoogleCalendar/src/GCalendarNewEvent.cs 2009-06-21 11:51:24 +0000 |
3910 | @@ -22,7 +22,7 @@ |
3911 | using System.Text; |
3912 | using System.Collections.Generic; |
3913 | using System.Linq; |
3914 | -using Mono.Unix; |
3915 | +using Mono.Addins; |
3916 | |
3917 | |
3918 | using Do.Universe; |
3919 | @@ -35,11 +35,11 @@ |
3920 | public sealed class GCalendarNewEvent : Act |
3921 | { |
3922 | public override string Name { |
3923 | - get { return Catalog.GetString ("New Event"); } |
3924 | + get { return AddinManager.CurrentLocalizer.GetString ("New Event"); } |
3925 | } |
3926 | |
3927 | public override string Description { |
3928 | - get { return Catalog.GetString ("Create a new event in Google Calendar"); } |
3929 | + get { return AddinManager.CurrentLocalizer.GetString ("Create a new event in Google Calendar"); } |
3930 | } |
3931 | |
3932 | public override string Icon { |
3933 | |
3934 | === modified file 'GoogleCalendar/src/GCalendarSearchEvents.cs' |
3935 | --- GoogleCalendar/src/GCalendarSearchEvents.cs 2008-12-31 21:16:30 +0000 |
3936 | +++ GoogleCalendar/src/GCalendarSearchEvents.cs 2009-06-21 11:51:24 +0000 |
3937 | @@ -22,7 +22,7 @@ |
3938 | using System.Linq; |
3939 | using System.Collections.Generic; |
3940 | |
3941 | -using Mono.Unix; |
3942 | +using Mono.Addins; |
3943 | |
3944 | using Do.Universe; |
3945 | |
3946 | @@ -37,11 +37,11 @@ |
3947 | } |
3948 | |
3949 | public override string Name { |
3950 | - get { return Catalog.GetString ("Search Events"); } |
3951 | + get { return AddinManager.CurrentLocalizer.GetString ("Search Events"); } |
3952 | } |
3953 | |
3954 | public override string Description { |
3955 | - get { return Catalog.GetString ("Search Google Calendar for Events"); } |
3956 | + get { return AddinManager.CurrentLocalizer.GetString ("Search Google Calendar for Events"); } |
3957 | } |
3958 | |
3959 | public override string Icon { |
3960 | |
3961 | === modified file 'GoogleCalendar/src/GCalendarViewActions.cs' |
3962 | --- GoogleCalendar/src/GCalendarViewActions.cs 2009-01-01 01:25:16 +0000 |
3963 | +++ GoogleCalendar/src/GCalendarViewActions.cs 2009-06-21 11:51:24 +0000 |
3964 | @@ -22,7 +22,7 @@ |
3965 | using System.Linq; |
3966 | using System.Collections.Generic; |
3967 | |
3968 | -using Mono.Unix; |
3969 | +using Mono.Addins; |
3970 | |
3971 | using Do.Platform; |
3972 | using Do.Universe; |
3973 | @@ -38,11 +38,11 @@ |
3974 | } |
3975 | |
3976 | public override string Name { |
3977 | - get { return Catalog.GetString ("View Event"); } |
3978 | + get { return AddinManager.CurrentLocalizer.GetString ("View Event"); } |
3979 | } |
3980 | |
3981 | public override string Description { |
3982 | - get { return Catalog.GetString ("Open event in browser"); } |
3983 | + get { return AddinManager.CurrentLocalizer.GetString ("Open event in browser"); } |
3984 | } |
3985 | |
3986 | public override string Icon { |
3987 | @@ -69,11 +69,11 @@ |
3988 | } |
3989 | |
3990 | public override string Name { |
3991 | - get { return Catalog.GetString ("View Calendar"); } |
3992 | + get { return AddinManager.CurrentLocalizer.GetString ("View Calendar"); } |
3993 | } |
3994 | |
3995 | public override string Description { |
3996 | - get { return Catalog.GetString ("Open calendar in browser"); } |
3997 | + get { return AddinManager.CurrentLocalizer.GetString ("Open calendar in browser"); } |
3998 | } |
3999 | |
4000 | public override string Icon { |
4001 | |
4002 | === modified file 'GoogleContacts/GMailContacts.mdp' |
4003 | --- GoogleContacts/GMailContacts.mdp 2009-05-17 08:45:38 +0000 |
4004 | +++ GoogleContacts/GMailContacts.mdp 2009-06-22 01:49:55 +0000 |
4005 | @@ -38,7 +38,6 @@ |
4006 | <ProjectReference type="Gac" localcopy="True" refto="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
4007 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
4008 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
4009 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
4010 | <ProjectReference type="Assembly" localcopy="True" refto="../BundledLibraries/Google.GData.Client.dll" /> |
4011 | <ProjectReference type="Assembly" localcopy="True" refto="../BundledLibraries/Google.GData.Contacts.dll" /> |
4012 | <ProjectReference type="Assembly" localcopy="True" refto="../BundledLibraries/Google.GData.Extensions.dll" /> |
4013 | @@ -47,4 +46,4 @@ |
4014 | <ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../../../../../../usr/local/lib/gnome-do/Do.Platform.Linux.dll" /> |
4015 | <ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../../../../../../usr/local/lib/gnome-do/Do.Universe.dll" /> |
4016 | </References> |
4017 | -</Project> |
4018 | \ No newline at end of file |
4019 | +</Project> |
4020 | |
4021 | === modified file 'GoogleContacts/Makefile.am' |
4022 | --- GoogleContacts/Makefile.am 2009-05-17 08:45:38 +0000 |
4023 | +++ GoogleContacts/Makefile.am 2009-06-21 11:51:24 +0000 |
4024 | @@ -23,7 +23,6 @@ |
4025 | Resources/icons/phone.png |
4026 | |
4027 | REFERENCES = \ |
4028 | - Mono.Posix \ |
4029 | System \ |
4030 | System.Core \ |
4031 | System.Security \ |
4032 | |
4033 | === renamed file 'GoogleContacts/Resources/GoogleContacts.addin.xml' => 'GoogleContacts/Resources/GoogleContacts.addin.xml.in' |
4034 | --- GoogleContacts/Resources/GoogleContacts.addin.xml 2009-05-17 08:43:00 +0000 |
4035 | +++ GoogleContacts/Resources/GoogleContacts.addin.xml.in 2009-06-21 11:51:24 +0000 |
4036 | @@ -13,6 +13,8 @@ |
4037 | <Import assembly="GoogleContacts.dll"/> |
4038 | </Runtime> |
4039 | |
4040 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
4041 | + |
4042 | <Dependencies> |
4043 | <Addin id="Universe" version="1.0" /> |
4044 | </Dependencies> |
4045 | |
4046 | === modified file 'GoogleContacts/src/GMail.cs' |
4047 | --- GoogleContacts/src/GMail.cs 2008-12-31 16:52:24 +0000 |
4048 | +++ GoogleContacts/src/GMail.cs 2009-06-21 11:51:24 +0000 |
4049 | @@ -23,7 +23,7 @@ |
4050 | using System.Threading; |
4051 | using System.Collections.Generic; |
4052 | |
4053 | -using Mono.Unix; |
4054 | +using Mono.Addins; |
4055 | |
4056 | using Do.Universe; |
4057 | using Do.Platform; |
4058 | @@ -32,10 +32,10 @@ |
4059 | { |
4060 | public static class GMail |
4061 | { |
4062 | - static readonly string ConnectionErrorMessage = Catalog.GetString ("An error occurred connecting to google, " |
4063 | + static readonly string ConnectionErrorMessage = AddinManager.CurrentLocalizer.GetString ("An error occurred connecting to google, " |
4064 | + "are your credentials valid?"); |
4065 | |
4066 | - static readonly string MissingCredentialsMessage = Catalog.GetString ("Missing login credentials. Please set " |
4067 | + static readonly string MissingCredentialsMessage = AddinManager.CurrentLocalizer.GetString ("Missing login credentials. Please set " |
4068 | + "login information in plugin configuration."); |
4069 | |
4070 | static GMailClient client; |
4071 | |
4072 | === modified file 'GoogleContacts/src/GMailContactDetailItem.cs' |
4073 | --- GoogleContacts/src/GMailContactDetailItem.cs 2008-12-23 16:02:34 +0000 |
4074 | +++ GoogleContacts/src/GMailContactDetailItem.cs 2009-06-21 11:51:24 +0000 |
4075 | @@ -20,7 +20,7 @@ |
4076 | */ |
4077 | |
4078 | using System; |
4079 | -using Mono.Unix; |
4080 | +using Mono.Addins; |
4081 | using Do.Universe; |
4082 | |
4083 | namespace GMail |
4084 | @@ -38,15 +38,15 @@ |
4085 | public override string Name { |
4086 | get { |
4087 | switch (type.ToLower ()) { |
4088 | - case "email.gmail": return Catalog.GetString ("Primary Email"); |
4089 | - case "phone.gmail": return Catalog.GetString ("Primary Phone"); |
4090 | - case "email.gmail.home": return Catalog.GetString ("Home Email"); |
4091 | - case "email.gmail.work": return Catalog.GetString ("Work Email"); |
4092 | - case "phone.gmail.home": return Catalog.GetString ("Home Phone"); |
4093 | - case "phone.gmail.work": return Catalog.GetString ("Work Phone"); |
4094 | - case "address.gmail": return Catalog.GetString ("Primary Address"); |
4095 | - case "address.gmail.home": return Catalog.GetString ("Home Address"); |
4096 | - case "address.gmail.work": return Catalog.GetString ("Work Address"); |
4097 | + case "email.gmail": return AddinManager.CurrentLocalizer.GetString ("Primary Email"); |
4098 | + case "phone.gmail": return AddinManager.CurrentLocalizer.GetString ("Primary Phone"); |
4099 | + case "email.gmail.home": return AddinManager.CurrentLocalizer.GetString ("Home Email"); |
4100 | + case "email.gmail.work": return AddinManager.CurrentLocalizer.GetString ("Work Email"); |
4101 | + case "phone.gmail.home": return AddinManager.CurrentLocalizer.GetString ("Home Phone"); |
4102 | + case "phone.gmail.work": return AddinManager.CurrentLocalizer.GetString ("Work Phone"); |
4103 | + case "address.gmail": return AddinManager.CurrentLocalizer.GetString ("Primary Address"); |
4104 | + case "address.gmail.home": return AddinManager.CurrentLocalizer.GetString ("Home Address"); |
4105 | + case "address.gmail.work": return AddinManager.CurrentLocalizer.GetString ("Work Address"); |
4106 | default: return "Other " + DetailRoot (type); |
4107 | } |
4108 | } |
4109 | |
4110 | === modified file 'GoogleContacts/src/GMailContactItemSource.cs' |
4111 | --- GoogleContacts/src/GMailContactItemSource.cs 2008-12-24 04:42:14 +0000 |
4112 | +++ GoogleContacts/src/GMailContactItemSource.cs 2009-06-21 11:51:24 +0000 |
4113 | @@ -22,7 +22,7 @@ |
4114 | using System.Threading; |
4115 | using System.Collections.Generic; |
4116 | |
4117 | -using Mono.Unix; |
4118 | +using Mono.Addins; |
4119 | |
4120 | using Do.Universe; |
4121 | using Do.Platform.Linux; |
4122 | @@ -35,11 +35,11 @@ |
4123 | { |
4124 | } |
4125 | public override string Name { |
4126 | - get { return Catalog.GetString ("GMail Contacts"); } |
4127 | + get { return AddinManager.CurrentLocalizer.GetString ("GMail Contacts"); } |
4128 | } |
4129 | |
4130 | public override string Description { |
4131 | - get { return Catalog.GetString ("Index your GMail contacts"); } |
4132 | + get { return AddinManager.CurrentLocalizer.GetString ("Index your GMail contacts"); } |
4133 | } |
4134 | |
4135 | public override string Icon { |
4136 | |
4137 | === modified file 'GoogleContacts/src/Preferences.cs' |
4138 | --- GoogleContacts/src/Preferences.cs 2009-01-05 01:32:46 +0000 |
4139 | +++ GoogleContacts/src/Preferences.cs 2009-06-21 11:51:24 +0000 |
4140 | @@ -20,7 +20,7 @@ |
4141 | |
4142 | using System; |
4143 | |
4144 | -using Mono.Unix; |
4145 | +using Mono.Addins; |
4146 | |
4147 | using Do.Platform; |
4148 | |
4149 | |
4150 | === modified file 'GoogleContacts/src/RecentConversationsAction.cs' |
4151 | --- GoogleContacts/src/RecentConversationsAction.cs 2009-05-17 08:45:38 +0000 |
4152 | +++ GoogleContacts/src/RecentConversationsAction.cs 2009-06-21 11:51:24 +0000 |
4153 | @@ -22,7 +22,7 @@ |
4154 | using System.Linq; |
4155 | using System.Collections.Generic; |
4156 | |
4157 | -using Mono.Unix; |
4158 | +using Mono.Addins; |
4159 | |
4160 | using Do.Platform; |
4161 | using Do.Universe; |
4162 | @@ -36,11 +36,11 @@ |
4163 | const string url = "https://mail.google.com/mail/?shva=1#search/from:({0})+OR+to:({0})"; |
4164 | |
4165 | public override string Name { |
4166 | - get { return Catalog.GetString ("View recent conversations"); } |
4167 | + get { return AddinManager.CurrentLocalizer.GetString ("View recent conversations"); } |
4168 | } |
4169 | |
4170 | public override string Description { |
4171 | - get { return Catalog.GetString ("View recent emails and chat logs with a friend"); } |
4172 | + get { return AddinManager.CurrentLocalizer.GetString ("View recent emails and chat logs with a friend"); } |
4173 | } |
4174 | |
4175 | public override string Icon { |
4176 | |
4177 | === modified file 'GoogleDocs/GDocs.mdp' |
4178 | --- GoogleDocs/GDocs.mdp 2009-06-09 22:50:11 +0000 |
4179 | +++ GoogleDocs/GDocs.mdp 2009-06-22 01:49:55 +0000 |
4180 | @@ -35,7 +35,6 @@ |
4181 | <References> |
4182 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4183 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
4184 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
4185 | <ProjectReference type="Gac" localcopy="True" refto="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4186 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4187 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
4188 | @@ -47,4 +46,4 @@ |
4189 | <ProjectReference type="Gac" localcopy="True" refto="Google.GData.Documents, Version=1.4.0.2, Culture=neutral, PublicKeyToken=099e9a853da5b089" /> |
4190 | <ProjectReference type="Gac" localcopy="True" refto="Google.GData.Extensions, Version=1.4.0.2, Culture=neutral, PublicKeyToken=0b4c5df2ebf20876" /> |
4191 | </References> |
4192 | -</Project> |
4193 | \ No newline at end of file |
4194 | +</Project> |
4195 | |
4196 | === modified file 'GoogleDocs/Makefile.am' |
4197 | --- GoogleDocs/Makefile.am 2009-06-09 22:50:11 +0000 |
4198 | +++ GoogleDocs/Makefile.am 2009-06-21 11:51:24 +0000 |
4199 | @@ -25,7 +25,6 @@ |
4200 | Resources/icons/gDocsUploadIcon.png |
4201 | |
4202 | REFERENCES = \ |
4203 | - Mono.Posix \ |
4204 | System \ |
4205 | System.Core \ |
4206 | System.Xml \ |
4207 | |
4208 | === renamed file 'GoogleDocs/Resources/GoogleDocs.addin.xml' => 'GoogleDocs/Resources/GoogleDocs.addin.xml.in' |
4209 | --- GoogleDocs/Resources/GoogleDocs.addin.xml 2009-06-17 20:40:03 +0000 |
4210 | +++ GoogleDocs/Resources/GoogleDocs.addin.xml.in 2009-06-21 11:51:24 +0000 |
4211 | @@ -13,6 +13,8 @@ |
4212 | <Import assembly="GoogleDocs.dll"/> |
4213 | </Runtime> |
4214 | |
4215 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
4216 | + |
4217 | <Dependencies> |
4218 | <Addin id="Universe" version="1.0" /> |
4219 | </Dependencies> |
4220 | |
4221 | === modified file 'GoogleDocs/src/Configuration.cs' |
4222 | --- GoogleDocs/src/Configuration.cs 2009-06-09 22:50:11 +0000 |
4223 | +++ GoogleDocs/src/Configuration.cs 2009-06-21 11:51:24 +0000 |
4224 | @@ -19,7 +19,7 @@ |
4225 | using System.Text.RegularExpressions; |
4226 | |
4227 | using Gtk; |
4228 | -using Mono.Unix; |
4229 | +using Mono.Addins; |
4230 | |
4231 | using Do.Platform; |
4232 | using Do.Platform.Linux; |
4233 | @@ -35,7 +35,7 @@ |
4234 | |
4235 | public Configuration () : base ("Google Docs", Uri) |
4236 | { |
4237 | - UsernameLabel = Catalog.GetString ("E-Mail:"); |
4238 | + UsernameLabel = AddinManager.CurrentLocalizer.GetString ("E-Mail:"); |
4239 | Username = GDocs.Preferences.Username; |
4240 | Password = GDocs.Preferences.Password; |
4241 | } |
4242 | |
4243 | === modified file 'GoogleDocs/src/GDocs.cs' |
4244 | --- GoogleDocs/src/GDocs.cs 2009-06-09 22:50:11 +0000 |
4245 | +++ GoogleDocs/src/GDocs.cs 2009-06-21 11:51:24 +0000 |
4246 | @@ -22,7 +22,7 @@ |
4247 | using System.Threading; |
4248 | using System.Collections.Generic; |
4249 | |
4250 | -using Mono.Unix; |
4251 | +using Mono.Addins; |
4252 | |
4253 | using Google.GData.Client; |
4254 | using Google.GData.Documents; |
4255 | @@ -139,24 +139,24 @@ |
4256 | static Notification GetUploadFailedNotification () |
4257 | { |
4258 | return new Notification ( |
4259 | - Catalog.GetString ("Uploading failed."), |
4260 | - Catalog.GetString ("An error occurred when uploading files to Google Docs."), |
4261 | + AddinManager.CurrentLocalizer.GetString ("Uploading failed."), |
4262 | + AddinManager.CurrentLocalizer.GetString ("An error occurred when uploading files to Google Docs."), |
4263 | "gDocsIcon.png@" + typeof (GDocsItemSource).Assembly.FullName); |
4264 | } |
4265 | |
4266 | static Notification GetDeleteDocumentFailedNotification () |
4267 | { |
4268 | return new Notification ( |
4269 | - Catalog.GetString ("Deleting failed."), |
4270 | - Catalog.GetString ("An error occurred when deleting the document at Google Docs."), |
4271 | + AddinManager.CurrentLocalizer.GetString ("Deleting failed."), |
4272 | + AddinManager.CurrentLocalizer.GetString ("An error occurred when deleting the document at Google Docs."), |
4273 | "gDocsIcon.png@" + typeof (GDocsItemSource).Assembly.FullName); |
4274 | } |
4275 | |
4276 | static Notification GetDocumentDeletedNotification (string documentTitle) |
4277 | { |
4278 | return new Notification ( |
4279 | - Catalog.GetString ("Document deleted."), |
4280 | - string.Format (Catalog.GetString ("The document '{0}' has been successfully moved into Trash at Google Docs."), documentTitle), |
4281 | + AddinManager.CurrentLocalizer.GetString ("Document deleted."), |
4282 | + string.Format (AddinManager.CurrentLocalizer.GetString ("The document '{0}' has been successfully moved into Trash at Google Docs."), documentTitle), |
4283 | "gDocsIcon.png@" + typeof (GDocsItemSource).Assembly.FullName); |
4284 | } |
4285 | |
4286 | |
4287 | === modified file 'GoogleDocs/src/GDocsAbstractItem.cs' |
4288 | --- GoogleDocs/src/GDocsAbstractItem.cs 2009-06-17 20:42:28 +0000 |
4289 | +++ GoogleDocs/src/GDocsAbstractItem.cs 2009-06-21 11:51:24 +0000 |
4290 | @@ -18,7 +18,7 @@ |
4291 | using System; |
4292 | using System.Text; |
4293 | |
4294 | -using Mono.Unix; |
4295 | +using Mono.Addins; |
4296 | |
4297 | using Do.Universe; |
4298 | using Do.Platform; |
4299 | @@ -40,7 +40,7 @@ |
4300 | } |
4301 | |
4302 | public override string Description { |
4303 | - get { return Catalog.GetString ("Google Docs Generic Document"); } |
4304 | + get { return AddinManager.CurrentLocalizer.GetString ("Google Docs Generic Document"); } |
4305 | } |
4306 | |
4307 | public virtual string URL { |
4308 | |
4309 | === modified file 'GoogleDocs/src/GDocsDocumentItem.cs' |
4310 | --- GoogleDocs/src/GDocsDocumentItem.cs 2009-06-09 22:50:11 +0000 |
4311 | +++ GoogleDocs/src/GDocsDocumentItem.cs 2009-06-21 11:51:24 +0000 |
4312 | @@ -18,7 +18,7 @@ |
4313 | |
4314 | using System; |
4315 | using System.Text; |
4316 | -using Mono.Unix; |
4317 | +using Mono.Addins; |
4318 | |
4319 | using Do.Universe; |
4320 | |
4321 | @@ -30,7 +30,7 @@ |
4322 | public GDocsDocumentItem (string name, string url) : base (name, url) {} |
4323 | |
4324 | public override string Description { |
4325 | - get { return Catalog.GetString ("Google Docs Text Document"); } |
4326 | + get { return AddinManager.CurrentLocalizer.GetString ("Google Docs Text Document"); } |
4327 | } |
4328 | |
4329 | public override string Icon { |
4330 | |
4331 | === modified file 'GoogleDocs/src/GDocsItemSource.cs' |
4332 | --- GoogleDocs/src/GDocsItemSource.cs 2009-06-09 22:50:11 +0000 |
4333 | +++ GoogleDocs/src/GDocsItemSource.cs 2009-06-21 11:51:24 +0000 |
4334 | @@ -19,7 +19,7 @@ |
4335 | using System.Threading; |
4336 | using System.Collections.Generic; |
4337 | |
4338 | -using Mono.Unix; |
4339 | +using Mono.Addins; |
4340 | |
4341 | using Do.Universe; |
4342 | using Do.Platform; |
4343 | @@ -30,11 +30,11 @@ |
4344 | public sealed class GDocsItemSource : ItemSource, IConfigurable |
4345 | { |
4346 | public override string Name { |
4347 | - get { return Catalog.GetString ("Google Docs"); } |
4348 | + get { return AddinManager.CurrentLocalizer.GetString ("Google Docs"); } |
4349 | } |
4350 | |
4351 | public override string Description { |
4352 | - get { return Catalog.GetString ("Indexes your documents stored at Google Docs"); } |
4353 | + get { return AddinManager.CurrentLocalizer.GetString ("Indexes your documents stored at Google Docs"); } |
4354 | } |
4355 | |
4356 | public override string Icon { |
4357 | |
4358 | === modified file 'GoogleDocs/src/GDocsPDFItem.cs' |
4359 | --- GoogleDocs/src/GDocsPDFItem.cs 2009-06-09 22:50:11 +0000 |
4360 | +++ GoogleDocs/src/GDocsPDFItem.cs 2009-06-21 11:51:24 +0000 |
4361 | @@ -17,7 +17,7 @@ |
4362 | |
4363 | using System; |
4364 | using System.Text; |
4365 | -using Mono.Unix; |
4366 | +using Mono.Addins; |
4367 | |
4368 | |
4369 | using Do.Universe; |
4370 | @@ -30,7 +30,7 @@ |
4371 | public GDocsPDFItem (string name, string url) : base (name, url) {} |
4372 | |
4373 | public override string Description { |
4374 | - get { return Catalog.GetString ("Google Docs PDF Document"); } |
4375 | + get { return AddinManager.CurrentLocalizer.GetString ("Google Docs PDF Document"); } |
4376 | } |
4377 | |
4378 | public override string Icon { |
4379 | |
4380 | === modified file 'GoogleDocs/src/GDocsPresentationItem.cs' |
4381 | --- GoogleDocs/src/GDocsPresentationItem.cs 2009-06-09 22:50:11 +0000 |
4382 | +++ GoogleDocs/src/GDocsPresentationItem.cs 2009-06-21 11:51:24 +0000 |
4383 | @@ -17,7 +17,7 @@ |
4384 | |
4385 | using System; |
4386 | using System.Text; |
4387 | -using Mono.Unix; |
4388 | +using Mono.Addins; |
4389 | |
4390 | |
4391 | using Do.Universe; |
4392 | @@ -30,7 +30,7 @@ |
4393 | public GDocsPresentationItem (string name, string url) : base (name, url) {} |
4394 | |
4395 | public override string Description { |
4396 | - get { return Catalog.GetString ("Google Docs Presentation"); } |
4397 | + get { return AddinManager.CurrentLocalizer.GetString ("Google Docs Presentation"); } |
4398 | } |
4399 | |
4400 | public override string Icon { |
4401 | |
4402 | === modified file 'GoogleDocs/src/GDocsSpreadsheetItem.cs' |
4403 | --- GoogleDocs/src/GDocsSpreadsheetItem.cs 2009-06-09 22:50:11 +0000 |
4404 | +++ GoogleDocs/src/GDocsSpreadsheetItem.cs 2009-06-21 11:51:24 +0000 |
4405 | @@ -17,7 +17,7 @@ |
4406 | |
4407 | using System; |
4408 | using System.Text; |
4409 | -using Mono.Unix; |
4410 | +using Mono.Addins; |
4411 | |
4412 | |
4413 | using Do.Universe; |
4414 | @@ -30,7 +30,7 @@ |
4415 | public GDocsSpreadsheetItem (string name, string url) : base (name, url) {} |
4416 | |
4417 | public override string Description { |
4418 | - get { return Catalog.GetString ("Google Docs Spreadsheet"); } |
4419 | + get { return AddinManager.CurrentLocalizer.GetString ("Google Docs Spreadsheet"); } |
4420 | } |
4421 | |
4422 | public override string Icon { |
4423 | |
4424 | === modified file 'GoogleDocs/src/GDocsTrashDocument.cs' |
4425 | --- GoogleDocs/src/GDocsTrashDocument.cs 2009-06-09 22:50:11 +0000 |
4426 | +++ GoogleDocs/src/GDocsTrashDocument.cs 2009-06-21 11:51:24 +0000 |
4427 | @@ -19,7 +19,7 @@ |
4428 | using System.Text; |
4429 | using System.Collections.Generic; |
4430 | using System.Linq; |
4431 | -using Mono.Unix; |
4432 | +using Mono.Addins; |
4433 | |
4434 | using Do.Platform; |
4435 | using Do.Universe; |
4436 | @@ -32,11 +32,11 @@ |
4437 | public sealed class GDocsTrashDocument : Act |
4438 | { |
4439 | public override string Name { |
4440 | - get { return Catalog.GetString ("Delete Document"); } |
4441 | + get { return AddinManager.CurrentLocalizer.GetString ("Delete Document"); } |
4442 | } |
4443 | |
4444 | public override string Description { |
4445 | - get { return Catalog.GetString ("Move a document into Trash at Google Docs"); } |
4446 | + get { return AddinManager.CurrentLocalizer.GetString ("Move a document into Trash at Google Docs"); } |
4447 | } |
4448 | |
4449 | public override string Icon { |
4450 | |
4451 | === modified file 'GoogleDocs/src/GDocsUploadDocument.cs' |
4452 | --- GoogleDocs/src/GDocsUploadDocument.cs 2009-06-09 22:50:11 +0000 |
4453 | +++ GoogleDocs/src/GDocsUploadDocument.cs 2009-06-21 11:51:24 +0000 |
4454 | @@ -20,7 +20,7 @@ |
4455 | using System.Collections.Generic; |
4456 | using System.Linq; |
4457 | using System.Text.RegularExpressions; |
4458 | -using Mono.Unix; |
4459 | +using Mono.Addins; |
4460 | |
4461 | using Do.Universe; |
4462 | |
4463 | @@ -34,11 +34,11 @@ |
4464 | const string ExtPattern = @"\.(txt|doc|docx|html|htm|odt|rtf|xls|xlsx|ods|csv|tsv|tsb|ppt|pps|sxw|pdf)$"; |
4465 | |
4466 | public override string Name { |
4467 | - get { return Catalog.GetString ("Upload Document"); } |
4468 | + get { return AddinManager.CurrentLocalizer.GetString ("Upload Document"); } |
4469 | } |
4470 | |
4471 | public override string Description { |
4472 | - get { return Catalog.GetString ("Upload a document to Google Docs"); } |
4473 | + get { return AddinManager.CurrentLocalizer.GetString ("Upload a document to Google Docs"); } |
4474 | } |
4475 | |
4476 | public override string Icon { |
4477 | |
4478 | === modified file 'GoogleDocs/src/Preferences.cs' |
4479 | --- GoogleDocs/src/Preferences.cs 2009-06-09 22:50:11 +0000 |
4480 | +++ GoogleDocs/src/Preferences.cs 2009-06-21 11:51:24 +0000 |
4481 | @@ -16,7 +16,7 @@ |
4482 | // along with this program. If not, see <http://www.gnu.org/licenses/>. |
4483 | |
4484 | using System; |
4485 | -using Mono.Unix; |
4486 | +using Mono.Addins; |
4487 | using Do.Platform; |
4488 | |
4489 | namespace GDocs |
4490 | |
4491 | === modified file 'GoogleMaps/GoogleMaps.mdp' |
4492 | --- GoogleMaps/GoogleMaps.mdp 2009-02-28 16:16:48 +0000 |
4493 | +++ GoogleMaps/GoogleMaps.mdp 2009-06-22 01:49:55 +0000 |
4494 | @@ -21,10 +21,9 @@ |
4495 | </Contents> |
4496 | <References> |
4497 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4498 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
4499 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4500 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
4501 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
4502 | <ProjectReference type="Gac" localcopy="True" refto="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
4503 | </References> |
4504 | -</Project> |
4505 | \ No newline at end of file |
4506 | +</Project> |
4507 | |
4508 | === modified file 'GoogleMaps/Makefile.am' |
4509 | --- GoogleMaps/Makefile.am 2009-02-05 04:18:51 +0000 |
4510 | +++ GoogleMaps/Makefile.am 2009-06-21 11:51:24 +0000 |
4511 | @@ -9,7 +9,6 @@ |
4512 | Resources/GoogleMaps.addin.xml |
4513 | |
4514 | REFERENCES = \ |
4515 | - Mono.Posix \ |
4516 | System \ |
4517 | System.Core \ |
4518 | System.Web \ |
4519 | |
4520 | === renamed file 'GoogleMaps/Resources/GoogleMaps.addin.xml' => 'GoogleMaps/Resources/GoogleMaps.addin.xml.in' |
4521 | --- GoogleMaps/Resources/GoogleMaps.addin.xml 2009-03-31 23:19:25 +0000 |
4522 | +++ GoogleMaps/Resources/GoogleMaps.addin.xml.in 2009-06-21 11:51:24 +0000 |
4523 | @@ -13,6 +13,8 @@ |
4524 | <Runtime> |
4525 | <Import assembly="GoogleMaps.dll"/> |
4526 | </Runtime> |
4527 | + |
4528 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
4529 | |
4530 | <Dependencies> |
4531 | <Addin id="Universe" version="1.0" /> |
4532 | |
4533 | === modified file 'GoogleMaps/src/MapAction.cs' |
4534 | --- GoogleMaps/src/MapAction.cs 2009-02-05 04:18:51 +0000 |
4535 | +++ GoogleMaps/src/MapAction.cs 2009-06-21 11:51:24 +0000 |
4536 | @@ -21,7 +21,7 @@ |
4537 | using System.Collections.Generic; |
4538 | using System.Linq; |
4539 | using System.Web; |
4540 | -using Mono.Unix; |
4541 | +using Mono.Addins; |
4542 | |
4543 | using Do.Universe; |
4544 | using Do.Platform; |
4545 | @@ -37,12 +37,12 @@ |
4546 | public class MapAction : Act |
4547 | { |
4548 | public override string Name { |
4549 | - get { return Catalog.GetString ("Map"); } |
4550 | + get { return AddinManager.CurrentLocalizer.GetString ("Map"); } |
4551 | } |
4552 | |
4553 | public override string Description |
4554 | { |
4555 | - get { return Catalog.GetString ("Map a location or route in Google maps."); } |
4556 | + get { return AddinManager.CurrentLocalizer.GetString ("Map a location or route in Google maps."); } |
4557 | } |
4558 | |
4559 | public override string Icon |
4560 | |
4561 | === modified file 'GoogleSearch/GoogleSearch.mdp' |
4562 | --- GoogleSearch/GoogleSearch.mdp 2009-02-28 16:16:48 +0000 |
4563 | +++ GoogleSearch/GoogleSearch.mdp 2009-06-22 01:49:55 +0000 |
4564 | @@ -32,7 +32,6 @@ |
4565 | <ProjectReference type="Gac" localcopy="True" refto="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
4566 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
4567 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
4568 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
4569 | <ProjectReference type="Gac" localcopy="True" refto="gconf-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
4570 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4571 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
4572 | @@ -40,4 +39,4 @@ |
4573 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
4574 | <ProjectReference type="Gac" localcopy="True" refto="Do.Interface.Linux, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
4575 | </References> |
4576 | -</Project> |
4577 | \ No newline at end of file |
4578 | +</Project> |
4579 | |
4580 | === modified file 'GoogleSearch/Makefile.am' |
4581 | --- GoogleSearch/Makefile.am 2009-01-09 08:18:51 +0000 |
4582 | +++ GoogleSearch/Makefile.am 2009-06-22 01:49:05 +0000 |
4583 | @@ -17,7 +17,6 @@ |
4584 | Resources/GoogleSearch.addin.xml |
4585 | |
4586 | REFERENCES = \ |
4587 | - Mono.Posix \ |
4588 | System \ |
4589 | System.Core \ |
4590 | System.Web \ |
4591 | |
4592 | === renamed file 'GoogleSearch/Resources/GoogleSearch.addin.xml' => 'GoogleSearch/Resources/GoogleSearch.addin.xml.in' |
4593 | --- GoogleSearch/Resources/GoogleSearch.addin.xml 2009-03-31 23:19:25 +0000 |
4594 | +++ GoogleSearch/Resources/GoogleSearch.addin.xml.in 2009-06-21 11:51:24 +0000 |
4595 | @@ -12,6 +12,8 @@ |
4596 | <Runtime> |
4597 | <Import assembly="GoogleSearch.dll"/> |
4598 | </Runtime> |
4599 | + |
4600 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
4601 | |
4602 | <Dependencies> |
4603 | <Addin id="Universe" version="1.0" /> |
4604 | |
4605 | === modified file 'GoogleSearch/gtk-gui/InlineGoogleSearch.InlineGoogleSearchConfig.cs' |
4606 | --- GoogleSearch/gtk-gui/InlineGoogleSearch.InlineGoogleSearchConfig.cs 2009-01-05 06:46:20 +0000 |
4607 | +++ GoogleSearch/gtk-gui/InlineGoogleSearch.InlineGoogleSearchConfig.cs 2009-06-22 01:49:05 +0000 |
4608 | @@ -71,7 +71,7 @@ |
4609 | this.vbox4.Name = "vbox4"; |
4610 | this.vbox4.Spacing = 6; |
4611 | // Container child vbox4.Gtk.Box+BoxChild |
4612 | - this.goToSearch_rbtn = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Go directly to Google Search page")); |
4613 | + this.goToSearch_rbtn = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Go directly to Google Search page")); |
4614 | this.goToSearch_rbtn.CanFocus = true; |
4615 | this.goToSearch_rbtn.Name = "goToSearch_rbtn"; |
4616 | this.goToSearch_rbtn.Active = true; |
4617 | @@ -84,7 +84,7 @@ |
4618 | w1.Expand = false; |
4619 | w1.Fill = false; |
4620 | // Container child vbox4.Gtk.Box+BoxChild |
4621 | - this.returnResults_rbtn = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Show search results in Do")); |
4622 | + this.returnResults_rbtn = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Show search results in Do")); |
4623 | this.returnResults_rbtn.CanFocus = true; |
4624 | this.returnResults_rbtn.Name = "returnResults_rbtn"; |
4625 | this.returnResults_rbtn.DrawIndicator = true; |
4626 | @@ -103,7 +103,7 @@ |
4627 | this.showFirstCheck = new Gtk.CheckButton(); |
4628 | this.showFirstCheck.CanFocus = true; |
4629 | this.showFirstCheck.Name = "showFirstCheck"; |
4630 | - this.showFirstCheck.Label = Mono.Unix.Catalog.GetString("Show Search page link as first result"); |
4631 | + this.showFirstCheck.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Show Search page link as first result"); |
4632 | this.showFirstCheck.Active = true; |
4633 | this.showFirstCheck.DrawIndicator = true; |
4634 | this.showFirstCheck.UseUnderline = true; |
4635 | @@ -117,7 +117,7 @@ |
4636 | this.frame8.Add(this.GtkAlignment1); |
4637 | this.GtkLabel10 = new Gtk.Label(); |
4638 | this.GtkLabel10.Name = "GtkLabel10"; |
4639 | - this.GtkLabel10.LabelProp = Mono.Unix.Catalog.GetString("<b>Google Search</b>"); |
4640 | + this.GtkLabel10.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Google Search</b>"); |
4641 | this.GtkLabel10.UseMarkup = true; |
4642 | this.frame8.LabelWidget = this.GtkLabel10; |
4643 | this.vbox5.Add(this.frame8); |
4644 | @@ -141,7 +141,7 @@ |
4645 | this.applySSL = new Gtk.CheckButton(); |
4646 | this.applySSL.CanFocus = true; |
4647 | this.applySSL.Name = "applySSL"; |
4648 | - this.applySSL.Label = Mono.Unix.Catalog.GetString("Apply to Google Search page link"); |
4649 | + this.applySSL.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Apply to Google Search page link"); |
4650 | this.applySSL.DrawIndicator = true; |
4651 | this.applySSL.UseUnderline = true; |
4652 | this.vbox7.Add(this.applySSL); |
4653 | @@ -154,7 +154,7 @@ |
4654 | this.safeSearchBox.Name = "safeSearchBox"; |
4655 | this.safeSearchBox.Spacing = 6; |
4656 | // Container child safeSearchBox.Gtk.Box+BoxChild |
4657 | - this.nosafe_rbtn = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Do not filter my search results.")); |
4658 | + this.nosafe_rbtn = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Do not filter my search results.")); |
4659 | this.nosafe_rbtn.CanFocus = true; |
4660 | this.nosafe_rbtn.Name = "nosafe_rbtn"; |
4661 | this.nosafe_rbtn.Active = true; |
4662 | @@ -167,7 +167,7 @@ |
4663 | w9.Expand = false; |
4664 | w9.Fill = false; |
4665 | // Container child safeSearchBox.Gtk.Box+BoxChild |
4666 | - this.moderate_rbtn = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Use moderate filtering")); |
4667 | + this.moderate_rbtn = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Use moderate filtering")); |
4668 | this.moderate_rbtn.CanFocus = true; |
4669 | this.moderate_rbtn.Name = "moderate_rbtn"; |
4670 | this.moderate_rbtn.DrawIndicator = true; |
4671 | @@ -179,7 +179,7 @@ |
4672 | w10.Expand = false; |
4673 | w10.Fill = false; |
4674 | // Container child safeSearchBox.Gtk.Box+BoxChild |
4675 | - this.strict_rbtn = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Use strict filtering")); |
4676 | + this.strict_rbtn = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Use strict filtering")); |
4677 | this.strict_rbtn.CanFocus = true; |
4678 | this.strict_rbtn.Name = "strict_rbtn"; |
4679 | this.strict_rbtn.DrawIndicator = true; |
4680 | @@ -200,7 +200,7 @@ |
4681 | this.frame3.Add(this.GtkAlignment); |
4682 | this.GtkLabel12 = new Gtk.Label(); |
4683 | this.GtkLabel12.Name = "GtkLabel12"; |
4684 | - this.GtkLabel12.LabelProp = Mono.Unix.Catalog.GetString("<b>SafeSearch Preferences</b>"); |
4685 | + this.GtkLabel12.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>SafeSearch Preferences</b>"); |
4686 | this.GtkLabel12.UseMarkup = true; |
4687 | this.frame3.LabelWidget = this.GtkLabel12; |
4688 | this.vbox5.Add(this.frame3); |
4689 | |
4690 | === modified file 'GoogleSearch/gtk-gui/gui.stetic' |
4691 | --- GoogleSearch/gtk-gui/gui.stetic 2009-01-09 07:25:58 +0000 |
4692 | +++ GoogleSearch/gtk-gui/gui.stetic 2009-06-22 01:49:05 +0000 |
4693 | @@ -2,7 +2,7 @@ |
4694 | <stetic-interface> |
4695 | <configuration> |
4696 | <images-root-path>..</images-root-path> |
4697 | - <target-gtk-version>2.12</target-gtk-version> |
4698 | + <target-gtk-version>2.12.9</target-gtk-version> |
4699 | </configuration> |
4700 | <import> |
4701 | <widget-library name="../bin/Debug/InlineGoogleSearch.dll" internal="true" /> |
4702 | |
4703 | === modified file 'GoogleSearch/src/ImFeelingLuckyAction.cs' |
4704 | --- GoogleSearch/src/ImFeelingLuckyAction.cs 2009-02-11 19:17:18 +0000 |
4705 | +++ GoogleSearch/src/ImFeelingLuckyAction.cs 2009-06-21 11:51:24 +0000 |
4706 | @@ -26,7 +26,7 @@ |
4707 | using System.Linq; |
4708 | using Do.Universe; |
4709 | using Do.Platform; |
4710 | -using Mono.Unix; |
4711 | +using Mono.Addins; |
4712 | |
4713 | /// <summary> |
4714 | /// Action that immediately takes you to the first result provided by Google |
4715 | @@ -42,7 +42,7 @@ |
4716 | /// </value> |
4717 | public override string Name { |
4718 | get { |
4719 | - return Catalog.GetString ("I'm Feeling Lucky!"); |
4720 | + return AddinManager.CurrentLocalizer.GetString ("I'm Feeling Lucky!"); |
4721 | } |
4722 | } |
4723 | |
4724 | @@ -51,7 +51,7 @@ |
4725 | /// </value> |
4726 | public override string Description { |
4727 | get { |
4728 | - return Catalog.GetString ("Searches Google and takes you to the first result"); |
4729 | + return AddinManager.CurrentLocalizer.GetString ("Searches Google and takes you to the first result"); |
4730 | } |
4731 | } |
4732 | |
4733 | |
4734 | === modified file 'GoogleSearch/src/InlineGoogleSearch.cs' |
4735 | --- GoogleSearch/src/InlineGoogleSearch.cs 2009-02-11 19:17:18 +0000 |
4736 | +++ GoogleSearch/src/InlineGoogleSearch.cs 2009-06-21 11:51:24 +0000 |
4737 | @@ -30,7 +30,7 @@ |
4738 | using Do.Platform; |
4739 | using Do.Platform.Linux; |
4740 | |
4741 | -using Mono.Unix; |
4742 | +using Mono.Addins; |
4743 | |
4744 | /// <summary> |
4745 | /// Do plug-in that returns search results from google back to gnome-do for |
4746 | @@ -78,7 +78,7 @@ |
4747 | /// </value> |
4748 | public override string Name { |
4749 | get { |
4750 | - return Catalog.GetString ("Search Google"); |
4751 | + return AddinManager.CurrentLocalizer.GetString ("Search Google"); |
4752 | } |
4753 | } |
4754 | |
4755 | @@ -87,7 +87,7 @@ |
4756 | /// </value> |
4757 | public override string Description { |
4758 | get { |
4759 | - return Catalog.GetString ("Allows you to perform Google Searches from Do"); |
4760 | + return AddinManager.CurrentLocalizer.GetString ("Allows you to perform Google Searches from Do"); |
4761 | } |
4762 | } |
4763 | |
4764 | |
4765 | === modified file 'ImageShack/ImageShack.mdp' |
4766 | --- ImageShack/ImageShack.mdp 2009-05-27 04:41:20 +0000 |
4767 | +++ ImageShack/ImageShack.mdp 2009-06-22 01:49:55 +0000 |
4768 | @@ -28,7 +28,6 @@ |
4769 | </Contents> |
4770 | <References> |
4771 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4772 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
4773 | <ProjectReference type="Gac" localcopy="True" refto="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
4774 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
4775 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> |
4776 | @@ -38,4 +37,4 @@ |
4777 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
4778 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform.Linux, Version=0.9.0.0, Culture=neutral" /> |
4779 | </References> |
4780 | -</Project> |
4781 | \ No newline at end of file |
4782 | +</Project> |
4783 | |
4784 | === modified file 'ImageShack/Makefile.am' |
4785 | --- ImageShack/Makefile.am 2009-03-04 05:10:41 +0000 |
4786 | +++ ImageShack/Makefile.am 2009-06-22 01:49:05 +0000 |
4787 | @@ -16,7 +16,6 @@ |
4788 | Resources/ImageShack.addin.xml |
4789 | |
4790 | REFERENCES = \ |
4791 | - Mono.Posix \ |
4792 | System \ |
4793 | System.Core \ |
4794 | System.Web \ |
4795 | |
4796 | === renamed file 'ImageShack/Resources/ImageShack.addin.xml' => 'ImageShack/Resources/ImageShack.addin.xml.in' |
4797 | --- ImageShack/Resources/ImageShack.addin.xml 2009-03-31 23:19:25 +0000 |
4798 | +++ ImageShack/Resources/ImageShack.addin.xml.in 2009-06-21 11:51:24 +0000 |
4799 | @@ -12,6 +12,8 @@ |
4800 | <Runtime> |
4801 | <Import assembly="ImageShack.dll"/> |
4802 | </Runtime> |
4803 | + |
4804 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
4805 | |
4806 | <Dependencies> |
4807 | <Addin id="Universe" version="1.0" /> |
4808 | |
4809 | === modified file 'ImageShack/gtk-gui/ImageShack.ImageShackConfig.cs' |
4810 | --- ImageShack/gtk-gui/ImageShack.ImageShackConfig.cs 2009-01-06 05:31:45 +0000 |
4811 | +++ ImageShack/gtk-gui/ImageShack.ImageShackConfig.cs 2009-06-22 01:49:05 +0000 |
4812 | @@ -66,7 +66,7 @@ |
4813 | this.label2 = new Gtk.Label(); |
4814 | this.label2.Name = "label2"; |
4815 | this.label2.Xalign = 0F; |
4816 | - this.label2.LabelProp = Mono.Unix.Catalog.GetString("If you have an ImageShack account, a registration code allows you to save images to the My Images sections of your account.\n\nPlease log-in to your ImageShack account before getting your registration code."); |
4817 | + this.label2.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("If you have an ImageShack account, a registration code allows you to save images to the My Images sections of your account.\n\nPlease log-in to your ImageShack account before getting your registration code."); |
4818 | this.label2.Wrap = true; |
4819 | this.hbox1.Add(this.label2); |
4820 | Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label2])); |
4821 | @@ -87,7 +87,7 @@ |
4822 | this.label1 = new Gtk.Label(); |
4823 | this.label1.Name = "label1"; |
4824 | this.label1.Xalign = 0F; |
4825 | - this.label1.LabelProp = Mono.Unix.Catalog.GetString("_Registration Code"); |
4826 | + this.label1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("_Registration Code"); |
4827 | this.label1.UseUnderline = true; |
4828 | this.hbox2.Add(this.label1); |
4829 | Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1])); |
4830 | @@ -121,7 +121,7 @@ |
4831 | this.RegistrationButton.Name = "RegistrationButton"; |
4832 | this.RegistrationButton.UseUnderline = true; |
4833 | this.RegistrationButton.Xalign = 0F; |
4834 | - this.RegistrationButton.Label = Mono.Unix.Catalog.GetString("_Get Registration Code"); |
4835 | + this.RegistrationButton.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("_Get Registration Code"); |
4836 | this.hbox3.Add(this.RegistrationButton); |
4837 | Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox3[this.RegistrationButton])); |
4838 | w6.Position = 0; |
4839 | @@ -137,7 +137,7 @@ |
4840 | this.GtkLabel1 = new Gtk.Label(); |
4841 | this.GtkLabel1.Name = "GtkLabel1"; |
4842 | this.GtkLabel1.Xalign = 0F; |
4843 | - this.GtkLabel1.LabelProp = Mono.Unix.Catalog.GetString("<b>Registration Code</b>"); |
4844 | + this.GtkLabel1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Registration Code</b>"); |
4845 | this.GtkLabel1.UseMarkup = true; |
4846 | this.frame1.LabelWidget = this.GtkLabel1; |
4847 | this.vbox1.Add(this.frame1); |
4848 | |
4849 | === modified file 'ImageShack/gtk-gui/gui.stetic' |
4850 | --- ImageShack/gtk-gui/gui.stetic 2009-01-09 07:25:58 +0000 |
4851 | +++ ImageShack/gtk-gui/gui.stetic 2009-06-22 01:49:05 +0000 |
4852 | @@ -2,7 +2,7 @@ |
4853 | <stetic-interface> |
4854 | <configuration> |
4855 | <images-root-path>..</images-root-path> |
4856 | - <target-gtk-version>2.12</target-gtk-version> |
4857 | + <target-gtk-version>2.12.9</target-gtk-version> |
4858 | </configuration> |
4859 | <import> |
4860 | <widget-library name="../bin/Debug/ImageShack.dll" internal="true" /> |
4861 | |
4862 | === modified file 'ImageShack/src/ImageShackAction.cs' |
4863 | --- ImageShack/src/ImageShackAction.cs 2009-03-04 05:10:41 +0000 |
4864 | +++ ImageShack/src/ImageShackAction.cs 2009-06-21 11:51:24 +0000 |
4865 | @@ -27,7 +27,7 @@ |
4866 | using System.Web; |
4867 | using System.Xml.Linq; |
4868 | |
4869 | -using Mono.Unix; |
4870 | +using Mono.Addins; |
4871 | |
4872 | using Do.Platform; |
4873 | using Do.Platform.Linux; |
4874 | @@ -51,11 +51,11 @@ |
4875 | |
4876 | |
4877 | public override string Name { |
4878 | - get { return Catalog.GetString ("Upload to ImageShack"); } |
4879 | + get { return AddinManager.CurrentLocalizer.GetString ("Upload to ImageShack"); } |
4880 | } |
4881 | |
4882 | public override string Description { |
4883 | - get { return Catalog.GetString ("Uploads the image to ImageShack."); } |
4884 | + get { return AddinManager.CurrentLocalizer.GetString ("Uploads the image to ImageShack."); } |
4885 | } |
4886 | |
4887 | public override string Icon { |
4888 | @@ -99,7 +99,7 @@ |
4889 | |
4890 | private static bool FileIsValidForUpload (string file) |
4891 | { |
4892 | - string fileSizeError = Catalog.GetString ("File size exceeds ImageShack's 1.5MB limit."); |
4893 | + string fileSizeError = AddinManager.CurrentLocalizer.GetString ("File size exceeds ImageShack's 1.5MB limit."); |
4894 | |
4895 | FileInfo fi = new FileInfo(file); |
4896 | long fileSize = fi.Length; |
4897 | |
4898 | === modified file 'ImageShack/src/Notifications.cs' |
4899 | --- ImageShack/src/Notifications.cs 2008-12-24 04:44:00 +0000 |
4900 | +++ ImageShack/src/Notifications.cs 2009-06-21 11:51:24 +0000 |
4901 | @@ -20,7 +20,7 @@ |
4902 | |
4903 | using System; |
4904 | |
4905 | -using Mono.Unix; |
4906 | +using Mono.Addins; |
4907 | |
4908 | using Do.Platform; |
4909 | |
4910 | @@ -28,8 +28,8 @@ |
4911 | { |
4912 | public class UploadNotification : Notification |
4913 | { |
4914 | - static readonly string message_title = Catalog.GetString ("ImageShack"); |
4915 | - static readonly string upload_message = Catalog.GetString ("Do is uploading your image... Please wait a moment..."); |
4916 | + static readonly string message_title = AddinManager.CurrentLocalizer.GetString ("ImageShack"); |
4917 | + static readonly string upload_message = AddinManager.CurrentLocalizer.GetString ("Do is uploading your image... Please wait a moment..."); |
4918 | |
4919 | public UploadNotification (string icon) |
4920 | : base (message_title, upload_message, icon) |
4921 | @@ -39,8 +39,8 @@ |
4922 | |
4923 | public class GeneralErrorNotification : Notification |
4924 | { |
4925 | - static readonly string message_title = Catalog.GetString ("ImageShack"); |
4926 | - static readonly string error_message = Catalog.GetString ("Unable to upload image to ImageShack at this time."); |
4927 | + static readonly string message_title = AddinManager.CurrentLocalizer.GetString ("ImageShack"); |
4928 | + static readonly string error_message = AddinManager.CurrentLocalizer.GetString ("Unable to upload image to ImageShack at this time."); |
4929 | |
4930 | public GeneralErrorNotification () |
4931 | : base (message_title, error_message, "") |
4932 | @@ -50,7 +50,7 @@ |
4933 | |
4934 | public class InvalidFileNotification : Notification |
4935 | { |
4936 | - static readonly string message_title = Catalog.GetString ("ImageShack"); |
4937 | + static readonly string message_title = AddinManager.CurrentLocalizer.GetString ("ImageShack"); |
4938 | |
4939 | public InvalidFileNotification (string message) |
4940 | : base (message_title, message, "") |
4941 | |
4942 | === modified file 'JIRA/JIRA.mdp' |
4943 | --- JIRA/JIRA.mdp 2009-01-09 08:10:40 +0000 |
4944 | +++ JIRA/JIRA.mdp 2009-06-22 01:49:55 +0000 |
4945 | @@ -33,7 +33,6 @@ |
4946 | </Contents> |
4947 | <References> |
4948 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4949 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
4950 | <ProjectReference type="Gac" localcopy="True" refto="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
4951 | <ProjectReference type="Gac" localcopy="True" refto="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
4952 | <ProjectReference type="Gac" localcopy="True" refto="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4953 | @@ -45,4 +44,4 @@ |
4954 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform.Linux, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
4955 | </References> |
4956 | <GtkDesignInfo generateGettext="False" /> |
4957 | -</Project> |
4958 | \ No newline at end of file |
4959 | +</Project> |
4960 | |
4961 | === modified file 'JIRA/Makefile.am' |
4962 | --- JIRA/Makefile.am 2009-01-09 07:45:01 +0000 |
4963 | +++ JIRA/Makefile.am 2009-06-21 11:51:24 +0000 |
4964 | @@ -22,7 +22,6 @@ |
4965 | REFERENCES = \ |
4966 | System \ |
4967 | System.Core \ |
4968 | - Mono.Posix \ |
4969 | System.Web.Services \ |
4970 | System.Xml \ |
4971 | $(DO_PLATFORM_LIBS) \ |
4972 | |
4973 | === renamed file 'JIRA/Resources/JIRA.addin.xml' => 'JIRA/Resources/JIRA.addin.xml.in' |
4974 | --- JIRA/Resources/JIRA.addin.xml 2009-03-31 23:19:25 +0000 |
4975 | +++ JIRA/Resources/JIRA.addin.xml.in 2009-06-21 11:51:24 +0000 |
4976 | @@ -13,6 +13,8 @@ |
4977 | <Import assembly="JIRA.dll"/> |
4978 | </Runtime> |
4979 | |
4980 | + <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> |
4981 | + |
4982 | <Dependencies> |
4983 | <Addin id="Universe" version="1.0" /> |
4984 | </Dependencies> |
4985 | |
4986 | === modified file 'Launchpad/Launchpad.mdp' |
4987 | --- Launchpad/Launchpad.mdp 2009-02-28 16:16:48 +0000 |
4988 | +++ Launchpad/Launchpad.mdp 2009-06-22 01:49:55 +0000 |
4989 | @@ -31,10 +31,9 @@ |
4990 | </Contents> |
4991 | <References> |
4992 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4993 | - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
4994 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
4995 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
4996 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null" /> |
4997 | <ProjectReference type="Gac" localcopy="True" refto="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
4998 | </References> |
4999 | -</Project> |
5000 | \ No newline at end of file |
The diff has been truncated for viewing.
Make the plugins use the translations we have. This (mostly) fixes bug #321748.
This essentially replaces all Mono.Unix.Catalog use with Mono.Addins. AddinManager. CurrentLocalize r. The .addin.xml then provides Mono.Addins with the necessary metadata to load the appropriate translations.
The addin metadata itself is not translated; Preferences- >Plugins will still be in all-English. Fixing this last part will require one of two things
a) Mono.Addins to gain translation support for the addin metadata, a feature which is planned but not started, or
b) For us to change the plugin API and require translated properties on all plugins.
For the moment, I think we should merge this & release with it. We can look at the Preferences- >Plugins list issue later.