diff --git a/plug-ins/python/foggify.py b/plug-ins/python/foggify.py index a7c9ad2a84..f3fed1c9af 100755 --- a/plug-ins/python/foggify.py +++ b/plug-ins/python/foggify.py @@ -122,7 +122,7 @@ class Foggify (Gimp.PlugIn): procedure.add_string_argument ("name", _("Layer _name"), _("Layer name"), _("Clouds"), GObject.ParamFlags.READWRITE) - procedure.add_color_argument ("color", _("_Fog color"), _("_Fog color"), + procedure.add_color_argument ("color", _("_Fog color"), _("Fog color"), True, _color, GObject.ParamFlags.READWRITE) procedure.add_double_argument ("turbulence", _("_Turbulence"), _("Turbulence"), 0.0, 7.0, 1.0, GObject.ParamFlags.READWRITE) diff --git a/plug-ins/python/palette-sort.py b/plug-ins/python/palette-sort.py index dd746b0821..0d97ffa000 100755 --- a/plug-ins/python/palette-sort.py +++ b/plug-ins/python/palette-sort.py @@ -108,7 +108,7 @@ def gegl_color_bytes_convert (color, format, precision, index): return result[index] -slice_expr_doc = """ +slice_expr_doc = N_(""" Format is 'start:nrows,length' . All items are optional. The empty string selects all items, as does ':' @@ -121,7 +121,7 @@ slice_expr_doc = """ '3:,4' selects rows of 4 colors, starting at 3 (nrows auto-determined) '2:3,4' selects 3 rows of 4 colors (12 colors total), beginning at index 2. '4' is illegal (ambiguous) -""" +""") def parse_slice(s, numcolors): @@ -386,7 +386,7 @@ class PaletteSort (Gimp.PlugIn): # TODO: It would be much simpler to replace the slice expression with three # separate parameters: start-index, number-of-rows, row_length procedure.add_string_argument ("slice-expr", _("Slice _expression"), - slice_expr_doc, "", + _(slice_expr_doc), "", GObject.ParamFlags.READWRITE) channel_choice = Gimp.Choice.new() self.add_choices (channel_choice) diff --git a/plug-ins/python/spyro-plus.py b/plug-ins/python/spyro-plus.py index 77ea966638..54947fd2fe 100755 --- a/plug-ins/python/spyro-plus.py +++ b/plug-ins/python/spyro-plus.py @@ -1453,7 +1453,7 @@ class SpyroWindow(): combo.append_text(_(txt)) else: for key in txt_list: - combo.append (key, txt_list[key].name) + combo.append (key, _(txt_list[key].name)) combo.set_halign(Gtk.Align.FILL) table.attach(combo, 1, row, 1, 1)