mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Fixed more internationalisation hints.
This commit is contained in:
parent
69476e785c
commit
63f0b8b09e
@ -7307,6 +7307,8 @@ void TrackPanel::OnSetTimeTrackRange(wxCommandEvent & /*event*/)
|
||||
MakeParentPushState(wxString::Format(_("Set range to '%d' - '%d'"),
|
||||
lower,
|
||||
upper),
|
||||
/* i18n-hint: (verb)*/
|
||||
|
||||
_("Set Range"));
|
||||
Refresh(false);
|
||||
}
|
||||
@ -7451,6 +7453,7 @@ void TrackPanel::OnSetFont(wxCommandEvent &event)
|
||||
wxString facename = gPrefs->Read(wxT("/GUI/LabelFontFacename"), wxT(""));
|
||||
long fontsize = gPrefs->Read(wxT("/GUI/LabelFontSize"), 12);
|
||||
|
||||
/* i18n-hint: (noun) This is the font for the label track.*/
|
||||
wxDialog dlg(this, wxID_ANY, wxString(_("Label Track Font")));
|
||||
ShuttleGui S(&dlg, eIsCreating);
|
||||
wxListBox *lb;
|
||||
@ -7463,16 +7466,19 @@ void TrackPanel::OnSetFont(wxCommandEvent &event)
|
||||
S.SetStretchyRow(0);
|
||||
S.SetStretchyCol(1);
|
||||
|
||||
/* i18n-hint: (noun) The name of the typeface*/
|
||||
S.AddPrompt(_("Face name"));
|
||||
lb = new wxListBox(&dlg, wxID_ANY,
|
||||
wxDefaultPosition,
|
||||
wxDefaultSize,
|
||||
facenames,
|
||||
wxLB_SINGLE);
|
||||
|
||||
lb->SetName(_("Face name"));
|
||||
lb->SetSelection(facenames.Index(facename));
|
||||
S.AddWindow(lb, wxALIGN_LEFT | wxEXPAND | wxALL);
|
||||
|
||||
/* i18n-hint: (noun) The size of the typeface*/
|
||||
S.AddPrompt(_("Face size"));
|
||||
sc = new wxSpinCtrl(&dlg, wxID_ANY,
|
||||
wxString::Format(wxT("%d"), fontsize),
|
||||
|
@ -297,6 +297,7 @@ wxAccStatus TrackPanelAx::GetName( int childId, wxString* name )
|
||||
*name = t->GetName();
|
||||
if( *name == t->GetDefaultName() )
|
||||
{
|
||||
/* i18n-hint: The %d is replaced by th enumber of the track.*/
|
||||
name->Printf(_("Track %d"), TrackNum( t ) );
|
||||
}
|
||||
|
||||
|
@ -841,6 +841,7 @@ void VoiceKey::CalibrateNoise(WaveTrack & t, sampleCount start, sampleCount len)
|
||||
|
||||
|
||||
wxString text = wxString::Format(_("Calibration Results\n"));
|
||||
/* i18n-hint: %1.4f is replaced by a number. sd stands for 'Standard Deviations'*/
|
||||
text += wxString::Format(_("Energy -- mean: %1.4f sd: (%1.4f)\n"),mEnergyMean,mEnergySD);
|
||||
text+= wxString::Format(_("Sign Changes -- mean: %1.4f sd: (%1.4f)\n"),mSignChangesMean,mSignChangesSD);
|
||||
text+= wxString::Format(_("Direction Changes -- mean: %1.4f sd: (%1.4f)\n"),mDirectionChangesMean,mDirectionChangesSD);
|
||||
|
@ -139,6 +139,9 @@ bool EffectAutoDuck::Init()
|
||||
{
|
||||
wxMessageBox(
|
||||
_("You selected a track which does not contain audio. AutoDuck can only process audio tracks."),
|
||||
/* i18n-hint: Auto duck is the name of an effect that ‘ducks’ (reduces the volume)
|
||||
* of the audio automatically when there is sound on another track. Not as
|
||||
* in ‘Donald-Duck’!*/
|
||||
_("Auto Duck"), wxICON_ERROR, mParent);
|
||||
return false;
|
||||
}
|
||||
|
@ -179,6 +179,7 @@ void BassBoostDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
|
||||
S.StartHorizontalLay(wxCENTER, false);
|
||||
{
|
||||
/* i18n-hint: Nasca Octavian Paul is a person's name.*/
|
||||
S.AddTitle(_("by Nasca Octavian Paul"));
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
|
@ -277,7 +277,7 @@ void ChangePitchDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
//
|
||||
S.StartMultiColumn(6, wxCENTER);
|
||||
{
|
||||
//
|
||||
/* i18n-hint: (noun) Musical pitch.*/
|
||||
S.AddUnits(_("Pitch:"));
|
||||
|
||||
S.StartHorizontalLay(wxALIGN_CENTER_VERTICAL);
|
||||
|
@ -310,7 +310,10 @@ BEGIN_EVENT_TABLE(ChangeSpeedDialog, EffectDialog)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
ChangeSpeedDialog::ChangeSpeedDialog(EffectChangeSpeed *effect, wxWindow *parent)
|
||||
: EffectDialog(parent, _("Change Speed"), PROCESS_EFFECT),
|
||||
: EffectDialog(parent,
|
||||
/* i18n-hint: Audacity’s change speed effect changes the speed and pitch.*/
|
||||
_("Change Speed"),
|
||||
PROCESS_EFFECT),
|
||||
mEffect(effect)
|
||||
{
|
||||
mbLoopDetect = false;
|
||||
|
@ -653,6 +653,9 @@ void CompressorDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
mRatioText = S.AddVariableText(wxT("XXXX:1"), true,
|
||||
wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL);
|
||||
|
||||
/* i18n-hint: Particularly in percussion, sounds can be regarded as having
|
||||
* an ‘attack’ phase where the sound builds up and a ‘decay’ where the
|
||||
* sound dies away. So this means 'onset duration'. */
|
||||
mAttackLabel = S.AddVariableText(_("Attack Time:"), true,
|
||||
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);
|
||||
S.SetStyle(wxSL_HORIZONTAL);
|
||||
@ -675,6 +678,7 @@ void CompressorDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
|
||||
S.StartHorizontalLay(wxCENTER, false);
|
||||
{
|
||||
/* i18n-hint: Make-up, i.e. correct for any reduction, rather than fabricate it.*/
|
||||
mGainCheckBox = S.AddCheckBox(_("Make-up gain for 0dB after compressing"),
|
||||
wxT("true"));
|
||||
mPeakCheckBox = S.AddCheckBox(_("Compress based on Peaks"),
|
||||
@ -717,6 +721,7 @@ bool CompressorDialog::TransferDataFromWindow()
|
||||
mPanel->ratio = ratio;
|
||||
|
||||
mThresholdLabel->SetName(wxString::Format(_("Threshold %d dB"), (int)threshold));
|
||||
/* i18n-hint: usually leave this as is as dB doesn't get translated*/
|
||||
mThresholdText->SetLabel(wxString::Format(_("%3d dB"), (int)threshold));
|
||||
|
||||
mNoiseFloorLabel->SetName(wxString::Format(_("Noise Floor %d dB"), (int)noisefloor));
|
||||
@ -724,10 +729,14 @@ bool CompressorDialog::TransferDataFromWindow()
|
||||
|
||||
if (mRatioSlider->GetValue()%2 == 0) {
|
||||
mRatioLabel->SetName(wxString::Format(_("Ratio %.0f to 1"), ratio));
|
||||
/* i18n-hint: Unless your language has a different convention for ratios,
|
||||
* like 8:1, leave as is.*/
|
||||
mRatioText->SetLabel(wxString::Format(_("%.0f:1"), ratio));
|
||||
}
|
||||
else {
|
||||
mRatioLabel->SetName(wxString::Format(_("Ratio %.1f to 1"), ratio));
|
||||
/* i18n-hint: Unless your language has a different convention for ratios,
|
||||
* like 8:1, leave as is.*/
|
||||
mRatioText->SetLabel(wxString::Format(_("%.1f:1"), ratio));
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ float ContrastDialog::GetDB()
|
||||
Track *t = iter.First();
|
||||
if(mT0 > mT1)
|
||||
{
|
||||
wxMessageDialog m(NULL, _("Start time after after end time!\nPlease enter reasonable times."), _("Error"), wxOK);
|
||||
wxMessageDialog m(NULL, _("Start time after end time!\nPlease enter reasonable times."), _("Error"), wxOK);
|
||||
m.ShowModal();
|
||||
return 1234.0; // 'magic number', but the whole +ve dB range will 'almost' never occur
|
||||
}
|
||||
@ -473,6 +473,7 @@ void ContrastDialog::results()
|
||||
mPassFailText->ChangeValue(_("WCAG2 Pass"));
|
||||
else
|
||||
mPassFailText->ChangeValue(_("WCAG2 Fail"));
|
||||
/* i18n-hint: i.e. difference in loudness at the moment. */
|
||||
mDiffText->SetName(_("Current difference"));
|
||||
float diffdB = foregrounddB - backgrounddB;
|
||||
if( diffdB != diffdB ) // test for NaN, reliant on IEEE implementation
|
||||
|
@ -87,7 +87,9 @@ bool EffectDtmf::Init()
|
||||
|
||||
bool EffectDtmf::PromptUser()
|
||||
{
|
||||
DtmfDialog dlog(this, mParent, _("DTMF Tone Generator"));
|
||||
DtmfDialog dlog(this, mParent,
|
||||
/* i18n-hint: DTMF stands for 'Dial Tone Modulation Format'. Leave as is.*/
|
||||
_("DTMF Tone Generator"));
|
||||
|
||||
Init();
|
||||
|
||||
|
@ -227,6 +227,7 @@ EffectEqualization::EffectEqualization()
|
||||
|
||||
mPrompting = false;
|
||||
|
||||
/* i18n-hint: Technical term for a kind of curve.*/
|
||||
interpChoiceStrings[0] = _("B-spline");
|
||||
interpChoiceStrings[1] = _("Cosine");
|
||||
interpChoiceStrings[2] = _("Cubic");
|
||||
@ -1021,6 +1022,7 @@ void EqualizationDialog::LoadCurves(wxString fileName, bool append)
|
||||
{
|
||||
// Inform user of load failure
|
||||
wxMessageBox( reader.GetErrorStr(),
|
||||
/* i18n-hint: EQ stands for 'Equalization'.*/
|
||||
_("Error Loading EQ Curve"),
|
||||
wxOK | wxCENTRE,
|
||||
this );
|
||||
|
@ -203,8 +203,11 @@ void LevellerDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
wxArrayString numPasses;
|
||||
|
||||
numPasses.Add(_("None-Skip"));
|
||||
|
||||
/* i18n-hint: Of strength of an effect. Not strongly.*/
|
||||
numPasses.Add(_("Light"));
|
||||
numPasses.Add(_("Moderate"));
|
||||
/* i18n-hint: Of strength of an effect. Strongly.*/
|
||||
numPasses.Add(_("Heavy"));
|
||||
numPasses.Add(_("Heavier"));
|
||||
numPasses.Add(_("Heaviest"));
|
||||
|
@ -102,6 +102,7 @@ void LoadEffects()
|
||||
CatPtr gen = em.AddCategory(wxT(LV2PREFIX) wxT("GeneratorPlugin"),
|
||||
_("Generator"));
|
||||
CatPtr inst = em.AddCategory(wxT(LV2PREFIX) wxT("InstrumentPlugin"),
|
||||
/* i18n-hint: (noun).*/
|
||||
_("Instrument"));
|
||||
CatPtr osc = em.AddCategory(wxT(LV2PREFIX) wxT("OscillatorPlugin"),
|
||||
_("Oscillator"));
|
||||
|
@ -889,6 +889,7 @@ void TruncSilenceDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
S.Id( ID_COMPRESS_FACTOR ).TieNumericTextBox(_("Silence compression:"),
|
||||
mEffect->mSilenceCompressRatio,
|
||||
10);
|
||||
/* i18n-hint: Leave as is unless your language has a different way to show ratios like 5:1*/
|
||||
S.AddUnits( _(":1") );
|
||||
//S.AddUnits(_("(9999999 or greater is off)"));
|
||||
S.TieChoice(_("Threshold for silence:"),
|
||||
|
@ -1404,6 +1404,7 @@ NyquistOutputDialog::NyquistOutputDialog(wxWindow * parent, wxWindowID id,
|
||||
|
||||
hSizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
|
||||
/* i18n-hint: In most languages OK is to be translated as OK. It appears on a button.*/
|
||||
button = new wxButton(this, wxID_OK, _("OK"));
|
||||
button->SetDefault();
|
||||
hSizer->Add(button, 0, wxALIGN_CENTRE | wxALL, 5);
|
||||
|
@ -249,6 +249,7 @@ void InitMP3_Statics()
|
||||
|
||||
for (size_t i=0; i < WXSIZEOF(setRates); i++)
|
||||
setRates[i].name = wxT("");
|
||||
/* i18n-hint: Slightly humorous - as in use an insane precision with MP3.*/
|
||||
setRates[0].name << _("Insane" ) << wxT(", ") << 320;
|
||||
setRates[1].name << _("Extreme" ) << wxT(", ") << 220 << wxT("-") << 260;
|
||||
setRates[2].name << _("Standard") << wxT(", ") << 170 << wxT("-") << 210;
|
||||
@ -562,7 +563,9 @@ class FindDialog : public wxDialog
|
||||
public:
|
||||
|
||||
FindDialog(wxWindow *parent, wxString path, wxString name, wxString type)
|
||||
: wxDialog(parent, wxID_ANY, wxString(_("Locate Lame")))
|
||||
: wxDialog(parent, wxID_ANY,
|
||||
/* i18n-hint: LAME is the name of an MP3 converter and should not be translated*/
|
||||
wxString(_("Locate Lame")))
|
||||
{
|
||||
ShuttleGui S(this, eIsCreating);
|
||||
|
||||
|
@ -209,6 +209,7 @@ int ImportRaw(wxWindow *parent, wxString fileName,
|
||||
|
||||
msg.Printf(_("Importing %s"), wxFileName::FileName(fileName).GetFullName().c_str());
|
||||
|
||||
/* i18n-hint: 'Raw' means 'unprocessed' here and should usually be tanslated.*/
|
||||
ProgressDialog progress(_("Import Raw"), msg);
|
||||
|
||||
long block;
|
||||
@ -389,6 +390,7 @@ ImportRawDialog::ImportRawDialog(wxWindow * parent,
|
||||
S.StartMultiColumn(3);
|
||||
{
|
||||
// Offset text
|
||||
/* i18n-hint: (noun)*/
|
||||
mOffsetText = S.AddTextBox(_("Start offset:"),
|
||||
wxString::Format(wxT("%d"), mOffset),
|
||||
12);
|
||||
@ -401,6 +403,7 @@ ImportRawDialog::ImportRawDialog(wxWindow * parent,
|
||||
S.AddUnits(wxT("%"));
|
||||
|
||||
// Rate text
|
||||
/* i18n-hint: (noun)*/
|
||||
mRateText = S.AddTextBox(_("Sample rate:"),
|
||||
wxString::Format(wxT("%d"), (int)mRate),
|
||||
12);
|
||||
|
@ -62,26 +62,27 @@ void EffectsPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
true);
|
||||
#endif
|
||||
|
||||
// JKC: LADSPA, Nyquist, VST, VAMP should not be translated.
|
||||
#if USE_LADSPA
|
||||
S.TieCheckBox(_("&LADSPA"),
|
||||
S.TieCheckBox(wxT("&LADSPA"),
|
||||
wxT("/Ladspa/Enable"),
|
||||
true);
|
||||
#endif
|
||||
|
||||
#if USE_NYQUIST
|
||||
S.TieCheckBox(_("N&yquist"),
|
||||
S.TieCheckBox(wxT("N&yquist"),
|
||||
wxT("/Nyquist/Enable"),
|
||||
true);
|
||||
#endif
|
||||
|
||||
#if USE_VAMP
|
||||
S.TieCheckBox(_("&VAMP"),
|
||||
S.TieCheckBox(wxT("&VAMP"),
|
||||
wxT("/VAMP/Enable"),
|
||||
true);
|
||||
#endif
|
||||
|
||||
#if USE_VST
|
||||
S.TieCheckBox(_("V&ST"),
|
||||
S.TieCheckBox(wxT("V&ST"),
|
||||
wxT("/VST/Enable"),
|
||||
true);
|
||||
#endif
|
||||
|
@ -49,12 +49,12 @@ void GUIPrefs::Populate()
|
||||
mHtmlHelpChoices.Add(_("Local"));
|
||||
mHtmlHelpChoices.Add(_("From Internet"));
|
||||
|
||||
mRangeCodes.Add(_("36"));
|
||||
mRangeCodes.Add(_("48"));
|
||||
mRangeCodes.Add(_("60"));
|
||||
mRangeCodes.Add(_("96"));
|
||||
mRangeCodes.Add(_("120"));
|
||||
mRangeCodes.Add(_("145"));
|
||||
mRangeCodes.Add(wxT("36"));
|
||||
mRangeCodes.Add(wxT("48"));
|
||||
mRangeCodes.Add(wxT("60"));
|
||||
mRangeCodes.Add(wxT("96"));
|
||||
mRangeCodes.Add(wxT("120"));
|
||||
mRangeCodes.Add(wxT("145"));
|
||||
|
||||
mRangeChoices.Add(_("-36 dB (shallow range for high-amplitude editing)"));
|
||||
mRangeChoices.Add(_("-48 dB (PCM range of 8 bit samples)"));
|
||||
|
@ -157,6 +157,7 @@ void KeyConfigPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
}
|
||||
S.AddWindow(mKey);
|
||||
|
||||
/* i18n-hint: (verb)*/
|
||||
S.Id(SetButtonID).AddButton(_("Set"));
|
||||
S.Id(ClearButtonID).AddButton(_("Cl&ear"));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user