~do-plugins/do-plugins/trunk

« back to all changes in this revision

Viewing changes to YouTube/src/Youtube.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:
1
1
using System;
2
2
using System.IO;
3
3
using System.Net;
4
 
using Mono.Unix;
 
4
using Mono.Addins;
5
5
using System.Collections.Generic;
6
6
using Do.Universe;
7
7
using Do.Platform;
15
15
        public class Youtube
16
16
        {
17
17
 
18
 
                static readonly string ConnectionErrorMessage = Catalog.GetString ("An error occurred connecting to YouTube, "
 
18
                static readonly string ConnectionErrorMessage = AddinManager.CurrentLocalizer.GetString ("An error occurred connecting to YouTube, "
19
19
                        + "are your credentials valid?");
20
20
                        
21
 
                static readonly string MissingCredentialsMessage = Catalog.GetString ("Missing login credentials. Please set "
 
21
                static readonly string MissingCredentialsMessage = AddinManager.CurrentLocalizer.GetString ("Missing login credentials. Please set "
22
22
                        + "login information in YouTube plugin configuration.");
23
23
                
24
24
                public const string appName = "luismmontielg-gnomeDoYoutubePlugin0.1";