mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 00:50:52 +02:00
Fixed some smart quotes that can cause problems for .po file generation.
This commit is contained in:
parent
6c71a5e170
commit
cd54a2728b
@ -686,7 +686,7 @@ void EditChainsDialog::OnAdd(wxCommandEvent &event)
|
|||||||
|
|
||||||
if (name.Contains(wxFILE_SEP_PATH) ||
|
if (name.Contains(wxFILE_SEP_PATH) ||
|
||||||
name.Contains(wxFILE_SEP_PATH_UNIX)) {
|
name.Contains(wxFILE_SEP_PATH_UNIX)) {
|
||||||
/*i18n-hint: The %c will be replaced with ‘forbidden characters’, like ‘/’ and ‘\’.*/
|
/*i18n-hint: The %c will be replaced with 'forbidden characters', like '/' and '\'.*/
|
||||||
wxMessageBox(wxString::Format(_("Names may not contain '%c' and '%c'"),
|
wxMessageBox(wxString::Format(_("Names may not contain '%c' and '%c'"),
|
||||||
wxFILE_SEP_PATH, wxFILE_SEP_PATH_UNIX),
|
wxFILE_SEP_PATH, wxFILE_SEP_PATH_UNIX),
|
||||||
GetTitle(),
|
GetTitle(),
|
||||||
|
@ -867,7 +867,7 @@ void FreqWindow::PlotPaint(wxPaintEvent & evt)
|
|||||||
peakpitch = PitchName_Absolute(FreqToMIDInoteNumber(bestpeak));
|
peakpitch = PitchName_Absolute(FreqToMIDInoteNumber(bestpeak));
|
||||||
xp = xpitch.c_str();
|
xp = xpitch.c_str();
|
||||||
pp = peakpitch.c_str();
|
pp = peakpitch.c_str();
|
||||||
/* i18n-hint: The %d’s are replaced by numbers, the %s by musical notes, e.g. A#*/
|
/* i18n-hint: The %d's are replaced by numbers, the %s by musical notes, e.g. A#*/
|
||||||
info.Printf(_("Cursor: %d Hz (%s) = %d dB Peak: %d Hz (%s) = %.1f dB"),
|
info.Printf(_("Cursor: %d Hz (%s) = %d dB Peak: %d Hz (%s) = %.1f dB"),
|
||||||
int (xPos + 0.5), xp,
|
int (xPos + 0.5), xp,
|
||||||
int (value + 0.5), int (bestpeak + 0.5),
|
int (value + 0.5), int (bestpeak + 0.5),
|
||||||
@ -877,7 +877,7 @@ void FreqWindow::PlotPaint(wxPaintEvent & evt)
|
|||||||
peakpitch = PitchName_Absolute(FreqToMIDInoteNumber(1.0 / bestpeak));
|
peakpitch = PitchName_Absolute(FreqToMIDInoteNumber(1.0 / bestpeak));
|
||||||
xp = xpitch.c_str();
|
xp = xpitch.c_str();
|
||||||
pp = peakpitch.c_str();
|
pp = peakpitch.c_str();
|
||||||
/* i18n-hint: The %d’s are replaced by numbers, the %s by musical notes, e.g. A#
|
/* i18n-hint: The %d's are replaced by numbers, the %s by musical notes, e.g. A#
|
||||||
* the %.4f are numbers, and 'sec' should be an abbreviation for seconds */
|
* the %.4f are numbers, and 'sec' should be an abbreviation for seconds */
|
||||||
info.Printf(_("Cursor: %.4f sec (%d Hz) (%s) = %f, Peak: %.4f sec (%d Hz) (%s) = %.3f"),
|
info.Printf(_("Cursor: %.4f sec (%d Hz) (%s) = %f, Peak: %.4f sec (%d Hz) (%s) = %.3f"),
|
||||||
xPos,
|
xPos,
|
||||||
|
@ -181,7 +181,7 @@ wxString HelpTextBuiltIn( const wxString & Key )
|
|||||||
{
|
{
|
||||||
if(Key==wxT("welcome"))
|
if(Key==wxT("welcome"))
|
||||||
{
|
{
|
||||||
/* i18n-hint: Preserve [[file:quick_help.html as it’s the name of a file.*/
|
/* i18n-hint: Preserve [[file:quick_help.html as it's the name of a file.*/
|
||||||
return WrapText(
|
return WrapText(
|
||||||
wxString(wxT("")) +
|
wxString(wxT("")) +
|
||||||
_("<center><h3>How to Get Help</h3></center>") +
|
_("<center><h3>How to Get Help</h3></center>") +
|
||||||
|
@ -124,7 +124,7 @@ void LangChoiceDialog::OnOk(wxCommandEvent & event)
|
|||||||
|
|
||||||
if (mLang.Left(2) != slang.Left(2)) {
|
if (mLang.Left(2) != slang.Left(2)) {
|
||||||
wxString msg;
|
wxString msg;
|
||||||
/* i18n-hint; The %s’s are replaced by translated and untranslated
|
/* i18n-hint; The %s's are replaced by translated and untranslated
|
||||||
* versions of language names. */
|
* versions of language names. */
|
||||||
msg.Printf(_("The language you have chosen, %s (%s), is not the same as the system language, %s (%s)."),
|
msg.Printf(_("The language you have chosen, %s (%s), is not the same as the system language, %s (%s)."),
|
||||||
mLangNames[ndx].c_str(),
|
mLangNames[ndx].c_str(),
|
||||||
|
@ -139,9 +139,9 @@ bool EffectAutoDuck::Init()
|
|||||||
{
|
{
|
||||||
wxMessageBox(
|
wxMessageBox(
|
||||||
_("You selected a track which does not contain audio. AutoDuck can only process audio tracks."),
|
_("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)
|
/* 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
|
* of the audio automatically when there is sound on another track. Not as
|
||||||
* in ‘Donald-Duck’!*/
|
* in 'Donald-Duck'!*/
|
||||||
_("Auto Duck"), wxICON_ERROR, mParent);
|
_("Auto Duck"), wxICON_ERROR, mParent);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -311,7 +311,7 @@ END_EVENT_TABLE()
|
|||||||
|
|
||||||
ChangeSpeedDialog::ChangeSpeedDialog(EffectChangeSpeed *effect, wxWindow *parent)
|
ChangeSpeedDialog::ChangeSpeedDialog(EffectChangeSpeed *effect, wxWindow *parent)
|
||||||
: EffectDialog(parent,
|
: EffectDialog(parent,
|
||||||
/* i18n-hint: Audacity’s change speed effect changes the speed and pitch.*/
|
/* i18n-hint: Audacity's change speed effect changes the speed and pitch.*/
|
||||||
_("Change Speed"),
|
_("Change Speed"),
|
||||||
PROCESS_EFFECT),
|
PROCESS_EFFECT),
|
||||||
mEffect(effect)
|
mEffect(effect)
|
||||||
|
@ -654,7 +654,7 @@ void CompressorDialog::PopulateOrExchange(ShuttleGui & S)
|
|||||||
wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL);
|
wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL);
|
||||||
|
|
||||||
/* i18n-hint: Particularly in percussion, sounds can be regarded as having
|
/* i18n-hint: Particularly in percussion, sounds can be regarded as having
|
||||||
* an ‘attack’ phase where the sound builds up and a ‘decay’ where the
|
* an 'attack' phase where the sound builds up and a 'decay' where the
|
||||||
* sound dies away. So this means 'onset duration'. */
|
* sound dies away. So this means 'onset duration'. */
|
||||||
mAttackLabel = S.AddVariableText(_("Attack Time:"), true,
|
mAttackLabel = S.AddVariableText(_("Attack Time:"), true,
|
||||||
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);
|
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);
|
||||||
|
@ -228,8 +228,8 @@ void SelectionBar::Populate()
|
|||||||
wxLI_VERTICAL),
|
wxLI_VERTICAL),
|
||||||
0, wxRIGHT, 5);
|
0, wxRIGHT, 5);
|
||||||
/* i18n-hint: The snap-to mode, when enabled, means for example that selections
|
/* i18n-hint: The snap-to mode, when enabled, means for example that selections
|
||||||
* are always at whole second boundaries. You can’t select a range 4.5s to 7.9s
|
* are always at whole second boundaries. You can't select a range 4.5s to 7.9s
|
||||||
* because the boundaries ‘snap to’ the nearest whole number.*/
|
* because the boundaries 'snap to' the nearest whole number.*/
|
||||||
mSnapTo = new wxCheckBox(this, OnSnapToID, _("Snap To"),
|
mSnapTo = new wxCheckBox(this, OnSnapToID, _("Snap To"),
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
wxALIGN_RIGHT);
|
wxALIGN_RIGHT);
|
||||||
|
@ -345,7 +345,7 @@ void XMLFileWriter::CloseWithoutEndingTags()
|
|||||||
if (!wxFFile::Flush())
|
if (!wxFFile::Flush())
|
||||||
{
|
{
|
||||||
wxFFile::Close();
|
wxFFile::Close();
|
||||||
/* i18n-hint: ’flushing’ means writing any remaining queued up changes
|
/* i18n-hint: 'flushing' means writing any remaining queued up changes
|
||||||
* to disk that have not yet been written.*/
|
* to disk that have not yet been written.*/
|
||||||
throw new XMLFileWriterException(_("Error Flushing File"));
|
throw new XMLFileWriterException(_("Error Flushing File"));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user