You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file produces erros when running translation:extract:
<?php/** * Copyright Zikula Foundation 2009 - Zikula Application Framework * * This work is contributed to the Zikula Foundation under one or more * Contributor Agreements and licensed to You under the following license: * * @license GNU/LGPLv3 (or at your option, any later version). * * Please see the NOTICE file distributed with this source code for further * information regarding copyright and licensing. */namespaceZikula\Module\UsersModule {
useZikula\Bundle\CoreBundle\Bundle\AbstractCoreModule;
/** * Base module definition for the users module */class ZikulaUsersModule extends AbstractCoreModule
{
}
}
/** * BC layer till for <=1.4.0 */namespace {
/** * constants for the users module * * @deprecated since 1.4.0 use Zikula\Module\UsersModule\Constant instead */class Users_Constant extendsZikula\Module\UsersModule\Constant
{
}
/** * authentication method helper * * @deprecated since 1.4.0 use \Zikula\Module\UsersModule\Helper\AuthenticationMethodHelper instead */class Users_Helper_AuthenticationMethod extends \Zikula\Module\UsersModule\Helper\AuthenticationMethodHelper
{
}
/** * list authentication helpers * * @deprecated since 1.4.0 use \Zikula\Module\UsersModule\Helper\AuthenticationMethodListHelper instead */class Users_Helper_AuthenticationMethodList extends \Zikula\Module\UsersModule\Helper\AuthenticationMethodListHelper
{
}
/** * hash method helpers * * @deprecated since 1.4.0 use \Zikula\Module\UsersModule\Helper\HashMethodListHelper instead */class Users_Helper_HasMethodList extends \Zikula\Module\UsersModule\Helper\HashMethodListHelper
{
}
}
The problem are the classes located in Translation/Extractor/File, enterNode function. Example from TranslationContainerExtractor:
$node->name is null when using the global namespace as it is done in the file above. This results in an error with the implode function. Possible fix (also needs to be applied in the other files using the enterNode function):
This file produces erros when running
translation:extract
:The problem are the classes located in
Translation/Extractor/File
,enterNode
function. Example fromTranslationContainerExtractor
:$node->name
is null when using the global namespace as it is done in the file above. This results in an error with theimplode
function. Possible fix (also needs to be applied in the other files using theenterNode
function):The text was updated successfully, but these errors were encountered: