diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-09-10 08:31:34 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-09-10 08:38:07 +0100 |
commit | a1a2531459faacb2df77430f8ba3882a089e2707 (patch) | |
tree | 9187a2fcb2d443ba70849f716191fe9cd3fa8e33 /editor/translations/extract.py | |
parent | 3f7b565fbc7fec5cdb2e64b2f1717bdbbe4a0e80 (diff) |
Remove duplicate or unnecessary Python definitions.
Diffstat (limited to 'editor/translations/extract.py')
-rwxr-xr-x | editor/translations/extract.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/translations/extract.py b/editor/translations/extract.py index 0dafd20eed..93124ec30c 100755 --- a/editor/translations/extract.py +++ b/editor/translations/extract.py @@ -70,7 +70,6 @@ def _write_message(msgctx, msg, msg_plural, location): def _add_additional_location(msgctx, msg, location): global main_po # Add additional location to previous occurrence. - msg_pos = -1 if msgctx != "": msg_pos = main_po.find('\nmsgctxt "' + msgctx + '"\nmsgid "' + msg + '"') else: @@ -86,7 +85,6 @@ def _write_translator_comment(msgctx, msg, translator_comment): return global main_po - msg_pos = -1 if msgctx != "": msg_pos = main_po.find('\nmsgctxt "' + msgctx + '"\nmsgid "' + msg + '"') else: |