Remove underscores from Save as dialog

This commit is contained in:
Matt Baer 2018-09-25 12:43:33 -04:00
parent 6e530b33d2
commit 8318eaa2f5

View File

@ -350,7 +350,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
private bool save_as() {
try {
var file = prompt_file(Gtk.FileChooserAction.SAVE, _("_Save as"));
var file = prompt_file(Gtk.FileChooserAction.SAVE, _("Save as"));
file.replace_contents(canvas.buffer.text.data, null, false,
FileCreateFlags.PRIVATE | FileCreateFlags.REPLACE_DESTINATION,
null);
@ -363,7 +363,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
private File prompt_file(Gtk.FileChooserAction mode, string action)
throws UserCancellable {
var file_chooser = new Gtk.FileChooserDialog(action, this, mode,
_("_Cancel"), Gtk.ResponseType.CANCEL,
_("Cancel"), Gtk.ResponseType.CANCEL,
action, Gtk.ResponseType.ACCEPT);
file_chooser.select_multiple = false;