Skip to content

Commit 6bac85d

Browse files
committed
fix translation placeholders
1 parent 21e3b69 commit 6bac85d

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -915,11 +915,14 @@ function () {
915915

916916
global $submenu;
917917
if ( isset( $submenu['feedzy-admin-menu'] ) ) {
918-
$submenu['feedzy-admin-menu'][2] = array( // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
919-
$rss_to_social,
920-
'manage_options',
921-
tsdk_utmify( 'https://revive.social/plugins/revive-network', 'feedzy-menu' ),
922-
);
918+
919+
array_splice($submenu['feedzy-admin-menu'], 4, 0, array(
920+
array(
921+
$rss_to_social,
922+
'manage_options',
923+
tsdk_utmify('https://revive.social/plugins/revive-network', 'feedzy-menu'),
924+
)
925+
));
923926
}
924927
}
925928
}

includes/admin/feedzy-rss-feeds-import.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,12 +731,10 @@ public function manage_feedzy_import_columns( $column, $post_id ) {
731731
} else {
732732
$src = sprintf( '%s: %s%s%s', __( 'Feed Group', 'feedzy-rss-feeds' ), '<a href="' . admin_url( 'edit.php?post_type=feedzy_categories' ) . '" target="_blank">', $src, '</a>' );
733733
}
734-
} else {
735-
if ( empty( $src ) ) {
734+
} elseif ( empty( $src ) ) {
736735
$src = __( 'No Source Configured', 'feedzy-rss-feeds' );
737736
} else {
738737
$src = sprintf( '%s: %s%s%s', __( 'Feed Group', 'feedzy-rss-feeds' ), '<a href="' . admin_url( 'edit.php?post_type=feedzy_categories' ) . '" target="_blank">', $src, '</a>' );
739-
}
740738
}
741739
} else {
742740
// else link it to the feed but shorten it if it is too long.

includes/views/amazon-product-advertising-view.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<div class="locked-form-block">
1818
<div class="fz-form-group mb-20">
1919
<?php
20-
echo wp_kses_post(
20+
echo wp_kses_post(wp_sprintf(
2121
// translators: %1$s to available amazon domain, %2$s example URL with ASIN, %3$s list of available Amazon domains.
2222
__( 'Please use this URL structure %1$s or %2$s while getting Amazon product information. <br> Here are the available Amazon domains: %3$s', 'feedzy-rss-feeds' ),
2323
'<strong>amazon.[extension]?keyword=Laptop</strong>',
2424
'<strong>amazon.com?asin=ASIN_1|ASIN_2</strong>',
2525
'<strong>com, au, br, ca, fr, de, in, it, jp, mx, nl, pl, sg, sa, es, se, tr, ae, uk</strong>'
26-
);
26+
));
2727
?>
2828
</div>
2929
<div class="fz-form-row">

0 commit comments

Comments
 (0)