You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Remove duplicate or unnecessary Python definitions.
This commit is contained in:
@@ -70,7 +70,6 @@ def _write_message(msgctx, msg, msg_plural, location):
|
|||||||
def _add_additional_location(msgctx, msg, location):
|
def _add_additional_location(msgctx, msg, location):
|
||||||
global main_po
|
global main_po
|
||||||
# Add additional location to previous occurrence.
|
# Add additional location to previous occurrence.
|
||||||
msg_pos = -1
|
|
||||||
if msgctx != "":
|
if msgctx != "":
|
||||||
msg_pos = main_po.find('\nmsgctxt "' + msgctx + '"\nmsgid "' + msg + '"')
|
msg_pos = main_po.find('\nmsgctxt "' + msgctx + '"\nmsgid "' + msg + '"')
|
||||||
else:
|
else:
|
||||||
@@ -86,7 +85,6 @@ def _write_translator_comment(msgctx, msg, translator_comment):
|
|||||||
return
|
return
|
||||||
|
|
||||||
global main_po
|
global main_po
|
||||||
msg_pos = -1
|
|
||||||
if msgctx != "":
|
if msgctx != "":
|
||||||
msg_pos = main_po.find('\nmsgctxt "' + msgctx + '"\nmsgid "' + msg + '"')
|
msg_pos = main_po.find('\nmsgctxt "' + msgctx + '"\nmsgid "' + msg + '"')
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -211,11 +211,6 @@ def build_raw_header(filename):
|
|||||||
fd.close()
|
fd.close()
|
||||||
|
|
||||||
|
|
||||||
def build_rd_headers(target, source, env):
|
|
||||||
for x in source:
|
|
||||||
build_rd_header(str(x))
|
|
||||||
|
|
||||||
|
|
||||||
def build_raw_headers(target, source, env):
|
def build_raw_headers(target, source, env):
|
||||||
for x in source:
|
for x in source:
|
||||||
build_raw_header(str(x))
|
build_raw_header(str(x))
|
||||||
|
|||||||
Reference in New Issue
Block a user