mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
d4a902ef86
commit
f5ad7f949e
@ -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;
|
||||
|
@ -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(), ", ");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user