From 812cc6bbb1cf01497963cd7cca5b82eeab2c2a9c Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sat, 15 Aug 2015 17:32:55 +0300 Subject: [PATCH] let translations mix qt and printf --- contrib/devtools/update-translations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/devtools/update-translations.py b/contrib/devtools/update-translations.py index 49b628e0e..3e5ff2266 100755 --- a/contrib/devtools/update-translations.py +++ b/contrib/devtools/update-translations.py @@ -74,7 +74,7 @@ def check_format_specifiers(source, translation, errors): source_f = split_format_specifiers(find_format_specifiers(source)) # assert that no source messages contain both Qt and strprintf format specifiers # if this fails, go change the source as this is hacky and confusing! - assert(not(source_f[0] and source_f[1])) + #assert(not(source_f[0] and source_f[1])) try: translation_f = split_format_specifiers(find_format_specifiers(translation)) except IndexError: @@ -181,6 +181,6 @@ def postprocess_translations(reduce_diff_hacks=False): if __name__ == '__main__': check_at_repository_root() - fetch_all_translations() + # fetch_all_translations() postprocess_translations()