Helpviewer/AdBlock/AdBlockManager.py

changeset 3190
a9a94491c4fd
parent 3160
209a07d7e401
child 3484
645c12de6b0c
equal deleted inserted replaced
3189:9a21c547de5f 3190:a9a94491c4fd
135 @return URL for custom subscriptions (QUrl) 135 @return URL for custom subscriptions (QUrl)
136 """ 136 """
137 location = self.__customSubscriptionLocation() 137 location = self.__customSubscriptionLocation()
138 encodedUrl = bytes(location.toEncoded()).decode() 138 encodedUrl = bytes(location.toEncoded()).decode()
139 url = QUrl("abp:subscribe?location={0}&title={1}".format( 139 url = QUrl("abp:subscribe?location={0}&title={1}".format(
140 encodedUrl, self.trUtf8("Custom Rules"))) 140 encodedUrl, self.tr("Custom Rules")))
141 return url 141 return url
142 142
143 def customRules(self): 143 def customRules(self):
144 """ 144 """
145 Public method to get a subscription for custom rules. 145 Public method to get a subscription for custom rules.

eric ide

mercurial