Skip to content

Commit

Permalink
More standardization of translator comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed Aug 13, 2024
1 parent f5a8870 commit 6b5d386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/src/nominate-this/nominate-this.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ import { __, sprintf } from '@wordpress/i18n'
const setLoadingIndicator = ( isLoading ) => {
if ( isLoading ) {
wp.data.dispatch( 'core/notices' ).createWarningNotice(
// translators: URL being loaded
// translators: URL being loaded.
sprintf( __( 'Loading content from %s.', 'pressforward' ), sanitizedLoadingUrl ),
{ id: 'loading-content', isDismissible: false }
);
Expand Down
2 changes: 1 addition & 1 deletion includes/nomthis/nominate-this-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function nominate_it() {
<body class="press-this wp-admin wp-core-ui nominate-this <?php echo esc_attr( $the_admin_body_class ); ?>">

<div id="loading-indicator" class="loading-indicator nomthis-indicator">
<?php // translators: URL being loaded ?>
<?php // translators: URL being loaded. ?>
<img src="<?php echo esc_url( admin_url( 'images/loading.gif' ) ); ?>" role="presentation" /> <span><?php printf( esc_html__( 'Loading content from %s.', 'pressforward' ), '<span id="loading-url"></span>' ); ?></span>
</div>

Expand Down

0 comments on commit 6b5d386

Please sign in to comment.