mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Bug 119 - Linux: Export Multiple: "*" and "?" in label or track name wrongly rejected
This commit is contained in:
parent
b53d06ed23
commit
ae3c89453f
@ -1138,17 +1138,17 @@ wxString ExportMultipleDialog::MakeFileName(const wxString &input)
|
||||
{ // need to get user to fix file name
|
||||
// build the dialog
|
||||
TranslatableString msg;
|
||||
wxString excluded = ::wxJoin( Internat::GetExcludedCharacters(), wxChar(' ') );
|
||||
wxString excluded = ::wxJoin( Internat::GetExcludedCharacters(), wxT(' '), wxT('\0') );
|
||||
// TODO: For Russian language we should have separate cases for 2 and more than 2 letters.
|
||||
if( excluded.length() > 1 ){
|
||||
msg = XO(
|
||||
// i18n-hint: The second %s gives some letters that can't be used.
|
||||
"Label or track \"%s\" is not a legal file name. You cannot use any of: %s\nUse...")
|
||||
"Label or track \"%s\" is not a legal file name. You cannot use\nthese characters:\n\n%s\n\nSuggested replacement:")
|
||||
.Format( input, excluded );
|
||||
} else {
|
||||
msg = XO(
|
||||
// i18n-hint: The second %s gives a letter that can't be used.
|
||||
"Label or track \"%s\" is not a legal file name. You cannot use \"%s\".\nUse...")
|
||||
"Label or track \"%s\" is not a legal file name. You cannot use \"%s\".\n\nSuggested replacement:")
|
||||
.Format( input, excluded );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user