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:
parent
26cffeba92
commit
a9f4dcfbbb
@ -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.
|
||||
**/
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user