From 1d2c019162b1629ddbb65b365e78f1813d41151a Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Mon, 4 Sep 2017 11:23:37 -0400 Subject: [PATCH] Added a new string to disambiguate between config files and other file types. --- include/tidyenum.h | 1 + src/language_en.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/tidyenum.h b/include/tidyenum.h index 9b752cc..e293b76 100644 --- a/include/tidyenum.h +++ b/include/tidyenum.h @@ -101,6 +101,7 @@ extern "C" { */ #define FOREACH_MSG_MISC(FN) \ /** File can't be opened */ FN(FILE_CANT_OPEN) \ +/** File can't be opened */ FN(FILE_CANT_OPEN_CFG) \ /** Not a file */ FN(FILE_NOT_FILE) \ /** line %d column %d */ FN(LINE_COLUMN_STRING) \ /** Document content looks like %s */ FN(STRING_CONTENT_LOOKS) \ diff --git a/src/language_en.h b/src/language_en.h index 8aa4c3f..f3ab618 100644 --- a/src/language_en.h +++ b/src/language_en.h @@ -1588,6 +1588,7 @@ static languageDefinition language_en = { whichPluralForm_en, { ** @rename enum generator FOREACH_MSG_MISC ********************************************/ { FILE_CANT_OPEN, 0, "Can't open \"%s\"\n" }, + { FILE_CANT_OPEN_CFG, 0, "Can't open configuration file \"%s\"\n" }, { FILE_NOT_FILE, 0, "\"%s\" is not a file!\n" }, { LINE_COLUMN_STRING, 0, "line %d column %d - " }, { STRING_CONTENT_LOOKS, 0, "Document content looks like %s" },