protected function createInfoString($project_info)
    {
        $remote_path = isset($project_info->files['remote']->uri) ? $project_info->files['remote']->uri : false;
        $local_path = isset($project_info->files['local']->uri) ? $project_info->files['local']->uri : false;

        if (strpos($project_info->version, 'dev') !== false) {
            return $this->trans('commands.locale.translation.status.messages.no-translation-files');
        }
        if (locale_translation_use_remote_source() && $remote_path && $local_path) {
            return sprintf(
                $this->trans('commands.locale.translation.status.messages.file-not-found'),
                $local_path,
                $remote_path
            );
        } elseif ($local_path) {
            return
                sprintf(
                    $this->trans('commands.locale.translation.status.messages.local-file-not-found'),
                    $local_path
                );
        }

        return $this->trans('commands.locale.translation.status.messages.translation-not-determined');
    }