]> git.ipfire.org Git - ipfire-2.x.git/commit
es.pl: Change back all html &codes in the Spanish lang file to accented chars
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 12 Jun 2025 11:56:43 +0000 (13:56 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 15 Jun 2025 12:04:20 +0000 (12:04 +0000)
commit8eb290f14ef65cb97e9e6af199e20f0b573bd2d3
treed77d1a9c05aa5e9a3d7e7cd8a60c0e2b406fcd12
parent27ec6f7860da27d046ddeb33809eba897b0766e7
es.pl: Change back all html &codes in the Spanish lang file to accented chars

- An issue was identified in the forum by @Roberto pressing the Locations Group page
   button on the Firewall Groups page caused the Locations Group page to not be shown
   correctly in CU195 Testing.
- After investigation I found that the CU195 Spanish language file patch set had changed
   many, if not all, of the characters with accents into their html & codes. This worked
   in terms of showing the correct text in the WUI page but when the cgi page did a
   string comparison with the text that was displayed on the html page with the text in
   the language file they did not match as Grupos de ubicación was compared with
   Grupos de ubicaci&oacute;n which of course did not match.
- To keep all of @Robertos WireGuard Spanish translations this patch set changes all the
   html & codes back to the actual accented characters.
- Tested out on my vm testbed and the cgi code worked again.
- None of the other language files that I looked at (French, German, Italian and
   Turkish) are using the html & codes for accented characters. They are all using the
   actuall accented characters themselves.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
langs/es/cgi-bin/es.pl