Make WordPress Core

Changeset 62316


Ignore:
Timestamp:
05/07/2026 04:55:00 AM (4 weeks ago)
Author:
audrasjb
Message:

I18N: Provide gettext context to disambiguate translation strings for "Notes".

"Notes" translation string is used in both the Notes features and in the Link Manager, and they can have different meaning in some Locales, like in German for example. This changeset helps disambuguating these different contexts.

Reviewed by desrosj, audrasjb.
Merges [62185] to the 7.0 branch.
Props timse201, sanketparmar.
Fixes #64980.

Location:
branches/7.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/7.0

  • branches/7.0/src/wp-admin/includes/meta-boxes.php

    r61764 r62316  
    14541454    </tr>
    14551455    <tr>
    1456         <th scope="row"><label for="link_notes"><?php _e( 'Notes' ); ?></label></th>
     1456        <th scope="row">
     1457            <label for="link_notes">
     1458                <?php
     1459                /* translators: Label for the Notes textarea in the Link Manager edit screen. */
     1460                _ex( 'Notes', 'Link manager notes field label' );
     1461                ?>
     1462            </label>
     1463        </th>
    14571464        <td><textarea name="link_notes" id="link_notes" rows="10"><?php echo $link->link_notes ?? ''; // textarea_escaped ?></textarea></td>
    14581465    </tr>
Note: See TracChangeset for help on using the changeset viewer.