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 fillOriginSelect = function(select, hostname, domain) {
|
||||||
var option, pos;
|
var option, pos;
|
||||||
|
var template = vAPI.i18n('loggerStaticFilteringSentencePartOrigin');
|
||||||
var value = hostname;
|
var value = hostname;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
option = document.createElement('option');
|
option = document.createElement('option');
|
||||||
option.setAttribute('value', value);
|
option.setAttribute('value', value);
|
||||||
option.textContent = value;
|
option.textContent = template.replace('{{origin}}', value);
|
||||||
select.appendChild(option);
|
select.appendChild(option);
|
||||||
if ( value === domain ) {
|
if ( value === domain ) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue