Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
d9b5a7d1
Commit
d9b5a7d1
authored
5 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
[fix] fix wot graph translation for sentry
parent
9618c292
No related branches found
No related tags found
1 merge request
!775
0.50.0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sakia/data/graphs/base_graph.py
+2
-2
2 additions, 2 deletions
src/sakia/data/graphs/base_graph.py
with
2 additions
and
2 deletions
src/sakia/data/graphs/base_graph.py
+
2
−
2
View file @
d9b5a7d1
...
@@ -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
,
Q
T_TRANSLATE_NOOP
from
PyQt5.QtCore
import
QLocale
,
QDateTime
,
QObject
,
Q
CoreApplication
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
=
Q
T_TRANSLATE_NOOP
(
"
BaseGraph
"
,
"
(sentry)
"
)
+
"
"
sentry_text
=
Q
CoreApplication
.
translate
(
"
BaseGraph
"
,
"
(sentry)
"
)
+
"
"
return
sentry_symbol
,
sentry_text
return
sentry_symbol
,
sentry_text
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment