diff -r ffc29f017e1e -r c8cb7b1bcb14 doc/reference/libpurple/plugin_i18n.xml --- a/doc/reference/libpurple/plugin_i18n.xml Sun Oct 20 16:28:14 2013 +0530 +++ b/doc/reference/libpurple/plugin_i18n.xml Sun Oct 20 16:36:45 2013 +0530 @@ -21,9 +21,9 @@ - In your autogen.sh, add the following after your other utility checks: @code -(intltoolize --version) < /dev/null > /dev/null 2>&1 || { +(intltoolize --version) < /dev/null > /dev/null 2>&1 || { echo; - echo "You must have intltool installed to compile "; + echo "You must have intltool installed to compile <YOUR PLUGIN NAME>"; echo; exit; } @@ -36,7 +36,7 @@ @code AC_PROG_INTLTOOL -GETTEXT_PACKAGE= +GETTEXT_PACKAGE=<YOUR PLUGIN NAME> AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used]) @@ -68,7 +68,7 @@ 'config.h' file for you plugin. Note that 'config.h' could be whatever you told autohead to use with AM_CONFIG_HEADER. Also add the following: @code -#include +#include <glib/gi18n-lib.h> @endcode Make sure that this include is after you include of your 'config.h', otherwise you will break your build. Also note that if you wish to @@ -88,9 +88,9 @@ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); #endif /* ENABLE_NLS */ - info.name = _(""); - info.summary = _(""); - info.description = _(""); + info.name = _("<YOUR PLUGIN NAME>"); + info.summary = _("<YOUR PLUGIN SUMMARY>"); + info.description = _("<YOUR PLUGIN DESCRIPTION>"); @endcode Note that the _() is intentional, and that it is telling intltool that this string should be translated. There is also N_() which says that a