mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
check_trans.py: Use absolute path in order to print it correctly (otherwise it wouldn't print the plugin name).
This commit is contained in:
parent
2cfe1f9d78
commit
8a9c44bc89
@ -31,7 +31,7 @@ def checkPlugin(pluginPath):
|
|||||||
if not translation.endswith('.po'):
|
if not translation.endswith('.po'):
|
||||||
continue
|
continue
|
||||||
pot.seek(0)
|
pot.seek(0)
|
||||||
potPath = os.path.join(localePath, translation)
|
potPath = os.path.join(os.getcwd(), 'locales', translation)
|
||||||
po = open(potPath)
|
po = open(potPath)
|
||||||
if checkTranslation(pot, po):
|
if checkTranslation(pot, po):
|
||||||
print 'OK: ' + potPath
|
print 'OK: ' + potPath
|
||||||
|
Loading…
Reference in New Issue
Block a user