Project

General

Profile

Bug #6195

Cannot set Manual Outbound NAT when Language is pt_BR

Added by EMERSON RODRIGO GUIRRA DE BRITO over 3 years ago. Updated about 1 month ago.

Status:
Feedback
Priority:
Normal
Category:
Translations
Target version:
Start date:
04/18/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.3
Affected Architecture:
All

Description

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.

Original Description:

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..."

Associated revisions

Revision bdaa5235 (diff)
Added by Renato Botelho about 1 month ago

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

Revision ce76d1e4 (diff)
Added by Renato Botelho about 1 month ago

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

Revision 994f803f (diff)
Added by Renato Botelho about 1 month ago

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

(cherry picked from commit ce76d1e41bf3673e74041c53c230e6880e890dfa)

History

#1 Updated by Jim Pingle 2 months ago

  • Category set to Rules / NAT

#2 Updated by Jim Pingle 2 months ago

  • Subject changed from Bug no idioma Português/Brasil to Cannot set Manual Outbound NAT when Language is pt_BR
  • Description updated (diff)
  • Target version set to 2.5.0
  • Affected Architecture changed from amd64 to All

#3 Updated by Jim Pingle 2 months ago

  • Category changed from Rules / NAT to Translations

#4 Updated by Renato Botelho about 1 month ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Also available in: Atom PDF