mirror of https://github.com/gorhill/uBlock.git
this addresses https://crowdin.com/mail/message/310194
This commit is contained in:
parent
40ebd3e8a8
commit
0df09ba193
|
@ -933,11 +933,12 @@ var filteringDialog = (function() {
|
|||
|
||||
var fillOriginSelect = function(select, hostname, domain) {
|
||||
var option, pos;
|
||||
var template = vAPI.i18n('loggerStaticFilteringSentencePartOrigin');
|
||||
var value = hostname;
|
||||
for (;;) {
|
||||
option = document.createElement('option');
|
||||
option.setAttribute('value', value);
|
||||
option.textContent = value;
|
||||
option.textContent = template.replace('{{origin}}', value);
|
||||
select.appendChild(option);
|
||||
if ( value === domain ) {
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue