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

« back to all changes in this revision

Viewing changes to plasma/generic/dataengines/weather/Messages.sh

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

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