mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
app/dialogs/preferences-dialog.c app/widgets/gimpimagepropview.c
2006-04-05 Sven Neumann <sven@gimp.org> * app/dialogs/preferences-dialog.c * app/widgets/gimpimagepropview.c * app/widgets/gimpsizebox.c * app/widgets/gimptemplateeditor.c: replaced "dpi" with "ppi" (bug #326718).
This commit is contained in:
parent
c668edee42
commit
8f57c23d89
|
@ -1,3 +1,11 @@
|
||||||
|
2006-04-05 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/dialogs/preferences-dialog.c
|
||||||
|
* app/widgets/gimpimagepropview.c
|
||||||
|
* app/widgets/gimpsizebox.c
|
||||||
|
* app/widgets/gimptemplateeditor.c: replaced "dpi" with "ppi"
|
||||||
|
(bug #326718).
|
||||||
|
|
||||||
2006-04-05 Michael Natterer <mitch@gimp.org>
|
2006-04-05 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/plug-in/plug-in-proc-frame.[ch]: added
|
* app/plug-in/plug-in-proc-frame.[ch]: added
|
||||||
|
|
|
@ -2068,7 +2068,7 @@ prefs_dialog_new (Gimp *gimp,
|
||||||
gimp_size_entry_attach_label (GIMP_SIZE_ENTRY (entry),
|
gimp_size_entry_attach_label (GIMP_SIZE_ENTRY (entry),
|
||||||
_("Vertical"), 0, 2, 0.0);
|
_("Vertical"), 0, 2, 0.0);
|
||||||
gimp_size_entry_attach_label (GIMP_SIZE_ENTRY (entry),
|
gimp_size_entry_attach_label (GIMP_SIZE_ENTRY (entry),
|
||||||
_("dpi"), 1, 4, 0.0);
|
_("ppi"), 1, 4, 0.0);
|
||||||
|
|
||||||
hbox = gtk_hbox_new (FALSE, 0);
|
hbox = gtk_hbox_new (FALSE, 0);
|
||||||
|
|
||||||
|
@ -2084,7 +2084,8 @@ prefs_dialog_new (Gimp *gimp,
|
||||||
|
|
||||||
gimp_get_screen_resolution (NULL, &xres, &yres);
|
gimp_get_screen_resolution (NULL, &xres, &yres);
|
||||||
|
|
||||||
str = g_strdup_printf (_("From _windowing system (currently %d × %d dpi)"),
|
str = g_strdup_printf (_("From _windowing system "
|
||||||
|
"(currently %d × %d ppi)"),
|
||||||
ROUND (xres), ROUND (yres));
|
ROUND (xres), ROUND (yres));
|
||||||
|
|
||||||
button = gtk_radio_button_new_with_mnemonic (group, str);
|
button = gtk_radio_button_new_with_mnemonic (group, str);
|
||||||
|
|
|
@ -348,7 +348,7 @@ gimp_image_prop_view_update (GimpImagePropView *view)
|
||||||
g_snprintf (buf, sizeof (buf), _("%g × %g %s"),
|
g_snprintf (buf, sizeof (buf), _("%g × %g %s"),
|
||||||
image->xresolution / unit_factor,
|
image->xresolution / unit_factor,
|
||||||
image->yresolution / unit_factor,
|
image->yresolution / unit_factor,
|
||||||
unit == GIMP_UNIT_INCH ? _("dpi") : format_buf);
|
unit == GIMP_UNIT_INCH ? _("ppi") : format_buf);
|
||||||
gtk_label_set_text (GTK_LABEL (view->resolution_label), buf);
|
gtk_label_set_text (GTK_LABEL (view->resolution_label), buf);
|
||||||
|
|
||||||
/* color type */
|
/* color type */
|
||||||
|
|
|
@ -454,9 +454,9 @@ gimp_size_box_update_resolution (GimpSizeBox *box)
|
||||||
gint yres = ROUND (box->yresolution);
|
gint yres = ROUND (box->yresolution);
|
||||||
|
|
||||||
if (xres != yres)
|
if (xres != yres)
|
||||||
text = g_strdup_printf (_("%d × %d dpi"), xres, yres);
|
text = g_strdup_printf (_("%d × %d ppi"), xres, yres);
|
||||||
else
|
else
|
||||||
text = g_strdup_printf (_("%d dpi"), yres);
|
text = g_strdup_printf (_("%d ppi"), yres);
|
||||||
|
|
||||||
gtk_label_set_text (GTK_LABEL (priv->res_label), text);
|
gtk_label_set_text (GTK_LABEL (priv->res_label), text);
|
||||||
g_free (text);
|
g_free (text);
|
||||||
|
|
|
@ -665,9 +665,9 @@ gimp_template_editor_template_notify (GimpTemplate *template,
|
||||||
yres = ROUND (template->yresolution);
|
yres = ROUND (template->yresolution);
|
||||||
|
|
||||||
if (xres != yres)
|
if (xres != yres)
|
||||||
text = g_strdup_printf (_("%d × %d dpi, %s"), xres, yres, desc);
|
text = g_strdup_printf (_("%d × %d ppi, %s"), xres, yres, desc);
|
||||||
else
|
else
|
||||||
text = g_strdup_printf (_("%d dpi, %s"), yres, desc);
|
text = g_strdup_printf (_("%d ppi, %s"), yres, desc);
|
||||||
|
|
||||||
gtk_label_set_text (GTK_LABEL (editor->more_label), text);
|
gtk_label_set_text (GTK_LABEL (editor->more_label), text);
|
||||||
g_free (text);
|
g_free (text);
|
||||||
|
|
Loading…
Reference in a new issue