Ticket #7874: Decorator_aesthetics.diff
File Decorator_aesthetics.diff, 2.0 KB (added by , 13 years ago) |
---|
-
src/preferences/appearance/DecorSettingsView.cpp
47 47 // Decorator menu 48 48 _BuildDecorMenu(); 49 49 fDecorMenuField = new BMenuField("decorator", 50 B_TRANSLATE(" WindowDecorator:"), fDecorMenu);50 B_TRANSLATE("Decorator:"), fDecorMenu); 51 51 52 52 fDecorInfoButton = new BButton(B_TRANSLATE("About"), 53 53 new BMessage(kMsgDecorInfo)); … … 123 123 return; 124 124 125 125 BString authorsText(decor->Authors().String()); 126 authorsText.ReplaceAll(", ", "\n 126 authorsText.ReplaceAll(", ", "\n\t"); 127 127 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" 130 130 "URL: %decorURL\n" 131 "License: %decorLic\n "132 " Description:\n %decorDesc\n");131 "License: %decorLic\n\n" 132 "%decorDesc\n")); 133 133 134 134 infoText.ReplaceFirst("%decorName", decor->Name().String()); 135 135 infoText.ReplaceFirst("%decorAuthors", authorsText.String()); … … 137 137 infoText.ReplaceFirst("%decorURL", decor->SupportURL().String()); 138 138 infoText.ReplaceFirst("%decorDesc", decor->ShortDescription().String()); 139 139 140 BAlert *infoAlert = new BAlert(B_TRANSLATE("About Dec erator"),140 BAlert *infoAlert = new BAlert(B_TRANSLATE("About Decorator"), 141 141 infoText.String(), B_TRANSLATE("OK")); 142 142 infoAlert->SetShortcut(0, B_ESCAPE); 143 143 infoAlert->Go(); -
src/preferences/appearance/APRWindow.cpp
50 50 B_TRANSLATE("Antialiasing")); 51 51 52 52 fDecorSettings = new DecorSettingsView( 53 B_TRANSLATE(" WindowDecorator"));53 B_TRANSLATE("Decorator")); 54 54 55 55 fColorsView = new APRView(B_TRANSLATE("Colors"), B_WILL_DRAW); 56 56