mirror of https://github.com/GNOME/gimp.git
plug-ins: add and correct gettext macros in Python
This commit is contained in:
parent
21a329dae6
commit
8b84c5551b
|
@ -225,7 +225,7 @@ class GradientsSaveAsCSS (Gimp.PlugIn):
|
|||
procedure.set_documentation (_("Creates a new palette from a given gradient"),
|
||||
_("Creates a new palette from a given gradient"),
|
||||
name)
|
||||
procedure.set_menu_label("Save as CSS...")
|
||||
procedure.set_menu_label(_("Save as CSS..."))
|
||||
procedure.set_attribution("Joao S. O. Bueno",
|
||||
"(c) GPL V3.0 or later",
|
||||
"2011")
|
||||
|
|
|
@ -349,10 +349,10 @@ class HistogramExport(Gimp.PlugIn):
|
|||
|
||||
procedure.set_image_types("*")
|
||||
procedure.set_documentation (
|
||||
N_("Exports the image histogram to a text file (CSV)"),
|
||||
_("Exports the image histogram to a text file (CSV)"),
|
||||
globals()["__doc__"], # This includes the docstring, on the top of the file
|
||||
name)
|
||||
procedure.set_menu_label(N_("_Export histogram..."))
|
||||
procedure.set_menu_label(_("_Export histogram..."))
|
||||
procedure.set_attribution("João S. O. Bueno",
|
||||
"(c) GPL V3.0 or later",
|
||||
"2014")
|
||||
|
|
|
@ -150,7 +150,7 @@ class PaletteOffset (Gimp.PlugIn):
|
|||
dialog.get_content_area().add(box)
|
||||
box.show()
|
||||
|
||||
label = Gtk.Label.new_with_mnemonic("Off_set")
|
||||
label = Gtk.Label.new(_("Offset"))
|
||||
box.pack_start(label, False, False, 1)
|
||||
label.show()
|
||||
|
||||
|
|
Loading…
Reference in New Issue