summaryrefslogtreecommitdiff
path: root/src/Commands.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:09:31 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:09:31 +0200
commit143bfc9f801c84428074312d661f8e08803df83b (patch)
tree59a8a447529bd9ce3807aa8bacef861dc5aafd70 /src/Commands.vala
parent29a7aef998e975b42401cfa96d1b750d91eadf06 (diff)
Imported Upstream version 0.23.5upstream/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)