private function buildLanguageString($name, $screen, $locale)
    {
        if (isset($screen['label'][$locale])) {
            $GLOBALS['TL_LANG']['MOD'][$name] = $screen['label'][$locale];
            return;
        }

        $GLOBALS['TL_LANG']['MOD'][$name] = $screen['label'][''];
    }
private function buildLanguageString($name, $screen, $locale)
    {
        if (isset($screen['label'][$locale])) {
            $GLOBALS['TL_LANG']['MOD'][$name] = $screen['label'][$locale];
            return;
        }

        $GLOBALS['TL_LANG']['MOD'][$name] = $screen['label'][''];
    }
private function buildLanguageString ( $ name , $ screen , $ locale ) { if ( isset ( $ screen [ 'label' ] [ $ locale ] ) ) { $ GLOBALS [ 'TL_LANG' ] [ 'MOD' ] [ $ name ] = $ screen [ 'label' ] [ $ locale ] ; return ; } $ GLOBALS [ 'TL_LANG' ] [ 'MOD' ] [ $ name ] = $ screen [ 'label' ] [ '' ] ; }
Build the language string for the passed backend module.

@param string $name   The module name.
@param array  $screen The input screen information.
@param string $locale The locale.

@return void

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)
Build the language string for the passed backend module .