[vlc-devel] [PATCH] qt: fix missing string translations

Pierre Lamot pierre at videolabs.io
Wed Sep 23 09:25:26 CEST 2020


OK

On 2020-09-23 02:16, Lyndon Brown wrote:
> attached. preview:
> 
> diff --git a/modules/gui/qt/dialogs/messages/messages.cpp
> b/modules/gui/qt/dialogs/messages/messages.cpp
> index f0bedeadd6..abd0d5f7f2 100644
> --- a/modules/gui/qt/dialogs/messages/messages.cpp
> +++ b/modules/gui/qt/dialogs/messages/messages.cpp
> @@ -93,7 +93,7 @@ MessagesDialog::MessagesDialog( intf_thread_t
> *_p_intf)
>      changeVerbosity( i_verbosity );
>      ui.verbosityBox->setValue( qMin( i_verbosity, 2 ) );
> 
> -    getSettings()->beginGroup( "Messages" );
> +    getSettings()->beginGroup( qtr("Messages") );
>      ui.filterEdit->setText( getSettings()->value( "messages-filter"
> ).toString() );
>      getSettings()->endGroup();
> 
> diff --git a/modules/gui/qt/dialogs/vlm/vlm.cpp
> b/modules/gui/qt/dialogs/vlm/vlm.cpp
> index ce24eefa44..2b21d52f91 100644
> --- a/modules/gui/qt/dialogs/vlm/vlm.cpp
> +++ b/modules/gui/qt/dialogs/vlm/vlm.cpp
> @@ -468,7 +468,7 @@ VLMAWidget::VLMAWidget( VLMWrapper *_vlm, const
> QString& _name,
> 
>      QToolButton *deleteButton = new QToolButton;
>      deleteButton->setIcon( QIcon( ":/toolbar/clear.svg" ) );
> -    deleteButton->setToolTip("Delete");
> +    deleteButton->setToolTip( qtr("Delete") );
>      objLayout->addWidget( deleteButton, 0, 6 );
> 
>      BUTTONACT( modifyButton, modify() );
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list