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

[fix] fix wot graph translation for sentry

parent 9618c292
No related branches found
No related tags found
1 merge request!7750.50.0
...@@ -2,7 +2,7 @@ import logging ...@@ -2,7 +2,7 @@ import logging
import time import time
import networkx import networkx
from sakia.data.processors import ConnectionsProcessor from sakia.data.processors import ConnectionsProcessor
from PyQt5.QtCore import QLocale, QDateTime, QObject, QT_TRANSLATE_NOOP from PyQt5.QtCore import QLocale, QDateTime, QObject, QCoreApplication
from sakia.errors import NoPeerAvailable from sakia.errors import NoPeerAvailable
from .constants import EdgeStatus, NodeStatus from .constants import EdgeStatus, NodeStatus
from sakia.constants import MAX_CONFIRMATIONS from sakia.constants import MAX_CONFIRMATIONS
...@@ -14,7 +14,7 @@ def sentry_display(identity): ...@@ -14,7 +14,7 @@ def sentry_display(identity):
sentry_symbol = "" sentry_symbol = ""
if identity.sentry: if identity.sentry:
sentry_symbol = "" sentry_symbol = ""
sentry_text = QT_TRANSLATE_NOOP("BaseGraph", "(sentry)") + " " sentry_text = QCoreApplication.translate("BaseGraph", "(sentry)") + " "
return sentry_symbol, sentry_text return sentry_symbol, sentry_text
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment