Commit 869c9b582daee8714d0820a726275344ed683a2c

Ran Benita 2013-08-13T09:57:07

xkbcomp: improve a few log messages Signed-off-by: Ran Benita <ran234@gmail.com>

diff --git a/src/xkbcomp/compat.c b/src/xkbcomp/compat.c
index 550819b..e58f61c 100644
--- a/src/xkbcomp/compat.c
+++ b/src/xkbcomp/compat.c
@@ -941,7 +941,7 @@ HandleCompatMapFile(CompatInfo *info, XkbFile *file, enum merge_mode merge)
             break;
         default:
             log_err(info->keymap->ctx,
-                    "Interpretation files may not include other types; "
+                    "Compat files may not include other types; "
                     "Ignoring %s\n", stmt_type_to_string(stmt->type));
             ok = false;
             break;
diff --git a/src/xkbcomp/include.c b/src/xkbcomp/include.c
index 280bbbd..dc3f1e4 100644
--- a/src/xkbcomp/include.c
+++ b/src/xkbcomp/include.c
@@ -295,7 +295,7 @@ ProcessIncludeFile(struct xkb_context *ctx, IncludeStmt *stmt,
 
     if (xkb_file->file_type != file_type) {
         log_err(ctx,
-                "Include file wrong type (expected %s, got %s); "
+                "Include file of wrong type (expected %s, got %s); "
                 "Include file \"%s\" ignored\n",
                 xkb_file_type_to_string(file_type),
                 xkb_file_type_to_string(xkb_file->file_type), stmt->file);
diff --git a/src/xkbcomp/symbols.c b/src/xkbcomp/symbols.c
index 6033264..63fea1a 100644
--- a/src/xkbcomp/symbols.c
+++ b/src/xkbcomp/symbols.c
@@ -1248,7 +1248,7 @@ HandleSymbolsFile(SymbolsInfo *info, XkbFile *file, enum merge_mode merge)
             break;
         default:
             log_err(info->keymap->ctx,
-                    "Interpretation files may not include other types; "
+                    "Symbols files may not include other types; "
                     "Ignoring %s\n", stmt_type_to_string(stmt->type));
             ok = false;
             break;