From 814b66a8874732b474b1863de7cb4ce7583d6da8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= <137977-yakushabb@users.noreply.gitlab.gnome.org> Date: Mon, 10 Nov 2025 15:02:05 +0300 Subject: [PATCH] plug-ins: Fix Title Case usages --- app/propgui/gimppropgui-channel-mixer.c | 6 ++--- plug-ins/common/border-average.c | 2 +- plug-ins/common/despeckle.c | 2 +- plug-ins/common/file-jp2.c | 4 ++-- plug-ins/common/hot.c | 4 ++-- plug-ins/common/sparkle.c | 2 +- plug-ins/common/van-gogh-lic.c | 4 ++-- plug-ins/fractal-explorer/fractal-explorer.c | 10 ++++---- plug-ins/map-object/map-object-main.c | 8 +++---- plug-ins/python/histogram-export.py | 10 ++++---- plug-ins/python/spyro-plus.py | 24 ++++++++++---------- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/app/propgui/gimppropgui-channel-mixer.c b/app/propgui/gimppropgui-channel-mixer.c index d7fb16ec5c..79314d7db1 100644 --- a/app/propgui/gimppropgui-channel-mixer.c +++ b/app/propgui/gimppropgui-channel-mixer.c @@ -60,7 +60,7 @@ _gimp_prop_gui_new_channel_mixer (GObject *config, main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 4); - frame = gimp_frame_new (_("Red channel")); + frame = gimp_frame_new (_("Red Channel")); gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0); gtk_widget_show (frame); @@ -81,7 +81,7 @@ _gimp_prop_gui_new_channel_mixer (GObject *config, gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0); - frame = gimp_frame_new (_("Green channel")); + frame = gimp_frame_new (_("Green Channel")); gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0); gtk_widget_show (frame); @@ -102,7 +102,7 @@ _gimp_prop_gui_new_channel_mixer (GObject *config, gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0); - frame = gimp_frame_new (_("Blue channel")); + frame = gimp_frame_new (_("Blue Channel")); gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0); gtk_widget_show (frame); diff --git a/plug-ins/common/border-average.c b/plug-ins/common/border-average.c index 005e2428ed..4380c66cdb 100644 --- a/plug-ins/common/border-average.c +++ b/plug-ins/common/border-average.c @@ -147,7 +147,7 @@ border_average_create_procedure (GimpPlugIn *plug_in, TRUE, TRUE, gimp_unit_pixel (), GIMP_PARAM_READWRITE); gimp_procedure_add_choice_argument (procedure, "bucket-exponent", - _("Bucket Si_ze"), + _("Bucket si_ze"), _("Bits for bucket size"), gimp_choice_new_with_values ("levels-1", 0, _("1"), NULL, "levels-2", 1, _("2"), NULL, diff --git a/plug-ins/common/despeckle.c b/plug-ins/common/despeckle.c index 3e52f04545..ab2f3192b7 100644 --- a/plug-ins/common/despeckle.c +++ b/plug-ins/common/despeckle.c @@ -190,7 +190,7 @@ despeckle_create_procedure (GimpPlugIn *plug_in, G_PARAM_READWRITE); gimp_procedure_add_choice_argument (procedure, "type", - _("_Filter Type"), + _("_Filter type"), _("Filter type"), gimp_choice_new_with_values ("median", 0, _("Median"), NULL, "adaptive", FILTER_ADAPTIVE, _("Adaptive"), NULL, diff --git a/plug-ins/common/file-jp2.c b/plug-ins/common/file-jp2.c index 34924688e4..cc05727894 100644 --- a/plug-ins/common/file-jp2.c +++ b/plug-ins/common/file-jp2.c @@ -363,7 +363,7 @@ jp2_create_procedure (GimpPlugIn *plug_in, G_PARAM_READWRITE); gimp_procedure_add_choice_argument (procedure, "compliance", - _("Co_mpliance Profile"), + _("Co_mpliance profile"), _("Set to ensure compliance with Digital Cinema Specifications"), gimp_choice_new_with_values ("standard", 0, _("Standard Profile"), NULL, "cinema-2k-24", OPJ_CINEMA2K_24, _("Cinema2K (24 FPS)"), NULL, @@ -451,7 +451,7 @@ jp2_create_procedure (GimpPlugIn *plug_in, G_PARAM_READWRITE); gimp_procedure_add_choice_argument (procedure, "compliance", - _("Co_mpliance Profile"), + _("Co_mpliance profile"), _("Set to ensure compliance with Digital Cinema Specifications"), gimp_choice_new_with_values ("standard", 0, _("Standard Profile"), NULL, "cinema-2k-24", OPJ_CINEMA2K_24, _("Cinema2K (24 FPS)"), NULL, diff --git a/plug-ins/common/hot.c b/plug-ins/common/hot.c index 83286df8de..49d593b585 100644 --- a/plug-ins/common/hot.c +++ b/plug-ins/common/hot.c @@ -277,8 +277,8 @@ hot_create_procedure (GimpPlugIn *plug_in, gimp_procedure_add_choice_argument (procedure, "action", _("_Action"), _("Action"), - gimp_choice_new_with_values ("reduce-luminance", ACT_LREDUX, _("Reduce Luminance"), NULL, - "reduce-saturation", ACT_SREDUX, _("Reduce Saturation"), NULL, + gimp_choice_new_with_values ("reduce-luminance", ACT_LREDUX, _("Reduce luminance"), NULL, + "reduce-saturation", ACT_SREDUX, _("Reduce saturation"), NULL, "blacken", ACT_FLAG, _("Blacken"), NULL, NULL), "reduce-luminance", diff --git a/plug-ins/common/sparkle.c b/plug-ins/common/sparkle.c index b316d8af90..e53bb7255d 100644 --- a/plug-ins/common/sparkle.c +++ b/plug-ins/common/sparkle.c @@ -267,7 +267,7 @@ sparkle_create_procedure (GimpPlugIn *plug_in, G_PARAM_READWRITE); gimp_procedure_add_choice_argument (procedure, "color-type", - _("_Color type"), + _("_Color Type"), _("Color of sparkles"), gimp_choice_new_with_values ("natural-color", NATURAL, _("Natural color"), NULL, "foreground-color", FOREGROUND, _("Foreground color"), NULL, diff --git a/plug-ins/common/van-gogh-lic.c b/plug-ins/common/van-gogh-lic.c index a67011bc46..460949089d 100644 --- a/plug-ins/common/van-gogh-lic.c +++ b/plug-ins/common/van-gogh-lic.c @@ -195,8 +195,8 @@ lic_create_procedure (GimpPlugIn *plug_in, G_PARAM_READWRITE); gimp_procedure_add_double_argument (procedure, "noise-magnitude", - _("_Noise Magnitude"), - _("Noise Magnitude"), + _("_Noise magnitude"), + _("Noise magnitude"), 1.0, 5.0, 2.0, G_PARAM_READWRITE); diff --git a/plug-ins/fractal-explorer/fractal-explorer.c b/plug-ins/fractal-explorer/fractal-explorer.c index 03ee2c2fdb..aa4e5b7a32 100644 --- a/plug-ins/fractal-explorer/fractal-explorer.c +++ b/plug-ins/fractal-explorer/fractal-explorer.c @@ -253,8 +253,8 @@ explorer_create_procedure (GimpPlugIn *plug_in, "December, 1998"); gimp_procedure_add_choice_argument (procedure, "fractal-type", - _("Fr_actal Type"), - _("Type of Fractal Pattern"), + _("Fr_actal type"), + _("Type of fractal pattern"), gimp_choice_new_with_values ("mandelbrot", 0, _("Mandelbrot"), NULL, "julia", 1, _("Julia"), NULL, "barnsley-1", 2, _("Barnsley 1"), NULL, @@ -300,18 +300,18 @@ explorer_create_procedure (GimpPlugIn *plug_in, gimp_procedure_add_double_argument (procedure, "cx", _("C_X"), - _("cx value"), + _("CX value"), -2.5000, 2.5000, -0.75, G_PARAM_READWRITE); gimp_procedure_add_double_argument (procedure, "cy", _("C_Y"), - _("cy value"), + _("CY value"), -2.5000, 2.5000, -0.2, G_PARAM_READWRITE); gimp_procedure_add_choice_argument (procedure, "color-mode", - _("Color mode"), + _("Color Mode"), _("Apply specified color map or active gradient to final image"), gimp_choice_new_with_values ("colormap", 0, _("As specified above"), NULL, "gradient", 1, _("Apply active gradient to final image"), NULL, diff --git a/plug-ins/map-object/map-object-main.c b/plug-ins/map-object/map-object-main.c index 74f8cd1cbb..91f6cd59b0 100644 --- a/plug-ins/map-object/map-object-main.c +++ b/plug-ins/map-object/map-object-main.c @@ -183,7 +183,7 @@ map_create_procedure (GimpPlugIn *plug_in, -1.0, 2.0, 1.0, G_PARAM_READWRITE); gimp_procedure_add_double_argument (procedure, "first-axis-y", - _("y"), + _("Y"), _("First axis of object (x,y,z)"), -1.0, 2.0, 0.0, G_PARAM_READWRITE); @@ -228,9 +228,9 @@ map_create_procedure (GimpPlugIn *plug_in, gimp_procedure_add_choice_argument (procedure, "light-type", _("Light source type"), _("Type of lightsource"), - gimp_choice_new_with_values ("point-light", POINT_LIGHT, _("Point Light"), NULL, - "directional-light", DIRECTIONAL_LIGHT, _("Directional Light"), NULL, - "no-light", NO_LIGHT, _("No Light"), NULL, + gimp_choice_new_with_values ("point-light", POINT_LIGHT, _("Point light"), NULL, + "directional-light", DIRECTIONAL_LIGHT, _("Directional light"), NULL, + "no-light", NO_LIGHT, _("No light"), NULL, NULL), "point-light", G_PARAM_READWRITE); diff --git a/plug-ins/python/histogram-export.py b/plug-ins/python/histogram-export.py index eb8c42d420..ce2b47b227 100644 --- a/plug-ins/python/histogram-export.py +++ b/plug-ins/python/histogram-export.py @@ -221,18 +221,18 @@ class HistogramExport(Gimp.PlugIn): # TODO: GFile props still don't have labels + only load existing files # (here we likely want to create a new file). - procedure.add_file_argument ("file", _("Histogram File"), + procedure.add_file_argument ("file", _("Histogram file"), _("Histogram export file"), Gimp.FileChooserAction.SAVE, False, None, GObject.ParamFlags.READWRITE) - procedure.add_double_argument ("bucket-size", _("_Bucket Size"), _("Bucket Size"), + procedure.add_double_argument ("bucket-size", _("_Bucket size"), _("Bucket size"), 0.001, 1.0, 0.01, GObject.ParamFlags.READWRITE) - procedure.add_boolean_argument ("sample-average", _("Sample _Average"), _("Sample Average"), + procedure.add_boolean_argument ("sample-average", _("Sample _average"), _("Sample average"), False, GObject.ParamFlags.READWRITE) choice = Gimp.Choice.new() - choice.add("pixel-count", 0, _("Pixel Count"), "") + choice.add("pixel-count", 0, _("Pixel count"), "") choice.add("normalized", 1, _("Normalized"), "") choice.add("percent", 2, _("Percent"), "") - procedure.add_choice_argument ("output-format", _("Output _format"), _("Output format"), + procedure.add_choice_argument ("output-format", _("Output _Format"), _("Output format"), choice, "percent", GObject.ParamFlags.READWRITE) return procedure diff --git a/plug-ins/python/spyro-plus.py b/plug-ins/python/spyro-plus.py index b3042729a5..65d2ab2c30 100755 --- a/plug-ins/python/spyro-plus.py +++ b/plug-ins/python/spyro-plus.py @@ -1484,7 +1484,7 @@ class SpyroWindow(): # Curve type row = 0 - label_in_table(_("Curve Type"), table, row, + label_in_table(_("Curve type"), table, row, _("An Epitrochoid pattern is when the moving gear is on the outside of the fixed gear.")) self.curve_type_combo = set_combo_in_table(curve_types, True, table, row, self.curve_type_changed) @@ -1547,7 +1547,7 @@ class SpyroWindow(): "Number of teeth of fixed gear. The size of the fixed gear is " "proportional to the number of teeth." ) - label_in_table(_("Fixed Gear Teeth"), gear_table, row, fixed_gear_tooltip) + label_in_table(_("Fixed gear teeth"), gear_table, row, fixed_gear_tooltip) self.outer_teeth_adj = Gtk.Adjustment(value=self.p.outer_teeth, lower=10, upper=180, step_increment=1) @@ -1558,7 +1558,7 @@ class SpyroWindow(): "Number of teeth of moving gear. The size of the moving gear is " "proportional to the number of teeth." ) - label_in_table(_("Moving Gear Teeth"), gear_table, row, moving_gear_tooltip) + label_in_table(_("Moving gear teeth"), gear_table, row, moving_gear_tooltip) self.inner_teeth_adj = Gtk.Adjustment.new(self.p.inner_teeth, 2, 100, 1, 10, 0) hscale_in_table(self.inner_teeth_adj, gear_table, row, self.inner_teeth_changed) @@ -1575,17 +1575,17 @@ class SpyroWindow(): kit_table = create_table(5) row = 0 - label_in_table(_("Fixed Gear Teeth"), kit_table, row, fixed_gear_tooltip) + label_in_table(_("Fixed gear teeth"), kit_table, row, fixed_gear_tooltip) self.kit_outer_teeth_combo = set_combo_in_table([str(t) for t in ring_teeth], False, kit_table, row, self.kit_outer_teeth_combo_changed) row += 1 - label_in_table(_("Moving Gear Teeth"), kit_table, row, moving_gear_tooltip) + label_in_table(_("Moving gear teeth"), kit_table, row, moving_gear_tooltip) self.kit_inner_teeth_combo = set_combo_in_table([str(t) for t in wheel_teeth], False, kit_table, row, self.kit_inner_teeth_combo_changed) row += 1 - label_in_table(_("Hole Number"), kit_table, row, + label_in_table(_("Hole number"), kit_table, row, _("Hole #1 is at the edge of the gear. " "The maximum hole number is near the center. " "The maximum hole number is different for each gear.")) @@ -1597,19 +1597,19 @@ class SpyroWindow(): visual_table = create_table(5) row = 0 - label_in_table(_("Flower Petals"), visual_table, row, + label_in_table(_("Flower petals"), visual_table, row, _("The number of petals in the pattern.")) self.petals_adj = Gtk.Adjustment.new(self.p.petals, 2, 100, 1, 5, 0) hscale_in_table(self.petals_adj, visual_table, row, self.petals_changed, cols=3) row += 1 - label_in_table(_("Petal Skip"), visual_table, row, + label_in_table(_("Petal skip"), visual_table, row, _( "The number of petals to advance for drawing the next petal.")) self.petal_skip_adj = Gtk.Adjustment.new(self.p.petal_skip, 1, 50, 1, 5, 0) hscale_in_table(self.petal_skip_adj, visual_table, row, self.petal_skip_changed, cols=3) row += 1 - label_in_table(_("Hole Radius(%)"), visual_table, row, + label_in_table(_("Hole radius(%)"), visual_table, row, _("The radius of the hole in the center of the pattern " "where nothing will be drawn. Given as a percentage of the " "size of the pattern. A value of 0 will produce no hole. " @@ -2282,13 +2282,13 @@ class SpyrogimpPlusPlugin(Gimp.PlugIn): procedure.add_double_argument ("morph", _("_Morph"), _("Morph shape of fixed gear, between 0 and 1. Only used by some shapes."), 0.0, 1.0, 0.0, GObject.ParamFlags.READWRITE) - procedure.add_int_argument ("fixed-teeth", _("Fi_xed Gear Teeth"), + procedure.add_int_argument ("fixed-teeth", _("Fi_xed gear teeth"), _("Number of teeth for fixed gear."), 0, GLib.MAXINT, 96, GObject.ParamFlags.READWRITE) - procedure.add_int_argument ("moving-teeth", _("Mo_ving Gear Teeth"), + procedure.add_int_argument ("moving-teeth", _("Mo_ving gear teeth"), _("Number of teeth for fixed gear."), 0, GLib.MAXINT, 36, GObject.ParamFlags.READWRITE) - procedure.add_double_argument ("hole_percent", _("_Hole Radius (%)"), + procedure.add_double_argument ("hole_percent", _("_Hole radius (%)"), _("Location of hole in moving gear in percent, where 100 means that " "the hole is at the edge of the gear, and 0 means the hole is at the center"), 0.0, 100.0, 100.0, GObject.ParamFlags.READWRITE)