Helpviewer/Network/EricAccessHandler.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3591
2f2a4a76dd22
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
84 html.replace("@BOX-BORDER@", "qrc:icons/box-border-small.png") 84 html.replace("@BOX-BORDER@", "qrc:icons/box-border-small.png")
85 85
86 html.replace("@JQUERY@", "qrc:javascript/jquery.js") 86 html.replace("@JQUERY@", "qrc:javascript/jquery.js")
87 html.replace("@JQUERY-UI@", "qrc:javascript/jquery-ui.js") 87 html.replace("@JQUERY-UI@", "qrc:javascript/jquery-ui.js")
88 88
89 html.replace("@SITE-TITLE@", self.trUtf8("Speed Dial")) 89 html.replace("@SITE-TITLE@", self.tr("Speed Dial"))
90 html.replace("@URL@", self.trUtf8("URL")) 90 html.replace("@URL@", self.tr("URL"))
91 html.replace("@TITLE@", self.trUtf8("Title")) 91 html.replace("@TITLE@", self.tr("Title"))
92 html.replace("@APPLY@", self.trUtf8("Apply")) 92 html.replace("@APPLY@", self.tr("Apply"))
93 html.replace("@NEW-PAGE@", self.trUtf8("New Page")) 93 html.replace("@NEW-PAGE@", self.tr("New Page"))
94 html.replace("@TITLE-EDIT@", self.trUtf8("Edit")) 94 html.replace("@TITLE-EDIT@", self.tr("Edit"))
95 html.replace("@TITLE-REMOVE@", self.trUtf8("Remove")) 95 html.replace("@TITLE-REMOVE@", self.tr("Remove"))
96 html.replace("@TITLE-RELOAD@", self.trUtf8("Reload")) 96 html.replace("@TITLE-RELOAD@", self.tr("Reload"))
97 html.replace( 97 html.replace(
98 "@TITLE-FETCHTITLE@", self.trUtf8("Load title from page")) 98 "@TITLE-FETCHTITLE@", self.tr("Load title from page"))
99 html.replace( 99 html.replace(
100 "@SETTINGS-TITLE@", self.trUtf8("Speed Dial Settings")) 100 "@SETTINGS-TITLE@", self.tr("Speed Dial Settings"))
101 html.replace("@ADD-TITLE@", self.trUtf8("Add New Page")) 101 html.replace("@ADD-TITLE@", self.tr("Add New Page"))
102 html.replace( 102 html.replace(
103 "@TXT_NRROWS@", self.trUtf8("Maximum pages in a row:")) 103 "@TXT_NRROWS@", self.tr("Maximum pages in a row:"))
104 html.replace("@TXT_SDSIZE@", self.trUtf8("Change size of pages:")) 104 html.replace("@TXT_SDSIZE@", self.tr("Change size of pages:"))
105 105
106 self._speedDialPage = html 106 self._speedDialPage = html
107 107
108 import Helpviewer.HelpWindow 108 import Helpviewer.HelpWindow
109 html = QByteArray(self._speedDialPage) 109 html = QByteArray(self._speedDialPage)

eric ide

mercurial