From 314d108c950a18eb4e4042764d017a793502085b Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Thu, 13 Oct 2016 17:00:44 +0200 Subject: [PATCH] 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 --- src/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common.js b/src/common.js index fa8f6e3df1..5112b180ef 100644 --- a/src/common.js +++ b/src/common.js @@ -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) {