(self,argument)
| 8 | self.context = context |
| 9 | self.text = text |
| 10 | def arg(self,argument): |
| 11 | if '%' in self.text: |
| 12 | return translateClass(self.context, self.text.replace('%','',1)) # This doesn't actually do anything with the arguments because we don't have a UI in which to display this information anyway. |
| 13 | else: |
| 14 | return self.text |
| 15 | |
| 16 | def _translate(context, text, disambiguation = None, encoding = None, n = None): |
| 17 | return translateText(context, text, n) |
no test coverage detected