Ticket #5399: aboutsystem.patch

File aboutsystem.patch, 10.3 KB (added by dancxjo, 14 years ago)
  • src/apps/aboutsystem/AboutSystem.cpp

     
    725725    font.SetSize(font.Size() + 4);
    726726
    727727    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    728     fCreditsView->Insert("Haiku\n");
     728    fCreditsView->Insert("Haiku");
     729    fCreditsView->Insert("\n");
    729730
    730731    char string[1024];
    731732    time_t time = ::time(NULL);
     
    742743    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    743744    fCreditsView->Insert(TR("The copyright to the Haiku code is property of "
    744745        "Haiku, Inc. or of the respective authors where expressly noted "
    745         "in the source."
    746         "\n\n"));
     746        "in the source."));
     747    fCreditsView->Insert("\n\n");
    747748
    748749    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kLinkBlue);
    749750    fCreditsView->InsertHyperText("http://www.haiku-os.org",
     
    754755    font.SetFace(B_BOLD_FACE | B_ITALIC_FACE);
    755756
    756757    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange);
    757     fCreditsView->Insert(TR("Current maintainers:\n"));
     758    fCreditsView->Insert(TR("Current maintainers:"));
     759    fCreditsView->Insert("\n");
    758760
    759761    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    760762    fCreditsView->Insert(
     
    798800        "\n");
    799801
    800802    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange);
    801     fCreditsView->Insert(TR("Past maintainers:\n"));
     803    fCreditsView->Insert(TR("Past maintainers:"));
     804    fCreditsView->Insert("\n");
    802805
    803806    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    804807    fCreditsView->Insert(
     
    825828        "\n");
    826829
    827830    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange);
    828     fCreditsView->Insert(TR("Website, marketing & documentation:\n"));
     831    fCreditsView->Insert(TR("Website, marketing & documentation:"));
     832    fCreditsView->Insert("\n");
    829833
    830834    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    831835    fCreditsView->Insert(
     
    840844        "\n");
    841845
    842846    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange);
    843     fCreditsView->Insert(TR("Contributors:\n"));
     847    fCreditsView->Insert(TR("Contributors:"));
     848    fCreditsView->Insert("\n");
    844849
    845850    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    846851    fCreditsView->Insert(
     
    922927        "Łukasz Zemczak\n"
    923928        "JiSheng Zhang\n"
    924929        "Zhao Shuai\n");
     930    fCreditsView->Insert("\n");
    925931    fCreditsView->Insert(
    926         TR("\n" B_UTF8_ELLIPSIS
    927             " and probably some more we forgot to mention (sorry!)"
    928             "\n\n"));
    929 
     932        TR(B_UTF8_ELLIPSIS
     933            " and probably some more we forgot to mention (sorry!)"));
     934    fCreditsView->Insert("\n\n");
    930935    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange);
    931     fCreditsView->Insert(TR("Translations:\n"));
     936    fCreditsView->Insert(TR("Translations:"));
     937    fCreditsView->Insert("\n");
    932938
    933939    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    934     fCreditsView->Insert(TR("\nBulgarian\n\n"));
     940    fCreditsView->Insert("\n");
     941    fCreditsView->Insert(TR("Bulgarian"));
     942    fCreditsView->Insert("\n\n");
    935943    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    936944    fCreditsView->Insert(
    937945        "cssvb94\n"
    938946    );
    939947    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    940     fCreditsView->Insert(TR("\nDutch\n\n"));
     948    fCreditsView->Insert("\n");
     949    fCreditsView->Insert(TR("Dutch"));
     950    fCreditsView->Insert("\n\n");
    941951    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    942952    fCreditsView->Insert(
    943953        "Meanwhile\n"
    944954    );
    945955    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    946     fCreditsView->Insert(TR("\nEsperanto\n\n"));
     956    fCreditsView->Insert("\n");
     957    fCreditsView->Insert(TR("Esperanto"));
     958    fCreditsView->Insert("\n\n");
    947959    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    948960    fCreditsView->Insert(
    949961        "Travis D. Reed (Dancxjo)\n"
    950962    );
    951963    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    952     fCreditsView->Insert(TR("\nFinnish\n\n"));
     964    fCreditsView->Insert("\n");
     965    fCreditsView->Insert(TR("Finnish"));
     966    fCreditsView->Insert("\n\n");
    953967    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    954968    fCreditsView->Insert(
    955969        "Jaakko Leikas (Garjala)\n"
    956970    );
    957971    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    958     fCreditsView->Insert(TR("\nFrench\n\n"));
     972    fCreditsView->Insert("\n");
     973    fCreditsView->Insert(TR("French"));
     974    fCreditsView->Insert("\n\n");
    959975    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    960976    fCreditsView->Insert(
    961977        "Adrien Destugues (PulkoMandy)\n"
    962978    );
    963979    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    964     fCreditsView->Insert(TR("\nGerman\n\n"));
     980    fCreditsView->Insert("\n");
     981    fCreditsView->Insert(TR("German"));
     982    fCreditsView->Insert("\n\n");
    965983    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    966984    fCreditsView->Insert(
    967985        "Colin Günther\n"
     
    969987        "leszek\n"
    970988    );
    971989    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    972     fCreditsView->Insert(TR("\nHungarian\n\n"));
     990    fCreditsView->Insert("\n");
     991    fCreditsView->Insert(TR("Hungarian"));
     992    fCreditsView->Insert("\n\n");
    973993    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    974994    fCreditsView->Insert(
    975995        "miqlas\n"
    976996    );
    977997    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    978     fCreditsView->Insert(TR("\nItalian\n\n"));
     998    fCreditsView->Insert("\n");
     999    fCreditsView->Insert(TR("Italian"));
     1000    fCreditsView->Insert("\n\n");
    9791001    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    9801002    fCreditsView->Insert(
    9811003        "Andrea Bernardi\n"
    9821004    );
    9831005    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    984     fCreditsView->Insert(TR("\nJapanese\n\n"));
     1006    fCreditsView->Insert("\n");
     1007    fCreditsView->Insert(TR("Japanese"));
     1008    fCreditsView->Insert("\n\n");
    9851009    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    9861010    fCreditsView->Insert(
    9871011        "The JPBE.net user group\n"
    9881012    );
    9891013    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    990     fCreditsView->Insert(TR("\nLituanian\n\n"));
     1014    fCreditsView->Insert("\n");
     1015    fCreditsView->Insert(TR("Lituanian"));
     1016    fCreditsView->Insert("\n\n");
    9911017    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    9921018    fCreditsView->Insert(
    9931019        "Algirdas Buckus\n"
    9941020    );
    9951021    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    996     fCreditsView->Insert(TR("\nPolish\n\n"));
     1022    fCreditsView->Insert("\n");
     1023    fCreditsView->Insert(TR("Polish"));
     1024    fCreditsView->Insert("\n\n");
    9971025    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    9981026    fCreditsView->Insert(
    9991027        "Artur Wyszyński\n"
    10001028        "Hubert Hareńczyk\n"
    10011029    );
    10021030    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    1003     fCreditsView->Insert(TR("\nPortuguese\n\n"));
     1031    fCreditsView->Insert("\n");
     1032    fCreditsView->Insert(TR("Portuguese"));
     1033    fCreditsView->Insert("\n\n");
    10041034    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    10051035    fCreditsView->Insert(
    10061036        "Marcos Alves (Xeon3D)\n"
    10071037    );
    10081038    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    1009     fCreditsView->Insert(TR("\nRussian\n\n"));
     1039    fCreditsView->Insert("\n");
     1040    fCreditsView->Insert(TR("Russian"));
     1041    fCreditsView->Insert("\n\n");
    10101042    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    10111043    fCreditsView->Insert(
    10121044        "StoroZ Gneva\n"
    10131045    );
    10141046    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    1015     fCreditsView->Insert(TR("\nSwedish\n\n"));
     1047    fCreditsView->Insert("\n");
     1048    fCreditsView->Insert(TR("Swedish"));
     1049    fCreditsView->Insert("\n\n");
    10161050    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    10171051    fCreditsView->Insert(
    10181052        "Johan Holmberg\n"
    10191053    );
    10201054    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    1021     fCreditsView->Insert(TR("\nUkrainian\n\n"));
     1055    fCreditsView->Insert("\n");
     1056    fCreditsView->Insert(TR("Ukrainian"));
     1057    fCreditsView->Insert("\n\n");
    10221058    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    10231059    fCreditsView->Insert(
    10241060        "Alex Rudyk (totish)\n"
    10251061    );
    10261062
    10271063    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuOrange);
    1028     fCreditsView->Insert(TR("\n\nSpecial thanks to:\n"));
     1064    fCreditsView->Insert("\n\n");
     1065    fCreditsView->Insert(TR("Special thanks to:"));
     1066    fCreditsView->Insert("\n");
    10291067
    10301068    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    1031     fCreditsView->Insert(TR("Travis Geiselbrecht (and his NewOS kernel)\n"));
    1032     fCreditsView->Insert(TR("Michael Phipps (project founder)\n\n"));
    1033     fCreditsView->Insert(TR("The Haiku-Ports team\n"));
    1034     fCreditsView->Insert(TR("The Haikuware team and their bounty program\n"));
    1035     fCreditsView->Insert(TR("The BeGeistert team\n\n"));
     1069    fCreditsView->Insert(TR("Travis Geiselbrecht (and his NewOS kernel)"));
     1070    fCreditsView->Insert("\n");
     1071    fCreditsView->Insert(TR("Michael Phipps (project founder)"));
     1072    fCreditsView->Insert("\n");
     1073    fCreditsView->Insert("\n");
     1074    fCreditsView->Insert(TR("The Haiku-Ports team"));
     1075    fCreditsView->Insert("\n");
     1076    fCreditsView->Insert(TR("The Haikuware team and their bounty program"));
     1077    fCreditsView->Insert("\n");
     1078    fCreditsView->Insert(TR("The BeGeistert team"));
     1079    fCreditsView->Insert("\n");
     1080    fCreditsView->Insert("\n");
    10361081    fCreditsView->Insert(TR("... and the many community members making "
    1037         "donations!\n\n"));
     1082        "donations!"));
     1083    fCreditsView->Insert("\n");
     1084    fCreditsView->Insert("\n");
    10381085
    10391086    // copyrights for various projects we use
    10401087
     
    10441091    font.SetSize(be_bold_font->Size() + 4);
    10451092    font.SetFace(B_BOLD_FACE);
    10461093    fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &kHaikuGreen);
    1047     fCreditsView->Insert(TR("\nCopyrights\n\n"));
     1094    fCreditsView->Insert("\n");
     1095    fCreditsView->Insert(TR("Copyrights"));
     1096    fCreditsView->Insert("\n");
     1097    fCreditsView->Insert("\n");
    10481098
    10491099    fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
    10501100    fCreditsView->Insert(TR("[Click a license name to read the respective "
    10511101        "license.]\n\n"));
    10521102
    10531103    // Haiku license
     1104    // TODO: This translation is fragmented and cannot be properly translated
    10541105    fCreditsView->Insert(TR("The code that is unique to Haiku, especially the "
    10551106        "kernel and all code that applications may link against, is "
    10561107        "distributed under the terms of the "));
     
    12531304            " Guido Vollbeding. This software is based in part on the "
    12541305            "work of the Independent JPEG Group"));
    12551306            // TODO: License!
    1256            
     1307
    12571308    // libprint copyrights
    12581309    _AddPackageCredit(PackageCredit("libprint")
    12591310        .SetCopyright(COPYRIGHT_STRING
     
    16001651    app.Run();
    16011652    return 0;
    16021653}
    1603