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

List:       kde-bugs-dist
Subject:    [Bug 87490] Translated named colors break the color selection
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2005-01-17 10:45:08
Message-ID: 20050117104508.29839.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=87490         




------- Additional Comments From nicolasg snafu de  2005-01-17 11:45 -------
CVS commit by goutte: 

Use the x.org's rgb.txt as base for the translations
CCBUG:87490


  M +5 -6      Makefile.am   1.4
  M +1 -3      README   1.2
  R            colors.cpp   1.1


--- kdelibs/kdeui/colors/Makefile.am  #1.3:1.4
 @ -1,11 +1,10  @
-colors:
-        : > $(srcdir)/colors.cpp
+
+messages:
+        : > colors.cpp
         list=`grep '^[0-9]' /usr/X11R6/lib/X11/rgb.txt  | tr '  ' ' ' | sed -e \
"s#^[0-9]* [0-9]* [0-9]* *##" | grep -v " " | grep -v gray | grep -v grey | LC_ALL=C \
sort -u` ;\  for i in $$list; do \
-                echo "i18n(\"color\", \"$$i\");" | sed -e "s#!# #g" >> \
$(srcdir)/colors.cpp ;\ +                echo "i18n(\"color\", \"$$i\");" | sed -e \
"s#!# #g" >> colors.cpp ;\  done
-
-messages:
         $(XGETTEXT) colors.cpp -o $(podir)/kdelibs_colors.pot
+        -rm -f colors.cpp
 
-.PHONY: colors

--- kdelibs/kdeui/colors/README  #1.1:1.2
 @ -1,4 +1,2  @
-I put colors.cpp here, so that I can have a Makefile.am and ergo
-an own pot file for that subdir. But it's not supposed to be compiled
-at all
+The rgb.txt comes from x.org (xc/programs/rgb/rgb.txt)


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

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