mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00

now it uses colors as returned by QColor::colorNames(), shows the colors as icon and the color name too. colors in the combobox are sorted by name with the custom color being first. this may or may not change Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
20 lines
844 B
Bash
20 lines
844 B
Bash
#! /usr/bin/env bash
|
|
find . -type d | fgrep -v '.git' | sed -e 's,$,/,' > dirs
|
|
msh=`find . -name Messages.sh`
|
|
for dir in $msh; do
|
|
dir=`dirname $dir`
|
|
if test "$dir" != "."; then
|
|
egrep -v "^$dir" dirs > dirs.new && mv dirs.new dirs
|
|
fi
|
|
done
|
|
fgrep -v "/tests" dirs > dirs.new && mv dirs.new dirs
|
|
fgrep -v "/test/" dirs > dirs.new && mv dirs.new dirs
|
|
dirs=`cat dirs`
|
|
find $dirs -maxdepth 1 -name "*.cpp" -print > files
|
|
find $dirs -maxdepth 1 -name "*.cc" -print >> files
|
|
find $dirs -maxdepth 1 -name "*.h" -print >> files
|
|
# Add the kdecore/date files
|
|
find ./kdecore/date -name "*.cpp" -o -name "*.cc" -o -name "*.h" >> files
|
|
$EXTRACTRC `find $dirs -maxdepth 1 \( -name \*.rc -o -name \*.ui -o -name \*.kcfg \) ` >> rc.cpp || exit 11
|
|
$XGETTEXT -ktranslate:1,1t -ktranslate:1c,2,2t --files-from=files -o $podir/kdelibs4.pot
|
|
rm -f dirs files
|