code/CMSMenu.php
public function provideI18nEntities()
    {
        $cmsClasses = self::get_cms_classes();
        $entities = array();
        foreach ($cmsClasses as $cmsClass) {
            $defaultTitle = LeftAndMain::menu_title($cmsClass, false);
            $ownerModule = ClassLoader::inst()->getManifest()->getOwnerModule($cmsClass);
            $entities["{$cmsClass}.MENUTITLE"] = [
                'default' => $defaultTitle,
                'module' => $ownerModule->getShortName()
            ];
        }
        return $entities;
    }
public function provideI18nEntities()
    {
        $cmsClasses = self::get_cms_classes();
        $entities = array();
        foreach ($cmsClasses as $cmsClass) {
            $defaultTitle = LeftAndMain::menu_title($cmsClass, false);
            $ownerModule = ClassLoader::inst()->getManifest()->getOwnerModule($cmsClass);
            $entities["{$cmsClass}.MENUTITLE"] = [
                'default' => $defaultTitle,
                'module' => $ownerModule->getShortName()
            ];
        }
        return $entities;
    }
public function provideI18nEntities ( ) { $ cmsClasses = self :: get_cms_classes ( ) ; $ entities = array ( ) ; foreach ( $ cmsClasses as $ cmsClass ) { $ defaultTitle = LeftAndMain :: menu_title ( $ cmsClass , false ) ; $ ownerModule = ClassLoader :: inst ( ) -> getManifest ( ) -> getOwnerModule ( $ cmsClass ) ; $ entities [ "{$cmsClass}.MENUTITLE" ] = [ 'default' => $ defaultTitle , 'module' => $ ownerModule -> getShortName ( ) ] ; } return $ entities ; }
Provide menu titles to the i18n entity provider
Provide menu titles to the i18n entity provider