mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-18 05:46:11 +00:00
app, libgimpwidgets: fixing some obsolete unit format strings I missed.
This commit is contained in:
parent
68242eb0cc
commit
cde861a0e6
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue