]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.C
next step...
[lyx.git] / src / lyx_cb.C
index c8b5566d2a8b57dace66d87d5ea0578e5b02e0ec..4d5787a354f6d20e26a0fd01f6e7cbd1db671668 100644 (file)
 #include "lyx_cb.h"
 #include "lyx_gui_misc.h"
 #include "lyx_main.h"
+#include "buffer.h"
 #include "bufferlist.h"
 #include "bufferview_funcs.h"
+#include "debug.h"
 #include "lastfiles.h"
 #include "LyXView.h"
 #include "lyxrc.h"
@@ -31,6 +33,7 @@
 #include "support/filetools.h"
 #include "support/path.h"
 #include "support/syscall.h"
+#include "support/lstrings.h"
 #include "gettext.h"
 #include "BufferView.h"
 
@@ -260,11 +263,11 @@ int MenuRunChktex(Buffer * buffer)
                        s = _("No warnings found.");
                } else if (ret == 1) {
                        s = _("One warning found.");
-                       t = _("Use 'Edit->Go to Error' to find it.");
+                       t = _("Use `Navigate->Error' to find it.");
                } else {
                        s += tostr(ret);
                        s += _(" warnings found.");
-                       t = _("Use 'Edit->Go to Error' to find them.");
+                       t = _("Use `Navigate->Error' to find them.");
                }
                WriteAlert(_("Chktex run successfully"), s, t);
        } else {
@@ -355,7 +358,7 @@ void AutoSave(BufferView * bv)
                                // It is dangerous to do this in the child,
                                // but safe in the parent, so...
                                if (pid == -1)
-                                       bv->owner()->message(_("Autosave Failed!"));
+                                       bv->owner()->message(_("Autosave failed!"));
                        }
                }
                if (pid == 0) { // we are the child so...
@@ -529,7 +532,7 @@ void MenuLayoutSave(BufferView * bv)
                return;
 
        if (AskQuestion(_("Do you want to save the current settings"),
-                       _("for Character, Document, Paper and Quotes"),
+                       _("for document layout"),
                        _("as default for new documents?")))
                bv->buffer()->saveParamsAsDefaults();
 }