[glibc x gettext] Bad po files ?
Andreas Jaeger
aj@suse.de
Thu Apr 19 13:13:00 GMT 2001
Ulrich Drepper <drepper@redhat.com> writes:
> Andreas Jaeger <aj@suse.de> writes:
>
> > Ok, committed. What shall I do with el.po? Is my patch for
> > po/Makefile ok?
>
> Where is the po/Makefile patch?
Seems you missed it - here it's again.
Andreas
2001-04-19 Andreas Jaeger <aj@suse.de>
* po/el.po: Add comment explaining what's broken.
* po/Makefile (BROKEN_LINGUAS): New.
(ALL_LINGUAS): Don't add broken languages.
============================================================
Index: po/Makefile
--- po/Makefile 1999/09/13 08:48:40 1.17
+++ po/Makefile 2001/04/19 17:24:50
@@ -1,4 +1,4 @@
-# Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -20,8 +20,12 @@
subdir := po
+# List of languages that are currently broken (just run msgfmt from
+# GNU gettext 0.10.36 on them to see why)
+BROKEN_LINGUAS = el
+
# List of languages for which we have message catalogs of translations.
-ALL_LINGUAS := $(basename $(wildcard *.po))
+ALL_LINGUAS := $(filter-out $(BROKEN_LINGUAS),$(basename $(wildcard *.po)))
# You can override this in configparms or the make command line to limit
# the languages which get installed.
============================================================
Index: po/el.po
--- po/el.po 2000/09/06 22:41:41 1.3
+++ po/el.po 2001/04/19 17:35:25
@@ -3,6 +3,12 @@
# Mavroyanopoulos Nikos <nmav@hellug.gr>, 1999, 2000.
# Simos Xenitellis <S.Xenitellis@rhbnc.ac.uk>, 1999, 2000.
#
+# This file is currently not installed since it contains illegal
+# multibyte characters. Just run either of these:
+# $ iconv -f iso-8859-7 -t utf-8 < el.po > /dev/null
+# $ msgfmt el.po -o el.gmo
+# to see the errors.
+#
msgid ""
msgstr ""
"Project-Id-Version: libc 2.1.3\n"
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-alpha
mailing list