app, pdb: s/GRAY/grayscale/ in user-visible strings

This commit is contained in:
Michael Natterer 2015-12-26 01:14:43 +01:00
parent 32725df29d
commit 51520278cd
5 changed files with 24 additions and 24 deletions

View File

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

View File

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

View File

@ -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",

View File

@ -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.
*

View File

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