Use the same src text for boolean in ScreenContainer and in DomainParser
Otherwise the translated value may return a different value and then it's comparison will fail. issue5904 review32631002
This commit is contained in:
1 parent
7ca45ca0c2
commit
314d108c95
1 file changed
+2
-2
+2
-2
@@ -1717,8 +1717,8 @@
|
||||
'boolean': function() {
|
||||
if (typeof value == 'string') {
|
||||
return [Sao.i18n.gettext('y'),
|
||||
Sao.i18n.gettext('yes'),
|
||||
Sao.i18n.gettext('true'),
|
||||
Sao.i18n.gettext('Yes'),
|
||||
Sao.i18n.gettext('True'),
|
||||
Sao.i18n.gettext('t'),
|
||||
'1'].some(
|
||||
function(test) {
|
||||
|
||||
Reference in new issue
Block a user