summaryrefslogtreecommitdiff
path: root/src/Commands.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
commitcb612a12b952e349b96d427645aaeb55d15f509a (patch)
treef29298f41d2a7ea2a976616243aca64c2c2547ce /src/Commands.vala
parente7be93745e4a2ff3aa255227bef7b9d3b733aafa (diff)
parent143bfc9f801c84428074312d661f8e08803df83b (diff)
Merge tag 'upstream/0.23.5'
Upstream version 0.23.5
Diffstat (limited to 'src/Commands.vala')
-rw-r--r--src/Commands.vala8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Commands.vala b/src/Commands.vala
index a5816ea..d922c7d 100644
--- a/src/Commands.vala
+++ b/src/Commands.vala
@@ -564,7 +564,9 @@ public class EditTitleCommand : SingleDataSourceCommand {
private string? old_title;
public EditTitleCommand(MediaSource source, string new_title) {
- base(source, Resources.EDIT_TITLE_LABEL, "");
+ var title = GLib.dpgettext2 (null, "Button Label",
+ Resources.EDIT_TITLE_LABEL);
+ base(source, title, "");
this.new_title = new_title;
old_title = source.get_title();
@@ -604,7 +606,9 @@ public class EditMultipleTitlesCommand : MultipleDataSourceAtOnceCommand {
public Gee.HashMap<MediaSource, string?> old_titles = new Gee.HashMap<MediaSource, string?>();
public EditMultipleTitlesCommand(Gee.Collection<MediaSource> media_sources, string new_title) {
- base (media_sources, Resources.EDIT_TITLE_LABEL, "");
+ var title = GLib.dpgettext2 (null, "Button Label",
+ Resources.EDIT_TITLE_LABEL);
+ base (media_sources, title, "");
this.new_title = new_title;
foreach (MediaSource media in media_sources)