[gtksourceview] map: do not translate properties
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] map: do not translate properties
- Date: Sun, 20 Sep 2015 16:02:26 +0000 (UTC)
commit dd6f0ffe190c073074d9687aad9014b09ac73803
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Sep 20 17:57:37 2015 +0200
map: do not translate properties
Properties are no longer translated in GtkSourceView. That's a waste of
time.
gtksourceview/gtksourcemap.c | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/gtksourceview/gtksourcemap.c b/gtksourceview/gtksourcemap.c
index 03ad68f..5640405 100644
--- a/gtksourceview/gtksourcemap.c
+++ b/gtksourceview/gtksourcemap.c
@@ -18,16 +18,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "gtksourcemap.h"
+#include <string.h>
#include "gtksourcebuffer.h"
#include "gtksourcecompletion.h"
-#include "gtksourcemap.h"
#include "gtksourcestyle-private.h"
#include "gtksourcestylescheme.h"
#include "gtksourceview-utils.h"
-#include <glib/gi18n.h>
-#include <string.h>
-
/**
* SECTION:map
* @Short_description: Widget that displays a map for a specific #GtkSourceView
@@ -1075,15 +1073,15 @@ gtk_source_map_class_init (GtkSourceMapClass *klass)
pspecs[PROP_VIEW] =
g_param_spec_object ("view",
- _("View"),
- _("The view this widget is mapping."),
+ "View",
+ "The view this widget is mapping.",
GTK_SOURCE_TYPE_VIEW,
(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
pspecs[PROP_FONT_DESC] =
g_param_spec_boxed ("font-desc",
- _("Font Description"),
- _("The Pango font description to use."),
+ "Font Description",
+ "The Pango font description to use.",
PANGO_TYPE_FONT_DESCRIPTION,
(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]