Skip to content

Commit ee0b682

Browse files
chore: do not translate source keywords
1 parent 60af5a4 commit ee0b682

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

includes/admin/feedzy-rss-feeds-ui-lang.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ public static function get_form_elements() {
321321
),
322322
'multiple_meta' => array(
323323
'label' => $multiple,
324-
'placeholder' => __( '(eg: source)', 'feedzy-rss-feeds' ),
324+
// translators: %s is the list of examples.
325+
'placeholder' => '(' . sprintf( __( 'eg: %s', 'feedzy-rss-feeds' ), 'source' ) . ')',
325326
'type' => 'text',
326327
'value' => '',
327328
),

includes/elementor/widgets/register-widget.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ protected function register_controls() { // phpcs:ignore PSR2.Methods.MethodDecl
479479
'fz-cus-multiple-meta',
480480
array(
481481
'label' => __( 'When using multiple sources, should we display additional meta fields?', 'feedzy-rss-feeds' ),
482-
// translators: the source of the imported article (author, website).
483-
'placeholder' => __( '(eg: source)', 'feedzy-rss-feeds' ),
482+
// translators: %s is the list of examples.
483+
'placeholder' => '(' . sprintf( __( 'eg: %s', 'feedzy-rss-feeds' ), 'source' ) . ')',
484484
'label_block' => true,
485485
'type' => Controls_Manager::TEXT,
486486
// translators: this followed by sentence: View documentation here.

js/FeedzyBlock/inspector.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -867,11 +867,7 @@ class Inspector extends Component {
867867
'eg: %s',
868868
'feedzy-rss-feeds'
869869
),
870-
// translators: here source mean the source of the imported article (author, website, ...).
871-
__(
872-
'source',
873-
'feedzy-rss-feeds'
874-
)
870+
'source'
875871
) +
876872
')'
877873
)}

0 commit comments

Comments
 (0)