remove bogus spaces

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5896 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-12-27 11:08:10 +00:00
parent 40a7922998
commit 737c9af407
8 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text.C (insertChar):
* lyxrc.C (getDescription): remove extra spaces
2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxrc.C (getDescription): remove extra spaces * lyxrc.C (getDescription): remove extra spaces

View File

@ -1,3 +1,8 @@
2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ui/QMathDialog.ui:
* QPrefsDialog.C (select_workingdir): fix typo
2002-12-21 Dekel Tsur <dekelts@tau.ac.il> 2002-12-21 Dekel Tsur <dekelts@tau.ac.il>
* qfont_loader.C (isAvailable): Call to addFontPath(). * qfont_loader.C (isAvailable): Call to addFontPath().

View File

@ -569,7 +569,7 @@ void QPrefsDialog::select_backupdir()
void QPrefsDialog::select_workingdir() void QPrefsDialog::select_workingdir()
{ {
string file(form_->controller().browse(fromqstr(pathsModule->workingDirED->text()), _("Selection a documents directory"))); string file(form_->controller().browse(fromqstr(pathsModule->workingDirED->text()), _("Select a document directory")));
if (!file.empty()) if (!file.empty())
pathsModule->workingDirED->setText(toqstr(file)); pathsModule->workingDirED->setText(toqstr(file));
} }

View File

@ -407,7 +407,7 @@
</property> </property>
<property> <property>
<name>toolTip</name> <name>toolTip</name>
<string>Selection a function or operator to insert</string> <string>Select a function or operator to insert</string>
</property> </property>
</widget> </widget>
</vbox> </vbox>

View File

@ -1,5 +1,7 @@
2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* input_validators.C (fl_print_range_filter): remove extra space
* Menubar_pimpl.C (create_submenu): do not query the status of a * Menubar_pimpl.C (create_submenu): do not query the status of a
submenu either. submenu either.

View File

@ -123,8 +123,8 @@ void fl_print_range_filter(FL_OBJECT * ob,
pages = split (pages, piece, ',') ; pages = split (pages, piece, ',') ;
piece = trim(piece); piece = trim(piece);
if (!stringOnlyContains (piece, "0123456789-")) { if (!stringOnlyContains (piece, "0123456789-")) {
Alert::alert(_("ERROR! Unable to print!"), Alert::alert(_("ERROR! Unable to print!"),
_("Check 'range of pages'!")); _("Check `range of pages'!"));
return; return;
} }
if (piece.find('-') == string::npos) { // not found if (piece.find('-') == string::npos) { // not found

View File

@ -1947,11 +1947,11 @@ string const LyXRC::getDescription(LyXRCTags tag)
break; break;
case RC_DOCUMENTPATH: case RC_DOCUMENTPATH:
str = _("The default path for your documents. An empty value selects the directory LyX was started from."); str = _("The default path for your documents. An empty value selects the directory LyX was started from.");
break; break;
case RC_TEMPLATEPATH: case RC_TEMPLATEPATH:
str = _("The path that LyX will set when offering to choose a template. An empty value selects the directory LyX was started from."); str = _("The path that LyX will set when offering to choose a template. An empty value selects the directory LyX was started from.");
break; break;
case RC_TEMPDIRPATH: case RC_TEMPDIRPATH:

View File

@ -1921,9 +1921,9 @@ void LyXText::insertChar(BufferView * bview, char c)
static bool sent_space_message = false; static bool sent_space_message = false;
if (!sent_space_message) { if (!sent_space_message) {
if (cursor.pos() == 0) if (cursor.pos() == 0)
bview->owner()->message(_("You cannot insert a space at the beginning of a paragraph. Please read the Tutorial.")); bview->owner()->message(_("You cannot insert a space at the beginning of a paragraph. Please read the Tutorial."));
else else
bview->owner()->message(_("You cannot type two spaces this way. Please read the Tutorial.")); bview->owner()->message(_("You cannot type two spaces this way. Please read the Tutorial."));
sent_space_message = true; sent_space_message = true;
} }
charInserted(); charInserted();