Skip to content

Commit a2b019c

Browse files
committed
Add missing text domain from a few string translation calls
1 parent c5d9e23 commit a2b019c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* New: Add TODO.md and move existing TODO list from top of main plugin file into it
1212
* Change: Note compatibility through WP 5.4+
1313
* Change: Drop compatibility for version of WP older than 4.9
14+
* Change: Add missing text domain from a few string translation calls
1415
* Change: Update links to coffee2code.com to be HTTPS
1516
* Unit tests:
1617
* New: Add tests for `admin_init()`, `explain_nonce()`, `show_admin_notices()`

‎admin-trim-interface.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public function admin_bar_menu( $wp_admin_bar ) {
300300
if ( $options['hide_howdy'] ) {
301301
$howdy = $options['hide_username'] ? '' : $current_user->display_name;
302302
} else {
303-
$howdy = $options['hide_username'] ? __( 'Howdy' ) : sprintf( __( 'Howdy, %1$s' ), $current_user->display_name );
303+
$howdy = $options['hide_username'] ? __( 'Howdy', 'admin-trim-interface' ) : sprintf( __( 'Howdy, %1$s', 'admin-trim-interface' ), $current_user->display_name );
304304
}
305305

306306
$class = $avatar ? 'with-avatar' : '';
@@ -323,7 +323,7 @@ public function admin_bar_menu( $wp_admin_bar ) {
323323
* @return string The error message.
324324
*/
325325
public function explain_nonce( $msg ) {
326-
return __( 'Your session has expired. Please log in to continue where you left off.' );
326+
return __( 'Your session has expired. Please log in to continue where you left off.', 'admin-trim-interface' );
327327
}
328328

329329
/**

0 commit comments

Comments
 (0)