mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 21:22:39 +01:00
Prevent last string of a file from being untranslated if .po does not end with a blank like.
This commit is contained in:
parent
9a345cff40
commit
6ccfe95751
@ -205,6 +205,10 @@ class _PluginInternationalization:
|
||||
if translated == '':
|
||||
translated = untranslated
|
||||
self._addToDatabase(untranslated, translated)
|
||||
if step is IN_MSGSTR:
|
||||
if translated == '':
|
||||
translated = untranslated
|
||||
self._addToDatabase(untranslated, translated)
|
||||
|
||||
def _addToDatabase(self, untranslated, translated):
|
||||
untranslated = self._unescape(untranslated, True)
|
||||
|
Loading…
Reference in New Issue
Block a user