Permalink
Browse files

check_trans.py: Use absolute path in order to print it correctly (oth…

…erwise it wouldn't print the plugin name).
  • Loading branch information...
1 parent 2cfe1f9 commit 8a9c44bc89b13e4ff9d831101697b93ce273a821 @ProgVal committed Mar 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 sandbox/check_trans.py
@@ -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

0 comments on commit 8a9c44b

Please sign in to comment.