app, libgimpwidgets: fixing some obsolete unit format strings I missed.

This commit is contained in:
Jehan 2024-08-06 13:13:24 +02:00
parent 68242eb0cc
commit cde861a0e6
3 changed files with 3 additions and 3 deletions

View File

@ -2849,7 +2849,7 @@ prefs_dialog_new (Gimp *gimp,
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,
"monitor-xresolution",

View File

@ -458,7 +458,7 @@ gimp_image_prop_view_update (GimpImagePropView *view)
unit = gimp_image_get_unit (image);
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));
g_snprintf (buf, sizeof (buf), _("%g × %g %s"),
xres / unit_factor,

View File

@ -175,7 +175,7 @@ gimp_unit_store_class_init (GimpUnitStoreClass *klass)
g_param_spec_string ("long-format",
"Long Format",
"Format string for a long label",
"%p",
"%n",
GIMP_PARAM_READWRITE));
}