[vlc-commits] commit: Qt: translate all buttons in openurl (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon Apr 26 01:16:57 CEST 2010
vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Apr 26 01:02:17 2010 +0200| [ba5b2b4732f12ab100b21f4abf7d91aa3243e28e] | committer: Jean-Baptiste Kempf
Qt: translate all buttons in openurl
(cherry picked from commit 56346f34baf42e385401fa258587ffe91768a156)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=ba5b2b4732f12ab100b21f4abf7d91aa3243e28e
---
modules/gui/qt4/dialogs/openurl.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/dialogs/openurl.cpp b/modules/gui/qt4/dialogs/openurl.cpp
index d588898..e9a549c 100644
--- a/modules/gui/qt4/dialogs/openurl.cpp
+++ b/modules/gui/qt4/dialogs/openurl.cpp
@@ -51,12 +51,13 @@ OpenUrlDialog::OpenUrlDialog( intf_thread_t *_p_intf,
QPushButton *but;
QDialogButtonBox *box = new QDialogButtonBox( this );
- but = box->addButton( QDialogButtonBox::Ok );
+ but = box->addButton( qtr( "&Play" ), QDialogButtonBox::AcceptRole );
CONNECT( but, clicked(), this, play() );
- but = box->addButton( QDialogButtonBox::Cancel );
+
but = box->addButton( qtr( "&Enqueue" ), QDialogButtonBox::AcceptRole );
CONNECT( but, clicked(), this, enqueue() );
+ but = box->addButton( qtr( "&Cancel" ) , QDialogButtonBox::RejectRole );
CONNECT( box, rejected(), this, reject() );
/* Info label and line edit */
More information about the vlc-commits
mailing list