mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
libgimp: make vector load strings translatable
This commit is contained in:
parent
b8eea758d7
commit
dfae02038a
2 changed files with 4 additions and 4 deletions
|
@ -132,8 +132,8 @@ gimp_resolution_entry_class_init (GimpResolutionEntryClass *klass)
|
||||||
G_PARAM_CONSTRUCT);
|
G_PARAM_CONSTRUCT);
|
||||||
props[PROP_UNIT] = gimp_param_spec_unit ("unit",
|
props[PROP_UNIT] = gimp_param_spec_unit ("unit",
|
||||||
"Physical unit for the pixel density",
|
"Physical unit for the pixel density",
|
||||||
"This unit is used to select the pixel density "
|
_("This unit is used to select the pixel density "
|
||||||
"and show dimensions in physical unit",
|
"and show dimensions in physical unit"),
|
||||||
FALSE, FALSE,
|
FALSE, FALSE,
|
||||||
GIMP_UNIT_INCH,
|
GIMP_UNIT_INCH,
|
||||||
GIMP_PARAM_READWRITE |
|
GIMP_PARAM_READWRITE |
|
||||||
|
|
|
@ -100,14 +100,14 @@ gimp_vector_load_procedure_constructed (GObject *object)
|
||||||
G_OBJECT_CLASS (parent_class)->constructed (object);
|
G_OBJECT_CLASS (parent_class)->constructed (object);
|
||||||
|
|
||||||
GIMP_PROC_ARG_INT (procedure, "width",
|
GIMP_PROC_ARG_INT (procedure, "width",
|
||||||
"_Width (pixels)",
|
_("_Width (pixels)"),
|
||||||
"Width (in pixels) to load the image in. "
|
"Width (in pixels) to load the image in. "
|
||||||
"(0 for the corresponding width per native ratio)",
|
"(0 for the corresponding width per native ratio)",
|
||||||
0, GIMP_MAX_IMAGE_SIZE, 0,
|
0, GIMP_MAX_IMAGE_SIZE, 0,
|
||||||
GIMP_PARAM_READWRITE);
|
GIMP_PARAM_READWRITE);
|
||||||
|
|
||||||
GIMP_PROC_ARG_INT (procedure, "height",
|
GIMP_PROC_ARG_INT (procedure, "height",
|
||||||
"_Height (pixels)",
|
_("_Height (pixels)"),
|
||||||
"Height (in pixels) to load the image in. "
|
"Height (in pixels) to load the image in. "
|
||||||
"(0 for the corresponding height per native ratio)",
|
"(0 for the corresponding height per native ratio)",
|
||||||
0, GIMP_MAX_IMAGE_SIZE, 0,
|
0, GIMP_MAX_IMAGE_SIZE, 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue