From 294d940f4e1aa04d543a4be34439969424302dba Mon Sep 17 00:00:00 2001
From: Adam Hartford <adam.s.hartford@gmail.com>
Date: Fri, 6 Jul 2012 06:29:59 -0400
Subject: [PATCH] Don't use localized license URLs (Ticket #7491)
---
src/apps/aboutsystem/AboutSystem.cpp | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/apps/aboutsystem/AboutSystem.cpp b/src/apps/aboutsystem/AboutSystem.cpp
index ec3303c..9ed9a25 100644
a
|
b
|
AboutView::AddCopyrightEntry(const char* name, const char* text,
|
830 | 830 | |
831 | 831 | BPath licensePath; |
832 | 832 | if (_GetLicensePath(licenseURL, licensePath) == B_OK) { |
833 | | fCreditsView->InsertHyperText(licenseName, |
| 833 | fCreditsView->InsertHyperText(B_TRANSLATE(licenseName), |
834 | 834 | new OpenFileAction(licensePath.Path())); |
835 | 835 | } else |
836 | 836 | fCreditsView->Insert(licenseName); |
… |
… |
AboutView::_CreateCreditsView()
|
1363 | 1363 | _AddPackageCredit(PackageCredit("AntiGrain Geometry") |
1364 | 1364 | .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2002-2006 Maxim " |
1365 | 1365 | "Shemanarev (McSeem).")) |
1366 | | .SetLicenses("Anti-Grain Geometry", B_TRANSLATE("BSD (3-clause)"), |
| 1366 | .SetLicenses("Anti-Grain Geometry", "BSD (3-clause)", |
1367 | 1367 | "GPC", NULL) |
1368 | 1368 | .SetURL("http://www.antigrain.com")); |
1369 | 1369 | |
… |
… |
AboutView::_CreateCreditsView()
|
1458 | 1458 | _AddPackageCredit(PackageCredit("bzip2") |
1459 | 1459 | .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1996-2005 Julian R " |
1460 | 1460 | "Seward. All rights reserved.")) |
1461 | | .SetLicense(B_TRANSLATE("BSD (4-clause)")) |
| 1461 | .SetLicense("BSD (4-clause)") |
1462 | 1462 | .SetURL("http://bzip.org")); |
1463 | 1463 | |
1464 | 1464 | // lp_solve copyrights |
… |
… |
AboutView::_CreateCreditsView()
|
1472 | 1472 | _AddPackageCredit(PackageCredit("OpenEXR") |
1473 | 1473 | .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2002-2005 Industrial " |
1474 | 1474 | "Light & Magic, a division of Lucas Digital Ltd. LLC.")) |
1475 | | .SetLicense(B_TRANSLATE("BSD (3-clause)")) |
| 1475 | .SetLicense("BSD (3-clause)") |
1476 | 1476 | .SetURL("http://www.openexr.com")); |
1477 | 1477 | |
1478 | 1478 | // Bullet copyrights |
… |
… |
AboutView::_CreateCreditsView()
|
1531 | 1531 | // cortex copyrights |
1532 | 1532 | _AddPackageCredit(PackageCredit("Cortex") |
1533 | 1533 | .SetCopyright(COPYRIGHT_STRING "1999-2000 Eric Moon.") |
1534 | | .SetLicense(B_TRANSLATE("BSD (3-clause)")) |
| 1534 | .SetLicense("BSD (3-clause)") |
1535 | 1535 | .SetURL("http://cortex.sourceforge.net/documentation")); |
1536 | 1536 | |
1537 | 1537 | // FluidSynth copyrights |
… |
… |
AboutView::_CreateCreditsView()
|
1550 | 1550 | _AddPackageCredit(PackageCredit("libxml2, libxslt") |
1551 | 1551 | .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1998-2003 Daniel Veillard. " |
1552 | 1552 | "All rights reserved.")) |
1553 | | .SetLicense(B_TRANSLATE("MIT (no promotion)")) |
| 1553 | .SetLicense("MIT (no promotion)") |
1554 | 1554 | .SetURL("http://xmlsoft.org")); |
1555 | 1555 | |
1556 | 1556 | _AddPackageCredit(PackageCredit("libexslt") |
1557 | 1557 | .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2001-2002 Thomas Broyer, " |
1558 | 1558 | "Charlie Bozeman and Daniel Veillard. All rights reserved.")) |
1559 | | .SetLicense(B_TRANSLATE("MIT (no promotion)")) |
| 1559 | .SetLicense("MIT (no promotion)") |
1560 | 1560 | .SetURL("http://xmlsoft.org")); |
1561 | 1561 | |
1562 | 1562 | // Xiph.org Foundation copyrights |
… |
… |
AboutView::_CreateCreditsView()
|
1564 | 1564 | .SetCopyrights("libvorbis, libogg, libtheora, libspeex", |
1565 | 1565 | B_TRANSLATE(COPYRIGHT_STRING "1994-2008 Xiph.Org. " |
1566 | 1566 | "All rights reserved."), NULL) |
1567 | | .SetLicense(B_TRANSLATE("BSD (3-clause)")) |
| 1567 | .SetLicense("BSD (3-clause)") |
1568 | 1568 | .SetURL("http://www.xiph.org")); |
1569 | 1569 | |
1570 | 1570 | // The Tcpdump Group |
1571 | 1571 | _AddPackageCredit(PackageCredit("The Tcpdump Group") |
1572 | 1572 | .SetCopyright("tcpdump, libpcap") |
1573 | | .SetLicense(B_TRANSLATE("BSD (3-clause)")) |
| 1573 | .SetLicense("BSD (3-clause)") |
1574 | 1574 | .SetURL("http://www.tcpdump.org")); |
1575 | 1575 | |
1576 | 1576 | // Matroska |
… |
… |
AboutView::_CreateCreditsView()
|
1613 | 1613 | _AddPackageCredit(PackageCredit("Udis86") |
1614 | 1614 | .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2002-2004 " |
1615 | 1615 | "Vivek Mohan. All rights reserved.")) |
1616 | | .SetLicense(B_TRANSLATE("BSD (2-clause)")) |
| 1616 | .SetLicense("BSD (2-clause)") |
1617 | 1617 | .SetURL("http://udis86.sourceforge.net")); |
1618 | 1618 | #endif |
1619 | 1619 | |
… |
… |
AboutView::_CreateCreditsView()
|
1684 | 1684 | _AddPackageCredit(PackageCredit("libwebp") |
1685 | 1685 | .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING |
1686 | 1686 | "2010-2011 Google Inc. All rights reserved.")) |
1687 | | .SetLicense(B_TRANSLATE("BSD (3-clause)")) |
| 1687 | .SetLicense("BSD (3-clause)") |
1688 | 1688 | .SetURL("http://www.webmproject.org/code/#libwebp_webp_image_library")); |
1689 | 1689 | |
1690 | 1690 | // GTF |
1691 | 1691 | _AddPackageCredit(PackageCredit("GTF") |
1692 | 1692 | .SetCopyright(B_TRANSLATE("2001 by Andy Ritger based on the " |
1693 | 1693 | "Generalized Timing Formula")) |
1694 | | .SetLicense(B_TRANSLATE("BSD (3-clause)")) |
| 1694 | .SetLicense("BSD (3-clause)") |
1695 | 1695 | .SetURL("http://gtf.sourceforge.net/")); |
1696 | 1696 | |
1697 | 1697 | // libqrencode |
1698 | 1698 | _AddPackageCredit(PackageCredit("libqrencode") |
1699 | 1699 | .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2006-2012 Kentaro Fukuchi")) |
1700 | | .SetLicense(B_TRANSLATE("GNU LGPL v2.1")) |
| 1700 | .SetLicense("GNU LGPL v2.1") |
1701 | 1701 | .SetURL("http://fukuchi.org/works/qrencode/")); |
1702 | 1702 | |
1703 | 1703 | _AddCopyrightsFromAttribute(); |