diff --git a/src/string.cpp b/src/string.cpp index 2da53ee6..1241340f 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -351,7 +351,7 @@ static void loadTranslations() { json_error_t error; json_t* rootJ = json_loadf(file, 0, &error); if (!rootJ) { - WARN("Translation file has invalid JSON at %d:%d %s", error.line, error.column, error.text); + WARN("Translation file %s has invalid JSON at %d:%d %s", path.c_str(), error.line, error.column, error.text); continue; } DEFER({json_decref(rootJ);});