Bug #6394
INCORRECT OUTPUT OF TRANSLATION
0%
Description
Hello Development Team,
I want to report a problem with incorrect output on PfSense 2.3.1 when the language are defined to 'Portuguese (Brazil)'. Please take a look on the screenshots attached.
Thank you.
Best Regards,
Associated revisions
Fix Bug #6394 - Incorrect Output of Translation
Apparently gettext() does not behave correctly when passed an empty string, this commit ensures gettext() is called only with non-empty strings
(cherry picked from commit 6ae99aba5cab12440d88dd9ddaa6535c3b9b5d82)
Fix Bug #6394 - Incorrect Output of Translation
Apparently gettext() does not behave correctly when passed an empty string, this commit ensures gettext() is called only with non-empty strings
(cherry picked from commit 6ae99aba5cab12440d88dd9ddaa6535c3b9b5d82)
History
#1
Updated by Jim Pingle over 3 years ago
- Target version changed from 2.3.1 to 2.3.2
- Affected Version set to 2.3.1
#2
Updated by Jorge M. Oliveira over 3 years ago
This PR should fix the issue:
https://github.com/pfsense/pfsense/pull/3011
Apparently gettext() does not behave correctly when passed an empty string, this commit ensures gettext() is called only with non-empty strings.
#3
Updated by Chris Buechler over 3 years ago
- Status changed from New to Resolved
- Affected Version changed from 2.3.1 to 2.3.x
fixed, thanks NewEraCracker
Fix Bug #6394 - Incorrect Output of Translation
Apparently gettext() does not behave correctly when passed an empty string, this commit ensures gettext() is called only with non-empty strings