don't mark weird format strings as translatable.

2004-02-03  Sven Neumann  <sven@gimp.org>

	* app/gui/image-menu.c (image_menu_set_zoom): don't mark weird
	format strings as translatable.

	* data/misc/gimp.desktop.in.in (_Name): use "The GIMP" without an
	"(unstable)" suffix. Should give translators the chance to update
	their translations before the final 2.0 release.

	* configure.in: removed now unused GIMP_VISIBLE_NAME variable.
This commit is contained in:
Sven Neumann 2004-02-03 15:32:20 +00:00 committed by Sven Neumann
parent 9af8d8c55e
commit 7d4ed423c9
7 changed files with 796 additions and 767 deletions

View file

@ -1,3 +1,14 @@
2004-02-03 Sven Neumann <sven@gimp.org>
* app/gui/image-menu.c (image_menu_set_zoom): don't mark weird
format strings as translatable.
* data/misc/gimp.desktop.in.in (_Name): use "The GIMP" without an
"(unstable)" suffix. Should give translators the chance to update
their translations before the final 2.0 release.
* configure.in: removed now unused GIMP_VISIBLE_NAME variable.
2004-02-03 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-ins.c (plug_ins_init): use g_clear_error()

View file

@ -1671,6 +1671,7 @@ image_menu_set_zoom (GtkItemFactory *item_factory,
{
const gchar *menu = NULL;
guint scale;
gchar buf[16];
gchar *label;
scale = ROUND (shell->scale * 1000);
@ -1689,14 +1690,15 @@ image_menu_set_zoom (GtkItemFactory *item_factory,
case 62: menu = "/View/Zoom/1:16"; break;
}
g_snprintf (buf, sizeof (buf),
shell->scale >= 0.15 ? "%.0f%%" : "%.2f%%",
shell->scale * 100.0);
if (!menu)
{
menu = "/View/Zoom/Other...";
label = g_strdup_printf (shell->scale >= 0.15 ?
_("Other (%.0f%%) ..."):
_("Other (%.2f%%) ..."),
shell->scale * 100.0);
label = g_strdup_printf (_("Other (%s) ..."), buf);
gimp_item_factory_set_label (item_factory, menu, label);
g_free (label);
@ -1705,10 +1707,7 @@ image_menu_set_zoom (GtkItemFactory *item_factory,
gimp_item_factory_set_active (item_factory, menu, TRUE);
label = g_strdup_printf (shell->scale >= 0.15 ?
_("_Zoom (%.0f%%)") :
_("_Zoom (%.2f%%)"),
shell->scale * 100.0);
label = g_strdup_printf (_("_Zoom (%s)"), buf);
gimp_item_factory_set_label (item_factory, "/View/Zoom", label);
g_free (label);

View file

@ -1671,6 +1671,7 @@ image_menu_set_zoom (GtkItemFactory *item_factory,
{
const gchar *menu = NULL;
guint scale;
gchar buf[16];
gchar *label;
scale = ROUND (shell->scale * 1000);
@ -1689,14 +1690,15 @@ image_menu_set_zoom (GtkItemFactory *item_factory,
case 62: menu = "/View/Zoom/1:16"; break;
}
g_snprintf (buf, sizeof (buf),
shell->scale >= 0.15 ? "%.0f%%" : "%.2f%%",
shell->scale * 100.0);
if (!menu)
{
menu = "/View/Zoom/Other...";
label = g_strdup_printf (shell->scale >= 0.15 ?
_("Other (%.0f%%) ..."):
_("Other (%.2f%%) ..."),
shell->scale * 100.0);
label = g_strdup_printf (_("Other (%s) ..."), buf);
gimp_item_factory_set_label (item_factory, menu, label);
g_free (label);
@ -1705,10 +1707,7 @@ image_menu_set_zoom (GtkItemFactory *item_factory,
gimp_item_factory_set_active (item_factory, menu, TRUE);
label = g_strdup_printf (shell->scale >= 0.15 ?
_("_Zoom (%.0f%%)") :
_("_Zoom (%.2f%%)"),
shell->scale * 100.0);
label = g_strdup_printf (_("_Zoom (%s)"), buf);
gimp_item_factory_set_label (item_factory, "/View/Zoom", label);
g_free (label);

View file

@ -116,14 +116,6 @@ AC_SUBST(LT_VERSION_INFO)
AC_SUBST(LT_CURRENT_MINUS_AGE)
if test "gimp_unstable" = "yes"; then
GIMP_VISIBLE_NAME="gimp_full_name (unstable)"
else
GIMP_VISIBLE_NAME="gimp_full_name"
fi
AC_SUBST(GIMP_VISIBLE_NAME)
GETTEXT_PACKAGE=gimp20
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",

View file

@ -1,6 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
_Name=@GIMP_VISIBLE_NAME@
_Name=The GIMP
_Comment=Create and edit images or photographs
Exec=gimp-remote-@GIMP_APP_VERSION@ %U
TryExec=gimp-@GIMP_APP_VERSION@

View file

@ -1,3 +1,7 @@
2004-02-03 Sven Neumann <sven@gimp.org>
* de.po: updated.
2004-02-02 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.

1508
po/de.po

File diff suppressed because it is too large Load diff