[gimp] More tooltips for tools options
- From: Alexandre Prokoudine <aprokoudine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] More tooltips for tools options
- Date: Wed, 20 Apr 2011 22:45:31 +0000 (UTC)
commit 58016e0a02d982c4e8e2b1779d7a98310e6b6c43
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date: Thu Apr 21 02:41:59 2011 +0400
More tooltips for tools options
Added previously missing tooltips for options of the following tools:
Scissors Select tool, Foreground Select tool, Color Picker tool,
Zoom tool, Measurement tool, Align tool, Crop tool.
Changed a bunch of _() to N_() in Foreground Select tool's options
as per agreement with mitch.
app/tools/gimpalignoptions.c | 9 ++++++---
app/tools/gimpcolorpickeroptions.c | 11 ++++++++---
app/tools/gimpcropoptions.c | 10 +++++++---
app/tools/gimpforegroundselectoptions.c | 19 +++++++++++--------
app/tools/gimpiscissorsoptions.c | 4 +++-
app/tools/gimpmagnifyoptions.c | 7 +++++--
app/tools/gimpmeasureoptions.c | 4 +++-
7 files changed, 43 insertions(+), 21 deletions(-)
---
diff --git a/app/tools/gimpalignoptions.c b/app/tools/gimpalignoptions.c
index c559863..9526354 100644
--- a/app/tools/gimpalignoptions.c
+++ b/app/tools/gimpalignoptions.c
@@ -87,18 +87,21 @@ gimp_align_options_class_init (GimpAlignOptionsClass *klass)
GIMP_TYPE_ALIGNMENT_TYPE);
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_ALIGN_REFERENCE,
- "align-reference", NULL,
+ "align-reference",
+ N_("Reference image object a layer will be aligned on"),
GIMP_TYPE_ALIGN_REFERENCE_TYPE,
GIMP_ALIGN_REFERENCE_FIRST,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_OFFSET_X,
- "offset-x", NULL,
+ "offset-x",
+ N_("Horizontal offset for distrubution"),
-GIMP_MAX_IMAGE_SIZE, GIMP_MAX_IMAGE_SIZE, 0,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_OFFSET_Y,
- "offset-y", NULL,
+ "offset-y",
+ N_("Vertical offset for distrubution"),
-GIMP_MAX_IMAGE_SIZE, GIMP_MAX_IMAGE_SIZE, 0,
GIMP_PARAM_STATIC_STRINGS);
}
diff --git a/app/tools/gimpcolorpickeroptions.c b/app/tools/gimpcolorpickeroptions.c
index cb07a40..15f002a 100644
--- a/app/tools/gimpcolorpickeroptions.c
+++ b/app/tools/gimpcolorpickeroptions.c
@@ -64,16 +64,21 @@ gimp_color_picker_options_class_init (GimpColorPickerOptionsClass *klass)
/* override a GimpColorOptions property to get a different default value */
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_SAMPLE_AVERAGE,
- "sample-average", NULL,
+ "sample-average",
+ N_("Use accumulated color value from "
+ "all composited visible layers"),
FALSE,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_PICK_MODE,
- "pick-mode", NULL,
+ "pick-mode",
+ N_("Choose what color picker will do"),
GIMP_TYPE_COLOR_PICK_MODE,
GIMP_COLOR_PICK_MODE_FOREGROUND,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_USE_INFO_WINDOW,
- "use-info-window", NULL,
+ "use-info-window",
+ N_("Open a floating dialog to view picked "
+ "color values in various color models"),
FALSE,
GIMP_PARAM_STATIC_STRINGS);
}
diff --git a/app/tools/gimpcropoptions.c b/app/tools/gimpcropoptions.c
index 3a5d620..f2230e2 100644
--- a/app/tools/gimpcropoptions.c
+++ b/app/tools/gimpcropoptions.c
@@ -72,17 +72,21 @@ gimp_crop_options_class_init (GimpCropOptionsClass *klass)
*/
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class,
GIMP_RECTANGLE_OPTIONS_PROP_HIGHLIGHT,
- "highlight", NULL,
+ "highlight",
+ N_("Dim everything outside selection"),
TRUE,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_LAYER_ONLY,
- "layer-only", NULL,
+ "layer-only",
+ N_("Crop only currently selected layer"),
FALSE,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_ALLOW_GROWING,
- "allow-growing", NULL,
+ "allow-growing",
+ N_("Allow resizing canvas by dragging cropping frame "
+ "beyond image boundary"),
FALSE,
GIMP_PARAM_STATIC_STRINGS);
diff --git a/app/tools/gimpforegroundselectoptions.c b/app/tools/gimpforegroundselectoptions.c
index 5853ba5..68063f0 100644
--- a/app/tools/gimpforegroundselectoptions.c
+++ b/app/tools/gimpforegroundselectoptions.c
@@ -82,31 +82,34 @@ gimp_foreground_select_options_class_init (GimpForegroundSelectOptionsClass *kla
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_CONTIGUOUS,
"contiguous",
- _("Select a single contiguous area"),
+ N_("Select a single contiguous area"),
TRUE,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_BACKGROUND,
- "background", NULL,
+ "background",
+ N_("Paint over areas to mark color values for "
+ "inclusion or exclusion from selection"),
FALSE,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_INT (object_class, PROP_STROKE_WIDTH,
"stroke-width",
- _("Size of the brush used for refinements"),
+ N_("Size of the brush used for refinements"),
1, 80, 18,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_INT (object_class, PROP_SMOOTHNESS,
"smoothness",
- _("Smaller values give a more accurate "
+ N_("Smaller values give a more accurate "
"selection border but may introduce holes "
"in the selection"),
0, 8, SIOX_DEFAULT_SMOOTHNESS,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_MASK_COLOR,
- "mask-color", NULL,
+ "mask-color",
+ N_("Color of selection preview mask"),
GIMP_TYPE_CHANNEL_TYPE,
GIMP_BLUE_CHANNEL,
GIMP_PARAM_STATIC_STRINGS);
@@ -118,19 +121,19 @@ gimp_foreground_select_options_class_init (GimpForegroundSelectOptionsClass *kla
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_SENSITIVITY_L,
"sensitivity-l",
- _("Sensitivity for brightness component"),
+ N_("Sensitivity for brightness component"),
0.0, 10.0, SIOX_DEFAULT_SENSITIVITY_L,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_SENSITIVITY_A,
"sensitivity-a",
- _("Sensitivity for red/green component"),
+ N_("Sensitivity for red/green component"),
0.0, 10.0, SIOX_DEFAULT_SENSITIVITY_A,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_SENSITIVITY_B,
"sensitivity-b",
- _("Sensitivity for yellow/blue component"),
+ N_("Sensitivity for yellow/blue component"),
0.0, 10.0, SIOX_DEFAULT_SENSITIVITY_B,
GIMP_PARAM_STATIC_STRINGS);
}
diff --git a/app/tools/gimpiscissorsoptions.c b/app/tools/gimpiscissorsoptions.c
index 1ebace3..7627e5a 100644
--- a/app/tools/gimpiscissorsoptions.c
+++ b/app/tools/gimpiscissorsoptions.c
@@ -64,7 +64,9 @@ gimp_iscissors_options_class_init (GimpIscissorsOptionsClass *klass)
object_class->get_property = gimp_iscissors_options_get_property;
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_INTERACTIVE,
- "interactive", NULL,
+ "interactive",
+ N_("Display future selection segment "
+ "as you drag a control node"),
FALSE,
GIMP_PARAM_STATIC_STRINGS);
}
diff --git a/app/tools/gimpmagnifyoptions.c b/app/tools/gimpmagnifyoptions.c
index e4731e7..df14c22 100644
--- a/app/tools/gimpmagnifyoptions.c
+++ b/app/tools/gimpmagnifyoptions.c
@@ -75,12 +75,15 @@ gimp_magnify_options_class_init (GimpMagnifyOptionsClass *klass)
options_class->reset = gimp_magnify_options_reset;
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_AUTO_RESIZE,
- "auto-resize", NULL,
+ "auto-resize",
+ N_("Resize image window to accomodate "
+ "new zoom level"),
FALSE,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_ZOOM_TYPE,
- "zoom-type", NULL,
+ "zoom-type",
+ N_("Direction of magnification"),
GIMP_TYPE_ZOOM_TYPE,
GIMP_ZOOM_IN,
GIMP_PARAM_STATIC_STRINGS);
diff --git a/app/tools/gimpmeasureoptions.c b/app/tools/gimpmeasureoptions.c
index b581d6e..364fea9 100644
--- a/app/tools/gimpmeasureoptions.c
+++ b/app/tools/gimpmeasureoptions.c
@@ -63,7 +63,9 @@ gimp_measure_options_class_init (GimpMeasureOptionsClass *klass)
object_class->get_property = gimp_measure_options_get_property;
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_USE_INFO_WINDOW,
- "use-info-window", NULL,
+ "use-info-window",
+ N_("Open a floating dialog to view details"
+ "about measurements"),
FALSE,
GIMP_PARAM_STATIC_STRINGS);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]