Add a note about l10n to the g_strconcat docs

As requested in bug 576854
This commit is contained in:
Matthias Clasen 2010-07-08 19:03:18 -04:00
parent e0017f24c5
commit 7cfa23b177

View File

@ -280,6 +280,9 @@ g_strdup_printf (const gchar *format,
* Concatenates all of the given strings into one long string.
* The returned string should be freed with g_free() when no longer needed.
*
* Note that this function is usually not the right function to use to
* assemble a translated message from pieces, since proper translation
* often requires the pieces to be reordered.
*
* <warning><para>The variable argument list <emphasis>must</emphasis> end
* with %NULL. If you forget the %NULL, g_strconcat() will start appending