def translate(self, text, *params):
        trans_text = self.trans_dict.get(text, text)
        for seq, param in enumerate(params):
            seq_text = '{%d}' % seq
            trans_text = trans_text.replace(seq_text, str(param))
        return trans_text
dataset/ETHPy150Open Robot-Will/Stino/stino/pyarduino/base/i18n.py/I18N.translate/original