[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    KDE/kdeedu/kstars/kstars
From:       Akarsh Simha <akarshsimha () gmail ! com>
Date:       2009-08-31 18:39:04
Message-ID: 1251743944.953829.4594.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1017861 by asimha:

Fixing extraction of city / region names. The extraction errors
pointed by Chusslove
(http://lists.kde.org/?l=kstars-devel&m=125144595902446&w=2) should
now be fixed.

The contexts in the actual i18nc call still need to be fixed.

CCMAIL: kstars-devel@kde.org, kde-i18n-doc@kde.org



 M  +3 -3      Messages.sh  


--- trunk/KDE/kdeedu/kstars/kstars/Messages.sh #1017860:1017861
@@ -21,17 +21,17 @@
 # extract cities
 awk 'BEGIN {FS=":"}; {print "\"" $2 ":" $3 ":" $1 "\""; }' < data/Cities.dat | \
    sed 's/ *:/:/g' | \
-   sed 's/ *\"$/\");/g' | sed 's/^\" */i18nc(\"City in /' | sed 's/:/ /' | sed 's/:/ \
(optional, probably does not need a translation)\",\"/' | sed 's/i18nc(.*,"");//' >> \
"cities.tmp" +   sed 's/ *\"$/\");/g' | sed 's/^\" */i18nc(\"City in /' | sed 's/ *: \
*/ /' | sed 's/ *: */\",\"/' | sed 's/i18nc(.*,"");//' >> "cities.tmp"  sort --unique \
cities.tmp >> kstars_i18n.cpp  
 # extract regions
 awk 'BEGIN {FS=":"}; {print "\"" $3 ":" $2 "\""; }' < data/Cities.dat | \
-   sed 's/ *\"$/\");/g' | sed 's/^\" */i18nc(\"Region\/state in /' | sed 's/ *:/ \
(optional, rarely needs a translation)\",\"/g' | sed 's/i18nc(.*,"");//' >> \
"regions.tmp"; +   sed 's/ *\"$/\");/g' | sed 's/^\" */i18nc(\"Region\/state in /' | \
sed 's/ *: */\",\"/g' | sed 's/i18nc(.*,"");//' >> "regions.tmp";  sort --unique \
regions.tmp >> kstars_i18n.cpp  
 # extract countries
 awk 'BEGIN {FS=":"}; {print "\"" $3 "\""; }' < data/Cities.dat | \
-   sed 's/ *\"$/\");/g' | sed 's/^\" */i18nc(\"Country name (optional, but should be \
translated)\",\"/g' | sed 's/i18nc(.*,"");//' >> "countries.tmp" +   sed 's/ \
*\"$/\");/g' | sed 's/^\" */i18nc(\"Country name\",\"/g' | sed 's/i18nc(.*,"");//' >> \
"countries.tmp"  sort --unique countries.tmp >> kstars_i18n.cpp
 
 # extract image/info menu items


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic