1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-24 00:00:06 +02:00

More internationalisation hints.

This commit is contained in:
james.k.crook@gmail.com 2012-04-28 18:17:38 +00:00
parent f34863833b
commit 66c6d8f570
6 changed files with 29 additions and 5 deletions

View File

@ -2062,7 +2062,14 @@ void TrackPanel::SelectionHandleClick(wxMouseEvent & event,
mStretching = true;
mStretched = false;
MakeParentPushState(_("Stretch Note Track"), _("Stretch"));
/* i18n-hint: (noun) The track that is used for MIDI notes which can be
dragged to change their duration.*/
MakeParentPushState(_("Stretch Note Track"),
/* i18n-hint: In the history list, indicates a MIDI note has
been dragged to change its duration (stretch it). Using either past
or present tense is fine here. If unsure, go for whichever is
shorter.*/
_("Stretch"));
// Full refresh since the label area may need to indicate
// newly selected tracks. (I'm really not sure if the label area

View File

@ -1429,9 +1429,14 @@ void ExportFFmpegOptions::PopulateOrExchange(ShuttleGui & S)
{
S.StartMultiColumn(4, wxALIGN_LEFT);
{
/* i18n-hint: 'mux' is short for multiplexor, a device that selects between several inputs
'Mux Rate' is a parameter that has some bearing on compression ratio for MPEG
it has a hard to predict effect on the degree of compression */
mMuxRate = S.Id(FEMuxRateID).TieSpinCtrl(_("Mux Rate:"), wxT("/FileFormats/FFmpegMuxRate"), 0, 10000000, 0);
mMuxRate->SetToolTip(_("Maximum bit rate of the multiplexed stream\nOptional\n0 - default"));
/* i18n-hint: 'Packet Size' is a parameter that has some bearing on compression ratio for MPEG
compression. It measures how big a chunk of audio is compressed in one piece. */
mPacketSize = S.Id(FEPacketSizeID).TieSpinCtrl(_("Packet Size:"), wxT("/FileFormats/FFmpegPacketSize"), 0, 10000000, 0);
mPacketSize->SetToolTip(_("Packet size\nOptional\n0 - default"));
}

View File

@ -135,6 +135,7 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
{
S.SetStretchyCol(1);
/* i18n-hint: Desired maximum (peak) volume for sound */
S.TieSlider(_("Target Peak:"),
wxT("/AudioIO/TargetPeak"),
AILA_DEF_TARGET_PEAK,

View File

@ -98,6 +98,8 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S)
S.EndStatic();
#ifdef EXPERIMENTAL_FFT_SKIP_POINTS
// Search and replace with _ if you want translation.
#define TRANSLATABLE( x ) wxT(x)
wxArrayString wskipn;
wxArrayInt wskipv;
@ -106,12 +108,13 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S)
wskipv.Add((1 << i) - 1);
}
S.StartStatic(_("FFT Skip Points"));
/* /////i18n-hint: (noun) Experimental. Don't know what it does. Don't translate.*/
S.StartStatic(TRANSLATABLE("FFT Skip Points"));
{
S.StartMultiColumn(2);
{
/* i18n-hint: (noun) here the user chooses points to skip.*/
S.TieChoice(_("Skip Points") + wxString(wxT(":")),
/* /////i18n-hint: (noun) here the user chooses points to skip.*/
S.TieChoice(TRANSLATABLE("Skip Points") + wxString(wxT(":")),
wxT("/Spectrum/FFTSkipPoints"),
0,
wskipn,

View File

@ -85,6 +85,9 @@ void MeterToolBar::Populate()
wxSize( 130, 55 ) );
/* i18n-hint: (noun) The meter that shows the loudness of the audio playing.*/
mPlayMeter->SetName( _("Play Meter"));
/* i18n-hint: (noun) The meter that shows the loudness of the audio playing.
This is the name used in screen reader software, where having 'Meter' first
apparently is helpful to partially sighted people. */
mPlayMeter->SetLabel( _("Meter-Play"));
mSizer->Add( mPlayMeter, wxGBPosition( 0, 0 ), wxDefaultSpan, wxEXPAND );
@ -95,6 +98,9 @@ void MeterToolBar::Populate()
wxSize( 130, 55 ) );
/* i18n-hint: (noun) The meter that shows the loudness of the audio being recorded.*/
mRecordMeter->SetName( _("Record Meter"));
/* i18n-hint: (noun) The meter that shows the loudness of the audio being recorded.
This is the name used in screen reader software, where having 'Meter' first
apparently is helpful to partially sighted people. */
mRecordMeter->SetLabel( _("Meter-Record") );
mSizer->Add( mRecordMeter, wxGBPosition( 0, 1 ), wxDefaultSpan, wxEXPAND );

View File

@ -322,7 +322,9 @@ TimeTextCtrl::TimeTextCtrl(wxWindow *parent,
* unless there aren't 60 seconds in a minute in your locale */
BuiltinFormatStrings[5].formatStr = _("0100 h 060 m 060 s+.# samples");
/* i18n-hint: Name of time display format that shows time in samples (at the
* current project sample rate) */
* current project sample rate). For example the number of a sample at 1
* second into a recording at 4410KHz would be 4,410,000.
*/
BuiltinFormatStrings[6].name = _("samples");
/* i18n-hint: Format string for displaying time in samples (lots of samples).
* Change the ',' to the 1000s separator for your locale, and translate