Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7000) Which message should be translated and which
Home

[Freeciv-Dev] Re: (PR#7000) Which message should be translated and which

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#7000) Which message should be translated and which not
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Tue, 6 Jan 2004 12:57:53 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7000 >

On Tue, Jan 06, 2004 at 10:03:02AM -0800, Per I. Mathisen wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7000 >
> 
> [i-freeciv-lists@xxxxxxxxxxxxx - Søn. 30. Nov. 2003 20:16:11]:
> > The current code has
> > 
> > LOG_FATAL       translated= 80 untranslated= 83
> > LOG_ERROR       translated= 49 untranslated=434
> > LOG_NORMAL      translated= 40 untranslated= 99
> > LOG_VERBOSE     translated=  4 untranslated=120
> > LOG_DEBUG       translated=  8 untranslated=424
> > 
> > Someone said that FATAL and ERROR shouldn't be translated. It looks
> > like VERBOSE and DEBUG are also not translated.
> 
> I think only LOG_NORMAL should be translated. Reasoning: VERBOSE and 
> DEBUG are for developers, and FATAL and ERROR should be reported to 
> developers in a language they can understand.

I agree. To close this I propose the following patch.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "Real Users find the one combination of bizarre
   input values that shuts down the system for days."

Index: doc/HACKING
===================================================================
RCS file: /home/freeciv/CVS/freeciv/doc/HACKING,v
retrieving revision 1.16
diff -u -u -r1.16 HACKING
--- doc/HACKING 2003/11/28 17:37:21     1.16
+++ doc/HACKING 2004/01/06 20:56:26
@@ -939,3 +939,12 @@
   A suggested "diff_ignore" file is included in the Freeciv distribution.
 
 ===========================================================================
+Internationalization (I18N)
+===========================================================================
+
+Messages and text in general which are shown in the GUI should be
+translated by using the "_()" macro. In addition freelog(LOG_NORMAL,
+...) messages should be translated. The other loglevels (LOG_FATAL,
+LOG_ERROR,LOG_VERBOSE, LOG_DEBUG) should NOT be translated.
+
+===========================================================================

[Prev in Thread] Current Thread [Next in Thread]