[geany/geany-plugins] c76a22: Markdown: Fix I18N setup

Colomban Wendling git-noreply at xxxxx
Mon Feb 25 14:59:41 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 25 Feb 2013 14:59:41 UTC
Commit:      c76a22d754cf732bb50b14918dc0d09c8b55694f
             https://github.com/geany/geany-plugins/commit/c76a22d754cf732bb50b14918dc0d09c8b55694f

Log Message:
-----------
Markdown: Fix I18N setup


Modified Paths:
--------------
    markdown/src/conf.c
    markdown/src/plugin.c

Modified: markdown/src/conf.c
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -21,6 +21,7 @@
  *
  */
 
+#include "config.h"
 #include <string.h>
 #include <gtk/gtk.h>
 #include <geanyplugin.h>


Modified: markdown/src/plugin.c
10 files changed, 6 insertions(+), 4 deletions(-)
===================================================================
@@ -19,6 +19,7 @@
  * MA 02110-1301, USA.
  */
 
+#include "config.h"
 #include <geanyplugin.h>
 #include "viewer.h"
 #include "conf.h"
@@ -29,10 +30,11 @@
 
 PLUGIN_VERSION_CHECK(211)
 
-PLUGIN_SET_INFO("Markdown",
-                _("Real-time Markdown preview"),
-                "0.01",
-                "Matthew Brush <mbrush at codebrainz.ca>")
+PLUGIN_SET_TRANSLATABLE_INFO(LOCALEDIR, GETTEXT_PACKAGE,
+                             "Markdown",
+                             _("Real-time Markdown preview"),
+                             "0.01",
+                             "Matthew Brush <mbrush at codebrainz.ca>")
 
 /* Should be defined by build system, this is just a fallback */
 #ifndef MARKDOWN_DATA_DIR



--------------
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