~do-plugins/do-plugins/trunk

« back to all changes in this revision

Viewing changes to Flickr/src/AccountConfig.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 System.Threading;
22
 
using Mono.Unix;
 
22
using Mono.Addins;
23
23
 
24
24
using Gtk;
25
25
using FlickrNet;
88
88
                        Frob = flickr.AuthGetFrob ();
89
89
                        Services.Environment.OpenUrl (flickr.AuthCalcUrl (Frob, AuthLevel.Write));
90
90
                        Widget image = auth_btn.Image;
91
 
                        auth_btn.Label = Catalog.GetString ("Click to compete authorization");
 
91
                        auth_btn.Label = AddinManager.CurrentLocalizer.GetString ("Click to compete authorization");
92
92
                        auth_btn.Image = image; 
93
93
                        auth_btn.Clicked -= new EventHandler (OnAuthBtnClicked);
94
94
                        auth_btn.Clicked += new EventHandler (OnCompleteBtnClicked);
109
109
                
110
110
                private void SetBtnStateComplete ()
111
111
                {
112
 
                        status_lbl.Text = String.Format (Catalog.GetString ("Thank you {0} "
 
112
                        status_lbl.Text = String.Format (AddinManager.CurrentLocalizer.GetString ("Thank you {0} "
113
113
                                + "for allowing Do access to Flickr."), Username);
114
114
                        auth_btn.Label = "Sign in as a different user";
115
115
                        auth_btn.Clicked -= new EventHandler (OnCompleteBtnClicked);