@@ -14,26 +14,44 @@ def __init__(self, translation: Optional[Path] = None):
1414 translation = Path (translation )
1515 logger .warn (translation .absolute ())
1616 logger .warn (type (translation ))
17-
17+
1818 DynamicCore .__init__ (self , [], translation .absolute ())
1919
2020 @keyword (tags = ["tag1" , "tag2" ])
2121 def normal_keyword (self , arg : int , other : str ) -> str :
2222 """I have doc
23-
23+
2424 Multiple lines.
2525 Other line.
2626 """
2727 data = f"{ arg } { other } "
2828 print (data )
2929 return data
30-
30+
3131 def not_keyword (self , data : str ) -> str :
3232 print (data )
3333 return data
34-
34+
3535 @keyword (name = "This Is New Name" , tags = ["tag1" , "tag2" ])
3636 def name_changed (self , some : int , other : int ) -> int :
3737 """This one too"""
3838 print (f"{ some } { type (some )} , { other } { type (other )} " )
3939 return some + other
40+
41+ @keyword
42+ def not_translated (seld , a : int ) -> int :
43+ """This is not replaced."""
44+ print (f"{ a } { type (a )} " )
45+ return a + 1
46+
47+ @keyword
48+ def doc_not_translated (seld , a : int ) -> int :
49+ """This is not replaced also."""
50+ print (f"{ a } { type (a )} " )
51+ return a + 1
52+
53+ @keyword
54+ def kw_not_translated (seld , a : int ) -> int :
55+ """This is replaced too but name is not."""
56+ print (f"{ a } { type (a )} " )
57+ return a + 1
0 commit comments