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:
parent
33b1e7bd16
commit
3f9a4834a6
3 changed files with 11 additions and 9 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue