[pulseaudio-commits] [Git][pulseaudio/pavucontrol][master] devicewidget: Mark Cancel and OK button texts translatable

PulseAudio Marge Bot gitlab at gitlab.freedesktop.org
Thu Dec 3 16:29:21 UTC 2020



PulseAudio Marge Bot pushed to branch master at PulseAudio / pavucontrol


Commits:
f4279df6 by Tanu Kaskinen at 2020-12-03T18:21:07+02:00
devicewidget: Mark Cancel and OK button texts translatable

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/50>

- - - - -


1 changed file:

- src/devicewidget.cc


Changes:

=====================================
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;



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/f4279df6372ea5ada2a420446ddf51bff5b914e8

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/f4279df6372ea5ada2a420446ddf51bff5b914e8
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20201203/9916c1bb/attachment.htm>


More information about the pulseaudio-commits mailing list