From dc76988bdd6202ad5ddc68a7f700a56fd2ddd1eb Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 18 Nov 2017 21:44:43 -0500 Subject: [PATCH] Menu name change to "&Export" was a bit late for localization... ... But see comments: "Export" (though not "&Export") was already in audacity.pot for 2.2.0 --- src/Menus.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/Menus.cpp b/src/Menus.cpp index 5875d9bfd..a2cb29f04 100644 --- a/src/Menus.cpp +++ b/src/Menus.cpp @@ -331,7 +331,18 @@ void AudacityProject::CreateMenusAndCommands() AudioIONotBusyFlag | UnsavedChangesFlag, AudioIONotBusyFlag | UnsavedChangesFlag); c->AddItem(wxT("SaveAs"), _("Save Project &As..."), FN(OnSaveAs)); - c->BeginSubMenu( _("&Export") ); + + { + auto lang = gPrefs->Read(wxT("/Locale/Language"), wxT("")); + if (lang.empty() || lang.Left(2) == wxT("en")) + // PRL: last-minute improved message for 2.2.1 RC1, English only. + c->BeginSubMenu( _("&Export") ); + else + // This string was already in catalogs for 2.2.0 + // So the translation may still replace "Save Other" + // But translation will have no accelerator. + c->BeginSubMenu( _("Export") ); + } // Enable Export audio commands only when there are audio tracks. c->AddItem(wxT("ExportMp3"), _("Export as MP&3"), FN(OnExportMp3), wxT(""),