Improve source for xgettext

1: Mark % as not being treated as print formatting.
2: i18n hint fix.
This commit is contained in:
James Crook 2016-11-21 10:31:52 +00:00
parent 0769274f37
commit 389b0f197e
2 changed files with 4 additions and 2 deletions

View File

@ -98,7 +98,9 @@ FactoryPresets[] =
// Table DCBlock threshold floor Param1 Param2 Repeats
// 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 } },
// xgettext:no-c-format
{ 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("Walkie-talkie"), { 1, 0, -50.0, -70.0, 60.0, 80.0, 0 } },

View File

@ -999,11 +999,11 @@ wxString ExportMultiple::MakeFileName(const wxString &input)
wxString excluded = ::wxJoin( Internat::GetExcludedCharacters(), wxChar(' ') );
// TODO: For Russian langauge we should have separate cases for 2 and more than 2 letters.
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(),
excluded.c_str());
} 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(),
excluded.c_str());
}