mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
GuiDocument.cpp: add linebreaks to error messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23384 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2296eb317e
commit
28fb5e3d81
@ -1245,9 +1245,9 @@ void GuiDocument::classChanged()
|
|||||||
// check if this is a local layout file
|
// check if this is a local layout file
|
||||||
if (prefixIs(classname, BaseClassList::localPrefix)) {
|
if (prefixIs(classname, BaseClassList::localPrefix)) {
|
||||||
int const ret = Alert::prompt(_("Local layout file"),
|
int const ret = Alert::prompt(_("Local layout file"),
|
||||||
_("The layout file you have selected is a local layout"
|
_("The layout file you have selected is a local layout\n"
|
||||||
"file, not one in the system or user directory. Your"
|
"file, not one in the system or user directory. Your\n"
|
||||||
"document may not work with this layout if you do not"
|
"document may not work with this layout if you do not\n"
|
||||||
"keep the layout file in the same directory."),
|
"keep the layout file in the same directory."),
|
||||||
1, 1, _("&Set Layout"), _("&Cancel"));
|
1, 1, _("&Set Layout"), _("&Cancel"));
|
||||||
if (ret == 1) {
|
if (ret == 1) {
|
||||||
@ -1263,7 +1263,7 @@ void GuiDocument::classChanged()
|
|||||||
if (lyxrc.auto_reset_options) {
|
if (lyxrc.auto_reset_options) {
|
||||||
if (applyPB->isEnabled()) {
|
if (applyPB->isEnabled()) {
|
||||||
int const ret = Alert::prompt(_("Unapplied changes"),
|
int const ret = Alert::prompt(_("Unapplied changes"),
|
||||||
_("Some changes in the dialog were not yet applied."
|
_("Some changes in the dialog were not yet applied.\n"
|
||||||
"If you do not apply now, they will be lost after this action."),
|
"If you do not apply now, they will be lost after this action."),
|
||||||
1, 1, _("&Apply"), _("&Dismiss"));
|
1, 1, _("&Apply"), _("&Dismiss"));
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user