1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00

Added a few TRANS wrappers around error messages.

This commit is contained in:
jules 2013-12-05 11:32:38 +00:00
parent 33b1e7bd16
commit 3f9a4834a6
3 changed files with 11 additions and 9 deletions

View file

@ -33,8 +33,10 @@ ThreadWithProgressWindow::ThreadWithProgressWindow (const String& title,
timeOutMsWhenCancelling (timeOutMsWhenCancelling_)
{
alertWindow = LookAndFeel::getDefaultLookAndFeel()
.createAlertWindow (title, String::empty, cancelButtonText,
String::empty, String::empty,
.createAlertWindow (title, String(),
cancelButtonText.isEmpty() ? TRANS("Cancel")
: cancelButtonText,
String(), String(),
AlertWindow::NoIcon, hasCancelButton ? 1 : 0,
componentToCentreAround);