mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
processing: simple interface translation fix
This commit is contained in:
parent
f899f539db
commit
25e9f864a2
@ -77,6 +77,8 @@ def getClassificationEn(alg):
|
||||
|
||||
def getClassification(alg):
|
||||
group, subgroup = getClassificationEn(alg)
|
||||
if not group and not subgroup:
|
||||
return None, None
|
||||
return (QCoreApplication.translate('AlgorithmClassification', group),
|
||||
QCoreApplication.translate('AlgorithmClassification', subgroup))
|
||||
|
||||
|
@ -58,8 +58,8 @@ class ProcessingToolbox(BASE, WIDGET):
|
||||
self.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea)
|
||||
|
||||
self.modeComboBox.clear()
|
||||
self.modeComboBox.addItems(['Simplified interface',
|
||||
'Advanced interface'])
|
||||
self.modeComboBox.addItems([self.tr('Simplified interface'),
|
||||
self.tr('Advanced interface']))
|
||||
settings = QSettings()
|
||||
if not settings.contains(self.USE_CATEGORIES):
|
||||
settings.setValue(self.USE_CATEGORIES, True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user