示例#1
0
    def dict_lang2text(cls, ):
        from henrique.main.skill.help.help_skill import HelpSkill
        data_ll = HelpSkill.sheetname2data_ll(HelpSkill.Sheetname.CULTURE)

        h_lang2text = merge_dicts([{
            row[0]: row[1]
        } for row in data_ll[1:]],
                                  vwrite=vwrite_no_duplicate_key)

        return h_lang2text
示例#2
0
    def dict_lang2text(cls, ):
        from henrique.main.skill.help.help_skill import HelpSkill
        data_ll = HelpSkill.sheetname2data_ll(HelpSkill.Sheetname.PORT)

        h_lang2text = merge_dicts([{
            row[0]: row[1]
        } for row in data_ll[1:]],
                                  vwrite=vwrite_no_duplicate_key)
        # raise Exception({"h_lang2text":h_lang2text})
        return h_lang2text