1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Remove 27 various macro _ ...

... and supply a few missing translations in Dependencies.cpp

And substitute-don't-concatenate in a few places in Internat.cpp
This commit is contained in:
Paul Licameli
2020-05-23 06:41:26 -04:00
parent 3e5789ca14
commit db690d94f7
18 changed files with 76 additions and 98 deletions

View File

@@ -33,9 +33,9 @@ License: GPL v2. See License.txt.
#if !defined(USE_FFMPEG)
/// FFmpeg support may or may not be compiled in,
/// but Preferences dialog requires this function nevertheless
wxString GetFFmpegVersion(wxWindow *parent)
TranslatableString GetFFmpegVersion()
{
return wxString(_("FFmpeg support not compiled in"));
return XO("FFmpeg support not compiled in");
}
#else
@@ -110,14 +110,14 @@ void FFmpegStartup()
}
}
wxString GetFFmpegVersion(wxWindow * WXUNUSED(parent))
TranslatableString GetFFmpegVersion()
{
PickFFmpegLibs();
wxString versionString = _("FFmpeg library not found");
auto versionString = XO("FFmpeg library not found");
if (FFmpegLibsInst()->ValidLibsLoaded()) {
versionString = FFmpegLibsInst()->GetLibraryVersion();
versionString = Verbatim( FFmpegLibsInst()->GetLibraryVersion() );
}
DropFFmpegLibs();