From 8a9c44bc89b13e4ff9d831101697b93ce273a821 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 2 Mar 2013 14:26:31 +0100 Subject: [PATCH] check_trans.py: Use absolute path in order to print it correctly (otherwise it wouldn't print the plugin name). --- sandbox/check_trans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandbox/check_trans.py b/sandbox/check_trans.py index e66218bae..a00416a78 100755 --- a/sandbox/check_trans.py +++ b/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