* src/MenuBackend.C

(expandFormats): Document hack

	* lib/configure.py
	(checkFormatEntries): s/Plain text (paragraphs)/Plain Text, Join Lines/
	since this is the term we use elsewhere and it shows up in the file
	filter.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17039 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2007-02-04 15:16:44 +00:00
parent 5838d7915b
commit bbc3a0f0c4
2 changed files with 3 additions and 1 deletions

View File

@ -271,7 +271,7 @@ def checkFormatEntries(dtl_tools):
\Format text2 txt "Plain text (pstotext)" "" "" "%%" "document"
\Format text3 txt "Plain text (ps2ascii)" "" "" "%%" "document"
\Format text4 txt "Plain text (catdvi)" "" "" "%%" "document"
\Format textparagraph txt "Plain text (paragraphs)" "" "" "%%" "document"''' ])
\Format textparagraph txt "Plain Text, Join Lines" "" "" "%%" "document"''' ])
#
#checkProg('a Postscript interpreter', ['gs'],
# rc_entry = [ r'\ps_command "%%"' ])

View File

@ -536,6 +536,8 @@ void expandFormats(MenuItem::Kind kind, Menu & tomenu, Buffer const * buf)
switch (kind) {
case MenuItem::ImportFormats:
// FIXME: This is a hack, we should rather solve
// FIXME: bug 2488 instead.
if ((*fit)->name() == "text")
label = _("Plain Text");
else if ((*fit)->name() == "textparagraph")