1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +01:00

AudacityMessageBox takes TranslatableString message and caption

This commit is contained in:
Paul Licameli
2019-12-07 14:30:07 -05:00
parent d8c2610d88
commit dc39f22442
77 changed files with 1005 additions and 748 deletions

View File

@@ -96,7 +96,7 @@ sampleCount VoiceKey::OnForward (
backwards by words. So 'key' is being used in the sense of an index.
This error message means that you've selected too short
a region of audio to be able to use this feature.*/
AudacityMessageBox(_("Selection is too small to use voice key."));
AudacityMessageBox( XO("Selection is too small to use voice key.") );
return start;
}
else {
@@ -244,7 +244,7 @@ sampleCount VoiceKey::OnBackward (
if((mWindowSize) >= (len + 10).as_double() ){
AudacityMessageBox(_("Selection is too small to use voice key."));
AudacityMessageBox( XO("Selection is too small to use voice key.") );
return end;
}
else {
@@ -388,7 +388,7 @@ sampleCount VoiceKey::OffForward (
{
if((mWindowSize) >= (len + 10).as_double() ){
AudacityMessageBox(_("Selection is too small to use voice key."));
AudacityMessageBox( XO("Selection is too small to use voice key.") );
return start;
}
@@ -526,7 +526,7 @@ sampleCount VoiceKey::OffBackward (
if((mWindowSize) >= (len + 10).as_double() ){
AudacityMessageBox(_("Selection is too small to use voice key."));
AudacityMessageBox( XO("Selection is too small to use voice key.") );
return end;
}
else {