diff -Nur gnome-panel-2.19.92/gnome-panel/panel-ditem-editor.c gnome-panel-2.19.92.new/gnome-panel/panel-ditem-editor.c --- gnome-panel-2.19.92/gnome-panel/panel-ditem-editor.c 2007-09-04 19:34:26.000000000 +0200 +++ gnome-panel-2.19.92.new/gnome-panel/panel-ditem-editor.c 2007-09-16 20:56:47.000000000 +0200 @@ -855,10 +855,15 @@ name = gtk_entry_get_text (GTK_ENTRY (dialog->priv->name_entry)); - if (name && name[0]) + if (name && name[0]) { panel_util_key_file_set_locale_string (dialog->priv->key_file, "Name", name); - else + /* we also change the C locale string otherwise the gettext translation + * will be used instead of the localized one, + * see https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/85216 + */ + panel_util_key_file_set_string (dialog->priv->key_file, "Name", name); + } else panel_util_key_file_remove_all_locale_key (dialog->priv->key_file, "Name"); @@ -925,10 +930,15 @@ comment = gtk_entry_get_text (GTK_ENTRY (dialog->priv->comment_entry)); - if (comment && comment[0]) + if (comment && comment[0]) { panel_util_key_file_set_locale_string (dialog->priv->key_file, "Comment", comment); - else + /* we also change the C locale string otherwise the gettext translation + * will be used instead of the localized one, + * see https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/85216 + */ + panel_util_key_file_set_string (dialog->priv->key_file, "Comment", comment); + } else panel_util_key_file_remove_all_locale_key (dialog->priv->key_file, "Comment");