let translations mix qt and printf
This commit is contained in:
parent
121124dc1e
commit
812cc6bbb1
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user