Skip to content

Commit 35be590

Browse files
committed
Pt and PtBr true/false_strings
1 parent 9ec7fc5 commit 35be590

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/robot/conf/languages.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,8 @@ class PtBr(Language):
560560
then_prefix = {'Então'}
561561
and_prefix = {'E'}
562562
but_prefix = {'Mas'}
563+
true_strings = {'VERDADEIRO', 'VERDADE', 'SIM', 'LIGADO'}
564+
false_strings = {'FALSO', 'NÃO', 'DESLIGADO', 'DESATIVADO', 'NADA'}
563565

564566

565567
class Pt(Language):
@@ -599,6 +601,8 @@ class Pt(Language):
599601
then_prefix = {'Então'}
600602
and_prefix = {'E'}
601603
but_prefix = {'Mas'}
604+
true_strings = {'VERDADEIRO', 'VERDADE', 'SIM', 'LIGADO'}
605+
false_strings = {'FALSO', 'NÃO', 'DESLIGADO', 'DESATIVADO', 'NADA'}
602606

603607

604608
class Th(Language):

0 commit comments

Comments
 (0)