kde-workspace/plasma/generic/dataengines/weather/Messages.sh

11 lines
332 B
Bash
Raw Normal View History

2014-11-13 19:30:51 +02:00
#! /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