Ticket #7697: AboutSystem_updated_r42387.patch

File AboutSystem_updated_r42387.patch, 1.7 KB (added by taos, 8 years ago)

Updated patch to fix display of MIT license link and to introduce consistent spelling of "license".

  • src/apps/aboutsystem/AboutSystem.cpp

     
    12351235        "respective license.]\n\n"));
    12361236
    12371237    // Haiku license
    1238     BString haikuLicence = B_TRANSLATE("The code that is unique to Haiku, "
     1238    BString haikuLicense = B_TRANSLATE("The code that is unique to Haiku, "
    12391239        "especially the kernel and all code that applications may link "
    1240         "against, is distributed under the terms of the %MIT licence%. "
     1240        "against, is distributed under the terms of the %MIT license%. "
    12411241        "Some system libraries contain third party code distributed under the "
    12421242        "LGPL license. You can find the copyrights to third party code below.\n"
    12431243        "\n");
    1244     int32 licencePart1 = haikuLicence.FindFirst("%");
    1245     int32 licencePart2 = haikuLicence.FindLast("%");
     1244    int32 licensePart1 = haikuLicense.FindFirst("%");
     1245    int32 licensePart2 = haikuLicense.FindLast("%");
    12461246    BString part;
    1247     haikuLicence.CopyCharsInto(part, 0, licencePart1 );
     1247    haikuLicense.CopyInto(part, 0, licensePart1);
    12481248    fCreditsView->Insert(part);
    12491249
    12501250    part.Truncate(0);
    1251     haikuLicence.CopyCharsInto(part, licencePart1 + 1, licencePart2 - 1
    1252         - licencePart1);
     1251    haikuLicense.CopyInto(part, licensePart1 + 1, licensePart2 - 1
     1252        - licensePart1);
    12531253    fCreditsView->InsertHyperText(part, new OpenFileAction(mitPath.Path()));
    12541254
    12551255    part.Truncate(0);
    1256     haikuLicence.CopyCharsInto(part, licencePart2 + 1, haikuLicence.CountChars()
    1257         - licencePart2);
     1256    haikuLicense.CopyInto(part, licensePart2 + 1, haikuLicense.Length() - 1
     1257        - licensePart2);
    12581258    fCreditsView->Insert(part);
    12591259
    12601260    // GNU copyrights