(self, resource_slug, app_trans_generator)
return resource_name_in_all_langs.get(self.transifex_project_source_lang,
                                              resource_name_in_all_langs.get('en', resource_slug))
return the name of the resource i.e module/form in source lang on Transifex

        :param resource_slug: like module_moduleUniqueID
return the name of the resource i.e module/form in source lang on Transifex
return the name of the resource i . e module / form in source lang on Transifex
def _resource_name_in_project_lang(self, resource_slug, app_trans_generator):
        """
        return the name of the resource i.e module/form in source lang on Transifex

        :param resource_slug: like module_moduleUniqueID
        """
        if MODULES_AND_FORMS_SHEET_NAME in resource_slug:
            return MODULES_AND_FORMS_SHEET_NAME
        module_or_form_unique_id = resource_slug.split('_')[1]
        resource_name_in_all_langs = app_trans_generator.slug_to_name[module_or_form_unique_id]
        return resource_name_in_all_langs.get(self.transifex_project_source_lang,
                                              resource_name_in_all_langs.get('en', resource_slug))
def _resource_name_in_project_lang ( self , resource_slug , app_trans_generator ) : if MODULES_AND_FORMS_SHEET_NAME in resource_slug : return MODULES_AND_FORMS_SHEET_NAME module_or_form_unique_id = resource_slug . split ( '_' ) [ 1 ] resource_name_in_all_langs = app_trans_generator . slug_to_name [ module_or_form_unique_id ] return resource_name_in_all_langs . get ( self . transifex_project_source_lang , resource_name_in_all_langs . get ( 'en' , resource_slug ) )