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

List:       kde-commits
Subject:    branches/KDE/4.1/kdeedu/marble
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2008-07-25 20:51:01
Message-ID: 1217019061.437381.28944.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 837841 by ilic:

Exclude CDATA markers when extracting from XML data files. (bport: 837838)

 M  +1 -0      Messages.sh  


--- branches/KDE/4.1/kdeedu/marble/Messages.sh #837840:837841
@@ -4,6 +4,7 @@
   for field in name description heading text ; do
     grep -inH "<$field>.*<\/$field>" $fname \
     | sed 's/\"/\\\"/g' \
+    | sed 's/<!\[CDATA\[\(.*\)\]\]>/\1/' \
     | sed "s/\\([^:]*\\):\\([^:]*\\):.*<$field>\(.*\)<\/$field>.*/\
            \/\/i18n: file \1 line \2\n\
            i18n(\"\3\");\
[prev in list] [next in list] [prev in thread] [next in thread] 

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