src/RecordedGame.php
private function getTranslateKey($args)
    {
        // Game version names are in their own file, not in with resource packs.
        if ($args[0] === 'game_versions') {
            $key = implode('.', $args);
        } else {
            $pack = get_class($this->resourcePack);
            $key = $pack::NAME . '.' . implode('.', $args);
        }
        if ($this->isLaravel) {
            return 'recanalyst::' . $key;
        }
        return $key;
    }
private function getTranslateKey($args)
    {
        // Game version names are in their own file, not in with resource packs.
        if ($args[0] === 'game_versions') {
            $key = implode('.', $args);
        } else {
            $pack = get_class($this->resourcePack);
            $key = $pack::NAME . '.' . implode('.', $args);
        }
        if ($this->isLaravel) {
            return 'recanalyst::' . $key;
        }
        return $key;
    }
private function getTranslateKey ( $ args ) { // Game version names are in their own file, not in with resource packs. if ( $ args [ 0 ] === 'game_versions' ) { $ key = implode ( '.' , $ args ) ; } else { $ pack = get_class ( $ this -> resourcePack ) ; $ key = $ pack :: NAME . '.' . implode ( '.' , $ args ) ; } if ( $ this -> isLaravel ) { return 'recanalyst::' . $ key ; } return $ key ; }
Get a translate key for use with Symfony or Laravel Translations.

@return string A translation key.
Get a translate key for use with Symfony or Laravel Translations .