From 143bfc9f801c84428074312d661f8e08803df83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 20 Aug 2016 15:09:31 +0200 Subject: Imported Upstream version 0.23.5 --- src/Commands.vala | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/Commands.vala') 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 old_titles = new Gee.HashMap(); public EditMultipleTitlesCommand(Gee.Collection 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) -- cgit v1.2.3