[rkward-cvs] [rkward] scripts: Fix message install location (for external plugins)

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Fri Dec 5 13:45:54 UTC 2014


Git commit 538bf93e2151ed5285148e0a026a28c8aaff8c17 by Thomas Friedrichsmeier.
Committed on 05/12/2014 at 13:24.
Pushed by tfry into branch 'master'.

Fix message install location (for external plugins)

M  +1    -1    scripts/update_plugin_messages.py

http://commits.kde.org/rkward/538bf93e2151ed5285148e0a026a28c8aaff8c17

diff --git a/scripts/update_plugin_messages.py b/scripts/update_plugin_messages.py
index 93d21a6..90b8f63 100755
--- a/scripts/update_plugin_messages.py
+++ b/scripts/update_plugin_messages.py
@@ -509,7 +509,7 @@ for po_id in initialized_pot_files:
       else:
         os.remove (abstrans)
         os.rename (abstrans + ".new", abstrans)
-      m_outdir = os.path.join (po_file_install_locations[po_id], lang, "MESSAGES")
+      m_outdir = os.path.join (po_file_install_locations[po_id], lang, "LC_MESSAGES")
       if (not os.path.exists (m_outdir)):
         os.makedirs (m_outdir, 0755)
       res = subprocess.call (MSGFMT.split () + [abstrans, "-o", os.path.join (m_outdir, templatename + ".mo")])





More information about the rkward-tracker mailing list