Ticket #7953: launchbox.diff

File launchbox.diff, 1.1 KB (added by diver, 13 years ago)
  • src/apps/launchbox/MainWindow.cpp

     
    141141                    status_t ret = be_roster->Launch(button->Ref());
    142142                    if (ret < B_OK && ret != B_ALREADY_RUNNING) {
    143143                        BString errStr(B_TRANSLATE("Failed to launch '%1'.\n"
    144                             "\nError: "));
     144                            "\nError:"));
    145145                        BPath path(button->Ref());
    146146                        if (path.InitCheck() >= B_OK)
    147147                            errStr.ReplaceFirst("%1", path.Path());
     
    156156            if (!launchedByRef && button->AppSignature()) {
    157157                status_t ret = be_roster->Launch(button->AppSignature());
    158158                if (ret != B_OK && ret != B_ALREADY_RUNNING) {
    159                     BString errStr(B_TRANSLATE("Failed to launch application "
    160                         "with signature '%2'.\n\nError: "));
     159                    BString errStr(B_TRANSLATE("\n\nFailed to launch application "
     160                        "with signature '%2'.\n\nError:"));
    161161                    errStr.ReplaceFirst("%2", button->AppSignature());
    162162                    errorMessage << errStr.String() << " ";
    163163                    errorMessage << strerror(ret);