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:
Valentin Lorentz 2013-03-02 14:26:31 +01:00
parent 2cfe1f9d78
commit 8a9c44bc89
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def checkPlugin(pluginPath):
if not translation.endswith('.po'):
continue
pot.seek(0)
potPath = os.path.join(localePath, translation)
potPath = os.path.join(os.getcwd(), 'locales', translation)
po = open(potPath)
if checkTranslation(pot, po):
print 'OK: ' + potPath