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

« back to all changes in this revision

Viewing changes to RemindMe/src/RemindMe.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:
21
21
using System;
22
22
using System.Linq;
23
23
using System.Collections.Generic;
24
 
using Mono.Unix;
 
24
using Mono.Addins;
25
25
 
26
26
using GLib;
27
27
 
42
42
                {
43
43
                        
44
44
                        public override string Name {
45
 
                                get { return Catalog.GetString ("Allow Snooze"); }
 
45
                                get { return AddinManager.CurrentLocalizer.GetString ("Allow Snooze"); }
46
46
                        }
47
47
                        
48
48
                        public override string Description {
49
 
                                get { return Catalog.GetString ("Allows this reminder to be snoozed."); }
 
49
                                get { return AddinManager.CurrentLocalizer.GetString ("Allows this reminder to be snoozed."); }
50
50
                        }
51
51
                        
52
52
                        public override string Icon {
58
58
                {
59
59
                        
60
60
                        public override string Name {
61
 
                                get { return Catalog.GetString ("No Snooze Allowed"); }
 
61
                                get { return AddinManager.CurrentLocalizer.GetString ("No Snooze Allowed"); }
62
62
                        }
63
63
                        
64
64
                        public override string Description {
65
 
                                get { return Catalog.GetString ("This reminder cannot be snoozed."); }
 
65
                                get { return AddinManager.CurrentLocalizer.GetString ("This reminder cannot be snoozed."); }
66
66
                        }
67
67
                        
68
68
                        public override string Icon {
72
72
                
73
73
                public RemindMe ()
74
74
                {
75
 
                        remindMessageHourMin = Catalog.GetString ("You will be reminded in {0} hours, {0} minutes.");
76
 
                        remindMessageMin = Catalog.GetString ("You will be reminded in {0} minutes");
77
 
                        timeKeyWords = new string[] {Catalog.GetString ("in"), Catalog.GetString ("at")};
 
75
                        remindMessageHourMin = AddinManager.CurrentLocalizer.GetString ("You will be reminded in {0} hours, {0} minutes.");
 
76
                        remindMessageMin = AddinManager.CurrentLocalizer.GetString ("You will be reminded in {0} minutes");
 
77
                        timeKeyWords = new string[] {AddinManager.CurrentLocalizer.GetString ("in"), AddinManager.CurrentLocalizer.GetString ("at")};
78
78
                }
79
79
 
80
80
                public override string Name {
81
 
                        get { return Catalog.GetString ("Remind Me"); }
 
81
                        get { return AddinManager.CurrentLocalizer.GetString ("Remind Me"); }
82
82
                }
83
83
 
84
84
                public override string Description {
85
 
                        get { return Catalog.GetString ("Simple Reminders"); }
 
85
                        get { return AddinManager.CurrentLocalizer.GetString ("Simple Reminders"); }
86
86
                }
87
87
 
88
88
                public override string Icon {