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:
Sven Neumann 2006-04-05 16:45:27 +00:00 committed by Sven Neumann
parent c668edee42
commit 8f57c23d89
5 changed files with 16 additions and 7 deletions

View File

@ -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>
* app/plug-in/plug-in-proc-frame.[ch]: added

View File

@ -2068,7 +2068,7 @@ prefs_dialog_new (Gimp *gimp,
gimp_size_entry_attach_label (GIMP_SIZE_ENTRY (entry),
_("Vertical"), 0, 2, 0.0);
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);
@ -2084,7 +2084,8 @@ prefs_dialog_new (Gimp *gimp,
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));
button = gtk_radio_button_new_with_mnemonic (group, str);

View File

@ -348,7 +348,7 @@ gimp_image_prop_view_update (GimpImagePropView *view)
g_snprintf (buf, sizeof (buf), _("%g × %g %s"),
image->xresolution / 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);
/* color type */

View File

@ -454,9 +454,9 @@ gimp_size_box_update_resolution (GimpSizeBox *box)
gint yres = ROUND (box->yresolution);
if (xres != yres)
text = g_strdup_printf (_("%d × %d dpi"), xres, yres);
text = g_strdup_printf (_("%d × %d ppi"), xres, yres);
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);
g_free (text);

View File

@ -665,9 +665,9 @@ gimp_template_editor_template_notify (GimpTemplate *template,
yres = ROUND (template->yresolution);
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
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);
g_free (text);