Bug fix: Conversion from QString to standard string #223
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-03#223
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I believe that str() will fail if given international characters. The following works for the normal tray notification. Does it work for the Notify.Notification menu?
Traceback (most recent call last):
File "/usr/share/pybitmessage/bitmessageqt/init.py", line 895, in updateNetworkStatusTab
self.setStatusIcon('yellow')
File "/usr/share/pybitmessage/bitmessageqt/init.py", line 925, in setStatusIcon
unicode(_translate("MainWindow","Connected").toUtf8(),'utf-8'))
NameError: global name '_translate' is not defined
Oh, pardon me. I'm working off of the latest code.
This doesn't use _translate :
self.notifierShow('Bitmessage', unicode(QtGui.QApplication.translate"MainWindow", "Connected").toUtf8(),'utf-8'))
Yes that works.
Merged. Tested normal notifications: successful. You may still want to test the messaging menu. I added the "translate" functions to the 'New Message' notification; it was missed previously.
Thank you