[banshee/1.5.1-fixes: 49/56] Translate "New Playlist"s (BGO #605795)
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/1.5.1-fixes: 49/56] Translate "New Playlist"s (BGO #605795)
- Date: Mon, 22 Mar 2010 18:08:11 +0000 (UTC)
commit 228d370e7004b6f6de5d0801ace89f9a5fd914da
Author: Benjamin Valero Espinosa <benjavalero gmail com>
Date: Thu Dec 31 19:03:49 2009 -0600
Translate "New Playlist"s (BGO #605795)
Signed-off-by: Gabriel Burt <gabriel burt gmail com>
.../Banshee.Gui/SourceActions.cs | 2 +-
.../Banshee.Gui/TrackActions.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs
index b0b0a71..6952078 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs
@@ -166,7 +166,7 @@ namespace Banshee.Gui
private void OnNewPlaylist (object o, EventArgs args)
{
- PlaylistSource playlist = new PlaylistSource ("New Playlist", ActivePrimarySource);
+ PlaylistSource playlist = new PlaylistSource (Catalog.GetString ("New Playlist"), ActivePrimarySource);
playlist.Save ();
playlist.PrimarySource.AddChildSource (playlist);
playlist.NotifyUser ();
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
index ee5d596..6924e9b 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
@@ -352,7 +352,7 @@ namespace Banshee.Gui
private void OnAddToNewPlaylist (object o, EventArgs args)
{
// TODO generate name based on the track selection, or begin editing it
- PlaylistSource playlist = new PlaylistSource ("New Playlist", ActivePrimarySource);
+ PlaylistSource playlist = new PlaylistSource (Catalog.GetString ("New Playlist"), ActivePrimarySource);
playlist.Save ();
playlist.PrimarySource.AddChildSource (playlist);
ThreadAssist.SpawnFromMain (delegate {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]