From 389b0f197e613152c84bc5550cb7763672061f1d Mon Sep 17 00:00:00 2001 From: James Crook Date: Mon, 21 Nov 2016 10:31:52 +0000 Subject: [PATCH] Improve source for xgettext 1: Mark % as not being treated as print formatting. 2: i18n hint fix. --- src/effects/Distortion.cpp | 2 ++ src/export/ExportMultiple.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/effects/Distortion.cpp b/src/effects/Distortion.cpp index 61b6ec772..42c6064d4 100644 --- a/src/effects/Distortion.cpp +++ b/src/effects/Distortion.cpp @@ -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 } }, diff --git a/src/export/ExportMultiple.cpp b/src/export/ExportMultiple.cpp index e41ef2be5..ee0262541 100644 --- a/src/export/ExportMultiple.cpp +++ b/src/export/ExportMultiple.cpp @@ -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()); }