From cd54a2728b3cebe4e49e18d914cf9dc4e47347ed Mon Sep 17 00:00:00 2001 From: "james.k.crook@gmail.com" Date: Tue, 20 Mar 2012 21:59:30 +0000 Subject: [PATCH] Fixed some smart quotes that can cause problems for .po file generation. --- src/BatchProcessDialog.cpp | 2 +- src/FreqWindow.cpp | 4 ++-- src/HelpText.cpp | 2 +- src/LangChoice.cpp | 2 +- src/effects/AutoDuck.cpp | 4 ++-- src/effects/ChangeSpeed.cpp | 2 +- src/effects/Compressor.cpp | 2 +- src/toolbars/SelectionBar.cpp | 4 ++-- src/xml/XMLWriter.cpp | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/BatchProcessDialog.cpp b/src/BatchProcessDialog.cpp index 80df9bcd3..8423522d9 100644 --- a/src/BatchProcessDialog.cpp +++ b/src/BatchProcessDialog.cpp @@ -686,7 +686,7 @@ void EditChainsDialog::OnAdd(wxCommandEvent &event) if (name.Contains(wxFILE_SEP_PATH) || 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'"), wxFILE_SEP_PATH, wxFILE_SEP_PATH_UNIX), GetTitle(), diff --git a/src/FreqWindow.cpp b/src/FreqWindow.cpp index 53f3ee1a7..ad7b9b310 100644 --- a/src/FreqWindow.cpp +++ b/src/FreqWindow.cpp @@ -867,7 +867,7 @@ void FreqWindow::PlotPaint(wxPaintEvent & evt) peakpitch = PitchName_Absolute(FreqToMIDInoteNumber(bestpeak)); xp = xpitch.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"), int (xPos + 0.5), xp, int (value + 0.5), int (bestpeak + 0.5), @@ -877,7 +877,7 @@ void FreqWindow::PlotPaint(wxPaintEvent & evt) peakpitch = PitchName_Absolute(FreqToMIDInoteNumber(1.0 / bestpeak)); xp = xpitch.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 */ info.Printf(_("Cursor: %.4f sec (%d Hz) (%s) = %f, Peak: %.4f sec (%d Hz) (%s) = %.3f"), xPos, diff --git a/src/HelpText.cpp b/src/HelpText.cpp index 4ddabea02..1651ca88e 100644 --- a/src/HelpText.cpp +++ b/src/HelpText.cpp @@ -181,7 +181,7 @@ wxString HelpTextBuiltIn( const wxString & Key ) { 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( wxString(wxT("")) + _("

How to Get Help

") + diff --git a/src/LangChoice.cpp b/src/LangChoice.cpp index f30f46b2c..182c08c9b 100644 --- a/src/LangChoice.cpp +++ b/src/LangChoice.cpp @@ -124,7 +124,7 @@ void LangChoiceDialog::OnOk(wxCommandEvent & event) if (mLang.Left(2) != slang.Left(2)) { 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. */ msg.Printf(_("The language you have chosen, %s (%s), is not the same as the system language, %s (%s)."), mLangNames[ndx].c_str(), diff --git a/src/effects/AutoDuck.cpp b/src/effects/AutoDuck.cpp index 62e7b0ba9..fc11ae25b 100644 --- a/src/effects/AutoDuck.cpp +++ b/src/effects/AutoDuck.cpp @@ -139,9 +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) + /* 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’!*/ + * in 'Donald-Duck'!*/ _("Auto Duck"), wxICON_ERROR, mParent); return false; } diff --git a/src/effects/ChangeSpeed.cpp b/src/effects/ChangeSpeed.cpp index c52d3220a..57752590a 100644 --- a/src/effects/ChangeSpeed.cpp +++ b/src/effects/ChangeSpeed.cpp @@ -311,7 +311,7 @@ END_EVENT_TABLE() ChangeSpeedDialog::ChangeSpeedDialog(EffectChangeSpeed *effect, wxWindow *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"), PROCESS_EFFECT), mEffect(effect) diff --git a/src/effects/Compressor.cpp b/src/effects/Compressor.cpp index c0ac8ffe1..a3f03661b 100644 --- a/src/effects/Compressor.cpp +++ b/src/effects/Compressor.cpp @@ -654,7 +654,7 @@ void CompressorDialog::PopulateOrExchange(ShuttleGui & S) 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 + * 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); diff --git a/src/toolbars/SelectionBar.cpp b/src/toolbars/SelectionBar.cpp index f28686da8..b2f70bedd 100644 --- a/src/toolbars/SelectionBar.cpp +++ b/src/toolbars/SelectionBar.cpp @@ -228,8 +228,8 @@ void SelectionBar::Populate() wxLI_VERTICAL), 0, wxRIGHT, 5); /* 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 - * because the boundaries ‘snap to’ the nearest whole number.*/ + * 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.*/ mSnapTo = new wxCheckBox(this, OnSnapToID, _("Snap To"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT); diff --git a/src/xml/XMLWriter.cpp b/src/xml/XMLWriter.cpp index 91b7dfee7..b8a714b07 100644 --- a/src/xml/XMLWriter.cpp +++ b/src/xml/XMLWriter.cpp @@ -345,7 +345,7 @@ void XMLFileWriter::CloseWithoutEndingTags() if (!wxFFile::Flush()) { 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.*/ throw new XMLFileWriterException(_("Error Flushing File")); }