From 634d64c9a1997089775985b682d7368ffe2da741 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 10 Feb 2008 04:26:54 +0000 Subject: [PATCH] Doc improvement svn path=/trunk/; revision=6486 --- docs/reference/ChangeLog | 5 +++++ docs/reference/glib/tmpl/i18n.sgml | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 3358893..3ab002b 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2008-02-09 Matthias Clasen + + * glib/tmpl/i18n.sgml: Improve the documentation for the + N_() macro. (#514053, Tommi Vainikainen) + 2008-01-28 Matthias Clasen * === Released 2.15.4 === diff --git a/docs/reference/glib/tmpl/i18n.sgml b/docs/reference/glib/tmpl/i18n.sgml index 7c2226c..8ebc454 100644 --- a/docs/reference/glib/tmpl/i18n.sgml +++ b/docs/reference/glib/tmpl/i18n.sgml @@ -90,9 +90,10 @@ messages. Note that this only works with GNU gettext >= 0.15. -Marks a string for translation, gets replaced with the untranslated string -at runtime. This is useful in situations where the translated strings can't +Only marks a string for translation. +This is useful in situations where the translated strings can't be directly used, e.g. in string array initializers. +To get the translated string, call gettext() at runtime. { -- 2.7.4