~do-plugins/do-plugins/trunk

« back to all changes in this revision

Viewing changes to Evolution/src/PhoneContactDetailItem.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
using System;
21
21
using Do.Universe;
22
 
using Mono.Unix;
 
22
using Mono.Addins;
23
23
 
24
24
namespace Evolution
25
25
{
31
31
 
32
32
                public override string Name {
33
33
                        get {
34
 
                                if (Key.Contains (".work")) return Catalog.GetString ("Work Phone");
35
 
                                if (Key.Contains (".home")) return Catalog.GetString ("Home Phone");
36
 
                                if (Key.Contains (".mobile")) return Catalog.GetString ("Mobile Phone");
 
34
                                if (Key.Contains (".work")) return AddinManager.CurrentLocalizer.GetString ("Work Phone");
 
35
                                if (Key.Contains (".home")) return AddinManager.CurrentLocalizer.GetString ("Home Phone");
 
36
                                if (Key.Contains (".mobile")) return AddinManager.CurrentLocalizer.GetString ("Mobile Phone");
37
37
                                return "Phone";
38
38
                        }
39
39
                }