1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-27 14:09:33 +02:00

You can't translate an empty string, and more to the point, it has really unintended effects within gettext!

This commit is contained in:
richardash1981 2010-11-09 21:01:53 +00:00
parent f89ca9c674
commit aa33613211
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ ScoreAlignDialog::ScoreAlignDialog(wxWindow *parent, ScoreAlignParams &params)
mIgnoreSilenceCheckBox->SetName( mIgnoreSilenceCheckBox->SetName(
_("Ignore Silence at Beginnings and Endings")); _("Ignore Silence at Beginnings and Endings"));
// need a third column after checkboxes: // need a third column after checkboxes:
S.AddVariableText(_(""), true, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL); S.AddVariableText(wxT(""), true, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);
mSilenceThresholdLabel = S.AddVariableText(_("Silence Threshold:"), mSilenceThresholdLabel = S.AddVariableText(_("Silence Threshold:"),
true, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL); true, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);

View File

@ -920,7 +920,7 @@ void LWSlider::FormatPopWin()
#ifdef EXPERIMENTAL_MIDI_OUT #ifdef EXPERIMENTAL_MIDI_OUT
case VEL_SLIDER: case VEL_SLIDER:
label.Printf(wxT("%s: %s%d"), mName.c_str(), label.Printf(wxT("%s: %s%d"), mName.c_str(),
(mCurrentValue > 0.0f ? _("+") : _("")), (mCurrentValue > 0.0f ? _("+") : wxT("")),
(int) mCurrentValue); (int) mCurrentValue);
#endif #endif
} }