"Delete" and "Apply" buttons shows untranslated, and can't be translated
Bug #442990 reported by
Ricardo Pérez López
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
Undecided
|
Adi Roiban | ||
gnome-desktop |
Fix Released
|
Medium
|
|||
gnome-disk-utility (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
Binary package hint: gnome-disk-utility
The "Delete" and "Apply" buttons shows untranslated in my Karmic Beta Spanish desktop, and can't be translated because there aren't in the Launchpad template:
I attach an screenshot to illustrate the problem.
Related branches
Changed in gnome-disk-utility (Ubuntu): | |
status: | New → Confirmed |
Changed in ubuntu-translations: | |
status: | New → Confirmed |
Changed in ubuntu-translations: | |
assignee: | nobody → Adi Roiban (adiroiban) |
Changed in ubuntu-translations: | |
status: | Confirmed → Fix Released |
Changed in gnome-desktop: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
Be problem is in src/palimpsest/ gdu-section- partition. c as the Delete and Apply text are not marked for translations.
This is one possible sollution.
button = gtk_button_ new_with_ mnemonic (_("_Delete"));
gtk_widget_ set_tooltip_ text (button, _("Delete the partition"));
g_signal_ connect (button, "clicked", G_CALLBACK (on_delete_ partition_ clicked) , section);
gtk_container_ add (GTK_CONTAINER (button_box), button);
button = gtk_button_ new_with_ mnemonic (_("_Revert"));
section- >priv-> modify_ part_revert_ button = button;
gtk_container_ add (GTK_CONTAINER (button_box), button);
button = gtk_button_ new_with_ mnemonic (_("_Apply"));
gtk_widget_ set_tooltip_ text (button, _("Apply the changes made"));
g_signal_ connect (button, "clicked", G_CALLBACK (on_modify_ partition_ apply_clicked) , section);
section- >priv-> modify_ part_apply_ button = button;
gtk_container_ add (GTK_CONTAINER (button_box), button);
Another one would be to use the gtk_button_ new_from_ stock function and in this later case it will use the default GTK translations.