I18n messages extraction: do not report multi-lines messages anymore.
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 1 Aug 2019 10:52:10 +0000 (12:52 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 1 Aug 2019 10:52:52 +0000 (12:52 +0200)
Those are now supported for tooltips.

release/scripts/modules/bl_i18n_utils/bl_extract_messages.py

index 0efb24003e7abc65f28d8722fea2f8eec155c661..fdd36589d4d27143acefb77b1ef8abe908f9dbd7 100644 (file)
@@ -174,8 +174,9 @@ def print_info(reports, pot):
                 _print("\tThe following operators are undocumented!")
             else:
                 _print("\t“{}”|“{}”:".format(*key))
-                if multi_lines and key in multi_lines:
-                    _print("\t\t-> newline in this message!")
+                # We support multi-lines tooltips now...
+                # ~ if multi_lines and key in multi_lines:
+                    # ~ _print("\t\t-> newline in this message!")
                 if not_capitalized and key in not_capitalized:
                     _print("\t\t-> message not capitalized!")
                 if end_point and key in end_point: