aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/Location-translation-script
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-12-17 20:20:19 +0800
committerIain Holmes <iain@src.gnome.org>2001-12-17 20:20:19 +0800
commitbdb095ab696dc1f2bd4bd081f90ee52d7a4bb61a (patch)
tree989e66e17c72406a28ea9acbd724693a92626e22 /my-evolution/Location-translation-script
parent4effd42a76f5b9a0b73ccdf7ab66cbb36d38ac66 (diff)
downloadgsoc2013-evolution-bdb095ab696dc1f2bd4bd081f90ee52d7a4bb61a.tar
gsoc2013-evolution-bdb095ab696dc1f2bd4bd081f90ee52d7a4bb61a.tar.gz
gsoc2013-evolution-bdb095ab696dc1f2bd4bd081f90ee52d7a4bb61a.tar.bz2
gsoc2013-evolution-bdb095ab696dc1f2bd4bd081f90ee52d7a4bb61a.tar.lz
gsoc2013-evolution-bdb095ab696dc1f2bd4bd081f90ee52d7a4bb61a.tar.xz
gsoc2013-evolution-bdb095ab696dc1f2bd4bd081f90ee52d7a4bb61a.tar.zst
gsoc2013-evolution-bdb095ab696dc1f2bd4bd081f90ee52d7a4bb61a.zip
Merging patches from 1-0-branch
svn path=/trunk/; revision=15109
Diffstat (limited to 'my-evolution/Location-translation-script')
-rwxr-xr-xmy-evolution/Location-translation-script8
1 files changed, 8 insertions, 0 deletions
diff --git a/my-evolution/Location-translation-script b/my-evolution/Location-translation-script
new file mode 100755
index 0000000000..77c4ddba88
--- /dev/null
+++ b/my-evolution/Location-translation-script
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+grep name Locations | cut -b 6- > Locations.h
+grep loc Locations | sed "s/ .... ...... ...$//"| sed "s/ .... :...... ...$//" | cut -d = -f 2 | sed "s/\\\\//g" >> Locations.h
+
+sed -e "s/^/N_(\"/" -e "s/$/\")/" Locations.h > Locations.h.tmp
+sort Locations.h.tmp | uniq > Locations.h
+rm Locations.h.tmp