Make WordPress Core

Ticket #57675: 57675.3.patch

File 57675.3.patch, 1014 bytes (added by sabernhardt, 3 years ago)

reducing translation calls

  • src/wp-admin/options-general.php

     
    7878</tr>
    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?>
    9494<tr>