Ticket #7874: Decorator_aesthetics.diff

File Decorator_aesthetics.diff, 2.0 KB (added by humdinger, 13 years ago)

Aesthetical changes

  • src/preferences/appearance/DecorSettingsView.cpp

     
    4747    // Decorator menu
    4848    _BuildDecorMenu();
    4949    fDecorMenuField = new BMenuField("decorator",
    50         B_TRANSLATE("Window Decorator:"), fDecorMenu);
     50        B_TRANSLATE("Decorator:"), fDecorMenu);
    5151
    5252    fDecorInfoButton = new BButton(B_TRANSLATE("About"),
    5353        new BMessage(kMsgDecorInfo));
     
    123123                return;
    124124
    125125            BString authorsText(decor->Authors().String());
    126             authorsText.ReplaceAll(", ", "\n    ");
     126            authorsText.ReplaceAll(", ", "\n\t");
    127127
    128             BString infoText("Name: %decorName\n"
    129                 "Authors:\n    %decorAuthors\n"
     128            BString infoText(B_TRANSLATE("%decorName\n\n"
     129                "Authors:\n\t%decorAuthors\n\n"
    130130                "URL: %decorURL\n"
    131                 "License: %decorLic\n"
    132                 "Description:\n    %decorDesc\n");
     131                "License: %decorLic\n\n"
     132                "%decorDesc\n"));
    133133
    134134            infoText.ReplaceFirst("%decorName", decor->Name().String());
    135135            infoText.ReplaceFirst("%decorAuthors", authorsText.String());
     
    137137            infoText.ReplaceFirst("%decorURL", decor->SupportURL().String());
    138138            infoText.ReplaceFirst("%decorDesc", decor->ShortDescription().String());
    139139
    140             BAlert *infoAlert = new BAlert(B_TRANSLATE("About Decerator"),
     140            BAlert *infoAlert = new BAlert(B_TRANSLATE("About Decorator"),
    141141                infoText.String(), B_TRANSLATE("OK"));
    142142            infoAlert->SetShortcut(0, B_ESCAPE);
    143143            infoAlert->Go();
  • src/preferences/appearance/APRWindow.cpp

     
    5050        B_TRANSLATE("Antialiasing"));
    5151
    5252    fDecorSettings = new DecorSettingsView(
    53         B_TRANSLATE("Window Decorator"));
     53        B_TRANSLATE("Decorator"));
    5454
    5555    fColorsView = new APRView(B_TRANSLATE("Colors"), B_WILL_DRAW);
    5656