[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bcalligra=5D_flow=3A_removed_deprecated_scripts?=
From: Yue Liu <opuspace () gmail ! com>
Date: 2011-02-12 14:44:40
Message-ID: 20110212144440.2E01DA609B () git ! kde ! org
[Download RAW message or body]
Git commit 426367a2e44723a006823edcb1acfd5afbdf1792 by Yue Liu.
Committed on 12/02/2011 at 15:42.
Pushed by liu into branch 'master'.
removed deprecated scripts
M +0 -2 flow/Messages.sh
D +0 -37 flow/flow-extract-i18n-desc.pl
http://commits.kde.org/calligra/426367a2e44723a006823edcb1acfd5afbdf1792
diff --git a/flow/Messages.sh b/flow/Messages.sh
index a571694..0c6207d 100755
--- a/flow/Messages.sh
+++ b/flow/Messages.sh
@@ -1,6 +1,4 @@
#! /bin/sh
$EXTRACTRC `find . -name \*.ui -o -name \*.rc` >> rc.cpp || exit 11
-perl -n flow-extract-i18n-desc.pl `find . -name desc -o -name \*.sml` >> rc.cpp
-$EXTRACTRC --tag-group=none --tag=name --context=Stencils `find . -name \*.shape` >> rc.cpp
$XGETTEXT `find . -name \*.cpp -not -name \*.moc.\*` src/part/FlowAboutData.h -o $podir/flow.pot
diff --git a/flow/flow-extract-i18n-desc.pl b/flow/flow-extract-i18n-desc.pl
deleted file mode 100644
index 2e32f24..0000000
--- a/flow/flow-extract-i18n-desc.pl
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-
-#
-# Copyright (C) 2004,2006 Nicolas GOUTTE <goutte@kde.org>
-# License: LGPL 2.0
-#
-
-
-sub writei18n
-{
- local $_ = @_[1];
- if ( $_ )
- {
- s/</</g;
- s/>/>/g;
- s/'/\'/g;
- s/"/\"/g;
- s/&/&/g;
- s/\"/\\\"/g;
- print "i18nc( \"". @_[0] . "\", \"" . $_ . "\" );";
- if ( @_[2] )
- {
- print " // " . @_[2];
- }
- print "\n";
- }
-}
-
-if ( m/<Title +data=\"(.+)\"/ )
-{
- writei18n( "Stencils", $1 , "Title" );
-}
-
-if ( m/<Description +data=\"(.+)\"/ )
-{
- writei18n( "Stencils", $1 , "Description" );
-}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic