[gimp] app, pdb: s/GRAY/grayscale/ in user-visible strings
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app, pdb: s/GRAY/grayscale/ in user-visible strings
- Date: Sat, 26 Dec 2015 00:15:22 +0000 (UTC)
commit 51520278cd68aeee22a8a3b50aead8d739fcf5a5
Author: Michael Natterer <mitch gimp org>
Date: Sat Dec 26 01:14:43 2015 +0100
app, pdb: s/GRAY/grayscale/ in user-visible strings
app/dialogs/color-profile-dialog.c | 4 ++--
app/dialogs/preferences-dialog.c | 12 ++++++------
app/pdb/image-color-profile-cmds.c | 6 +++---
libgimp/gimpimagecolorprofile_pdb.c | 16 ++++++++--------
tools/pdbgen/pdb/image_color_profile.pdb | 10 +++++-----
5 files changed, 24 insertions(+), 24 deletions(-)
---
diff --git a/app/dialogs/color-profile-dialog.c b/app/dialogs/color-profile-dialog.c
index 727258d..aa32c6c 100644
--- a/app/dialogs/color-profile-dialog.c
+++ b/app/dialogs/color-profile-dialog.c
@@ -311,7 +311,7 @@ color_profile_combo_box_new (ProfileDialog *dialog)
if (gimp_image_get_base_type (dialog->image) == GIMP_GRAY)
{
- label = g_strdup_printf (_("Built-in GRAY (%s)"),
+ label = g_strdup_printf (_("Built-in grayscale (%s)"),
gimp_color_profile_get_label (profile));
profile = gimp_color_config_get_gray_color_profile (dialog->config, &error);
@@ -334,7 +334,7 @@ color_profile_combo_box_new (ProfileDialog *dialog)
if (gimp_image_get_base_type (dialog->image) == GIMP_GRAY)
{
- label = g_strdup_printf (_("Preferred GRAY (%s)"),
+ label = g_strdup_printf (_("Preferred grayscale (%s)"),
gimp_color_profile_get_label (profile));
}
else
diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c
index 5483027..4aafa65 100644
--- a/app/dialogs/preferences-dialog.c
+++ b/app/dialogs/preferences-dialog.c
@@ -1448,15 +1448,15 @@ prefs_dialog_new (Gimp *gimp,
profiles[] =
{
{ N_("Preferred _RGB profile:"),
- N_("Select RGB Color Profile"), "rgb-profile" },
- { N_("Preferred _GRAY profile:"),
- N_("Select GRAY Color Profile"), "gray-profile" },
+ N_("Select RGB Color Profile"), "rgb-profile" },
+ { N_("Preferred _grayscale profile:"),
+ N_("Select Grayscale Color Profile"), "gray-profile" },
{ N_("_CMYK profile:"),
- N_("Select CMYK Color Profile"), "cmyk-profile" },
+ N_("Select CMYK Color Profile"), "cmyk-profile" },
{ N_("_Monitor profile:"),
- N_("Select Monitor Color Profile"), "display-profile" },
+ N_("Select Monitor Color Profile"), "display-profile" },
{ N_("_Print simulation profile:"),
- N_("Select Printer Color Profile"), "printer-profile" }
+ N_("Select Printer Color Profile"), "printer-profile" }
};
GObject *color_config;
diff --git a/app/pdb/image-color-profile-cmds.c b/app/pdb/image-color-profile-cmds.c
index b958387..d64c9c9 100644
--- a/app/pdb/image-color-profile-cmds.c
+++ b/app/pdb/image-color-profile-cmds.c
@@ -368,7 +368,7 @@ register_image_color_profile_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-image-get-effective-color-profile",
"Returns the color profile that is used for the image",
- "This procedure returns the color profile that is actually used for
this image, which is the profile returned by 'gimp-image-get-color-profile' if the image has a profile
assigned, or a generated default RGB or GRAY profile, according to the image's type.",
+ "This procedure returns the color profile that is actually used for
this image, which is the profile returned by 'gimp-image-get-color-profile' if the image has a profile
assigned, or a generated default RGB or grayscale profile, according to the image's type.",
"Michael Natterer <mitch gimp org>",
"Michael Natterer",
"2015",
@@ -466,7 +466,7 @@ register_image_color_profile_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-image-convert-color-profile",
"Convert the image's layers to a color profile",
- "This procedure converts from the image's color profile (or the default
RGB or GRAY profile if none is set) to the given color profile. Only RGB and GRAY color profiles are
accepted, according to the image's type.",
+ "This procedure converts from the image's color profile (or the default
RGB or grayscale profile if none is set) to the given color profile. Only RGB and grayscale color profiles
are accepted, according to the image's type.",
"Michael Natterer <mitch gimp org>",
"Michael Natterer",
"2015",
@@ -513,7 +513,7 @@ register_image_color_profile_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-image-convert-color-profile-from-file",
"Convert the image's layers to a color profile",
- "This procedure converts from the image's color profile (or the default
RGB or GRAY profile if none is set) to an ICC profile precified by 'uri'. Only RGB and GRAY color profiles
are accepted, according to the image's type.",
+ "This procedure converts from the image's color profile (or the default
RGB or grayscale profile if none is set) to an ICC profile precified by 'uri'. Only RGB and grayscale color
profiles are accepted, according to the image's type.",
"Michael Natterer <mitch gimp org>",
"Michael Natterer",
"2015",
diff --git a/libgimp/gimpimagecolorprofile_pdb.c b/libgimp/gimpimagecolorprofile_pdb.c
index 9784e8c..9b523f9 100644
--- a/libgimp/gimpimagecolorprofile_pdb.c
+++ b/libgimp/gimpimagecolorprofile_pdb.c
@@ -90,8 +90,8 @@ _gimp_image_get_color_profile (gint32 image_ID,
* This procedure returns the color profile that is actually used for
* this image, which is the profile returned by
* gimp_image_get_color_profile() if the image has a profile assigned,
- * or a generated default RGB or GRAY profile, according to the image's
- * type.
+ * or a generated default RGB or grayscale profile, according to the
+ * image's type.
*
* Returns: The image's serialized color profile. The returned value
* must be freed with g_free().
@@ -213,9 +213,9 @@ gimp_image_set_color_profile_from_file (gint32 image_ID,
* Convert the image's layers to a color profile
*
* This procedure converts from the image's color profile (or the
- * default RGB or GRAY profile if none is set) to the given color
- * profile. Only RGB and GRAY color profiles are accepted, according to
- * the image's type.
+ * default RGB or grayscale profile if none is set) to the given color
+ * profile. Only RGB and grayscale color profiles are accepted,
+ * according to the image's type.
*
* Returns: TRUE on success.
*
@@ -258,9 +258,9 @@ _gimp_image_convert_color_profile (gint32 image_ID,
* Convert the image's layers to a color profile
*
* This procedure converts from the image's color profile (or the
- * default RGB or GRAY profile if none is set) to an ICC profile
- * precified by 'uri'. Only RGB and GRAY color profiles are accepted,
- * according to the image's type.
+ * default RGB or grayscale profile if none is set) to an ICC profile
+ * precified by 'uri'. Only RGB and grayscale color profiles are
+ * accepted, according to the image's type.
*
* Returns: TRUE on success.
*
diff --git a/tools/pdbgen/pdb/image_color_profile.pdb b/tools/pdbgen/pdb/image_color_profile.pdb
index b12783b..e4c00a9 100644
--- a/tools/pdbgen/pdb/image_color_profile.pdb
+++ b/tools/pdbgen/pdb/image_color_profile.pdb
@@ -67,7 +67,7 @@ sub image_get_effective_color_profile {
This procedure returns the color profile that is actually used for
this image, which is the profile returned by
gimp_image_get_color_profile() if the image has a profile assigned, or
-a generated default RGB or GRAY profile, according to the image's type.
+a generated default RGB or grayscale profile, according to the image's type.
HELP
&mitch_pdb_misc('2015', '2.10');
@@ -205,8 +205,8 @@ sub image_convert_color_profile {
$help = <<'HELP';
This procedure converts from the image's color profile (or the default
-RGB or GRAY profile if none is set) to the given color profile. Only
-RGB and GRAY color profiles are accepted, according to the image's
+RGB or grayscale profile if none is set) to the given color profile. Only
+RGB and grayscale color profiles are accepted, according to the image's
type.
HELP
@@ -258,8 +258,8 @@ sub image_convert_color_profile_from_file {
$help = <<'HELP';
This procedure converts from the image's color profile (or the default
-RGB or GRAY profile if none is set) to an ICC profile precified by
-'uri'. Only RGB and GRAY color profiles are accepted, according to
+RGB or grayscale profile if none is set) to an ICC profile precified by
+'uri'. Only RGB and grayscale color profiles are accepted, according to
the image's type.
HELP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]