Ticket #6402: Alert-title_prefs.diff

File Alert-title_prefs.diff, 5.2 KB (added by humdinger, 14 years ago)

updated diff to remove translation of BAlert titles

  • HiQ-Data/source/haiku/trunk/src/preferences/mail/Account.cpp

     
    267267Account::CreateInbound()
    268268{
    269269    if (!(fInbound = NewMailChain())) {
    270         (new BAlert(B_TRANSLATE("E-mail"),
     270        (new BAlert("E-mail",
    271271            B_TRANSLATE("Could not create inbound chain."),
    272272            B_TRANSLATE("OK")))->Go();
    273273        return;
     
    337337Account::CreateOutbound()
    338338{
    339339    if (!(fOutbound = NewMailChain())) {
    340         (new BAlert(B_TRANSLATE("E-mail"),
     340        (new BAlert("E-mail",
    341341            B_TRANSLATE("Could not create outbound chain."),
    342342            B_TRANSLATE("OK")))->Go();
    343343        return;
  • HiQ-Data/source/haiku/trunk/src/preferences/shortcuts/ShortcutsApp.cpp

     
    4646void
    4747ShortcutsApp::AboutRequested()
    4848{
    49     BAlert* alert = new BAlert(B_TRANSLATE("About Shortcuts"),
     49    BAlert* alert = new BAlert("About Shortcuts",
    5050        B_TRANSLATE("Shortcuts\n\n"
    5151        "Based on SpicyKeys for BeOS made by Jeremy Friesner."),
    5252        B_TRANSLATE("OK"));
  • HiQ-Data/source/haiku/trunk/src/preferences/filetypes/FileTypes.cpp

     
    218218                "%s"),
    219219                ref.name, strerror(status));
    220220
    221             (new BAlert(B_TRANSLATE("FileTypes request"),
     221            (new BAlert("FileTypes request",
    222222                buffer, B_TRANSLATE("OK"), NULL, NULL,
    223223                B_WIDTH_AS_USUAL, B_STOP_ALERT))->Go();
    224224
     
    477477            strerror(status));
    478478    }
    479479
    480     (new BAlert(B_TRANSLATE("FileTypes request"),
     480    (new BAlert("FileTypes request",
    481481        status == B_OK ? message : warning,
    482482        B_TRANSLATE("OK"), NULL, NULL, B_WIDTH_AS_USUAL, type))->Go();
    483483}
  • HiQ-Data/source/haiku/trunk/src/preferences/filetypes/PreferredAppMenu.cpp

     
    290290            "Are you sure you want to set it anyway?"),
    291291            description[0] ? description : preferred);
    292292
    293         BAlert* alert = new BAlert(B_TRANSLATE("FileTypes request"), warning,
     293        BAlert* alert = new BAlert("FileTypes request", warning,
    294294            B_TRANSLATE("Set Preferred Application"), B_TRANSLATE("Cancel"),
    295295            NULL, B_WIDTH_AS_USUAL, B_WARNING_ALERT);
    296296        if (alert->Go() == 1)
  • HiQ-Data/source/haiku/trunk/src/preferences/filetypes/FileTypesWindow.cpp

     
    802802            BAlert* alert;
    803803            if (fCurrentType.IsSupertypeOnly()) {
    804804                alert = new BPrivate::OverrideAlert(
    805                     B_TRANSLATE("FileTypes request"),
     805                    "FileTypes request",
    806806                    B_TRANSLATE("Removing a super type cannot be reverted.\n"
    807807                    "All file types that belong to this super type "
    808808                    "will be lost!\n\n"
     
    811811                    B_TRANSLATE("Remove"), B_SHIFT_KEY, B_TRANSLATE("Cancel"),
    812812                    0, NULL, 0, B_WIDTH_AS_USUAL, B_STOP_ALERT);
    813813            } else {
    814                 alert = new BAlert(B_TRANSLATE("FileTypes request"),
     814                alert = new BAlert("FileTypes request",
    815815                    B_TRANSLATE("Removing a file type cannot be reverted.\n"
    816816                    "Are you sure you want to remove it?"),
    817817                    B_TRANSLATE("Remove"), B_TRANSLATE("Cancel"),
  • HiQ-Data/source/haiku/trunk/src/preferences/filetypes/ApplicationTypeWindow.cpp

     
    971971ApplicationTypeWindow::QuitRequested()
    972972{
    973973    if (_NeedsSaving(CHECK_ALL) != 0) {
    974         BAlert* alert = new BAlert(B_TRANSLATE("Save request"),
     974        BAlert* alert = new BAlert("Save request",
    975975            B_TRANSLATE("Do you want to save the changes?"),
    976976            B_TRANSLATE("Quit, don't save"), B_TRANSLATE("Cancel"),
    977977            B_TRANSLATE("Save"), B_WIDTH_AS_USUAL, B_WARNING_ALERT);
  • HiQ-Data/source/haiku/trunk/src/preferences/sounds/HApp.cpp

     
    4141void
    4242HApp::AboutRequested()
    4343{
    44     BAlert* alert = new BAlert(B_TRANSLATE("About Sounds"),
     44    BAlert* alert = new BAlert("About Sounds",
    4545        B_TRANSLATE("Sounds\n"
    4646            "  Brought to you by :\n"
    4747            "\tOliver Ruiz Dorantes\n"