ArticleGalley::getGalleyLabel PHP Method

getGalleyLabel() public method

Get the localized galley label.
public getGalleyLabel ( ) : string
return string
    function getGalleyLabel()
    {
        $label = $this->getLabel();
        if ($this->getLocale() != AppLocale::getLocale()) {
            $locales = AppLocale::getAllLocales();
            $label .= ' (' . $locales[$this->getLocale()] . ')';
        }
        return $label;
    }