diff options
Diffstat (limited to 'my-evolution/Location-translation-script')
-rwxr-xr-x | my-evolution/Location-translation-script | 8 |
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 |