Changed a few strings as discussed on the i18n mailing list. Added localization of license descriptions in AboutSystem.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41184 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Joachim Seemer 2011-04-04 17:36:39 +00:00
parent 73b0cf2c46
commit 329daa448d
9 changed files with 120 additions and 129 deletions

View File

@ -57,7 +57,7 @@ ZippoWindow::ZippoWindow(BList windowList, bool keepOpen)
B_ALIGN_VERTICAL_UNSET)); B_ALIGN_VERTICAL_UNSET));
fZipOutputView = new BStringView("output_text", fZipOutputView = new BStringView("output_text",
B_TRANSLATE("Drop files to zip.")); B_TRANSLATE("Drop files here."));
fZipOutputView->SetExplicitAlignment(BAlignment(B_ALIGN_LEFT, fZipOutputView->SetExplicitAlignment(BAlignment(B_ALIGN_LEFT,
B_ALIGN_VERTICAL_UNSET)); B_ALIGN_VERTICAL_UNSET));

View File

@ -1259,86 +1259,88 @@ AboutView::_CreateCreditsView()
// GNU copyrights // GNU copyrights
AddCopyrightEntry("The GNU Project", AddCopyrightEntry("The GNU Project",
"Contains software from the GNU Project, " B_TRANSLATE("Contains software from the GNU Project, "
"released under the GPL and LGPL licenses:\n" "released under the GPL and LGPL licenses:\n"
"GNU C Library, " "GNU C Library, "
"GNU coretools, diffutils, findutils, " "GNU coretools, diffutils, findutils, "
"sharutils, gawk, bison, m4, make, " "sharutils, gawk, bison, m4, make, "
"gdb, wget, ncurses, termcap, " "gdb, wget, ncurses, termcap, "
"Bourne Again Shell.\n" "Bourne Again Shell.\n"
COPYRIGHT_STRING "The Free Software Foundation.", COPYRIGHT_STRING "The Free Software Foundation."),
StringVector("GNU LGPL v2.1", "GNU GPL v2", "GNU GPL v3", NULL), StringVector("GNU LGPL v2.1", "GNU GPL v2", "GNU GPL v3", NULL),
StringVector(), StringVector(),
"http://www.gnu.org"); "http://www.gnu.org");
// FreeBSD copyrights // FreeBSD copyrights
AddCopyrightEntry("The FreeBSD Project", AddCopyrightEntry("The FreeBSD Project",
"Contains software from the FreeBSD Project, " B_TRANSLATE("Contains software from the FreeBSD Project, "
"released under the BSD license:\n" "released under the BSD license:\n"
"cal, ftpd, ping, telnet, " "cal, ftpd, ping, telnet, "
"telnetd, traceroute\n" "telnetd, traceroute\n"
COPYRIGHT_STRING "1994-2008 The FreeBSD Project. " COPYRIGHT_STRING "1994-2008 The FreeBSD Project. "
"All rights reserved.", "All rights reserved."),
"http://www.freebsd.org"); "http://www.freebsd.org");
// TODO: License! // TODO: License!
// NetBSD copyrights // NetBSD copyrights
AddCopyrightEntry("The NetBSD Project", AddCopyrightEntry("The NetBSD Project",
"Contains software developed by the NetBSD, " B_TRANSLATE("Contains software developed by the NetBSD, "
"Foundation, Inc. and its contributors:\n" "Foundation, Inc. and its contributors:\n"
"ftp, tput\n" "ftp, tput\n"
COPYRIGHT_STRING "1996-2008 The NetBSD Foundation, Inc. " COPYRIGHT_STRING "1996-2008 The NetBSD Foundation, Inc. "
"All rights reserved.", "All rights reserved."),
"http://www.netbsd.org"); "http://www.netbsd.org");
// TODO: License! // TODO: License!
// FFMpeg copyrights // FFMpeg copyrights
_AddPackageCredit(PackageCredit("FFMpeg libavcodec") _AddPackageCredit(PackageCredit("FFMpeg libavcodec")
.SetCopyright(COPYRIGHT_STRING "2000-2007 Fabrice Bellard, et al.") .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2000-2007 Fabrice "
"Bellard, et al."))
.SetLicenses("GNU LGPL v2.1", "GNU LGPL v2", NULL) .SetLicenses("GNU LGPL v2.1", "GNU LGPL v2", NULL)
.SetURL("http://www.ffmpeg.org")); .SetURL("http://www.ffmpeg.org"));
// AGG copyrights // AGG copyrights
_AddPackageCredit(PackageCredit("AntiGrain Geometry") _AddPackageCredit(PackageCredit("AntiGrain Geometry")
.SetCopyright(COPYRIGHT_STRING "2002-2006 Maxim Shemanarev (McSeem).") .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2002-2006 Maxim "
.SetLicenses("Anti-Grain Geometry", "BSD (3-clause)", "GPC", NULL) "Shemanarev (McSeem)."))
.SetLicenses("Anti-Grain Geometry", B_TRANSLATE("BSD (3-clause)"),
"GPC", NULL)
.SetURL("http://www.antigrain.com")); .SetURL("http://www.antigrain.com"));
// PDFLib copyrights // PDFLib copyrights
_AddPackageCredit(PackageCredit("PDFLib") _AddPackageCredit(PackageCredit("PDFLib")
.SetCopyright(COPYRIGHT_STRING "1997-2006 PDFlib GmbH and Thomas Merz. " .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1997-2006 PDFlib GmbH and "
"All rights reserved.\n" "Thomas Merz. All rights reserved.\n"
"PDFlib and PDFlib logo are registered trademarks of PDFlib GmbH.") "PDFlib and PDFlib logo are registered trademarks of PDFlib GmbH."))
.SetLicense("PDFlib Lite") .SetLicense("PDFlib Lite")
.SetURL("http://www.pdflib.com")); .SetURL("http://www.pdflib.com"));
// FreeType copyrights // FreeType copyrights
_AddPackageCredit(PackageCredit("FreeType2") _AddPackageCredit(PackageCredit("FreeType2")
.SetCopyright("Portions of this software are copyright " .SetCopyright(B_TRANSLATE("Portions of this software are copyright "
B_UTF8_COPYRIGHT " 1996-2006 " COPYRIGHT_STRING "1996-2006 "
"The FreeType Project. All rights reserved.") "The FreeType Project. All rights reserved."))
.SetLicense("FTL") .SetLicense("FTL")
.SetURL("http://www.freetype.org")); .SetURL("http://www.freetype.org"));
// Mesa3D (http://www.mesa3d.org) copyrights // Mesa3D (http://www.mesa3d.org) copyrights
_AddPackageCredit(PackageCredit("Mesa") _AddPackageCredit(PackageCredit("Mesa")
.SetCopyright(COPYRIGHT_STRING "1999-2006 Brian Paul. " .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1999-2006 Brian Paul. "
"Mesa3D Project. All rights reserved.") "Mesa3D Project. All rights reserved."))
.SetLicense("MIT") .SetLicense("MIT")
.SetURL("http://www.mesa3d.org")); .SetURL("http://www.mesa3d.org"));
// SGI's GLU implementation copyrights // SGI's GLU implementation copyrights
_AddPackageCredit(PackageCredit("GLU") _AddPackageCredit(PackageCredit("GLU")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1991-2000 Silicon Graphics, "
"1991-2000 Silicon Graphics, Inc. " "Inc. SGI's Software FreeB license. All rights reserved."))
"SGI's Software FreeB license. All rights reserved.")
.SetLicense("SGI Free B") .SetLicense("SGI Free B")
.SetURL("http://www.sgi.com/products/software/opengl")); .SetURL("http://www.sgi.com/products/software/opengl"));
// GLUT implementation copyrights // GLUT implementation copyrights
_AddPackageCredit(PackageCredit("GLUT") _AddPackageCredit(PackageCredit("GLUT")
.SetCopyrights(COPYRIGHT_STRING "1994-1997 Mark Kilgard. " .SetCopyrights(B_TRANSLATE(COPYRIGHT_STRING "1994-1997 Mark Kilgard. "
"All rights reserved.", "All rights reserved."),
COPYRIGHT_STRING "1997 Be Inc.", COPYRIGHT_STRING "1997 Be Inc.",
COPYRIGHT_STRING "1999 Jake Hamby.", COPYRIGHT_STRING "1999 Jake Hamby.",
NULL) NULL)
@ -1348,54 +1350,53 @@ AboutView::_CreateCreditsView()
// OpenGroup & DEC (BRegion backend) copyright // OpenGroup & DEC (BRegion backend) copyright
_AddPackageCredit(PackageCredit("BRegion backend (XFree86)") _AddPackageCredit(PackageCredit("BRegion backend (XFree86)")
.SetCopyrights(COPYRIGHT_STRING "1987, 1988, 1998 The Open Group.", .SetCopyrights(COPYRIGHT_STRING "1987, 1988, 1998 The Open Group.",
COPYRIGHT_STRING "1987, 1988 Digital Equipment " B_TRANSLATE(COPYRIGHT_STRING "1987, 1988 Digital Equipment "
"Corporation, Maynard, Massachusetts.\n" "Corporation, Maynard, Massachusetts.\n"
"All rights reserved.", "All rights reserved."),
NULL) NULL)
.SetLicenses("OpenGroup", "DEC", NULL)); .SetLicenses("OpenGroup", "DEC", NULL));
// TODO: URL // TODO: URL
// VL-Gothic font // VL-Gothic font
_AddPackageCredit(PackageCredit("VL-Gothic font") _AddPackageCredit(PackageCredit("VL-Gothic font")
.SetCopyrights(COPYRIGHT_STRING "1990-2003 Wada Laboratory," .SetCopyrights(B_TRANSLATE(COPYRIGHT_STRING "1990-2003 Wada Laboratory,"
" the University of Tokyo", COPYRIGHT_STRING " the University of Tokyo"), COPYRIGHT_STRING
"2003-2004 Electronic Font Open Laboratory (/efont/)", "2003-2004 Electronic Font Open Laboratory (/efont/)",
COPYRIGHT_STRING "2003-2008 M+ FONTS PROJECT", COPYRIGHT_STRING "2003-2008 M+ FONTS PROJECT",
COPYRIGHT_STRING "2006-2009 Daisuke SUZUKI", COPYRIGHT_STRING "2006-2009 Daisuke SUZUKI",
COPYRIGHT_STRING "2006-2009 Project Vine", COPYRIGHT_STRING "2006-2009 Project Vine",
"MIT license. All rights reserved.", B_TRANSLATE("MIT license. All rights reserved."),
NULL)); NULL));
// TODO: License! // TODO: License!
// expat copyrights // expat copyrights
_AddPackageCredit(PackageCredit("expat") _AddPackageCredit(PackageCredit("expat")
.SetCopyrights(COPYRIGHT_STRING .SetCopyrights(B_TRANSLATE(COPYRIGHT_STRING "1998, 1999, 2000 Thai "
"1998, 1999, 2000 Thai Open Source " "Open Source Software Center Ltd and Clark Cooper."),
"Software Center Ltd and Clark Cooper.", B_TRANSLATE(COPYRIGHT_STRING "2001, 2002, 2003 Expat maintainers."),
COPYRIGHT_STRING "2001, 2002, 2003 Expat maintainers.",
NULL) NULL)
.SetLicense("Expat") .SetLicense("Expat")
.SetURL("http://expat.sourceforge.net")); .SetURL("http://expat.sourceforge.net"));
// zlib copyrights // zlib copyrights
_AddPackageCredit(PackageCredit("zlib") _AddPackageCredit(PackageCredit("zlib")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1995-2004 Jean-loup "
"1995-2004 Jean-loup Gailly and Mark Adler.") "Gailly and Mark Adler."))
.SetLicense("Zlib") .SetLicense("Zlib")
.SetURL("http://www.zlib.net")); .SetURL("http://www.zlib.net"));
// zip copyrights // zip copyrights
_AddPackageCredit(PackageCredit("Info-ZIP") _AddPackageCredit(PackageCredit("Info-ZIP")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1990-2002 Info-ZIP. "
"1990-2002 Info-ZIP. All rights reserved.") "All rights reserved."))
.SetLicense("Info-ZIP") .SetLicense("Info-ZIP")
.SetURL("http://www.info-zip.org")); .SetURL("http://www.info-zip.org"));
// bzip2 copyrights // bzip2 copyrights
_AddPackageCredit(PackageCredit("bzip2") _AddPackageCredit(PackageCredit("bzip2")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1996-2005 Julian R "
"1996-2005 Julian R Seward. All rights reserved.") "Seward. All rights reserved."))
.SetLicense("BSD (4-clause)") .SetLicense(B_TRANSLATE("BSD (4-clause)"))
.SetURL("http://bzip.org")); .SetURL("http://bzip.org"));
// lp_solve copyrights // lp_solve copyrights
@ -1407,9 +1408,9 @@ AboutView::_CreateCreditsView()
// OpenEXR copyrights // OpenEXR copyrights
_AddPackageCredit(PackageCredit("OpenEXR") _AddPackageCredit(PackageCredit("OpenEXR")
.SetCopyright(COPYRIGHT_STRING "2002-2005 Industrial Light & Magic, " .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2002-2005 Industrial "
"a division of Lucas Digital Ltd. LLC.") "Light & Magic, a division of Lucas Digital Ltd. LLC."))
.SetLicense("BSD (3-clause)") .SetLicense(B_TRANSLATE("BSD (3-clause)"))
.SetURL("http://www.openexr.com")); .SetURL("http://www.openexr.com"));
// Bullet copyrights // Bullet copyrights
@ -1420,8 +1421,8 @@ AboutView::_CreateCreditsView()
// atftp copyrights // atftp copyrights
_AddPackageCredit(PackageCredit("atftp") _AddPackageCredit(PackageCredit("atftp")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2000 Jean-Pierre "
"2000 Jean-Pierre ervbefeL and Remi Lefebvre") "ervbefeL and Remi Lefebvre"))
.SetLicense("GNU GPL v2")); .SetLicense("GNU GPL v2"));
// TODO: URL! // TODO: URL!
@ -1438,8 +1439,8 @@ AboutView::_CreateCreditsView()
// unrar copyrights // unrar copyrights
_AddPackageCredit(PackageCredit("unrar") _AddPackageCredit(PackageCredit("unrar")
.SetCopyright(COPYRIGHT_STRING "2002-2008 Alexander L. Roshal. " .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2002-2008 Alexander "
"All rights reserved.") "L. Roshal. All rights reserved."))
.SetLicense("UnRAR") .SetLicense("UnRAR")
.SetURL("http://www.rarlab.com")); .SetURL("http://www.rarlab.com"));
@ -1452,27 +1453,28 @@ AboutView::_CreateCreditsView()
// libjpeg copyrights // libjpeg copyrights
_AddPackageCredit(PackageCredit("libjpeg") _AddPackageCredit(PackageCredit("libjpeg")
.SetCopyright(COPYRIGHT_STRING " 1994-2009, Thomas G. Lane," .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1994-2009, Thomas G. "
" Guido Vollbeding. This software is based in part on the " "Lane, Guido Vollbeding. This software is based in part on the "
"work of the Independent JPEG Group") "work of the Independent JPEG Group"))
.SetLicense("LibJPEG") .SetLicense("LibJPEG")
.SetURL("http://www.ijg.org")); .SetURL("http://www.ijg.org"));
// libprint copyrights // libprint copyrights
_AddPackageCredit(PackageCredit("libprint") _AddPackageCredit(PackageCredit("libprint")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1999-2000 Y.Takagi. "
"1999-2000 Y.Takagi. All rights reserved.")); "All rights reserved.")));
// TODO: License! // TODO: License!
// cortex copyrights // cortex copyrights
_AddPackageCredit(PackageCredit("Cortex") _AddPackageCredit(PackageCredit("Cortex")
.SetCopyright(COPYRIGHT_STRING "1999-2000 Eric Moon.") .SetCopyright(COPYRIGHT_STRING "1999-2000 Eric Moon.")
.SetLicense("BSD (3-clause)") .SetLicense(B_TRANSLATE("BSD (3-clause)"))
.SetURL("http://cortex.sourceforge.net/documentation")); .SetURL("http://cortex.sourceforge.net/documentation"));
// FluidSynth copyrights // FluidSynth copyrights
_AddPackageCredit(PackageCredit("FluidSynth") _AddPackageCredit(PackageCredit("FluidSynth")
.SetCopyright(COPYRIGHT_STRING "2003 Peter Hanappe and others.") .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2003 Peter Hanappe "
"and others."))
.SetLicense("GNU LGPL v2") .SetLicense("GNU LGPL v2")
.SetURL("http://www.fluidsynth.org")); .SetURL("http://www.fluidsynth.org"));
@ -1483,74 +1485,71 @@ AboutView::_CreateCreditsView()
// libxml2, libxslt, libexslt copyrights // libxml2, libxslt, libexslt copyrights
_AddPackageCredit(PackageCredit("libxml2, libxslt") _AddPackageCredit(PackageCredit("libxml2, libxslt")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1998-2003 Daniel Veillard. "
"1998-2003 Daniel Veillard. All rights reserved.") "All rights reserved."))
.SetLicense("MIT (no promotion)") .SetLicense(B_TRANSLATE("MIT (no promotion)"))
.SetURL("http://xmlsoft.org")); .SetURL("http://xmlsoft.org"));
_AddPackageCredit(PackageCredit("libexslt") _AddPackageCredit(PackageCredit("libexslt")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2001-2002 Thomas Broyer, "
"2001-2002 Thomas Broyer, Charlie " "Charlie Bozeman and Daniel Veillard. All rights reserved."))
"Bozeman and Daniel Veillard. All rights reserved.") .SetLicense(B_TRANSLATE("MIT (no promotion)"))
.SetLicense("MIT (no promotion)")
.SetURL("http://xmlsoft.org")); .SetURL("http://xmlsoft.org"));
// Xiph.org Foundation copyrights // Xiph.org Foundation copyrights
_AddPackageCredit(PackageCredit("Xiph.org Foundation") _AddPackageCredit(PackageCredit("Xiph.org Foundation")
.SetCopyrights("libvorbis, libogg, libtheora, libspeex", .SetCopyrights("libvorbis, libogg, libtheora, libspeex",
COPYRIGHT_STRING "1994-2008 Xiph.Org. " B_TRANSLATE(COPYRIGHT_STRING "1994-2008 Xiph.Org. "
"All rights reserved.", "All rights reserved."), NULL)
NULL) .SetLicense(B_TRANSLATE("BSD (3-clause)"))
.SetLicense("BSD (3-clause)")
.SetURL("http://www.xiph.org")); .SetURL("http://www.xiph.org"));
// The Tcpdump Group // The Tcpdump Group
_AddPackageCredit(PackageCredit("The Tcpdump Group") _AddPackageCredit(PackageCredit("The Tcpdump Group")
.SetCopyright("tcpdump, libpcap") .SetCopyright("tcpdump, libpcap")
.SetLicense("BSD (3-clause)") .SetLicense(B_TRANSLATE("BSD (3-clause)"))
.SetURL("http://www.tcpdump.org")); .SetURL("http://www.tcpdump.org"));
// Matroska // Matroska
_AddPackageCredit(PackageCredit("libmatroska") _AddPackageCredit(PackageCredit("libmatroska")
.SetCopyright(COPYRIGHT_STRING "2002-2003 Steve Lhomme. " .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2002-2003 Steve Lhomme. "
"All rights reserved.") "All rights reserved."))
.SetLicense("GNU LGPL v2.1") .SetLicense("GNU LGPL v2.1")
.SetURL("http://www.matroska.org")); .SetURL("http://www.matroska.org"));
// BColorQuantizer (originally CQuantizer code) // BColorQuantizer (originally CQuantizer code)
_AddPackageCredit(PackageCredit("CQuantizer") _AddPackageCredit(PackageCredit("CQuantizer")
.SetCopyright(COPYRIGHT_STRING "1996-1997 Jeff Prosise. " .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1996-1997 Jeff Prosise. "
"All rights reserved.") "All rights reserved."))
.SetLicense("CQuantizer") .SetLicense("CQuantizer")
.SetURL("http://www.xdp.it")); .SetURL("http://www.xdp.it"));
// MAPM (Mike's Arbitrary Precision Math Library) used by DeskCalc // MAPM (Mike's Arbitrary Precision Math Library) used by DeskCalc
_AddPackageCredit(PackageCredit("MAPM") _AddPackageCredit(PackageCredit("MAPM")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1999-2007 Michael C. "
"1999-2007 Michael C. Ring. All rights reserved.") "Ring. All rights reserved."))
.SetLicense("MAPM") .SetLicense("MAPM")
.SetURL("http://tc.umn.edu/~ringx004")); .SetURL("http://tc.umn.edu/~ringx004"));
// MkDepend 1.7 copyright (Makefile dependency generator) // MkDepend 1.7 copyright (Makefile dependency generator)
_AddPackageCredit(PackageCredit("MkDepend") _AddPackageCredit(PackageCredit("MkDepend")
.SetCopyright(COPYRIGHT_STRING "1995-2001 Lars Düning. " .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1995-2001 Lars Düning. "
"All rights reserved.") "All rights reserved."))
.SetLicense("MkDepend") .SetLicense("MkDepend")
.SetURL("http://bearnip.com/lars/be")); .SetURL("http://bearnip.com/lars/be"));
// libhttpd copyright (used as Poorman backend) // libhttpd copyright (used as Poorman backend)
_AddPackageCredit(PackageCredit("libhttpd") _AddPackageCredit(PackageCredit("libhttpd")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "1995, 1998, 1999, 2000, "
"1995,1998,1999,2000,2001 by " "2001 by Jef Poskanzer. All rights reserved."))
"Jef Poskanzer. All rights reserved.")
.SetLicense("LibHTTPd") .SetLicense("LibHTTPd")
.SetURL("http://www.acme.com/software/thttpd/")); .SetURL("http://www.acme.com/software/thttpd/"));
#ifdef __INTEL__ #ifdef __INTEL__
// Udis86 copyrights // Udis86 copyrights
_AddPackageCredit(PackageCredit("Udis86") _AddPackageCredit(PackageCredit("Udis86")
.SetCopyright(COPYRIGHT_STRING "2002, 2003, 2004 Vivek Mohan. " .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2002, 2003, 2004 "
"All rights reserved.") "Vivek Mohan. All rights reserved."))
.SetURL("http://udis86.sourceforge.net")); .SetURL("http://udis86.sourceforge.net"));
// TODO: License! // TODO: License!
#endif #endif
@ -1558,9 +1557,8 @@ AboutView::_CreateCreditsView()
#ifdef __INTEL__ #ifdef __INTEL__
// Intel PRO/Wireless 2100 Firmware // Intel PRO/Wireless 2100 Firmware
_AddPackageCredit(PackageCredit("Intel PRO/Wireless 2100 Firmware") _AddPackageCredit(PackageCredit("Intel PRO/Wireless 2100 Firmware")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2003-2006 by "
"2003-2006 by " "Intel Corporation. All rights reserved."))
"Intel Corporation. All rights reserved.")
.SetLicense("Intel (2xxx firmware)") .SetLicense("Intel (2xxx firmware)")
.SetURL("http://ipw2100.sourceforge.net/")); .SetURL("http://ipw2100.sourceforge.net/"));
#endif #endif
@ -1568,9 +1566,8 @@ AboutView::_CreateCreditsView()
#ifdef __INTEL__ #ifdef __INTEL__
// Intel PRO/Wireless 2200BG Firmware // Intel PRO/Wireless 2200BG Firmware
_AddPackageCredit(PackageCredit("Intel PRO/Wireless 2200BG Firmware") _AddPackageCredit(PackageCredit("Intel PRO/Wireless 2200BG Firmware")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2004-2005 by "
"2004-2005 by " "Intel Corporation. All rights reserved."))
"Intel Corporation. All rights reserved.")
.SetLicense("Intel (2xxx firmware)") .SetLicense("Intel (2xxx firmware)")
.SetURL("http://ipw2200.sourceforge.net/")); .SetURL("http://ipw2200.sourceforge.net/"));
#endif #endif
@ -1580,9 +1577,8 @@ AboutView::_CreateCreditsView()
_AddPackageCredit( _AddPackageCredit(
PackageCredit( PackageCredit(
"Intel PRO/Wireless 3945ABG/BG Network Connection Adapter Firmware") "Intel PRO/Wireless 3945ABG/BG Network Connection Adapter Firmware")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2006-2007 by "
"2006 - 2007 by " "Intel Corporation. All rights reserved."))
"Intel Corporation. All rights reserved.")
.SetLicense("Intel (firmware)") .SetLicense("Intel (firmware)")
.SetURL("http://www.intellinuxwireless.org/")); .SetURL("http://www.intellinuxwireless.org/"));
#endif #endif
@ -1590,9 +1586,8 @@ AboutView::_CreateCreditsView()
// Intel Wireless WiFi Link 4965AGN Adapter Firmware // Intel Wireless WiFi Link 4965AGN Adapter Firmware
_AddPackageCredit( _AddPackageCredit(
PackageCredit("Intel Wireless WiFi Link 4965AGN Adapter Firmware") PackageCredit("Intel Wireless WiFi Link 4965AGN Adapter Firmware")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2006-2007 by "
"2006 - 2007 by " "Intel Corporation. All rights reserved."))
"Intel Corporation. All rights reserved.")
.SetLicense("Intel (firmware)") .SetLicense("Intel (firmware)")
.SetURL("http://www.intellinuxwireless.org/")); .SetURL("http://www.intellinuxwireless.org/"));
#endif #endif
@ -1600,9 +1595,8 @@ AboutView::_CreateCreditsView()
#ifdef __INTEL__ #ifdef __INTEL__
// Marvell 88w8363 // Marvell 88w8363
_AddPackageCredit(PackageCredit("Marvell 88w8363") _AddPackageCredit(PackageCredit("Marvell 88w8363")
.SetCopyright(COPYRIGHT_STRING .SetCopyright(B_TRANSLATE(COPYRIGHT_STRING "2007-2009 by "
"2007-2009 by " "Marvell Semiconductor, Inc. All rights reserved."))
"Marvell Semiconductor, Inc. All rights reserved.")
.SetLicense("Marvell (firmware)") .SetLicense("Marvell (firmware)")
.SetURL("http://www.marvell.com/")); .SetURL("http://www.marvell.com/"));
#endif #endif

View File

@ -1354,8 +1354,8 @@ ClipboardSizeDataSource::InternalName() const
const char* const char*
ClipboardSizeDataSource::Label() const ClipboardSizeDataSource::Label() const
{ {
return fText ? B_TRANSLATE("Text clipboard size") return fText ? B_TRANSLATE("Text clipboard")
: B_TRANSLATE("Raw clipboard size"); : B_TRANSLATE("Raw clipboard");
} }

View File

@ -78,17 +78,17 @@ SettingsWindow::SettingsWindow(BRect frame)
new BMessage(M_SETTINGS_CHANGED)); new BMessage(M_SETTINGS_CHANGED));
fCloseWindowMoviesCB = new BCheckBox("chkBoxCloseWindowMovies", fCloseWindowMoviesCB = new BCheckBox("chkBoxCloseWindowMovies",
B_TRANSLATE("Close window when done playing movies"), B_TRANSLATE("Close window after playing video"),
new BMessage(M_SETTINGS_CHANGED)); new BMessage(M_SETTINGS_CHANGED));
fCloseWindowSoundsCB = new BCheckBox("chkBoxCloseWindowSounds", fCloseWindowSoundsCB = new BCheckBox("chkBoxCloseWindowSounds",
B_TRANSLATE("Close window when done playing sounds"), B_TRANSLATE("Close window after playing audio"),
new BMessage(M_SETTINGS_CHANGED)); new BMessage(M_SETTINGS_CHANGED));
fLoopMoviesCB = new BCheckBox("chkBoxLoopMovie", fLoopMoviesCB = new BCheckBox("chkBoxLoopMovie",
B_TRANSLATE("Loop movies by default"), B_TRANSLATE("Loop video"),
new BMessage(M_SETTINGS_CHANGED)); new BMessage(M_SETTINGS_CHANGED));
fLoopSoundsCB = new BCheckBox("chkBoxLoopSounds", fLoopSoundsCB = new BCheckBox("chkBoxLoopSounds",
B_TRANSLATE("Loop sounds by default"), B_TRANSLATE("Loop audio"),
new BMessage(M_SETTINGS_CHANGED)); new BMessage(M_SETTINGS_CHANGED));
fUseOverlaysCB = new BCheckBox("chkBoxUseOverlays", fUseOverlaysCB = new BCheckBox("chkBoxUseOverlays",
@ -99,7 +99,7 @@ SettingsWindow::SettingsWindow(BRect frame)
new BMessage(M_SETTINGS_CHANGED)); new BMessage(M_SETTINGS_CHANGED));
fScaleFullscreenControlsCB = new BCheckBox("chkBoxScaleControls", fScaleFullscreenControlsCB = new BCheckBox("chkBoxScaleControls",
B_TRANSLATE("Scale controls in full-screen mode"), B_TRANSLATE("Scale controls in full screen mode"),
new BMessage(M_SETTINGS_CHANGED)); new BMessage(M_SETTINGS_CHANGED));
fSubtitleSizeOP = new BOptionPopUp("subtitleSize", fSubtitleSizeOP = new BOptionPopUp("subtitleSize",

View File

@ -171,14 +171,18 @@ ScreenshotWindow::ScreenshotWindow(const Utility& utility, bool silent,
BStringView* seconds = new BStringView("", B_TRANSLATE("seconds")); BStringView* seconds = new BStringView("", B_TRANSLATE("seconds"));
seconds->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET)); seconds->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
BMenuField* menuField2 = new BMenuField(B_TRANSLATE("Save in:"), BMenuField* menuLocation = new BMenuField(B_TRANSLATE("Save in:"),
fOutputPathMenu); fOutputPathMenu);
fTranslatorMenu = new BMenu(B_TRANSLATE("Please select")); fTranslatorMenu = new BMenu(B_TRANSLATE("Please select"));
_SetupTranslatorMenu(); _SetupTranslatorMenu();
BMenuField* menuField = new BMenuField(B_TRANSLATE("Save as:"), BMenuField* menuFormat = new BMenuField(B_TRANSLATE("Save as:"),
fTranslatorMenu); fTranslatorMenu);
BButton* showSettings = new BButton("", B_TRANSLATE("Settings"B_UTF8_ELLIPSIS),
new BMessage(kSettings));
showSettings->SetExplicitAlignment(BAlignment(B_ALIGN_RIGHT, B_ALIGN_BOTTOM));
BBox* divider = new BBox(B_FANCY_BORDER, NULL); BBox* divider = new BBox(B_FANCY_BORDER, NULL);
divider->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, 1)); divider->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, 1));
@ -188,16 +192,18 @@ ScreenshotWindow::ScreenshotWindow(const Utility& utility, bool silent,
fPreview = new PreviewView(); fPreview = new PreviewView();
BGridLayout* gridLayout = BGridLayoutBuilder(0.0, 5.0) BGridLayout* gridLayout = BGridLayoutBuilder(0.0, 5.0)
.Add(fNameControl->CreateLabelLayoutItem(), 0, 0) .Add(fDelayControl->CreateLabelLayoutItem(), 0, 0)
.Add(fNameControl->CreateTextViewLayoutItem(), 1, 0) .Add(fDelayControl->CreateTextViewLayoutItem(), 1, 0)
.Add(menuField->CreateLabelLayoutItem(), 0, 1) .Add(seconds, 2, 0)
.Add(menuField->CreateMenuBarLayoutItem(), 1, 1) .Add(fNameControl->CreateLabelLayoutItem(), 0, 1)
.Add(new BButton("", B_TRANSLATE("Settings"B_UTF8_ELLIPSIS), .Add(fNameControl->CreateTextViewLayoutItem(), 1, 1, 2, 1)
new BMessage(kSettings)), 2, 1) .Add(menuLocation->CreateLabelLayoutItem(), 0, 2)
.Add(menuField2->CreateLabelLayoutItem(), 0, 2) .Add(menuLocation->CreateMenuBarLayoutItem(), 1, 2, 2, 1)
.Add(menuField2->CreateMenuBarLayoutItem(), 1, 2); .Add(menuFormat->CreateLabelLayoutItem(), 0, 3)
.Add(menuFormat->CreateMenuBarLayoutItem(), 1, 3, 2, 1);
gridLayout->SetMinColumnWidth(1, gridLayout->SetMinColumnWidth(1,
menuField->StringWidth("SomethingLongHere")); menuFormat->StringWidth("SomethingLongHere"));
SetLayout(new BGroupLayout(B_HORIZONTAL, 0)); SetLayout(new BGroupLayout(B_HORIZONTAL, 0));
@ -208,13 +214,9 @@ ScreenshotWindow::ScreenshotWindow(const Utility& utility, bool silent,
.Add(fActiveWindow) .Add(fActiveWindow)
.Add(fWindowBorder) .Add(fWindowBorder)
.Add(fShowCursor) .Add(fShowCursor)
.AddGroup(B_HORIZONTAL, 5.0)
.Add(fDelayControl->CreateLabelLayoutItem())
.Add(fDelayControl->CreateTextViewLayoutItem())
.Add(seconds)
.End()
.AddStrut(10.0) .AddStrut(10.0)
.Add(gridLayout) .Add(gridLayout)
.Add(showSettings)
.AddGlue() .AddGlue()
.End()) .End())
.AddStrut(10) .AddStrut(10)

View File

@ -1083,10 +1083,6 @@ StyledEditWindow::_InitWindow(uint32 encoding)
menu->AddItem(menuItem = new BMenuItem(B_TRANSLATE("Paste"), menu->AddItem(menuItem = new BMenuItem(B_TRANSLATE("Paste"),
new BMessage(B_PASTE), 'V')); new BMessage(B_PASTE), 'V'));
menuItem->SetTarget(fTextView); menuItem->SetTarget(fTextView);
menu->AddItem(fClearItem = new BMenuItem(B_TRANSLATE("Clear"),
new BMessage(MENU_CLEAR)));
fClearItem->SetEnabled(false);
fClearItem->SetTarget(fTextView);
menu->AddSeparatorItem(); menu->AddSeparatorItem();
menu->AddItem(menuItem = new BMenuItem(B_TRANSLATE("Select all"), menu->AddItem(menuItem = new BMenuItem(B_TRANSLATE("Select all"),
@ -1104,7 +1100,7 @@ StyledEditWindow::_InitWindow(uint32 encoding)
new BMessage(MENU_FIND_SELECTION), 'H')); new BMessage(MENU_FIND_SELECTION), 'H'));
menu->AddItem(new BMenuItem(B_TRANSLATE("Replace" B_UTF8_ELLIPSIS), menu->AddItem(new BMenuItem(B_TRANSLATE("Replace" B_UTF8_ELLIPSIS),
new BMessage(MENU_REPLACE), 'R')); new BMessage(MENU_REPLACE), 'R'));
menu->AddItem(fReplaceSameItem = new BMenuItem(B_TRANSLATE("Replace same"), menu->AddItem(fReplaceSameItem = new BMenuItem(B_TRANSLATE("Replace next"),
new BMessage(MENU_REPLACE_SAME), 'T')); new BMessage(MENU_REPLACE_SAME), 'T'));
fReplaceSameItem->SetEnabled(false); fReplaceSameItem->SetEnabled(false);

View File

@ -557,7 +557,7 @@ WorkspacesView::MouseDown(BPoint where)
BMenuItem* item; BMenuItem* item;
menu->AddSeparatorItem(); menu->AddSeparatorItem();
menu->AddItem(item = new BMenuItem(B_TRANSLATE("Show window title"), menu->AddItem(item = new BMenuItem(B_TRANSLATE("Show window tab"),
new BMessage(kMsgToggleTitle))); new BMessage(kMsgToggleTitle)));
if (window->Look() == B_TITLED_WINDOW_LOOK) if (window->Look() == B_TITLED_WINDOW_LOOK)
item->SetMarked(true); item->SetMarked(true);

View File

@ -369,7 +369,7 @@ TouchpadPrefView::SetupView()
// Create the "Mouse Speed" slider... // Create the "Mouse Speed" slider...
fScrollAccelSlider = new BSlider("scroll_accel", fScrollAccelSlider = new BSlider("scroll_accel",
B_TRANSLATE("Scroll acceleration"), B_TRANSLATE("Acceleration"),
new BMessage(SCROLL_CONTROL_CHANGED), 0, 20, B_HORIZONTAL); new BMessage(SCROLL_CONTROL_CHANGED), 0, 20, B_HORIZONTAL);
fScrollAccelSlider->SetHashMarks(B_HASH_MARKS_BOTTOM); fScrollAccelSlider->SetHashMarks(B_HASH_MARKS_BOTTOM);
fScrollAccelSlider->SetHashMarkCount(7); fScrollAccelSlider->SetHashMarkCount(7);
@ -377,7 +377,7 @@ TouchpadPrefView::SetupView()
B_TRANSLATE("Fast")); B_TRANSLATE("Fast"));
fScrollStepXSlider = new BSlider("scroll_stepX", fScrollStepXSlider = new BSlider("scroll_stepX",
B_TRANSLATE("Horizontal scroll speed"), B_TRANSLATE("Horizontal"),
new BMessage(SCROLL_CONTROL_CHANGED), new BMessage(SCROLL_CONTROL_CHANGED),
0, 20, B_HORIZONTAL); 0, 20, B_HORIZONTAL);
fScrollStepXSlider->SetHashMarks(B_HASH_MARKS_BOTTOM); fScrollStepXSlider->SetHashMarks(B_HASH_MARKS_BOTTOM);
@ -386,7 +386,7 @@ TouchpadPrefView::SetupView()
B_TRANSLATE("Fast")); B_TRANSLATE("Fast"));
fScrollStepYSlider = new BSlider("scroll_stepY", fScrollStepYSlider = new BSlider("scroll_stepY",
B_TRANSLATE("Vertical scroll speed"), B_TRANSLATE("Vertical"),
new BMessage(SCROLL_CONTROL_CHANGED), 0, 20, B_HORIZONTAL); new BMessage(SCROLL_CONTROL_CHANGED), 0, 20, B_HORIZONTAL);
fScrollStepYSlider->SetHashMarks(B_HASH_MARKS_BOTTOM); fScrollStepYSlider->SetHashMarks(B_HASH_MARKS_BOTTOM);
fScrollStepYSlider->SetHashMarkCount(7); fScrollStepYSlider->SetHashMarkCount(7);
@ -423,13 +423,13 @@ TouchpadPrefView::SetupView()
scrollPrefLayout->AddView(scrollPrefRightLayout); scrollPrefLayout->AddView(scrollPrefRightLayout);
BBox* tapBox = new BBox("tapbox"); BBox* tapBox = new BBox("tapbox");
tapBox->SetLabel(B_TRANSLATE("Tap gesture")); tapBox->SetLabel(B_TRANSLATE("Tapping"));
BGroupLayout* tapPrefLayout = new BGroupLayout(B_HORIZONTAL); BGroupLayout* tapPrefLayout = new BGroupLayout(B_HORIZONTAL);
tapPrefLayout->SetInsets(10, tapBox->TopBorderOffset() * 2 + 10, 10, 10); tapPrefLayout->SetInsets(10, tapBox->TopBorderOffset() * 2 + 10, 10, 10);
tapBox->SetLayout(tapPrefLayout); tapBox->SetLayout(tapPrefLayout);
fTapSlider = new BSlider("tap_sens", B_TRANSLATE("Tap click sensitivity"), fTapSlider = new BSlider("tap_sens", B_TRANSLATE("Sensitivity"),
new BMessage(TAP_CONTROL_CHANGED), 0, 20, B_HORIZONTAL); new BMessage(TAP_CONTROL_CHANGED), 0, 20, B_HORIZONTAL);
fTapSlider->SetHashMarks(B_HASH_MARKS_BOTTOM); fTapSlider->SetHashMarks(B_HASH_MARKS_BOTTOM);
fTapSlider->SetHashMarkCount(7); fTapSlider->SetHashMarkCount(7);
@ -460,7 +460,6 @@ TouchpadPrefView::SetupView()
layout->AddView(scrollBox); layout->AddView(scrollBox);
layout->AddView(tapBox); layout->AddView(tapBox);
layout->AddView(buttonView); layout->AddView(buttonView);
} }

View File

@ -139,7 +139,7 @@ DownloadLanguageTarball()
if [ -e "$1" ]; then if [ -e "$1" ]; then
rm "$1" rm "$1"
fi fi
Echo "WARNING: Max download retries exceeded for language $1." echo "WARNING: Max download retries exceeded for language $1."
fi fi
cd "$subversionRootDirectory" cd "$subversionRootDirectory"