~jelmer/qbrz/relative

« back to all changes in this revision

Viewing changes to lib/ui_bookmark.py

  • Committer: RJL situp
  • Date: 2021-01-06 11:42:36 UTC
  • Revision ID: it@file-away.co.uk-20210106114236-xd8fs0svua93wdiy
Corrected lazy import in commands.py (Qt4 -> 5). Built UIs for Qt5

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# Form implementation generated from reading ui file 'ui/bookmark.ui'
4
4
#
5
 
# Created by: PyQt4 UI code generator 4.12.3
 
5
# Created by: PyQt5 UI code generator 5.12.3
6
6
#
7
7
# WARNING! All changes made in this file will be lost!
8
8
 
 
9
 
9
10
from PyQt5 import QtCore, QtGui, QtWidgets
10
 
 
11
 
try:
12
 
    _encoding = QtWidgets.QApplication.UnicodeUTF8
13
 
    def _translate(context, text, disambig):
14
 
        return QtCore.QCoreApplication.translate(context, text, disambig, _encoding)
15
 
except AttributeError:
16
 
    def _translate(context, text, disambig):
17
 
        return QtCore.QCoreApplication.translate(context, text, disambig)
 
11
from breezy.plugins.qbrz.lib.i18n import gettext
 
12
 
 
13
 
18
14
 
19
15
class Ui_BookmarkDialog(object):
20
16
    def setupUi(self, BookmarkDialog):
52
48
        QtCore.QMetaObject.connectSlotsByName(BookmarkDialog)
53
49
 
54
50
    def retranslateUi(self, BookmarkDialog):
55
 
        self.label.setText(_translate("BookmarkDialog", "&Name:", None))
56
 
        self.label_2.setText(_translate("BookmarkDialog", "&Location:", None))
57
 
 
 
51
        _translate = QtCore.QCoreApplication.translate
 
52
        self.label.setText(_translate("BookmarkDialog", "&Name:"))
 
53
        self.label_2.setText(_translate("BookmarkDialog", "&Location:"))