Skip to content

Commit

Permalink
Update translators list and fix svg Sardinian Flag and name not show …
Browse files Browse the repository at this point in the history
…on Options tab
  • Loading branch information
ValPinnaSardinia committed Nov 22, 2020
1 parent 5eae8f2 commit b3d9bf8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions images/flags/sc.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/images.qrc
Expand Up @@ -32,6 +32,7 @@
<file>flags/pt_PT.svg</file>
<file>flags/ro.svg</file>
<file>flags/ru.svg</file>
<file>flags/sc.svg</file>
<file>flags/sk.svg</file>
<file>flags/sv.svg</file>
<file>flags/sw.svg</file>
Expand Down
1 change: 1 addition & 0 deletions scripts/tsstat.pl
Expand Up @@ -78,6 +78,7 @@
'pt_PT' => 'Giovanni Manghi, Joana Simões, Duarte Carreira, Alexandre Neto, Pedro Pereira, Pedro Palheiro, Nelson Silva, Ricardo Sena, Leandro Infantini, João Gaspar, José Macau',
'ro' => 'Sorin Călinică, Tudor Bărăscu, Georgiana Ioanovici, Alex Bădescu, Lonut Losifescu-Enescu, Bogdan Pacurar',
'ru' => 'Alexander Bruy, Artem Popov',
'sc' => 'Valerio Pinna',
'sk' => 'Lubos Balazovic, Jana Kormanikova, Ivan Mincik',
'sl' => 'Jože Detečnik, Dejan Gregor, Jaka Kranjc',
'sq' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsoptions.cpp
Expand Up @@ -971,7 +971,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
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();
QString displayName = l.startsWith( QLatin1String( "eo" ) ) ? QLocale::languageToString( QLocale::Esperanto ) : l.startsWith( QLatin1String( "sc" ) ) ? QStringLiteral( "sardu" ) : QLocale( l ).nativeLanguageName();
cboTranslation->addItem( QIcon( QString( ":/images/flags/%1.svg" ).arg( l ) ), displayName, l );
}

Expand Down

0 comments on commit b3d9bf8

Please sign in to comment.