diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2020-12-03 18:21:07 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2020-12-03 18:21:07 +0200 |
commit | f4279df6372ea5ada2a420446ddf51bff5b914e8 (patch) | |
tree | 58fa8869f8317a319101fcfc2f2a5a6b3a7d7e7a /src | |
parent | 75506a6b9cd7e5a56f2cb907619459d934cdfec4 (diff) |
devicewidget: Mark Cancel and OK button texts translatable
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/50>
Diffstat (limited to 'src')
-rw-r--r-- | src/devicewidget.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devicewidget.cc b/src/devicewidget.cc index dd41487..e86cd20 100644 --- a/src/devicewidget.cc +++ b/src/devicewidget.cc @@ -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; |