Kill leading blankspaces in new strings, its weird to encounter them in .po.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36531 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-11-27 03:04:53 +00:00
parent d4a902ef86
commit f5ad7f949e
2 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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(), ", ");
}