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

« back to all changes in this revision

Viewing changes to Pidgin/src/PidginHandleContactDetailItem.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:
19
19
//
20
20
 
21
21
using System;
22
 
using Mono.Unix;
 
22
using Mono.Addins;
23
23
 
24
24
using Do.Universe;
25
25
 
40
40
                        this.proto = proto;
41
41
                        this.handle = handle;
42
42
                        this.custom_icon = custom_icon;
43
 
                        this.online = (Pidgin.BuddyIsOnline (handle)) ? Catalog.GetString ("Online") : Catalog.GetString ("Offline");
 
43
                        this.online = (Pidgin.BuddyIsOnline (handle)) ? AddinManager.CurrentLocalizer.GetString ("Online") : AddinManager.CurrentLocalizer.GetString ("Offline");
44
44
                }
45
45
 
46
46
                public override string Name {
51
51
 
52
52
                public override string Description {
53
53
                        get {
54
 
                                return string.Format ("{0} {1} ({2})", ReadableProto (proto), Catalog.GetString ("Handle"), online);
 
54
                                return string.Format ("{0} {1} ({2})", ReadableProto (proto), AddinManager.CurrentLocalizer.GetString ("Handle"), online);
55
55
                        }
56
56
                }
57
57