def Language(self): 'Sets the language.' ids = 15, 16, 7 words = tgpos_utility.lang(ids) self.pos_add_title.SetLabel(words[0]) self.qt_label.SetLabel(words[1]) self.pr_label.SetLabel(words[2] + ' ('+unicode(self.c_symbol, 'utf8')+')')
def Language(self): 'Sets the correct language.' id_list = (10, 11, 12) words = tgpos_utility.lang(id_list) #self.date.SetLabel(words[0]) self.m1 = words[1] self.t1 = words[2]
def Language(self): 'Sets the language' ids = (1, 2, 3, 28, 4) words = tgpos_utility.lang(ids) self.tab1 = words[0] self.tab2 = words[1] self.tab3 = words[2] self.dlg_l1 = words[3] self.dlg_l2 = words[4]
def Language(self): 'Sets the language.' id_list = (6, 7, 9, 13, 14, 81) words = tgpos_utility.lang(id_list) #self.edit_label.SetLabel(words[3]) #self.item_label.SetLabel(words[0]) #self.price_label.SetLabel(words[1] + ' ('+unicode(self.c_symbol, 'utf8')+')') self.m1 = words[2] self.t1 = words[4]
def Language(self): 'Sets the Language' objects = [self.title, self.sym_label, self.dec_label, self.tSep_check, self.sTax_check, self.sTax_label] ids = 26, 64, 65, 66, 40, 67 words = tgpos_utility.lang(ids) for object, word in zip(objects, words): object.SetLabel(word) self.sTax_label.SetLabel(words[-1]+' (%)')
def Language(self): 'Sets the language' ids = 32, 33, 34, 17, 18, 7, 35, 5, 13, 81 words = tgpos_utility.lang(ids) self.title.SetLabel(words[0]) self.search_label.SetLabel(words[1]) self.details_box.SetLabel(words[2]) #self.id_label.SetLabel(words[3]) self.item_label.SetLabel(words[4]) self.price_label.SetLabel(words[5]) self.options_box.SetLabel(words[6]) self.add_product_btn.SetLabel(words[7]) self.edit_product_btn.SetLabel(words[8]) self.dlg_l1, self.dlg_l2 = words[-3:-1]
def Language(self): "Sets the language." objects1 = [ self.title, self.search_label, self.receipt_label, self.static_box, self.subtotal_label, self.tax_label, self.total_label, self.complete_btn, self.cancel_btn, ] ids1 = 1, 33, 36, 37, 38, 40, 39, 41, 42 words = tgpos_utility.lang(ids1) for object, word in zip(objects1, words): object.SetLabel(word) ids2 = 43, 8, 45, 44, 41, 47, 46, 40 words = tgpos_utility.lang(ids2) self.m1, self.t1, self.m2, self.t2 = words[:4] self.btn_l1, self.btn_l2 = words[4:6] self.r_label, self.t_label = words[6:]
def LangConfig(self): 'Sets up the language.' id_list = [28] word = tgpos_utility.lang(id_list) self.title.SetLabel(' MiniPOS')
def Language(self): 'Sets the Language.' ids = 17, 18, 7 words = tgpos_utility.lang(ids) self.w1, self.w2, self.w3 = words