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
8fff5b81
Commit
8fff5b81
authored
5 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
[fix] fix transfer view translation
parent
add30b3d
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/gui/sub/transfer/view.py
+2
-2
2 additions, 2 deletions
src/sakia/gui/sub/transfer/view.py
with
2 additions
and
2 deletions
src/sakia/gui/sub/transfer/view.py
+
2
−
2
View file @
8fff5b81
from
PyQt5.QtWidgets
import
QWidget
,
QDialogButtonBox
from
PyQt5.QtGui
import
QRegExpValidator
from
PyQt5.QtCore
import
QT_TRANSLATE_NOOP
,
QRegExp
from
PyQt5.QtCore
import
QT_TRANSLATE_NOOP
,
QRegExp
,
QCoreApplication
from
.transfer_uic
import
Ui_TransferMoneyWidget
from
enum
import
Enum
from
sakia.gui.widgets
import
toast
...
...
@@ -189,7 +189,7 @@ class TransferView(QWidget, Ui_TransferMoneyWidget):
button_box_state
=
TransferView
.
_button_box_values
[
state
]
self
.
button_box
.
button
(
QDialogButtonBox
.
Ok
).
setEnabled
(
button_box_state
[
0
])
self
.
button_box
.
button
(
QDialogButtonBox
.
Ok
).
setText
(
button_box_state
[
1
].
format
(
**
kwargs
)
QCoreApplication
.
translate
(
"
TransferView
"
,
button_box_state
[
1
]
)
.
format
(
**
kwargs
)
)
async
def
show_success
(
self
,
notification
,
recipient
):
...
...
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