[banshee] [Dap] Improve wording of some actions
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [Dap] Improve wording of some actions
- Date: Fri, 20 Nov 2009 02:46:13 +0000 (UTC)
commit 199782971fe4b645deab645250ea394a1f3d683c
Author: Gabriel Burt <gabriel burt gmail com>
Date: Thu Nov 19 18:36:09 2009 -0800
[Dap] Improve wording of some actions
Shorten Synchronize IPOD to just Sync, and change Eject to
Disconnect.
src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs | 4 +---
src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs | 6 +++---
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs b/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs
index 17b775f..3ef1911 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs
@@ -47,7 +47,7 @@ namespace Banshee.Dap.Gui
{
AddImportant (
new ActionEntry ("SyncDapAction", null,
- Catalog.GetString ("Synchronize"), null,
+ Catalog.GetString ("Sync"), null,
String.Empty, OnSyncDap)
);
@@ -84,8 +84,6 @@ namespace Banshee.Dap.Gui
DapSource dap = Dap;
if (dap != null) {
UpdateAction ("SyncDapAction", dap.Sync.Enabled && !dap.Sync.AutoSync);
- /* Translators: {0} is the name of the digital audio player */
- this["SyncDapAction"].Label = String.Format (Catalog.GetString ("Synchronize {0}"), dap.Name);
}
}
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs b/src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs
index ac551fa..18581f4 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs
@@ -54,6 +54,7 @@ namespace Banshee.Dap
Order = 410;
Properties.SetString ("UnmapSourceActionIconName", "media-eject");
+ Properties.SetString ("UnmapSourceActionLabel", Catalog.GetString ("Disconnect"));
Properties.SetString ("GtkActionPath", "/RemovableSourceContextMenu");
AfterInitialized ();
@@ -68,7 +69,6 @@ namespace Banshee.Dap
set {
base.Name = value;
StorageName = value;
- Properties.SetString ("UnmapSourceActionLabel", String.Format (Catalog.GetString ("Eject {0}"), value));
}
}
@@ -105,14 +105,14 @@ namespace Banshee.Dap
ServiceManager.PlayerEngine.Close ();
}
- SetStatus (String.Format (Catalog.GetString ("Ejecting {0}..."), GenericName), false);
+ SetStatus (String.Format (Catalog.GetString ("Disconnecting {0}..."), GenericName), false);
ThreadPool.QueueUserWorkItem (delegate {
try {
Eject ();
} catch (Exception e) {
ThreadAssist.ProxyToMain (delegate {
- SetStatus (String.Format (Catalog.GetString ("Could not eject {0}: {1}"),
+ SetStatus (String.Format (Catalog.GetString ("Could not disconnect {0}: {1}"),
GenericName, e.Message), true);
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]