~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

1
2
3
4
5
6
7
8
9
10
#! /usr/bin/env bash
for file in ions/data/*.dat
do
  awk -F'|' '$0 ~ /\|/ {
                         print "// i18n: file: '`basename $file`':"NR;
                         printf("i18nc(\"%s\", \"%s\");\n", $1, $2)
                       }' $file >> rc.cpp
done

$XGETTEXT `find . -name \*.cpp` -o $podir/plasma_engine_weather.pot