Cannot set Manual Outbound NAT when Language is pt_BR
When the language is set to pt_BR, outbound NAT cannot be set to Manual Outbound NAT. On save, it changes back to Automatic Outbound NAT.
Probably should check other languages as well, or implement a language-independent fix.
Quando o idioma está em Português/Brasil no menu "Firewall > NAT > Outbound > General Logging Options" não salva a opção de "Manual Outbound NAT..." Volta automaticamente para "Automatic outbound NAT..."
Fix #6195: Allow to change NAT Outbound mode
make_config_revision_entry() second parameter expects a username to
override current logged in user in special cases. It's used when a tool
(e.g. wizard) is used to configure some functionality.
As it was already noted in easyrule.inc, this parameter cannot have
international characters since the tag where it's stored in config.xml
doesn't use CDATA.
Remove gettext() calls and add a comment on each place
make_config_revision_entry() is called with username parameter
Ticket #6195: Use CDATA on username tag
After discuss with JimP we agreed it would be a better approach than
bdaa5235d4 if we add username tag to the list of tags that use CDATA