Make WordPress Core

Changeset 62185

Timestamp:
03/31/2026 07:25:33 PM (5 days 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.

Props westonruter, dmsnell, johnbillion.
Fixes #64980.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r61764 r62185  
    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.