Skip to content
Snippets Groups Projects
Commit 8aa2a2ed authored by inso's avatar inso
Browse files

Fixing syntax error

parent 62e8a712
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,7 @@ class WalletsTabWidget(QWidget, Ui_WalletsTab):
else:
localized_maximum = QLocale().toString(self.get_referential_value(maximum), 'f', 2)
logging.debug( self.tr("{:} {:} in [{:.2f} - {:}] {:}"))
# set infos in label
self.label_balance.setText(
self.tr("""
......@@ -108,7 +109,7 @@ class WalletsTabWidget(QWidget, Ui_WalletsTab):
<tr><td align="right"><b>{:}</b></td><td>{:}</td></tr>
<tr><td align="right"><b>{:}</b></td><td>{:}</td></tr>
</table>
""").format(self.tr("Your money share : ", "{:.2f}%").format(amount / maximum * 100) if maximum != 0 else "0%",
""").format(self.tr("Your money share : "), self.tr("{:.2f}%").format(amount / maximum * 100) if maximum != 0 else "0%",
self.tr("Your part : "), self.tr("{:} {:} in [{:.2f} - {:}] {:}")
.format(
localized_amount,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment