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

« back to all changes in this revision

Viewing changes to Pastebin/src/PastebinAction.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:
30
30
using Do.Universe;
31
31
using Do.Universe.Common;
32
32
 
33
 
using Mono.Unix;
 
33
using Mono.Addins;
34
34
 
35
35
namespace Pastebin
36
36
{
37
37
        public class PastebinAction : Act, IConfigurable
38
38
        {
39
39
                public override string Name {
40
 
                        get { return Catalog.GetString ("Send to Pastebin"); }
 
40
                        get { return AddinManager.CurrentLocalizer.GetString ("Send to Pastebin"); }
41
41
                }
42
42
                
43
43
                public override string Description {
44
 
                        get { return Catalog.GetString ("Sends the text to Pastebin."); }
 
44
                        get { return AddinManager.CurrentLocalizer.GetString ("Sends the text to Pastebin."); }
45
45
                }
46
46
                
47
47
                public override string Icon {