diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 6e7a89efc..3c871925e 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -636,7 +636,8 @@ void TrackPanel::BuildMenus(void) mWaveTrackMenu->Append(OnWaveformID, _("Waveform")); mWaveTrackMenu->Append(OnWaveformDBID, _("Waveform (dB)")); mWaveTrackMenu->Append(OnSpectrumID, _("Spectrogram")); - mWaveTrackMenu->Append(OnSpectrumLogID, _("Spectrogram log(f)")); // i18n-hint: short form of 'logarithm' + /* i18n-hint: short form of 'logarithm'*/ + mWaveTrackMenu->Append(OnSpectrumLogID, _("Spectrogram log(f)")); mWaveTrackMenu->Append(OnPitchID, _("Pitch (EAC)")); mWaveTrackMenu->AppendSeparator(); mWaveTrackMenu->AppendCheckItem(OnChannelMonoID, _("Mono")); diff --git a/src/prefs/MidiIOPrefs.cpp b/src/prefs/MidiIOPrefs.cpp index 5e62f865e..1e23a26c0 100644 --- a/src/prefs/MidiIOPrefs.cpp +++ b/src/prefs/MidiIOPrefs.cpp @@ -119,6 +119,7 @@ void MidiIOPrefs::PopulateOrExchange( ShuttleGui & S ) { S.StartMultiColumn(2); { S.Id(HostID); + /* i18n-hint: (noun) */ mHost = S.TieChoice(_("Host") + wxString(wxT(":")), wxT("/MidiIO/Host"), wxT(""), diff --git a/src/prefs/PlaybackPrefs.cpp b/src/prefs/PlaybackPrefs.cpp index dc39fd278..e0298bc56 100644 --- a/src/prefs/PlaybackPrefs.cpp +++ b/src/prefs/PlaybackPrefs.cpp @@ -69,6 +69,7 @@ void PlaybackPrefs::PopulateOrExchange(ShuttleGui & S) } S.EndStatic(); + /* i18n-hint: (noun) this is a preview of the cut */ S.StartStatic(_("Cut Preview")); { S.StartThreeColumn(); diff --git a/src/prefs/ProjectsPrefs.cpp b/src/prefs/ProjectsPrefs.cpp index d80d72c0c..c08769c46 100644 --- a/src/prefs/ProjectsPrefs.cpp +++ b/src/prefs/ProjectsPrefs.cpp @@ -29,7 +29,9 @@ handling. //////////////////////////////////////////////////////////////////////////////// ProjectsPrefs::ProjectsPrefs(wxWindow * parent) -: PrefsPanel(parent, _("Projects")) +: PrefsPanel(parent, + /* i18n-hint: (noun) i.e Audacity projects. */ + _("Projects")) { Populate(); } diff --git a/src/prefs/SpectrumPrefs.cpp b/src/prefs/SpectrumPrefs.cpp index 80e4f9fee..de37ab9cc 100644 --- a/src/prefs/SpectrumPrefs.cpp +++ b/src/prefs/SpectrumPrefs.cpp @@ -39,17 +39,17 @@ SpectrumPrefs::~SpectrumPrefs() void SpectrumPrefs::Populate() { mSizeChoices.Add(_("8 - most wideband")); - mSizeChoices.Add(_("16")); - mSizeChoices.Add(_("32")); - mSizeChoices.Add(_("64")); - mSizeChoices.Add(_("128")); + mSizeChoices.Add(wxT("16")); + mSizeChoices.Add(wxT("32")); + mSizeChoices.Add(wxT("64")); + mSizeChoices.Add(wxT("128")); mSizeChoices.Add(_("256 - default")); - mSizeChoices.Add(_("512")); - mSizeChoices.Add(_("1024")); - mSizeChoices.Add(_("2048")); - mSizeChoices.Add(_("4096")); - mSizeChoices.Add(_("8192")); - mSizeChoices.Add(_("16384")); + mSizeChoices.Add(wxT("512")); + mSizeChoices.Add(wxT("1024")); + mSizeChoices.Add(wxT("2048")); + mSizeChoices.Add(wxT("4096")); + mSizeChoices.Add(wxT("8192")); + mSizeChoices.Add(wxT("16384")); mSizeChoices.Add(_("32768 - most narrowband")); for (size_t i = 0; i < mSizeChoices.GetCount(); i++) { @@ -110,6 +110,7 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S) { S.StartMultiColumn(2); { + /* i18n-hint: (noun) here the user chooses points to skip.*/ S.TieChoice(_("Skip Points") + wxString(wxT(":")), wxT("/Spectrum/FFTSkipPoints"), 0, @@ -171,6 +172,7 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S) S.EndStatic(); #ifdef EXPERIMENTAL_FIND_NOTES + /* i18n-hint: FFT stands for Fast Fourier Transform and probably shouldn't be translated*/ S.StartStatic(_("FFT Find Notes")); { S.StartTwoColumn(); diff --git a/src/prefs/TracksPrefs.cpp b/src/prefs/TracksPrefs.cpp index 10a06ce05..04c6810f7 100644 --- a/src/prefs/TracksPrefs.cpp +++ b/src/prefs/TracksPrefs.cpp @@ -103,6 +103,7 @@ void TracksPrefs::PopulateOrExchange(ShuttleGui & S) S.TieCheckBox(_("&Select all audio in project, if none selected"), wxT("/GUI/SelectAllOnNone"), true); + /* i18n-hint: cut-lines are a lines indicating where to cut.*/ S.TieCheckBox(_("Enable cu&t lines"), wxT("/GUI/EnableCutLines"), false); diff --git a/src/toolbars/ControlToolBar.cpp b/src/toolbars/ControlToolBar.cpp index f0a596b11..d094bd07d 100644 --- a/src/toolbars/ControlToolBar.cpp +++ b/src/toolbars/ControlToolBar.cpp @@ -192,6 +192,7 @@ void ControlToolBar::Populate() mRecord = MakeButton(bmpRecord, bmpRecord, bmpRecordDisabled, ID_RECORD_BUTTON, true, _("Record")); + /* i18n-hint: (verb)*/ mBatch = MakeButton(bmpCleanSpeech, bmpCleanSpeech, bmpCleanSpeechDisabled, ID_BATCH_BUTTON, false, _("Clean Speech")); diff --git a/src/toolbars/DeviceToolBar.cpp b/src/toolbars/DeviceToolBar.cpp index 7772ab796..ba8ea58f2 100644 --- a/src/toolbars/DeviceToolBar.cpp +++ b/src/toolbars/DeviceToolBar.cpp @@ -113,6 +113,7 @@ void DeviceToolBar::Populate() wxID_ANY, wxDefaultPosition, wxDefaultSize); + /* i18n-hint: (noun) It's the device used for output.*/ mOutput->SetName(_("Output Device")); Add(mOutput, 0, wxALIGN_CENTER); @@ -127,6 +128,7 @@ void DeviceToolBar::Populate() wxID_ANY, wxDefaultPosition, wxDefaultSize); + /* i18n-hint: (noun) It's the device used for input.*/ mInput->SetName(_("Input Device")); Add(mInput, 0, wxALIGN_CENTER); diff --git a/src/toolbars/MeterToolBar.cpp b/src/toolbars/MeterToolBar.cpp index 93e2341bc..09c511e01 100644 --- a/src/toolbars/MeterToolBar.cpp +++ b/src/toolbars/MeterToolBar.cpp @@ -83,6 +83,7 @@ void MeterToolBar::Populate() false, wxDefaultPosition, wxSize( 130, 55 ) ); + /* i18n-hint: (noun) The meter that shows the loudness of the audio playing.*/ mPlayMeter->SetName( _("Play Meter")); mPlayMeter->SetLabel( _("Meter-Play")); mSizer->Add( mPlayMeter, wxGBPosition( 0, 0 ), wxDefaultSpan, wxEXPAND ); @@ -92,6 +93,7 @@ void MeterToolBar::Populate() true, wxDefaultPosition, wxSize( 130, 55 ) ); + /* i18n-hint: (noun) The meter that shows the loudness of the audio being recorded.*/ mRecordMeter->SetName( _("Record Meter")); mRecordMeter->SetLabel( _("Meter-Record") ); mSizer->Add( mRecordMeter, wxGBPosition( 0, 1 ), wxDefaultSpan, wxEXPAND ); diff --git a/src/toolbars/SelectionBar.cpp b/src/toolbars/SelectionBar.cpp index f713aed58..f28686da8 100644 --- a/src/toolbars/SelectionBar.cpp +++ b/src/toolbars/SelectionBar.cpp @@ -227,7 +227,9 @@ void SelectionBar::Populate() wxSize(1, toolbarSingle), 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.*/ mSnapTo = new wxCheckBox(this, OnSnapToID, _("Snap To"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT); diff --git a/src/widgets/TimeTextCtrl.cpp b/src/widgets/TimeTextCtrl.cpp index 9628d5db9..3b2123e6a 100644 --- a/src/widgets/TimeTextCtrl.cpp +++ b/src/widgets/TimeTextCtrl.cpp @@ -379,7 +379,7 @@ TimeTextCtrl::TimeTextCtrl(wxWindow *parent, * for seconds and translate 'frames'. Nice simple time code! */ BuiltinFormatStrings[12].formatStr = _("0100 h 060 m 060 s+.25 frames"); /* i18n-hint: Name of time display format that shows time in frames at PAL - * TV frame rate (used for European TV */ + * TV frame rate (used for European TV) */ BuiltinFormatStrings[13].name = _("PAL frames (25 fps)"); /* i18n-hint: Format string for displaying time in frames with NTSC frames. * Translate 'frames' and leave the rest alone. */ diff --git a/src/xml/XMLWriter.cpp b/src/xml/XMLWriter.cpp index 5f6163952..91b7dfee7 100644 --- a/src/xml/XMLWriter.cpp +++ b/src/xml/XMLWriter.cpp @@ -345,6 +345,8 @@ void XMLFileWriter::CloseWithoutEndingTags() if (!wxFFile::Flush()) { wxFFile::Close(); + /* i18n-hint: ’flushing’ means writing any remaining queued up changes + * to disk that have not yet been written.*/ throw new XMLFileWriterException(_("Error Flushing File")); }