fix(i18n): restore leak check modal, QoS DSCP, and domain validation translations

This commit is contained in:
Dushnilin
2026-09-14 14:20:42 +03:00
parent 850f1544fe
commit 4af55ebed3
9 changed files with 5315 additions and 5166 deletions
@@ -600,7 +600,7 @@ function createProfileContent(section) {
if (
!/^([a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/.test(clean)
) {
return _("Invalid domain: " + line);
return _("Invalid domain: %s").format(line);
}
}
return true;
@@ -1286,7 +1286,7 @@ function createParentalContent(section) {
if (
!/^([a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/.test(clean)
) {
return _("Invalid domain: " + line);
return _("Invalid domain: %s").format(line);
}
}
return true;