Ticket #7697: AboutSystem.cpp.consistent_spelling_of_license.patch
File AboutSystem.cpp.consistent_spelling_of_license.patch, 1.7 KB (added by , 13 years ago) |
---|
-
src/apps/aboutsystem/AboutSystem.cpp
1234 1234 "respective license.]\n\n")); 1235 1235 1236 1236 // Haiku license 1237 BString haikuLicen ce = B_TRANSLATE("The code that is unique to Haiku, "1237 BString haikuLicense = B_TRANSLATE("The code that is unique to Haiku, " 1238 1238 "especially the kernel and all code that applications may link " 1239 "against, is distributed under the terms of the %MIT licen ce%. "1239 "against, is distributed under the terms of the %MIT license%. " 1240 1240 "Some system libraries contain third party code distributed under the " 1241 1241 "LGPL license. You can find the copyrights to third party code below.\n" 1242 1242 "\n"); 1243 int32 licen cePart1 = haikuLicence.FindFirst("%");1244 int32 licen cePart2 = haikuLicence.FindLast("%");1243 int32 licensePart1 = haikuLicense.FindFirst("%"); 1244 int32 licensePart2 = haikuLicense.FindLast("%"); 1245 1245 BString part; 1246 haikuLicen ce.CopyCharsInto(part, 0, licencePart1);1246 haikuLicense.CopyInto(part, 0, licensePart1); 1247 1247 fCreditsView->Insert(part); 1248 1248 1249 1249 part.Truncate(0); 1250 haikuLicen ce.CopyCharsInto(part, licencePart1 + 1, licencePart2 - 11251 - licen cePart1);1250 haikuLicense.CopyInto(part, licensePart1 + 1, licensePart2 - 1 1251 - licensePart1); 1252 1252 fCreditsView->InsertHyperText(part, new OpenFileAction(mitPath.Path())); 1253 1253 1254 1254 part.Truncate(0); 1255 haikuLicen ce.CopyCharsInto(part, licencePart2 + 1, haikuLicence.CountChars()1256 - licen cePart2);1255 haikuLicense.CopyInto(part, licensePart2 + 1, haikuLicense.Length() - 1 1256 - licensePart2); 1257 1257 fCreditsView->Insert(part); 1258 1258 1259 1259 // GNU copyrights