aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2013-10-08 20:29:41 +0300
committerYuri Chornoivan <yurchor@ukr.net>2013-10-08 20:29:41 +0300
commit66041fb03f04f509ddec030ad8576f1e93195f15 (patch)
tree0f2a8989cd5c2becbf4233044ba534eff733f89a
parent7a1589cacae6f7a429217fb945e8a327f19e8088 (diff)
downloadnet_monitor-66041fb03f04f509ddec030ad8576f1e93195f15.tar
net_monitor-66041fb03f04f509ddec030ad8576f1e93195f15.tar.gz
net_monitor-66041fb03f04f509ddec030ad8576f1e93195f15.tar.bz2
net_monitor-66041fb03f04f509ddec030ad8576f1e93195f15.tar.xz
net_monitor-66041fb03f04f509ddec030ad8576f1e93195f15.zip
Add message extraction/merging script
-rwxr-xr-xpo/Messages.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/po/Messages.sh b/po/Messages.sh
new file mode 100755
index 0000000..26b4171
--- /dev/null
+++ b/po/Messages.sh
@@ -0,0 +1,8 @@
+#! /bin/sh
+xgettext --copyright-holder='Eugeni Dodonov <eugeni@mandriva.com>' --package-name=net_monitor --from-code=UTF-8 \
+-L Python --msgid-bugs-address=http://bugs.mageia.org ../src/monitor.py ../src/net_monitor -o net_monitor.pot
+
+for i in *.po
+do
+ msgmerge -U $i net_monitor.pot
+done \ No newline at end of file