i18n questions
- From: Nuno Ferreira <nmrf rnl ist utl pt>
- To: Gnome ML <gnome-list gnome org>
- Subject: i18n questions
- Date: Mon, 29 Jun 1998 00:54:33 +0100
Well, while doing the portuguese translation I noticed some things are not
translated and while trying to find out why I got some doubts I hope
someone can answer.
I think every file that needs to be translated needs to include
either "libgnome/gnome-i18n.h" or "libgnome/gnome-i18nP.h", the first being
for programs and the second for libraries. Also they need to include
<config.h> before one of these files to define ENABLE_NLS.
If the above is right(I hope it is) I have this questions:
- Which files need to include <config.h> besides the ones including one of
the i18n files?
- None of the files in libgnomeui should include "libgnome/libgnome.h"
because it includes gnome-i18n.h(not gnome-i18nP.h).
Also, according to your answers is this patch right (the "Browse..." label
in a gnome-file-entry was not being translated).
--- gnome-file-entry.c 1998/04/25 21:05:29 1.4
+++ gnome-file-entry.c 1998/06/28 23:44:24
@@ -10,9 +10,13 @@
#include <gtk/gtkfilesel.h>
#include <gtk/gtkmain.h>
#include <gtk/gtksignal.h>
-#include "libgnome/libgnome.h"
+
+
#include "gnome-file-entry.h"
+#include <config.h>
+
+#include "libgnome/gnome-i18nP.h"
--
Nuno Ferreira
nmrf@rnl.ist.utl.pt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]