Skip to content
Snippets Groups Projects
Commit 943eb0b3 authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] fix plugins_manager table model translation

parent 9c122a8e
No related branches found
No related tags found
1 merge request!7750.50.0
......@@ -5,7 +5,7 @@ from PyQt5.QtCore import (
QSortFilterProxyModel,
QModelIndex,
QT_TRANSLATE_NOOP,
)
QCoreApplication)
from sakia.data.entities import Plugin
......@@ -118,7 +118,7 @@ class PluginsTableModel(QAbstractTableModel):
def headerData(self, section, orientation, role):
if orientation == Qt.Horizontal and role == Qt.DisplayRole:
return PluginsTableModel.columns_headers[section]
return QCoreApplication.translate("PluginsTableModel", PluginsTableModel.columns_headers[section])
def data(self, index, role):
row = index.row()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment