Ticket #5399: AboutSystem-trim-whitespace-from-B_TRANSLATE.patch
File AboutSystem-trim-whitespace-from-B_TRANSLATE.patch, 5.8 KB (added by , 13 years ago) |
---|
-
src/apps/aboutsystem/AboutSystem.cpp
875 875 font.SetSize(font.Size() + 4); 876 876 877 877 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen); 878 fCreditsView->Insert("Haiku\n"); 878 fCreditsView->Insert("Haiku"); 879 fCreditsView->Insert("\n"); 879 880 880 881 char string[1024]; 881 882 time_t time = ::time(NULL); … … 893 894 fCreditsView->Insert(B_TRANSLATE("The copyright to the Haiku code is " 894 895 "property of Haiku, Inc. or of the respective authors where expressly " 895 896 "noted in the source. Haiku and the Haiku logo are trademarks of " 896 "Haiku, Inc." 897 "\n\n"));897 "Haiku, Inc.")); 898 fCreditsView->Insert("\n\n"); 898 899 899 900 fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kLinkBlue); 900 901 fCreditsView->InsertHyperText("http://www.haiku-os.org", … … 905 906 font.SetFace(B_BOLD_FACE | B_ITALIC_FACE); 906 907 907 908 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange); 908 fCreditsView->Insert(B_TRANSLATE("Current maintainers:\n")); 909 fCreditsView->Insert(B_TRANSLATE("Current maintainers:")); 910 fCreditsView->Insert("\n"); 909 911 910 912 fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey); 911 913 fCreditsView->Insert( … … 952 954 "\n"); 953 955 954 956 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange); 955 fCreditsView->Insert(B_TRANSLATE("Past maintainers:\n")); 957 fCreditsView->Insert(B_TRANSLATE("Past maintainers:")); 958 fCreditsView->Insert("\n"); 956 959 957 960 fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey); 958 961 fCreditsView->Insert( … … 979 982 "\n"); 980 983 981 984 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange); 982 fCreditsView->Insert(B_TRANSLATE("Website, marketing & documentation:\n")); 985 fCreditsView->Insert(B_TRANSLATE("Website, marketing & documentation:")); 986 fCreditsView->Insert("\n"); 983 987 984 988 fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey); 985 989 fCreditsView->Insert( … … 992 996 "\n"); 993 997 994 998 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange); 995 fCreditsView->Insert(B_TRANSLATE("Contributors:\n")); 999 fCreditsView->Insert(B_TRANSLATE("Contributors:")); 1000 fCreditsView->Insert("\n"); 996 1001 997 1002 fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey); 998 1003 fCreditsView->Insert( … … 1084 1089 "Zhao Shuai\n"); 1085 1090 fCreditsView->Insert( 1086 1091 B_TRANSLATE("\n" B_UTF8_ELLIPSIS 1087 " and probably some more we forgot to mention (sorry!)" 1088 "\n\n"));1092 " and probably some more we forgot to mention (sorry!)")); 1093 fCreditsView->Insert("\n\n"); 1089 1094 1090 1095 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange); 1091 fCreditsView->Insert(B_TRANSLATE("Translations:\n")); 1096 fCreditsView->Insert(B_TRANSLATE("Translations:")); 1097 fCreditsView->Insert("\n"); 1092 1098 1093 1099 BLanguage* lang; 1094 1100 BString langName; … … 1124 1130 } 1125 1131 1126 1132 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange); 1127 fCreditsView->Insert(B_TRANSLATE("\n\nSpecial thanks to:\n")); 1133 fCreditsView->Insert("\n\n"); 1134 fCreditsView->Insert(B_TRANSLATE("Special thanks to:")); 1135 fCreditsView->Insert("\n"); 1128 1136 1129 1137 fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey); 1130 1138 fCreditsView->Insert( 1131 B_TRANSLATE("Travis Geiselbrecht (and his NewOS kernel)\n")); 1139 B_TRANSLATE("Travis Geiselbrecht (and his NewOS kernel)")); 1140 fCreditsView->Insert("\n"); 1132 1141 fCreditsView->Insert( 1133 B_TRANSLATE("Michael Phipps (project founder)\n\n")); 1142 B_TRANSLATE("Michael Phipps (project founder)")); 1143 fCreditsView->Insert("\n"); 1134 1144 fCreditsView->Insert( 1135 B_TRANSLATE("The Haiku-Ports team\n")); 1145 B_TRANSLATE("The Haiku-Ports team")); 1146 fCreditsView->Insert("\n"); 1136 1147 fCreditsView->Insert( 1137 B_TRANSLATE("The Haikuware team and their bounty program\n")); 1148 B_TRANSLATE("The Haikuware team and their bounty program")); 1149 fCreditsView->Insert("\n"); 1138 1150 fCreditsView->Insert( 1139 B_TRANSLATE("The BeGeistert team\n")); 1151 B_TRANSLATE("The BeGeistert team")); 1152 fCreditsView->Insert("\n"); 1140 1153 fCreditsView->Insert( 1141 B_TRANSLATE("Google & their Google Summer of Code program\n")); 1154 B_TRANSLATE("Google & their Google Summer of Code program")); 1155 fCreditsView->Insert("\n"); 1142 1156 fCreditsView->Insert( 1143 B_TRANSLATE("The University of Auckland and Christof Lutteroth\n\n")); 1157 B_TRANSLATE("The University of Auckland and Christof Lutteroth")); 1158 fCreditsView->Insert("\n\n"); 1144 1159 fCreditsView->Insert( 1145 B_TRANSLATE("... and the many people making donations!\n\n")); 1160 B_TRANSLATE("... and the many people making donations!")); 1161 fCreditsView->Insert("\n"); 1146 1162 1147 1163 // copyrights for various projects we use 1148 1164 … … 1152 1168 font.SetSize(be_bold_font->Size() + 4); 1153 1169 font.SetFace(B_BOLD_FACE); 1154 1170 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen); 1155 fCreditsView->Insert(B_TRANSLATE("\nCopyrights\n\n")); 1171 fCreditsView->Insert("\n"); 1172 fCreditsView->Insert(B_TRANSLATE("Copyrights")); 1173 fCreditsView->Insert("\n\n"); 1156 1174 1157 1175 fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey); 1158 1176 fCreditsView->Insert(B_TRANSLATE("[Click a license name to read the " 1159 "respective license.]\n\n")); 1177 "respective license.]")); 1178 fCreditsView->Insert("\n\n"); 1160 1179 1161 1180 // Haiku license 1162 1181 BString haikuLicence = B_TRANSLATE("The code that is unique to Haiku, " 1163 1182 "especially the kernel and all code that applications may link " 1164 1183 "against, is distributed under the terms of the %MIT licence%. " 1165 1184 "Some system libraries contain third party code distributed under the " 1166 "LGPL license. You can find the copyrights to third party code below.\n" 1167 "\n"); 1185 "LGPL license. You can find the copyrights to third party code below." 1186 ); 1187 fCreditsView->Insert("\n\n"); 1168 1188 int32 licencePart1 = haikuLicence.FindFirst("%"); 1169 1189 int32 licencePart2 = haikuLicence.FindLast("%"); 1170 1190 BString part;