Ticket #7697: AboutSystem_updated_r42512.patch

File AboutSystem_updated_r42512.patch, 1.7 KB (added by taos, 13 years ago)

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

  • src/apps/aboutsystem/AboutSystem.cpp

     
    12361236        "respective license.]\n\n"));
    12371237
    12381238    // Haiku license
    1239     BString haikuLicence = B_TRANSLATE("The code that is unique to Haiku, "
     1239    BString haikuLicense = B_TRANSLATE("The code that is unique to Haiku, "
    12401240        "especially the kernel and all code that applications may link "
    1241         "against, is distributed under the terms of the %MIT licence%. "
     1241        "against, is distributed under the terms of the %MIT license%. "
    12421242        "Some system libraries contain third party code distributed under the "
    12431243        "LGPL license. You can find the copyrights to third party code below.\n"
    12441244        "\n");
    1245     int32 licencePart1 = haikuLicence.FindFirst("%");
    1246     int32 licencePart2 = haikuLicence.FindLast("%");
     1245    int32 licensePart1 = haikuLicense.FindFirst("%");
     1246    int32 licensePart2 = haikuLicense.FindLast("%");
    12471247    BString part;
    1248     haikuLicence.CopyCharsInto(part, 0, licencePart1 );
     1248    haikuLicense.CopyInto(part, 0, licensePart1);
    12491249    fCreditsView->Insert(part);
    12501250
    12511251    part.Truncate(0);
    1252     haikuLicence.CopyCharsInto(part, licencePart1 + 1, licencePart2 - 1
    1253         - licencePart1);
     1252    haikuLicense.CopyInto(part, licensePart1 + 1, licensePart2 - 1
     1253        - licensePart1);
    12541254    fCreditsView->InsertHyperText(part, new OpenFileAction(mitPath.Path()));
    12551255
    12561256    part.Truncate(0);
    1257     haikuLicence.CopyCharsInto(part, licencePart2 + 1, haikuLicence.CountChars()
    1258         - licencePart2);
     1257    haikuLicense.CopyInto(part, licensePart2 + 1, haikuLicense.Length() - 1
     1258        - licensePart2);
    12591259    fCreditsView->Insert(part);
    12601260
    12611261    // GNU copyrights