Skip to content
Snippets Groups Projects
Commit f4279df6 authored by Tanu Kaskinen's avatar Tanu Kaskinen
Browse files

devicewidget: Mark Cancel and OK button texts translatable

Part-of: <!50>
parent 75506a6b
No related branches found
No related tags found
1 merge request!50devicewidget: Mark Cancel and OK button texts translatable
......@@ -259,8 +259,8 @@ void DeviceWidget::renamePopup() {
x->get_widget("renameText", renameText);
renameText->set_text(description);
dialog->add_button("_Cancel", Gtk::RESPONSE_CANCEL);
dialog->add_button("_OK", Gtk::RESPONSE_OK);
dialog->add_button(_("_Cancel"), Gtk::RESPONSE_CANCEL);
dialog->add_button(_("_OK"), Gtk::RESPONSE_OK);
dialog->set_default_response(Gtk::RESPONSE_OK);
if (Gtk::RESPONSE_OK == dialog->run()) {
pa_operation* o;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment