opnsense / lang

Language translations for OPNsense core and plugins
https://translate.opnsense.org/
18 stars 61 forks source link

HTML escape. #47

Closed kekek2 closed 5 years ago

kekek2 commented 5 years ago

Don't translate string Randomize PID's (see src/sys/kern/kern_fork.c: sysctl_kern_randompid())

fichtner commented 5 years ago

I don't understand this.

kekek2 commented 5 years ago

https://github.com/opnsense/core/blob/master/src/www/system_advanced_sysctl.php#L110 Strings processed html_escape before translate. gettext() is calling for string Randomize PID's (see src/sys/kern/kern_fork.c: sysctl_kern_randompid())

fichtner commented 5 years ago

Ok, that's a core issue then... close this and do a core PR?