From 275cd063e15c371c51d19d4f9655ab7240525975 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 3 May 2020 08:59:44 +1000 Subject: [PATCH] PEP fixes --- InvenTree/script/translate.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/InvenTree/script/translate.py b/InvenTree/script/translate.py index f92567dabd..407acb93c8 100644 --- a/InvenTree/script/translate.py +++ b/InvenTree/script/translate.py @@ -70,6 +70,10 @@ def manually_translate_file(filename, save=False): with open(filename, 'w') as output_file: output_file.writelines(out) + print("Translation done: written to", filename) + print("Run 'make translate' to rebuild translation data") + + if __name__ == '__main__': MY_DIR = os.path.dirname(os.path.realpath(__file__)) @@ -105,4 +109,3 @@ if __name__ == '__main__': # Ok, now we run the user through the translation file manually_translate_file(PO_FILE, save=args.fake is not True) - \ No newline at end of file