- Fix: Regression with locale string setting
parent
3909d2fd97
commit
a5265d2c22
|
@ -27034,7 +27034,7 @@ var setStrings = function setStrings(type, obj, ids) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'content':
|
case 'content':
|
||||||
for (var i = 0, node; node = elem.childNodes[i]; i++) {
|
for (var i = 0, node; node = elem.childNodes[i]; i++) {
|
||||||
if (node.nodeType === 3 && node.textContent.trim()) {
|
if (node.nodeType === 3 && !node.textContent.trim()) {
|
||||||
node.textContent = val;
|
node.textContent = val;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -27040,7 +27040,7 @@
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'content':
|
case 'content':
|
||||||
for (var i = 0, node; node = elem.childNodes[i]; i++) {
|
for (var i = 0, node; node = elem.childNodes[i]; i++) {
|
||||||
if (node.nodeType === 3 && node.textContent.trim()) {
|
if (node.nodeType === 3 && !node.textContent.trim()) {
|
||||||
node.textContent = val;
|
node.textContent = val;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -49,7 +49,7 @@ export const setStrings = function (type, obj, ids) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'content':
|
case 'content':
|
||||||
for (let i = 0, node; (node = elem.childNodes[i]); i++) {
|
for (let i = 0, node; (node = elem.childNodes[i]); i++) {
|
||||||
if (node.nodeType === 3 && node.textContent.trim()) {
|
if (node.nodeType === 3 && !node.textContent.trim()) {
|
||||||
node.textContent = val;
|
node.textContent = val;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27037,7 +27037,7 @@
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'content':
|
case 'content':
|
||||||
for (var i = 0, node; node = elem.childNodes[i]; i++) {
|
for (var i = 0, node; node = elem.childNodes[i]; i++) {
|
||||||
if (node.nodeType === 3 && node.textContent.trim()) {
|
if (node.nodeType === 3 && !node.textContent.trim()) {
|
||||||
node.textContent = val;
|
node.textContent = val;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27037,7 +27037,7 @@
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'content':
|
case 'content':
|
||||||
for (var i = 0, node; node = elem.childNodes[i]; i++) {
|
for (var i = 0, node; node = elem.childNodes[i]; i++) {
|
||||||
if (node.nodeType === 3 && node.textContent.trim()) {
|
if (node.nodeType === 3 && !node.textContent.trim()) {
|
||||||
node.textContent = val;
|
node.textContent = val;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue