mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-23 07:58:05 +02:00
Add internationalization hints.
This commit is contained in:
parent
3da9af47ac
commit
0ea4ff1395
@ -156,6 +156,7 @@ void ApplyMacroDialog::PopulateOrExchange(ShuttleGui &S)
|
||||
|
||||
S.StartHorizontalLay(wxEXPAND, 0);
|
||||
{
|
||||
/* i18n-hint: The Expand button makes the dialog bigger, with more in it */
|
||||
mResize = S.Id(ExpandID).AddButton(_("&Expand"));
|
||||
S.Prop(1).AddSpace( 10 );
|
||||
S.AddStandardButtons( eCancelButton | eHelpButton);
|
||||
@ -662,6 +663,7 @@ void MacrosWindow::PopulateOrExchange(ShuttleGui & S)
|
||||
|
||||
S.StartHorizontalLay(wxEXPAND, 0);
|
||||
{
|
||||
/* i18n-hint: The Shrink button makes the dialog smaller, with less in it */
|
||||
mResize = S.Id(ShrinkID).AddButton(_("Shrin&k"));
|
||||
// Using variable text just to get the positioning options.
|
||||
S.Prop(0).AddVariableText( _("Apply Macro to:"), false, wxALL | wxALIGN_CENTRE_VERTICAL );
|
||||
|
@ -333,8 +333,11 @@ void AudacityProject::CreateMenusAndCommands()
|
||||
AudioIONotBusyFlag);
|
||||
|
||||
#ifdef EXPERIMENTAL_RESET
|
||||
// Empty the current project and forget its name and path.
|
||||
c->AddItem(wxT("Reset"), XXO("&Reset..."), FN(OnReset), wxT(""),
|
||||
// Empty the current project and forget its name and path. DANGEROUS
|
||||
// It's just for developers.
|
||||
// Do not translate this menu item (no XXO).
|
||||
// It MUST not be shown to regular users.
|
||||
c->AddItem(wxT("Reset"), wxT("&Dangerous Reset..."), FN(OnProjectReset), wxT(""),
|
||||
AudioIONotBusyFlag,
|
||||
AudioIONotBusyFlag);
|
||||
#endif
|
||||
@ -1383,6 +1386,7 @@ void AudacityProject::CreateMenusAndCommands()
|
||||
c->SetDefaultFlags(CaptureNotBusyFlag, CaptureNotBusyFlag);
|
||||
c->BeginSubMenu(_("&Play-at-Speed"));
|
||||
|
||||
/* i18n-hint: 'Normal Play-at-Speed' doesn't loop or cut preview. */
|
||||
c->AddItem(wxT("PlayAtSpeed"), XXO("Normal Pl&ay-at-Speed"), FN(OnPlayAtSpeed));
|
||||
c->AddItem(wxT("PlayAtSpeedLooped"), XXO("&Loop Play-at-Speed"), FN(OnPlayAtSpeedLooped));
|
||||
c->AddItem(wxT("PlayAtSpeedCutPreview"), XXO("Play C&ut Preview-at-Speed"), FN(OnPlayAtSpeedCutPreview));
|
||||
@ -4749,7 +4753,7 @@ void AudacityProject::OnOpen(const CommandContext &WXUNUSED(context) )
|
||||
// It does not test for unsaved changes.
|
||||
// It is not in the menus by default. Its main purpose is/was for
|
||||
// developers checking functionality of ResetProjectToEmpty().
|
||||
void AudacityProject::OnReset(const CommandContext &WXUNUSED(context))
|
||||
void AudacityProject::OnProjectReset(const CommandContext &WXUNUSED(context))
|
||||
{
|
||||
ResetProjectToEmpty();
|
||||
}
|
||||
|
@ -217,7 +217,7 @@ void OnMacBringAllToFront(const CommandContext &context );
|
||||
|
||||
void OnNew(const CommandContext &context );
|
||||
void OnOpen(const CommandContext &context );
|
||||
void OnReset(const CommandContext &context);
|
||||
void OnProjectReset(const CommandContext &context);
|
||||
void OnClose(const CommandContext &context );
|
||||
void OnSave(const CommandContext &context );
|
||||
void OnSaveAs(const CommandContext &context );
|
||||
|
@ -787,8 +787,10 @@ void EffectNormalize::UpdateUI()
|
||||
FloatingPointValidator<double> vldLevel(2, &mLUFSLevel, NumValidatorStyle::ONE_TRAILING_ZERO);
|
||||
vldLevel.SetRange(MIN_LUFSLevel, MAX_LUFSLevel);
|
||||
mLevelTextCtrl->SetValidator(vldLevel);
|
||||
/* i18n-hint: LUFS is a particular method for measuring loudnesss */
|
||||
mLevelTextCtrl->SetName(_("Loudness LUFS"));
|
||||
mLevelTextCtrl->SetValue(wxString::FromDouble(mLUFSLevel));
|
||||
/* i18n-hint: LUFS is a particular method for measuring loudnesss */
|
||||
mLeveldB->SetLabel(_("LUFS"));
|
||||
mGainCheckBox->SetLabelText(_("Normalize loudness to"));
|
||||
}
|
||||
|
@ -1358,12 +1358,14 @@ bool NyquistEffect::ProcessOne()
|
||||
|
||||
if ((rval == nyx_audio) && (GetType() == EffectTypeTool)) {
|
||||
// Catch this first so that we can also handle other errors.
|
||||
/* i18n-hint: Don't translate ';type tool'. */
|
||||
mDebugOutput = _("';type tool' effects cannot return audio from Nyquist.\n") + mDebugOutput;
|
||||
rval = nyx_error;
|
||||
}
|
||||
|
||||
if ((rval == nyx_labels) && (GetType() == EffectTypeTool)) {
|
||||
// Catch this first so that we can also handle other errors.
|
||||
/* i18n-hint: Don't translate ';type tool'. */
|
||||
mDebugOutput = _("';type tool' effects cannot return labels from Nyquist.\n") + mDebugOutput;
|
||||
rval = nyx_error;
|
||||
}
|
||||
|
@ -198,6 +198,7 @@ void GUIPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
wxT("/GUI/BlendThemes"),
|
||||
true);
|
||||
#ifndef __WXMAC__
|
||||
/* i18n-hint: RTL stands for 'Right to Left' */
|
||||
S.TieCheckBox(_("Use mostly Left-to-Right layouts in RTL languages"),
|
||||
"/GUI/RtlWorkaround",
|
||||
true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user