get() ) { $value = '1: ' . __( 'The front page URL contains the language code instead of the page name or page id', 'polylang' ); } else { $value = '0: ' . __( 'The front page URL contains the page name or page id instead of the language code', 'polylang' ); } return $this->format_single_value_for_site_health_info( $value ); } /** * Returns the description used in the JSON schema. * * @since 3.7 * * @return string */ protected function get_description(): string { return sprintf( /* translators: %1$s and %2$s are "true/false" values. */ __( 'Remove the page name or page ID from the URL of the front page: %1$s to remove, %2$s to keep.', 'polylang' ), '`true`', '`false`' ); } }