Make WordPress Core


Ignore:
Timestamp:
12/22/2024 07:13:23 PM (6 months ago)
Author:
audrasjb
Message:

I18n: Add translator context for various occurrences of "upload".

This changeset adds a noun or verb context to the various occurrences of "upload" in the admin, to make it easier for translators to differenciate these strings depending on the context.

Props timse201, wpgerd.
Fixes #62732.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-custom-background.php

    r58995 r59554  
    355355        <input type="hidden" name="action" value="save" />
    356356            <?php wp_nonce_field( 'custom-background-upload', '_wpnonce-custom-background-upload' ); ?>
    357             <?php submit_button( __( 'Upload' ), '', 'submit', false ); ?>
     357            <?php submit_button( _x( 'Upload', 'verb' ), '', 'submit', false ); ?>
    358358    </p>
    359359    <p>
Note: See TracChangeset for help on using the changeset viewer.