Fill in link to PHP doc
This commit is contained in:
@@ -12,11 +12,18 @@ for origentry in po.fuzzy_entries():
|
||||
origentry.msgstr = updateentry.msgstr
|
||||
origentry.flags.remove('fuzzy')
|
||||
break
|
||||
if origentry.msgctxt == updateentry.msgctxt and origentry.msgid == updateentry.msgid:
|
||||
origentry.msgstr = updateentry.msgstr
|
||||
origentry.flags.remove('fuzzy')
|
||||
break
|
||||
for origentry in po.untranslated_entries():
|
||||
for updateentry in poupdate.translated_entries():
|
||||
if origentry.msgctxt is None and origentry.msgid == updateentry.msgid:
|
||||
origentry.msgstr = updateentry.msgstr
|
||||
break
|
||||
if origentry.msgctxt == updateentry.msgctxt and origentry.msgid == updateentry.msgid:
|
||||
origentry.msgstr = updateentry.msgstr
|
||||
break
|
||||
|
||||
po.save()
|
||||
|
||||
|
Reference in New Issue
Block a user