Skip to content

Commit 334cad6

Browse files
Remove phpcs:ignore 'MissingTranslatorsComment' rule
1 parent 3c6595d commit 334cad6

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

includes/views/import-metabox-edit.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,9 @@ class="dashicons dashicons-arrow-down-alt2"></span>
374374
<?php endif; ?>
375375
<div class="help-text pt-8">
376376
<?php
377-
// phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
378377
echo wp_kses_post(
379378
sprintf(
380-
// translators: %1$s: magic tag, %2$s: opening anchor tag, %3$s: closing anchor tag
379+
// translators: %1$s: magic tag, %2$s: opening anchor tag, %3$s: closing anchor tag.
381380
__( 'You can automatically create categories with a magic tag %1$s or use custom tag parsing %2$s Read More %3$s .', 'feedzy-rss-feeds' ),
382381
'<strong>[#item_categories]</strong>',
383382
'<a href="' . esc_url( 'https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy#dynamic-post-taxonomy' ) . '" target="_blank">',

includes/views/openai-view.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<?php
55
$upgrade_url = tsdk_translate_link( tsdk_utmify( FEEDZY_UPSELL_LINK, 'openai' ), 'query' );
66

7-
$content = __( 'You are using Feedzy Lite.', 'feedzy-rss-feeds' ) . ' ';
8-
// translators: %1$s: opening anchor tag, %2$s: closing anchor tag
7+
$content = __( 'You are using Feedzy Lite.', 'feedzy-rss-feeds' ) . ' ';
8+
// translators: %1$s: opening anchor tag, %2$s: closing anchor tag.
99
$content .= wp_sprintf( __( 'Unlock more powerful features, by %1$s upgrading to Feedzy Pro %2$s', 'feedzy-rss-feeds' ), '<a href="' . esc_url( $upgrade_url ) . '" target="_blank">', '</a>' );
1010
echo wp_kses_post( $content );
1111
?>
@@ -15,7 +15,7 @@
1515
<label class="form-label"><?php esc_html_e( 'The OpenAI account API key:', 'feedzy-rss-feeds' ); ?></label>
1616
<div class="help-text pb-8">
1717
<?php
18-
// phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
18+
// translators: %1$s: openrouter key document url, %2$s: link text.
1919
echo wp_kses_post( sprintf( __( 'Get your OpenAI API key from <a href="%1$s" target="_blank">%2$s</a>', 'feedzy-rss-feeds' ), esc_url( 'https://platform.openai.com/account/api-keys' ), __( 'OpenAI API keys', 'feedzy-rss-feeds' ) ) );
2020
?>
2121
</div>
@@ -25,7 +25,7 @@
2525
<label class="form-label"><?php esc_html_e( 'The OpenAI model:', 'feedzy-rss-feeds' ); ?></label>
2626
<div class="help-text pb-8">
2727
<?php
28-
// phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
28+
// translators: %1$s: openrouter pricing url, %2$s: link text.
2929
echo wp_kses_post( sprintf( __( 'OpenAI API models <a href="%1$s" target="_blank">%2$s</a>', 'feedzy-rss-feeds' ), esc_url( 'https://openai.com/api/pricing/' ), __( 'Pricing', 'feedzy-rss-feeds' ) ) );
3030
?>
3131
</div>

includes/views/openrouter-view.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<?php
55
$upgrade_url = tsdk_translate_link( tsdk_utmify( FEEDZY_UPSELL_LINK, 'openrouter' ), 'query' );
66

7-
$content = __( 'You are using Feedzy Lite.', 'feedzy-rss-feeds' ) . ' ';
8-
// translators: %1$s: opening anchor tag, %2$s: closing anchor tag
7+
$content = __( 'You are using Feedzy Lite.', 'feedzy-rss-feeds' ) . ' ';
8+
// translators: %1$s: opening anchor tag, %2$s: closing anchor tag.
99
$content .= wp_sprintf( __( 'Unlock more powerful features, by %1$s upgrading to Feedzy Pro %2$s', 'feedzy-rss-feeds' ), '<a href="' . esc_url( $upgrade_url ) . '" target="_blank">', '</a>' );
1010
echo wp_kses_post( $content );
1111
?>
@@ -15,7 +15,7 @@
1515
<label class="form-label"><?php esc_html_e( 'The OpenRouter account API key:', 'feedzy-rss-feeds' ); ?></label>
1616
<div class="help-text pb-8">
1717
<?php
18-
// phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
18+
// translators: %1$s: openrouter key document url, %2$s: link text.
1919
echo wp_kses_post( sprintf( __( 'Get your OpenRouter API key from <a href="%1$s" target="_blank">%2$s</a>', 'feedzy-rss-feeds' ), esc_url( 'https://openrouter.ai/keys' ), __( 'OpenRouter API keys', 'feedzy-rss-feeds' ) ) );
2020
?>
2121
</div>
@@ -25,7 +25,7 @@
2525
<label class="form-label"><?php esc_html_e( 'The OpenRouter model:', 'feedzy-rss-feeds' ); ?></label>
2626
<div class="help-text pb-8">
2727
<?php
28-
// phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
28+
// translators: %1$s: openrouter pricing url, %2$s: link text.
2929
echo wp_kses_post( sprintf( __( 'OpenRouter API models <a href="%1$s" target="_blank">%2$s</a>', 'feedzy-rss-feeds' ), esc_url( 'https://openrouter.ai/models' ), __( 'Pricing', 'feedzy-rss-feeds' ) ) );
3030
?>
3131
</div>

0 commit comments

Comments
 (0)