mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 22:28:57 +02:00
Improve source for xgettext
1: Mark % as not being treated as print formatting. 2: i18n hint fix.
This commit is contained in:
parent
0769274f37
commit
389b0f197e
@ -98,7 +98,9 @@ FactoryPresets[] =
|
|||||||
// Table DCBlock threshold floor Param1 Param2 Repeats
|
// Table DCBlock threshold floor Param1 Param2 Repeats
|
||||||
// Defaults: 0 false -6.0 -70.0(off) 50.0 50.0 1
|
// Defaults: 0 false -6.0 -70.0(off) 50.0 50.0 1
|
||||||
//
|
//
|
||||||
|
// xgettext:no-c-format
|
||||||
{ XO("Hard clip -12dB, 80% make-up gain"), { 0, 0, -12.0, -70.0, 0.0, 80.0, 0 } },
|
{ XO("Hard clip -12dB, 80% make-up gain"), { 0, 0, -12.0, -70.0, 0.0, 80.0, 0 } },
|
||||||
|
// xgettext:no-c-format
|
||||||
{ XO("Soft clip -12dB, 80% make-up gain"), { 1, 0, -12.0, -70.0, 50.0, 80.0, 0 } },
|
{ XO("Soft clip -12dB, 80% make-up gain"), { 1, 0, -12.0, -70.0, 50.0, 80.0, 0 } },
|
||||||
{ XO("Fuzz Box"), { 1, 0, -30.0, -70.0, 80.0, 80.0, 0 } },
|
{ XO("Fuzz Box"), { 1, 0, -30.0, -70.0, 80.0, 80.0, 0 } },
|
||||||
{ XO("Walkie-talkie"), { 1, 0, -50.0, -70.0, 60.0, 80.0, 0 } },
|
{ XO("Walkie-talkie"), { 1, 0, -50.0, -70.0, 60.0, 80.0, 0 } },
|
||||||
|
@ -999,11 +999,11 @@ wxString ExportMultiple::MakeFileName(const wxString &input)
|
|||||||
wxString excluded = ::wxJoin( Internat::GetExcludedCharacters(), wxChar(' ') );
|
wxString excluded = ::wxJoin( Internat::GetExcludedCharacters(), wxChar(' ') );
|
||||||
// TODO: For Russian langauge we should have separate cases for 2 and more than 2 letters.
|
// TODO: For Russian langauge we should have separate cases for 2 and more than 2 letters.
|
||||||
if( excluded.Length() > 1 ){
|
if( excluded.Length() > 1 ){
|
||||||
// i18ln-hint: The second %s gives some letters that can't be used.
|
// i18n-hint: The second %s gives some letters that can't be used.
|
||||||
msg.Printf(_("Label or track \"%s\" is not a legal file name. You cannot use any of: %s\nUse..."), input.c_str(),
|
msg.Printf(_("Label or track \"%s\" is not a legal file name. You cannot use any of: %s\nUse..."), input.c_str(),
|
||||||
excluded.c_str());
|
excluded.c_str());
|
||||||
} else {
|
} else {
|
||||||
// i18ln-hint: The second %s gives a letter that can't be used.
|
// i18n-hint: The second %s gives a letter that can't be used.
|
||||||
msg.Printf(_("Label or track \"%s\" is not a legal file name. You cannot use \"%s\".\nUse..."), input.c_str(),
|
msg.Printf(_("Label or track \"%s\" is not a legal file name. You cannot use \"%s\".\nUse..."), input.c_str(),
|
||||||
excluded.c_str());
|
excluded.c_str());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user