Re: [FYI] current translation status



On Tue, 5 Jul 2005, Roland Illig wrote:

Leonard den Ottolander wrote:
Regenerated and committed to PRE. How does one generate the status
table?

manually. ;)

I have small script which I use for generate i18n statistics for shadow project.
It can be downloaded from http://cvs.pld.org.pl/shadow/po/stats?rev=1.1
Any improvemets will be welcome :)

Next: it will be good remove intl/ directory from source tree. Fix in attached mc-gettxt.patch. This patch also removed covering system avalaible definition AM_GNU_GETTEXT_VERSION in acinclude.m4.

Next: it will be good convert all .po files to UTF-8 encoding (for
minimize number of used iconv modules in cmpletly UTFized system; the
same policy about use UTF-8 encoding is now used in GNOME and KDE).
One line script like:

[po]$ for i in *po; do iconv -f`awk -F\; '/^"Content-Type/ {sub("\"Content-Type: text/plain; charset=", ""); gsub(/\\\n\"/, ""); {print $0 }}' $i` -t UTF-8 $i> $i.tmp; mv $i.tmp $i; done

and place in UTF-8 in charset= will help on this.

kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek rudy mif pg gda pl*
--- mc-4.6.1-pre5/configure.ac~	2005-07-05 11:22:39.000000000 +0200
+++ mc-4.6.1-pre5/configure.ac	2005-07-05 11:23:40.000000000 +0200
@@ -102,12 +102,8 @@
 dnl Internationalization
 dnl
 MC_ASM_LABELS
-AM_GNU_GETTEXT
-AM_GNU_GETTEXT_VERSION(0.11.5)
-
-if test "x$USE_INCLUDED_LIBINTL" = xyes; then
-    CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl"
-fi
+AM_GNU_GETTEXT_VERSION(0.12.1)
+AM_GNU_GETTEXT([external])
 
 dnl Determine which help translations we want to install.
 ALL_DOC_LINGUAS="es hu it pl ru sr"
@@ -637,7 +633,6 @@
 doc/ru/mc.1 doc/ru/Makefile
 doc/sr/mc.1 doc/sr/mcserv.8 doc/sr/Makefile
 
-intl/Makefile
 po/Makefile.in
 ])
 
--- mc-4.6.1-pre5/Makefile.am~	2005-07-05 11:24:08.000000000 +0200
+++ mc-4.6.1-pre5/Makefile.am	2005-07-05 11:24:08.000000000 +0200
@@ -2,7 +2,7 @@
 
 AUTOMAKE_OPTIONS = 1.5
 
-SUBDIRS = intl po m4 vfs slang edit src lib doc syntax
+SUBDIRS = po m4 vfs slang edit src lib doc syntax
 
 EXTRA_DIST = FAQ HACKING INSTALL.FAST MAINTAINERS README.QNX TODO
 
--- mc-4.6.1-pre5/acinclude.m4~	2005-07-05 11:28:21.000000000 +0200
+++ mc-4.6.1-pre5/acinclude.m4	2005-07-05 11:28:21.000000000 +0200
@@ -893,9 +893,6 @@
   fi
 ])
 
-dnl The next line is for compatibility with gettext 0.10.x
-AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
-
 dnl
 dnl Check whether the g_module_* family of functions works
 dnl on this system.  We need to know that at the compile time to


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]