mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-25 03:12:51 +00:00
11 lines
332 B
Bash
11 lines
332 B
Bash
![]() |
#! /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
|