diff options
| author | 2025-02-17 07:39:33 +0100 | |
|---|---|---|
| committer | 2025-02-17 07:39:33 +0100 | |
| commit | 111de75affe7634434563592374f397a021af117 (patch) | |
| tree | 1ce335620d99341d94e88c159c0b9b0f6f0de5a0 /gen_web_gettext.py | |
| parent | d90f010c889dca8f7ea4af5a9f18a213b0cb2510 (diff) | |
Merging upstream version 2.1.1 (Closes: #1026291).
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'gen_web_gettext.py')
| -rwxr-xr-x | gen_web_gettext.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gen_web_gettext.py b/gen_web_gettext.py index fac5097..80186e9 100755 --- a/gen_web_gettext.py +++ b/gen_web_gettext.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # # Copyright (C) 2009-2012 Damien Churchill <damoxc@gmail.com> # @@ -10,8 +9,6 @@ """Script to parse javascript files for translation strings and generate gettext.js""" -from __future__ import print_function, unicode_literals - import os import re @@ -119,4 +116,4 @@ if __name__ == '__main__': print('Possible missed text for translation markup:') for text, filenames in missed_markup.iteritems(): for filename_lineno in filenames: - print('{0:<58} {1}'.format(':'.join(filename_lineno), text)) + print('{:<58} {}'.format(':'.join(filename_lineno), text)) |
