* output_plaintext.C: cosmetics in comment: line length cannot be < 0

* frontends/qt4/ui/QPrefPlaintextUi.ui:
	* lyxrc.C: align descriptions (saves a message in *.po)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16777 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2007-01-20 14:51:40 +00:00
parent e586357ce5
commit 3092763e2e
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@
<item>
<widget class="QSpinBox" name="plaintextLinelengthSB" >
<property name="toolTip" >
<string>Max. line length of exported plain text/LaTeX/SGML files. If set to 0, paragraphs are output in a single line; if the line length is > 0, paragraphs are separated by a blank line.</string>
<string>The maximum line length of exported plain text/LaTeX/SGML files. If set to 0, paragraphs are output in a single line; if the line length is > 0, paragraphs are separated by a blank line.</string>
</property>
<property name="maximum" >
<number>120</number>

View File

@ -2178,7 +2178,7 @@ string const LyXRC::getDescription(LyXRCTags tag)
break;
case RC_PLAINTEXT_LINELEN:
str = _("This is the maximum line length of an exported text file (LaTeX, SGML or plain text). If set to 0, paragraphs are output in a single line; if the line length is != 0, paragraphs are separated by a blank line.");
str = _("The maximum line length of exported plain text/LaTeX/SGML files. If set to 0, paragraphs are output in a single line; if the line length is > 0, paragraphs are separated by a blank line.");
break;
case RC_AUTOREGIONDELETE:

View File

@ -127,7 +127,7 @@ void writePlaintextParagraph(Buffer const & buf,
/* what about the alignment */
// runparams.linelen <= 0 is special and means we don't have paragraph breaks
// runparams.linelen == 0 is special and means we don't have paragraph breaks
string::size_type currlinelen = 0;