[banshee] Translate Name/Description in extensions prefs
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] Translate Name/Description in extensions prefs
- Date: Thu, 3 Dec 2009 01:40:29 +0000 (UTC)
commit b3b68f038590fcdafc6c658e8eefa974c2796196
Author: Gabriel Burt <gabriel burt gmail com>
Date: Wed Dec 2 15:31:51 2009 -0800
Translate Name/Description in extensions prefs
.../Banshee.Addins.Gui/AddinTile.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinTile.cs b/src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinTile.cs
index 2f50f7b..3f1e91c 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinTile.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinTile.cs
@@ -77,7 +77,7 @@ namespace Banshee.Addins.Gui
SetLabelStyle (title);
title.Show ();
title.Xalign = 0.0f;
- title.Markup = String.Format ("<b>{0}</b>", GLib.Markup.EscapeText (addin.Name));
+ title.Markup = String.Format ("<b>{0}</b>", GLib.Markup.EscapeText (Catalog.GetString (addin.Name)));
Attach (title, 1, 3, 0, 1,
AttachOptions.Expand | AttachOptions.Fill,
@@ -86,7 +86,7 @@ namespace Banshee.Addins.Gui
description = new WrapLabel ();
SetLabelStyle (description);
description.Show ();
- description.Text = addin.Description.Description;
+ description.Text = Catalog.GetString (addin.Description.Description);
description.Wrap = false;
Attach (description, 1, 3, 1, 2,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]