Helpviewer/Network/EricAccessHandler.py

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

eric ide

mercurial