Re: [elinks-dev] option description wrapping

2009-03-12 Thread Kalle Olavi Niemitalo
Kalle Olavi Niemitalo k...@iki.fi writes:

 However, these patches alter the description strings of many
 options, and the translations will have to be updated.  I
 don't know if it's right to push such changes to 0.12pre2.GIT.

Well, I pushed them there anyway: only da.po and pl.po had been
updated since 0.12pre1, so it's not like a lot of work was wasted.
It seems important to keep translations similar in elinks-0.12
and master to minimize merge conflicts that are difficult to
resolve correctly when one doesn't understand the language.

This reminds me, I read that some project removed source line
references (#: comments) from PO files in its version control
system, perhaps to avoid uninteresting merge conflicts.  Should
we do the same?  The source line references could be added in
labelled commits such as elinks-0.13.2, and again removed
immediately afterwards.


pgpX0DJ29GCSv.pgp
Description: PGP signature
___
elinks-dev mailing list
elinks-dev@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-dev


[elinks-dev] option description wrapping

2009-03-08 Thread Kalle Olavi Niemitalo
ELinks displays the description of some options in a rather ugly
way on 80x24 terminals:

   +- Info -+
   ||
   |  Name: paranoid_security   |
   |  Type: Boolean [0|1]   |
   |  Value: 0  |
   ||
   |  Description:  |
   |  When enabled, we'll require three dots in cookies domain for  |
   |  all   |
   |  non-international domains (instead of just two dots). Some|
   |  countries |
   |  have generic second level domains (eg. .com.pl, .co.uk) and   |
   |  allowing  |
   |  sites to set cookies for these generic domains could  |
   |  potentially be|
   |  very bad. Note, it is off by default as it breaks a lot of|
   |  sites.|
   ||
   |[ OK ]  |
   ++

Half of the lines are short and half are long.
I have made some patches that correct the output to:

   +- Info -+
   ||
   |  Name: paranoid_security   |
   |  Type: Boolean [0|1]   |
   |  Value: 0  |
   ||
   |  Description:  |
   |  When enabled, we'll require three dots in cookies domain for  |
   |  all non-international domains (instead of just two dots). |
   |  Some countries have generic second level domains (eg. |
   |  .com.pl, .co.uk) and allowing sites to set cookies for these  |
   |  generic domains could potentially be very bad. Note, it is|
   |  off by default as it breaks a lot of sites.   |
   ||
   |[ OK ]  |
   ++

However, these patches alter the description strings of many
options, and the translations will have to be updated.  I
don't know if it's right to push such changes to 0.12pre2.GIT.
Would it be better to push the changes to 0.13.GIT only?
Or wait for the 0.12.0 release and then push to 0.13.GIT?

These patches are now at http://repo.or.cz/w/elinks/kon.git
branches 0.12/option-doc-wrap and 0.13/option-doc-wrap.


pgpZQqhDEwyVI.pgp
Description: PGP signature
___
elinks-dev mailing list
elinks-dev@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-dev