diff --git a/src/Buffer.cpp b/src/Buffer.cpp index ea0443de39..8b0248398a 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -1127,10 +1127,10 @@ docstring Buffer::emergencyWrite() LYXERR0(" " << s); if (writeFile(FileName(s))) { markClean(); - user_message += bformat(_(" Saved to %1$s. Phew.\n"), from_utf8(s)); + user_message += " " + bformat(_("Saved to %1$s. Phew.\n"), from_utf8(s)); return user_message; } else { - user_message += _(" Save failed! Trying again...\n"); + user_message += " " + _("Save failed! Trying again...\n"); } } @@ -1140,11 +1140,11 @@ docstring Buffer::emergencyWrite() lyxerr << ' ' << s << endl; if (writeFile(FileName(s))) { markClean(); - user_message += bformat(_(" Saved to %1$s. Phew.\n"), from_utf8(s)); + user_message += " " + bformat(_("Saved to %1$s. Phew.\n"), from_utf8(s)); return user_message; } - user_message += _(" Save failed! Trying yet again...\n"); + user_message += " " + _("Save failed! Trying yet again...\n"); // 3) In "/tmp" directory. // MakeAbsPath to prepend the current @@ -1154,11 +1154,11 @@ docstring Buffer::emergencyWrite() lyxerr << ' ' << s << endl; if (writeFile(FileName(s))) { markClean(); - user_message += bformat(_(" Saved to %1$s. Phew.\n"), from_utf8(s)); + user_message += " " + bformat(_("Saved to %1$s. Phew.\n"), from_utf8(s)); return user_message; } - user_message += _(" Save failed! Bummer. Document is lost."); + user_message += " " + _("Save failed! Bummer. Document is lost."); // Don't try again. markClean(); return user_message; diff --git a/src/Font.cpp b/src/Font.cpp index c24ddc6c4e..402db84308 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -189,7 +189,7 @@ docstring const Font::stateText(BufferParams * params) const os << bformat(_("Language: %1$s, "), _(language()->display())); if (bits_.number() != FONT_OFF) - os << bformat(_(" Number %1$s"), + os << " " << bformat(_("Number %1$s"), _(GUIMiscNames[bits_.number()])); return rtrim(os.str(), ", "); }