mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 15:29:42 -05:00
Merge branch 'develop' of github.com:micahflee/onionshare into develop
This commit is contained in:
commit
8e60e329da
@ -32,7 +32,6 @@
|
||||
"gui_copied_hidservauth": "HidServAuth line copied to clipboard",
|
||||
"gui_show_url_qr_code": "Show QR Code",
|
||||
"gui_qr_code_dialog_title": "OnionShare QR Code",
|
||||
"gui_qr_code_description": "Scan this QR code with a QR reader, such as the camera on your phone, in order to more easily share the OnionShare address with someone.",
|
||||
"gui_waiting_to_start": "Scheduled to start in {}. Click to cancel.",
|
||||
"gui_please_wait": "Starting… Click to cancel.",
|
||||
"error_rate_limit": "Someone has made too many wrong attempts to guess your password, so OnionShare has stopped the server. Start sharing again and send the recipient a new address to share.",
|
||||
|
@ -140,15 +140,9 @@ class QRCodeDialog(QtWidgets.QDialog):
|
||||
self.qr_label = QtWidgets.QLabel(self)
|
||||
self.qr_label.setPixmap(qrcode.make(self.text, image_factory=Image).pixmap())
|
||||
|
||||
self.qr_label_description = QtWidgets.QLabel(self)
|
||||
self.qr_label_description.setText(strings._("gui_qr_code_description"))
|
||||
self.qr_label_description.setWordWrap(True)
|
||||
|
||||
self.setWindowTitle(strings._("gui_qr_code_dialog_title"))
|
||||
self.setWindowIcon(QtGui.QIcon(GuiCommon.get_resource_path("images/logo.png")))
|
||||
layout = QtWidgets.QVBoxLayout(self)
|
||||
layout.addWidget(self.qr_label)
|
||||
layout.addWidget(self.qr_label_description)
|
||||
|
||||
self.exec_()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user