From 912429bb18b80de40e171754e56021a8730ed01b Mon Sep 17 00:00:00 2001 From: Joey de l'Arago Date: Mon, 16 Jan 2023 16:04:40 +0100 Subject: [PATCH] make print statement more informative CURA-9814 --- scripts/translations/createjsoncontext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/translations/createjsoncontext.py b/scripts/translations/createjsoncontext.py index a9f6019005..a4f02012d4 100644 --- a/scripts/translations/createjsoncontext.py +++ b/scripts/translations/createjsoncontext.py @@ -92,7 +92,7 @@ else: jsondatadict = json.load(data_file, object_pairs_hook=collections.OrderedDict) if "settings" not in jsondatadict: - print("No settings item found, nothing to translate") + print(f"Nothing to translate in file: {jsondatadict}") exit(1) processSettings(jsonfilename.replace(basedir, ""), jsondatadict["settings"])