devicewidget: Mark Cancel and OK button texts translatable
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/50>
This commit is contained in:
parent
75506a6b9c
commit
f4279df637
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue