mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-16 08:34:10 +02:00
more i18n-hints about "codec"
This commit is contained in:
parent
092033b284
commit
cd0e1e680a
@ -502,6 +502,7 @@ bool ExportFFmpeg::InitCodecs(AudacityProject *project)
|
||||
// Is the required audio codec compiled into libavcodec?
|
||||
if (codec == NULL)
|
||||
{
|
||||
/* i18n-hint: "codec" is short for a "coder-decoder" algorithm */
|
||||
AudacityMessageBox(wxString::Format(_("FFmpeg cannot find audio codec 0x%x.\nSupport for this codec is probably not compiled in."), (unsigned int) mEncAudioCodecCtx->codec_id),
|
||||
_("FFmpeg Error"), wxOK|wxCENTER|wxICON_EXCLAMATION);
|
||||
return false;
|
||||
@ -535,6 +536,7 @@ bool ExportFFmpeg::InitCodecs(AudacityProject *project)
|
||||
// Open the codec.
|
||||
if (avcodec_open2(mEncAudioCodecCtx.get(), codec, &options) < 0)
|
||||
{
|
||||
/* i18n-hint: "codec" is short for a "coder-decoder" algorithm */
|
||||
AudacityMessageBox(wxString::Format(_("FFmpeg : ERROR - Can't open audio codec 0x%x."),mEncAudioCodecCtx->codec_id),
|
||||
_("FFmpeg Error"), wxOK|wxCENTER|wxICON_EXCLAMATION);
|
||||
return false;
|
||||
|
@ -708,6 +708,7 @@ bool FFmpegPresets::SavePreset(ExportFFmpegOptions *parent, wxString &name)
|
||||
lb = dynamic_cast<wxListBox*>(wnd);
|
||||
if (lb->GetSelection() < 0)
|
||||
{
|
||||
/* i18n-hint: "codec" is short for a "coder-decoder" algorithm */
|
||||
AudacityMessageBox(_("Please select codec before saving a profile"));
|
||||
return false;
|
||||
}
|
||||
@ -1548,6 +1549,7 @@ void ExportFFmpegOptions::PopulateOrExchange(ShuttleGui & S)
|
||||
S.SetStretchyCol(3);
|
||||
S.Id(FEFormatLabelID).AddFixedText(_("Format:"));
|
||||
mFormatName = S.Id(FEFormatNameID).AddVariableText( {} );
|
||||
/* i18n-hint: "codec" is short for a "coder-decoder" algorithm */
|
||||
S.Id(FECodecLabelID).AddFixedText(_("Codec:"));
|
||||
mCodecName = S.Id(FECodecNameID).AddVariableText( {} );
|
||||
}
|
||||
@ -1590,6 +1592,7 @@ void ExportFFmpegOptions::PopulateOrExchange(ShuttleGui & S)
|
||||
S.StartMultiColumn(4, wxALIGN_LEFT);
|
||||
{
|
||||
mTag = S.Id(FETagID)
|
||||
/* i18n-hint: "codec" is short for a "coder-decoder" algorithm */
|
||||
.ToolTip(XO("Codec tag (FOURCC)\nOptional\nempty - automatic"))
|
||||
.TieTextBox(_("Tag:"), {wxT("/FileFormats/FFmpegTag"), wxEmptyString}, 4);
|
||||
|
||||
@ -2099,9 +2102,11 @@ bool ExportFFmpegOptions::ReportIfBadCombination()
|
||||
return false;
|
||||
|
||||
AudacityMessageBox(
|
||||
/* i18n-hint: "codec" is short for a "coder-decoder" algorithm */
|
||||
wxString::Format(_("Format %s is not compatible with codec %s."),
|
||||
*selfmt,
|
||||
*selcdc ),
|
||||
/* i18n-hint: "codec" is short for a "coder-decoder" algorithm */
|
||||
_("Incompatible format and codec"));
|
||||
|
||||
return true;
|
||||
@ -2195,6 +2200,7 @@ void ExportFFmpegOptions::DoOnCodecList()
|
||||
if (cdc == NULL)
|
||||
{
|
||||
//This shouldn't really happen
|
||||
/* i18n-hint: "codec" is short for a "coder-decoder" algorithm */
|
||||
mCodecName->SetLabel(wxString(_("Failed to find the codec")));
|
||||
return;
|
||||
}
|
||||
|
@ -234,6 +234,7 @@ using Unevaluated = decltype(
|
||||
, XO("AU (Sun/NeXT)")
|
||||
, XO("AVR (Audio Visual Research)")
|
||||
, XO("CAF (Apple Core Audio File)")
|
||||
/* i18n-hint: "codec" is short for a "coder-decoder" algorithm */
|
||||
, XO("FLAC (FLAC Lossless Audio Codec)")
|
||||
, XO("HTK (HMM Tool Kit)")
|
||||
, XO("IFF (Amiga IFF/SVX8/SV16)")
|
||||
|
Loading…
x
Reference in New Issue
Block a user