[geany/geany-plugins] a23df8: Fix translations in some files
Colomban Wendling
git-noreply at xxxxx
Mon Jun 22 22:30:37 UTC 2015
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 22 Jun 2015 22:30:37 UTC
Commit: a23df8ace4236e4e328d03edd17a444e9776f87a
https://github.com/geany/geany-plugins/commit/a23df8ace4236e4e328d03edd17a444e9776f87a
Log Message:
-----------
Fix translations in some files
Missing config.h includes lead to missing GETTEXT_PACKAGE and then to
`_()` not to do anything useful.
Modified Paths:
--------------
addons/src/ao_wrapwords.c
tableconvert/src/tableconvert_ui.c
Modified: addons/src/ao_wrapwords.c
6 lines changed, 5 insertions(+), 1 deletions(-)
===================================================================
@@ -17,7 +17,11 @@
* MA 02110-1301, USA.
*/
-#include "geanyplugin.h"
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
+#include <geanyplugin.h>
#include "addons.h"
#include "ao_wrapwords.h"
Modified: tableconvert/src/tableconvert_ui.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+ #include "config.h" /* for the gettext domain */
+#endif
+
#include "tableconvert_ui.h"
GtkWidget *main_menu_item = NULL;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list