~do-core/do/fix-the-shitstorm

« back to all changes in this revision

Viewing changes to Firefox/src/PlacesItemSource.cs

  • Committer: Christopher James Halse Rogers
  • Date: 2009-06-22 04:05:16 UTC
  • Revision ID: raof@ubuntu.com-20090622040516-d7fi9w4m3n580i8w
Fix translations for plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
using Do.Universe;
29
29
using Do.Universe.Common;
30
30
 
31
 
using Mono.Unix;
 
31
using Mono.Addins;
32
32
using Mono.Data.SqliteClient;
33
33
        
34
34
namespace Firefox
66
66
                }
67
67
 
68
68
                public override string Name {
69
 
                        get { return Catalog.GetString ("Firefox Places"); }
 
69
                        get { return AddinManager.CurrentLocalizer.GetString ("Firefox Places"); }
70
70
                }
71
71
 
72
72
                public override string Description {
73
 
                        get { return Catalog.GetString ("Search your bookmarks and history."); }
 
73
                        get { return AddinManager.CurrentLocalizer.GetString ("Search your bookmarks and history."); }
74
74
                }
75
75
 
76
76
                public override string Icon {
246
246
                                                         * parent for all other directories. It doesn't have a name,
247
247
                                                         * so we'll give it one. */                                                     
248
248
                                                        if (id == 1)
249
 
                                                                yield return new FolderItem (Catalog.GetString ("Mozilla Bookmarks"), id, parent);
 
249
                                                                yield return new FolderItem (AddinManager.CurrentLocalizer.GetString ("Mozilla Bookmarks"), id, parent);
250
250
                                                        /* Firefox uses another field that doesn't have a name.
251
251
                                                         * It references portions of their menu that generate
252
252
                                                         * information dynamically from History, Tags, etc.