Issue #10283: renaming generated "(Hardedge)" gradients as "(Hard Edge)".

There was the question on whether it needed an hyphen or not. The hyphen
naming was often used to describe the "Hard-edge painting" style, though
even for this, it was not an absolute case. Depending on English writing
style, we could also find "hard edge painting". Also Liam was noting
that when the term appears by itself, as a noun (rather than a
qualificative), it was likely best without hyphen. So we went for the
no-hyphen wording.

Then there was the capitalization question: should capitalization rules
of data labels apply to parts between parentheses? I went with the
answer that *yes*, since it's part of the title anyway. And without the
part between parentheses, we'd have several data named the same. So it's
just as important.

As a consequence, I also re-capitalized "FG to BG (HSV
Counter-Clockwise)" and "FG to BG (HSV Clockwise Hue)" gradients,
following this updated rule.
This commit is contained in:
Jehan 2023-12-16 20:31:41 +09:00
parent d4f8f553b2
commit 7100851b5b

View file

@ -78,25 +78,25 @@ gimp_gradients_init (Gimp *gimp)
gradient->segments->right_color_type = GIMP_GRADIENT_COLOR_BACKGROUND;
gimp_context_set_gradient (gimp->user_context, gradient);
/* FG to BG (Hardedge) */
/* FG to BG (Hard Edge) */
gradient = gimp_gradients_add_gradient (gimp,
_("FG to BG (Hardedge)"),
_("FG to BG (Hard Edge)"),
FG_BG_HARDEDGE_KEY);
gradient->segments->left_color_type = GIMP_GRADIENT_COLOR_FOREGROUND;
gradient->segments->right_color_type = GIMP_GRADIENT_COLOR_BACKGROUND;
gradient->segments->type = GIMP_GRADIENT_SEGMENT_STEP;
/* FG to BG (HSV counter-clockwise) */
/* FG to BG (HSV Counter-Clockwise) */
gradient = gimp_gradients_add_gradient (gimp,
_("FG to BG (HSV counter-clockwise)"),
_("FG to BG (HSV Counter-Clockwise)"),
FG_BG_HSV_CCW_KEY);
gradient->segments->left_color_type = GIMP_GRADIENT_COLOR_FOREGROUND;
gradient->segments->right_color_type = GIMP_GRADIENT_COLOR_BACKGROUND;
gradient->segments->color = GIMP_GRADIENT_SEGMENT_HSV_CCW;
/* FG to BG (HSV clockwise hue) */
/* FG to BG (HSV Clockwise Hue) */
gradient = gimp_gradients_add_gradient (gimp,
_("FG to BG (HSV clockwise hue)"),
_("FG to BG (HSV Clockwise Hue)"),
FG_BG_HSV_CW_KEY);
gradient->segments->left_color_type = GIMP_GRADIENT_COLOR_FOREGROUND;
gradient->segments->right_color_type = GIMP_GRADIENT_COLOR_BACKGROUND;
@ -109,9 +109,9 @@ gimp_gradients_init (Gimp *gimp)
gradient->segments->left_color_type = GIMP_GRADIENT_COLOR_FOREGROUND;
gradient->segments->right_color_type = GIMP_GRADIENT_COLOR_FOREGROUND_TRANSPARENT;
/* FG to Transparent (Hardedge) */
/* FG to Transparent (Hard Edge) */
gradient = gimp_gradients_add_gradient (gimp,
_("FG to Transparent (Hardedge)"),
_("FG to Transparent (Hard Edge)"),
FG_TRANSPARENT_HARDEDGE_KEY);
gradient->segments->left_color_type = GIMP_GRADIENT_COLOR_FOREGROUND;
gradient->segments->right_color_type = GIMP_GRADIENT_COLOR_FOREGROUND_TRANSPARENT;