def get_name_menu_media_row(module_or_form, sheet_name, lang): """ Returns name / menu media row """ return ([ sheet_name, '', # case_property '', # list_or_detail '', # label ] + get_menu_row([module_or_form.name.get(lang)], [module_or_form.icon_by_language(lang)], [module_or_form.audio_by_language(lang)]) + [ '', # video by language module_or_form.unique_id, ])
def get_name_menu_media_row(module_or_form, sheet_name, lang): """ Returns name / menu media row """ return ( [ sheet_name, '', # case_property '', # list_or_detail '', # label ] + get_menu_row( [module_or_form.name.get(lang)], [module_or_form.icon_by_language(lang)], [module_or_form.audio_by_language(lang)] ) + [ '', # video by language module_or_form.unique_id, ] )