libgimp: make vector load strings translatable

This commit is contained in:
Anders Jonsson 2024-04-25 22:34:13 +02:00 committed by Alx Sa
parent b8eea758d7
commit dfae02038a
2 changed files with 4 additions and 4 deletions

View File

@ -132,8 +132,8 @@ gimp_resolution_entry_class_init (GimpResolutionEntryClass *klass)
G_PARAM_CONSTRUCT);
props[PROP_UNIT] = gimp_param_spec_unit ("unit",
"Physical unit for the pixel density",
"This unit is used to select the pixel density "
"and show dimensions in physical unit",
_("This unit is used to select the pixel density "
"and show dimensions in physical unit"),
FALSE, FALSE,
GIMP_UNIT_INCH,
GIMP_PARAM_READWRITE |

View File

@ -100,14 +100,14 @@ gimp_vector_load_procedure_constructed (GObject *object)
G_OBJECT_CLASS (parent_class)->constructed (object);
GIMP_PROC_ARG_INT (procedure, "width",
"_Width (pixels)",
_("_Width (pixels)"),
"Width (in pixels) to load the image in. "
"(0 for the corresponding width per native ratio)",
0, GIMP_MAX_IMAGE_SIZE, 0,
GIMP_PARAM_READWRITE);
GIMP_PROC_ARG_INT (procedure, "height",
"_Height (pixels)",
_("_Height (pixels)"),
"Height (in pixels) to load the image in. "
"(0 for the corresponding height per native ratio)",
0, GIMP_MAX_IMAGE_SIZE, 0,