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

List:       kde-devel
Subject:    Small patch for admin/cvs.sh (and other i18n issues)
From:       Erik Sigra <sigra () home ! se>
Date:       2003-04-26 9:02:33
[Download RAW message or body]

This small patch fixes a problem for package-messages. The problem was that 
the user got

	xgettext: error while opening "/include/kde.pot" for reading: No such file or
	directory

when running "make -f admin/Makefile.common package-messages" if he had KDE 
installed in a standard place (for example configured without --prefix) and 
thus didn't define KDEDIR.

Then I also need to know how to use latin1 characters, for example the 
multiplication sign (×). I have tried "Ã\227" in the string. Then the 
multiplication sign is shown in the user interface, but xgettext complains 
about non-ASCII characters, so I can not do that. I also tried to replace × 
with x. Of course this shows x but all the translations can use ×, and 
xgettext shuts up. But I can not do this either because it is wrong for 
English. Can this be fixed by creating an english translation that only 
translates the strings that need non-ASCII characters? If not, what should be 
done?

I may need to add comments to pot-files. It seems like the 
xgettext-commandline needs --add-comments[=TAG]. Could you please add this 
feature to the KDE build system?

I would like to display a character that is not in latin1, the "less than or 
equal" sign. How is it done?
["cvs.sh.diff" (text/x-diff)]

--- cvs.sh.orig	2003-04-26 10:33:32.000000000 +0200
+++ cvs.sh	2003-04-26 10:28:06.000000000 +0200
@@ -428,5 +428,5 @@
 
    $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" \
                PREPARETIPS="$PREPARETIPS" \
-	XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate \
-kaliasLocale -x ${includedir:-$KDEDIR/include}/kde.pot" \ \
+	XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate \
-kaliasLocale -x ${includedir:-${KDEDIR:-/usr/local/kde}/include}/kde.pot" \  \
messages   ) 2>&1 | grep -v '^make\[1\]' > $tmpname



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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