gimp r28182 - in trunk: . app/core app/paint po
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r28182 - in trunk: . app/core app/paint po
- Date: Thu, 19 Mar 2009 20:40:43 +0000 (UTC)
Author: neo
Date: Thu Mar 19 20:40:43 2009
New Revision: 28182
URL: http://svn.gnome.org/viewvc/gimp?rev=28182&view=rev
Log:
2009-03-19 Sven Neumann <sven gimp org>
Bug 471681 â Keyboard shortcuts for brush size/params need
feedback
* app/core/gimpbrushgenerated.c
* app/core/gimpcontext.c
* app/paint/gimppaintoptions.c: applied patch from Stephen G.
that
marks some strings for translation.
Modified:
trunk/ChangeLog
trunk/app/core/gimpbrushgenerated.c
trunk/app/core/gimpcontext.c
trunk/app/paint/gimppaintoptions.c
trunk/po/ChangeLog
trunk/po/POTFILES.in
Modified: trunk/app/core/gimpbrushgenerated.c
==============================================================================
--- trunk/app/core/gimpbrushgenerated.c (original)
+++ trunk/app/core/gimpbrushgenerated.c Thu Mar 19 20:40:43 2009
@@ -32,6 +32,8 @@
#include "gimpbrushgenerated-load.h"
#include "gimpbrushgenerated-save.h"
+#include "gimp-intl.h"
+
#define OVERSAMPLING 4
@@ -122,39 +124,45 @@
brush_class->transform_mask = gimp_brush_generated_transform_mask;
g_object_class_install_property (object_class, PROP_SHAPE,
- g_param_spec_enum ("shape", NULL, NULL,
+ g_param_spec_enum ("shape", NULL,
+ _("Brush Shape"),
GIMP_TYPE_BRUSH_GENERATED_SHAPE,
GIMP_BRUSH_GENERATED_CIRCLE,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_RADIUS,
- g_param_spec_double ("radius", NULL, NULL,
+ g_param_spec_double ("radius", NULL,
+ _("Brush Radius"),
0.1, 4000.0, 5.0,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_SPIKES,
- g_param_spec_int ("spikes", NULL, NULL,
+ g_param_spec_int ("spikes", NULL,
+ _("Brush Spikes"),
2, 20, 2,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_HARDNESS,
- g_param_spec_double ("hardness", NULL, NULL,
+ g_param_spec_double ("hardness", NULL,
+ _("Brush Hardness"),
0.0, 1.0, 0.0,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_ASPECT_RATIO,
g_param_spec_double ("aspect-ratio",
- NULL, NULL,
+ NULL,
+ _("Brush Aspect Ratio"),
1.0, 20.0, 1.0,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_ANGLE,
- g_param_spec_double ("angle", NULL, NULL,
+ g_param_spec_double ("angle", NULL,
+ _("Brush Angle"),
0.0, 180.0, 0.0,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
Modified: trunk/app/core/gimpcontext.c
==============================================================================
--- trunk/app/core/gimpcontext.c (original)
+++ trunk/app/core/gimpcontext.c Thu Mar 19 20:40:43 2009
@@ -590,7 +590,7 @@
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, GIMP_CONTEXT_PROP_OPACITY,
gimp_context_prop_names[GIMP_CONTEXT_PROP_OPACITY],
- NULL,
+ _("Opacity"),
GIMP_OPACITY_TRANSPARENT,
GIMP_OPACITY_OPAQUE,
GIMP_OPACITY_OPAQUE,
@@ -598,7 +598,7 @@
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, GIMP_CONTEXT_PROP_PAINT_MODE,
gimp_context_prop_names[GIMP_CONTEXT_PROP_PAINT_MODE],
- NULL,
+ _("Paint Mode"),
GIMP_TYPE_LAYER_MODE_EFFECTS,
GIMP_NORMAL_MODE,
GIMP_PARAM_STATIC_STRINGS);
Modified: trunk/app/paint/gimppaintoptions.c
==============================================================================
--- trunk/app/paint/gimppaintoptions.c (original)
+++ trunk/app/paint/gimppaintoptions.c Thu Mar 19 20:40:43 2009
@@ -32,6 +32,8 @@
#include "gimppaintoptions.h"
+#include "gimp-intl.h"
+
#define DEFAULT_BRUSH_SCALE 1.0
#define DEFAULT_BRUSH_ANGLE 0.0
@@ -228,11 +230,11 @@
G_PARAM_CONSTRUCT_ONLY));
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_BRUSH_SCALE,
- "brush-scale", NULL,
+ "brush-scale", _("Brush Scale"),
0.01, 10.0, DEFAULT_BRUSH_SCALE,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_BRUSH_ANGLE,
- "brush-angle", NULL,
+ "brush-angle", _("Brush Angle"),
-180.0, 180.0, DEFAULT_BRUSH_ANGLE,
GIMP_PARAM_STATIC_STRINGS);
Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in (original)
+++ trunk/po/POTFILES.in Thu Mar 19 20:40:43 2009
@@ -89,6 +89,7 @@
app/core/gimp-gradients.c
app/core/gimp-gui.c
app/core/gimp-modules.c
+app/core/gimp-tags.c
app/core/gimp-units.c
app/core/gimp-user-install.c
app/core/gimp.c
@@ -239,9 +240,11 @@
app/paint/gimperaser.c
app/paint/gimpheal.c
app/paint/gimpink.c
+app/paint/gimpinkoptions.c
app/paint/gimppaintbrush.c
-app/paint/gimppaintcore.c
app/paint/gimppaintcore-stroke.c
+app/paint/gimppaintcore.c
+app/paint/gimppaintoptions.c
app/paint/gimppencil.c
app/paint/gimpperspectiveclone.c
app/paint/gimpsmudge.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]