Skip to content

Commit 7919efb

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@62185 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 15e60ff commit 7919efb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/wp-admin/includes/meta-boxes.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,14 @@ function link_advanced_meta_box( $link ) {
14531453
<td><input name="link_rss" class="code" type="text" id="rss_uri" maxlength="255" value="<?php echo ( isset( $link->link_rss ) ? esc_attr( $link->link_rss ) : '' ); ?>" /></td>
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>
14591466
<tr>

0 commit comments

Comments
 (0)