Make WordPress Core

Changeset 56013


Ignore:
Timestamp:
06/24/2023 05:28:15 AM (8 months ago)
Author:
audrasjb
Message:

Administration: Reduce translation calls after [55969].

Follow-up to [55969].

Props swissspidy, sabernhardt.
Fixes #57675.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-general.php

    r55988 r56013  
    7979
    8080<?php
    81 /* translators: Site tagline. */
    82 $sample_tagline = __( 'Just another WordPress site' );
    83 if ( is_multisite() ) {
     81if ( ! is_multisite() ) {
     82    /* translators: Site tagline. */
     83    $sample_tagline = __( 'Just another WordPress site' );
     84} else {
    8485    /* translators: %s: Network title. */
    8586    $sample_tagline = sprintf( __( 'Just another %s site' ), get_network()->site_name );
    8687}
     88/* translators: %s: Site tagline example. */
    8789$tagline_description = sprintf(
    88     '%1$s %2$s',
    89     __( 'In a few words, explain what this site is about.' ),
    90     /* translators: %s: Site tagline example. */
    91     sprintf( __( 'Example: &#8220;%s.&#8221;' ), $sample_tagline )
     90    __( 'In a few words, explain what this site is about. Example: &#8220;%s.&#8221;' ),
     91    $sample_tagline
    9292);
    9393?>
Note: See TracChangeset for help on using the changeset viewer.