blob: e47c88e4e331687955637e28ec23b244cb0c736e (
plain)
1
2
3
4
5
6
7
8
9
10
|
messages:
: > colors.cpp
list=`grep '^[0-9]' rgb.txt | tr ' ' ' ' | sed -e "s#^[0-9]* [0-9]* [0-9]* *##" | fgrep -v " " | fgrep -v gray | fgrep -v grey | LC_ALL=C sort -u` ;\
for i in $$list; do \
echo "i18n(\"color\", \"$$i\");" | sed -e "s#!# #g" >> colors.cpp ;\
done
$(XGETTEXT) colors.cpp -o $(podir)/tdelibs_colors.pot
-rm -f colors.cpp
|