mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Rename variable (code layout)
This commit is contained in:
parent
f0724857c8
commit
b1a67ba85f
@ -910,8 +910,8 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
|
||||
QString userLocale = mSettings->value( QStringLiteral( "locale/userLocale" ), QString( ) ).toString();
|
||||
bool showGroupSeparator = mSettings->value( QStringLiteral( "locale/showGroupSeparator" ), false ).toBool();
|
||||
QString globalLocale = mSettings->value( QStringLiteral( "locale/globalLocale" ), currentLocale ).toString();
|
||||
const QStringList curentI18nList( i18nList() );
|
||||
for ( const auto &l : curentI18nList )
|
||||
const QStringList language18nList( i18nList() );
|
||||
for ( const auto &l : language18nList )
|
||||
{
|
||||
// QTBUG-57802: eo locale is improperly handled
|
||||
QString displayName = l.startsWith( QLatin1String( "eo" ) ) ? QLocale::languageToString( QLocale::Esperanto ) : QLocale( l ).nativeLanguageName();
|
||||
|
Loading…
x
Reference in New Issue
Block a user