mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
processing: fix saga translation (followup 66a3d02)
This commit is contained in:
parent
335644e580
commit
384c0a703b
@ -29,6 +29,7 @@ __revision__ = '$Format:%H$'
|
|||||||
import os
|
import os
|
||||||
import importlib
|
import importlib
|
||||||
import subprocess
|
import subprocess
|
||||||
|
from PyQt4.QtCore import QCoreApplication
|
||||||
from PyQt4.QtGui import QIcon
|
from PyQt4.QtGui import QIcon
|
||||||
from processing.core.GeoAlgorithm import GeoAlgorithm
|
from processing.core.GeoAlgorithm import GeoAlgorithm
|
||||||
from processing.core.ProcessingConfig import ProcessingConfig
|
from processing.core.ProcessingConfig import ProcessingConfig
|
||||||
@ -82,7 +83,7 @@ class SagaAlgorithm212(GeoAlgorithm):
|
|||||||
line = lines.readline().strip('\n').strip()
|
line = lines.readline().strip('\n').strip()
|
||||||
self.undecoratedGroup = line
|
self.undecoratedGroup = line
|
||||||
self.group = SagaGroupNameDecorator.getDecoratedName(self.undecoratedGroup)
|
self.group = SagaGroupNameDecorator.getDecoratedName(self.undecoratedGroup)
|
||||||
self.i18n_name = QCoreApplication.translate("SAGAAlgorithm", self.group)
|
self.i18n_group = QCoreApplication.translate("SAGAAlgorithm", self.group)
|
||||||
line = lines.readline().strip('\n').strip()
|
line = lines.readline().strip('\n').strip()
|
||||||
while line != '':
|
while line != '':
|
||||||
if line.startswith('Hardcoded'):
|
if line.startswith('Hardcoded'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user