Make WordPress Core


Ignore:
Timestamp:
11/21/2016 01:51:39 AM (9 years ago)
Author:
SergeyBiryukov
Message:

I18N: Move the support forums URL in update-related HTTP API error messages to a separate translatable string that is already used elsewhere.

Props ramiy, SergeyBiryukov.
Fixes #38880.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/theme-install.php

    r38722 r39325  
    4949        'upload'              => __( 'Upload Theme' ),
    5050        'back'                => __( 'Back' ),
    51         'error'               => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ),
     51        'error'               => sprintf(
     52            /* translators: %s: support forums URL */
     53            __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
     54            __( 'https://wordpress.org/support/' )
     55        ),
    5256        'themesFound'         => __( 'Number of Themes found: %d' ),
    5357        'noThemesFound'       => __( 'No themes found. Try a different search.' ),
Note: See TracChangeset for help on using the changeset viewer.