[haiku-bugs] [Haiku] #7907: [AboutSystem] Add hypertext functionality for LGPL license

  • From: "taos" <trac@xxxxxxxxxxxx>
  • Date: Wed, 10 Aug 2011 20:22:08 -0000

#7907: [AboutSystem] Add hypertext functionality for LGPL license
--------------------------------------+------------------------------
 Reporter:  taos                      |        Owner:  nobody
     Type:  enhancement               |       Status:  new
 Priority:  normal                    |    Milestone:  R1
Component:  Applications/AboutSystem  |      Version:  R1/Development
 Keywords:                            |   Blocked By:
 Blocking:                            |  Has a Patch:  1
 Platform:  All                       |
--------------------------------------+------------------------------
 Attached is a patch that would add to "LGPL license" the same hypertext
 functionality that has already been implemented for "MIT license" in the
 following string from AboutSystem.cpp:

 {{{
         // Haiku license
         BString haikuLicense = B_TRANSLATE_COMMENT("The code that is
 unique to "
                 "Haiku, especially the kernel and all code that
 applications may link "
                 "against, is distributed under the terms of the <MIT
 license>. "
                 "Some system libraries contain third party code
 distributed under the "
                 "<LGPL license>. You can find the copyrights to third
 party code below."
                 "\n\n", "<MIT license> and <LGPL license> aren't variables
 and can be "
                 "translated. However, please, don't remove < and > as
 they're needed "
                 "as placeholders for proper hypertext functionality.");
 }}}

 As there was some confusion regarding the translation of "[...] %MIT
 license% [..]" on HTA due to the fact that % is usually associated with
 variables that are not to be translated, this patch switches from %[...]%
 to <[...]> (with the additional benefit of enabling two different
 hypertext links) - but a change to {[...]}, for example, would of course
 also be possible.

 Unfortunately - in contrast to the MIT license ("MIT") - there is more
 than one LGPL license: "GNU LGPL v2", "GNU LGPL v2.1", "GNU LGPL v3". So,
 we would first have to decide which one is "the" LGPL license we want to
 link to (for testing purposes the patch links to v2.1 at the moment).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7907>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: