mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
app, libgimpwidgets: fixing some obsolete unit format strings I missed.
This commit is contained in:
parent
68242eb0cc
commit
cde861a0e6
3 changed files with 3 additions and 3 deletions
|
@ -2849,7 +2849,7 @@ prefs_dialog_new (Gimp *gimp,
|
||||||
GTK_CONTAINER (vbox), FALSE);
|
GTK_CONTAINER (vbox), FALSE);
|
||||||
|
|
||||||
{
|
{
|
||||||
gchar *pixels_per_unit = g_strconcat (_("Pixels"), "/%s", NULL);
|
gchar *pixels_per_unit = g_strconcat (_("Pixels"), "/%a", NULL);
|
||||||
|
|
||||||
entry = gimp_prop_coordinates_new (object,
|
entry = gimp_prop_coordinates_new (object,
|
||||||
"monitor-xresolution",
|
"monitor-xresolution",
|
||||||
|
|
|
@ -458,7 +458,7 @@ gimp_image_prop_view_update (GimpImagePropView *view)
|
||||||
unit = gimp_image_get_unit (image);
|
unit = gimp_image_get_unit (image);
|
||||||
unit_factor = gimp_unit_get_factor (unit);
|
unit_factor = gimp_unit_get_factor (unit);
|
||||||
|
|
||||||
g_snprintf (format_buf, sizeof (format_buf), _("pixels/%s"),
|
g_snprintf (format_buf, sizeof (format_buf), _("pixels/%a"),
|
||||||
gimp_unit_get_abbreviation (unit));
|
gimp_unit_get_abbreviation (unit));
|
||||||
g_snprintf (buf, sizeof (buf), _("%g × %g %s"),
|
g_snprintf (buf, sizeof (buf), _("%g × %g %s"),
|
||||||
xres / unit_factor,
|
xres / unit_factor,
|
||||||
|
|
|
@ -175,7 +175,7 @@ gimp_unit_store_class_init (GimpUnitStoreClass *klass)
|
||||||
g_param_spec_string ("long-format",
|
g_param_spec_string ("long-format",
|
||||||
"Long Format",
|
"Long Format",
|
||||||
"Format string for a long label",
|
"Format string for a long label",
|
||||||
"%p",
|
"%n",
|
||||||
GIMP_PARAM_READWRITE));
|
GIMP_PARAM_READWRITE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue