diff --git a/src/modules/locale/LCLocaleDialog.cpp b/src/modules/locale/LCLocaleDialog.cpp index 5bb08d582..f97a28989 100644 --- a/src/modules/locale/LCLocaleDialog.cpp +++ b/src/modules/locale/LCLocaleDialog.cpp @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -29,10 +30,20 @@ LCLocaleDialog::LCLocaleDialog( const QString& guessedLCLocale, : QDialog( parent ) { setModal( true ); + setWindowTitle( tr( "System locale setting" ) ); QBoxLayout* mainLayout = new QVBoxLayout; setLayout( mainLayout ); + QLabel* upperText = new QLabel( this ); + upperText->setWordWrap( true ); + upperText->setText( tr( "The system locale setting affects the language and character " + "set for some command line user interface elements.
" + "The current setting is %1." ) + .arg( guessedLCLocale ) ); + mainLayout->addWidget( upperText ); + setMinimumWidth( upperText->fontMetrics().height() * 24 ); + m_localesWidget = new QListWidget( this ); m_localesWidget->addItems( localeGenLines ); m_localesWidget->setSelectionMode( QAbstractItemView::SingleSelection );