Adding a hint to prevent double usage of main_local_init() also to function documentation and correct word order.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5881 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Frank Lanitz 2011-08-01 19:31:56 +00:00
parent 26cffeba92
commit a9f4dcfbbb
2 changed files with 4 additions and 1 deletions

View File

@ -453,5 +453,5 @@ void plugin_init(GeanyData *data)
* @endcode
*
* If you already did use PLUGIN_SET_TRANSLATABLE_INFO() you don't need
* to add main_locale_init() as it has been already called.
* to add main_locale_init() as it has already been called.
**/

View File

@ -425,6 +425,9 @@ gboolean main_is_realized(void)
* to adjust the build system of your plugin to get internationalisation support
* working properly.
*
* If you have already used @ref PLUGIN_SET_TRANSLATABLE_INFO() you
* don't need to call main_locale_init() again as it has already been done.
*
* @param locale_dir The location where the translation files should be searched. This is
* usually the @c LOCALEDIR macro, defined by the build system.
* E.g. @c $prefix/share/locale.