Skip to content

Commit 1d1d2b3

Browse files
fix: translate Free vs Pro tab
1 parent 918ce0d commit 1d1d2b3

File tree

1 file changed

+70
-40
lines changed

1 file changed

+70
-40
lines changed

includes/layouts/feedzy-pro.php

Lines changed: 70 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<?php // phpcs:disable ?>
22
<div class="fz-pro-features-wrap">
3-
<h2 class="h2">Powerful features available only with Feedzy Pro</h2>
3+
<h2 class="h2"><?php esc_html_e( 'Powerful features available only with Feedzy Pro', 'feedzy-rss-feeds' ); ?></h2>
44
<div class="fz-pro-features-table mb-30">
55
<div class="fz-pro-features-table-header">
66
<ul class="fz-pro-features-table-row">
77
<li class="features-info">&nbsp;</li>
8-
<li class="free">Free</li>
9-
<li class="pro">Pro</li>
8+
<li class="free"><?php esc_html_e( 'Free', 'feedzy-rss-feeds' ); ?></li>
9+
<li class="pro"><?php esc_html_e( 'Pro', 'feedzy-rss-feeds' ); ?></li>
1010
</ul>
1111
</div>
1212
<div class="fz-pro-features-table-body">
1313
<ul class="fz-pro-features-table-row">
1414
<li class="features-info">
15-
<h3 class="h3">Import content from RSS feeds</h3>
16-
<p>Create unlimited import routines for your RSS feeds and let them run on autopilot.</p>
15+
<h3 class="h3"><?php esc_html_e( 'Import content from RSS feeds', 'feedzy-rss-feeds' ); ?></h3>
16+
<p><?php esc_html_e( 'Create unlimited import routines for your RSS feeds and let them run on autopilot.', 'feedzy-rss-feeds' ); ?></p>
1717
</li>
1818
<li class="pro" data-label="Free">
1919
<span class="dashicons dashicons-saved"></span>
@@ -24,8 +24,8 @@
2424
</ul>
2525
<ul class="fz-pro-features-table-row">
2626
<li class="features-info">
27-
<h3 class="h3">Pagebuilder integration</h3>
28-
<p>Filter and display RSS feeds items directly with your favourite page builders.</p>
27+
<h3 class="h3"><?php esc_html_e( 'Pagebuilder integration', 'feedzy-rss-feeds' ); ?></h3>
28+
<p><?php esc_html_e( 'Filter and display RSS feeds items directly with your favourite page builders.', 'feedzy-rss-feeds' ); ?></p>
2929
</li>
3030

3131
<li class="pro" data-label="Free">
@@ -37,11 +37,10 @@
3737
</ul>
3838
<ul class="fz-pro-features-table-row">
3939
<li class="features-info">
40-
<h3 class="h3">Filter by Keyword(s) or Time Range</h3>
41-
<p>With this feature you can filter feed items, and Display or Exclude items if the title or content
42-
contains
43-
specific keyword(s). Additionally you can select a date range to import items within the
44-
selected date.</p>
40+
<h3 class="h3"><?php esc_html_e( 'Filter by Keyword(s) or Time Range', 'feedzy-rss-feeds' ); ?></h3>
41+
<p>
42+
<?php esc_html_e( 'With this feature you can filter feed items, and Display or Exclude items if the title or content contains specific keyword(s). Additionally you can select a date range to import items within the selected date.', 'feedzy-rss-feeds' ); ?>
43+
</p>
4544
</li>
4645
<li class="free" data-label="Free">
4746
<span class="dashicons dashicons-no-alt"></span>
@@ -52,10 +51,12 @@
5251
</ul>
5352
<ul class="fz-pro-features-table-row">
5453
<li class="features-info">
55-
<h3 class="h3">Multiple feed templates</h3>
56-
<p>Choose the best template for each feed, such as standard grid layout, blog layout, online shop
57-
layout, or
58-
audio playback (soundcloud) layout.</p>
54+
<h3 class="h3">
55+
<?php esc_html_e( 'Multiple feed templates', 'feedzy-rss-feeds' ); ?>
56+
</h3>
57+
<p>
58+
<?php esc_html_e( 'Choose the best template for each feed, such as standard grid layout, blog layout, online shop layout, or audio playback (soundcloud) layout.', 'feedzy-rss-feeds' ); ?>
59+
</p>
5960
</li>
6061
<li class="free" data-label="Free">
6162
<span class="dashicons dashicons-no-alt"></span>
@@ -67,10 +68,12 @@
6768

6869
<ul class="fz-pro-features-table-row">
6970
<li class="features-info">
70-
<h3 class="h3">Referral/Affiliate links </h3>
71-
<p>Add referral parameters, and Feedzy will automatically configure affiliate links for each item in
72-
the feed.
73-
You can even import prices from product sources to create extra value for your readers.</p>
71+
<h3 class="h3">
72+
<?php esc_html_e( 'Referral/Affiliate links', 'feedzy-rss-feeds' ); ?>
73+
</h3>
74+
<p>
75+
<?php esc_html_e( 'Add referral parameters, and Feedzy will automatically configure affiliate links for each item in the feed. You can even import prices from product sources to create extra value for your readers.', 'feedzy-rss-feeds' ); ?>
76+
</p>
7477
</li>
7578
<li class="free" data-label="Free">
7679
<span class="dashicons dashicons-no-alt"></span>
@@ -82,12 +85,12 @@
8285

8386
<ul class="fz-pro-features-table-row">
8487
<li class="features-info">
85-
<h3 class="h3">Importing the full-text content <span
86-
class="pro-label">Developer & Agency plans</span></h3>
87-
<p>During the import, Feedzy will visit URLs of all items and parse the content directly from the
88-
website,
89-
importing ALL the content from a item , compared to #item_content tag which only imports the
90-
post excerpts.
88+
<h3 class="h3">
89+
<?php esc_html_e( 'Importing the full-text content', 'feedzy-rss-feeds' ); ?>
90+
<span class="pro-label"><?php esc_html_e( 'Developer & Agency plans', 'feedzy-rss-feeds' ); ?></span>
91+
</h3>
92+
<p>
93+
<?php esc_html_e( 'During the import, Feedzy will visit URLs of all items and parse the content directly from the website, importing ALL the content from a item , compared to #item_content tag which only imports the post excerpts.', 'feedzy-rss-feeds' ); ?>
9194
</p>
9295
</li>
9396
<li class="free" data-label="Free">
@@ -99,9 +102,12 @@ class="pro-label">Developer & Agency plans</span></h3>
99102
</ul>
100103
<ul class="fz-pro-features-table-row">
101104
<li class="features-info">
102-
<h3 class="h3">Custom Fields <span class="pro-label">Developer & Agency plans</span></h3>
103-
<p>Create customizable fields and fetch custom values from the feed such as date updated, rating,
104-
etc.
105+
<h3 class="h3">
106+
<?php esc_html_e( 'Custom Fields', 'feedzy-rss-feeds' ); ?>
107+
<span class="pro-label"><?php esc_html_e( 'Developer & Agency plans', 'feedzy-rss-feeds' ); ?></span>
108+
</h3>
109+
<p>
110+
<?php esc_html_e( 'Create customizable fields and fetch custom values from the feed such as date updated, rating, etc.', 'feedzy-rss-feeds' ); ?>
105111
</p>
106112
</li>
107113
<li class="free" data-label="Free">
@@ -113,8 +119,18 @@ class="pro-label">Developer & Agency plans</span></h3>
113119
</ul>
114120
<ul class="fz-pro-features-table-row">
115121
<li class="features-info">
116-
<h3 class="h3">OpenAI (ChatGPT) Support <span class="pro-label">Developer & Agency plans</span></h3>
117-
<p>Using the OpenAI API integration, paraphrase, summarize, generate missing featured images, or apply your custom prompt to the imported content.
122+
<h3 class="h3">
123+
<?php
124+
// translators: %s: OpenAI (ChatGPT)
125+
echo sprintf( esc_html__( '%s Support', 'feedzy-rss-feeds' ), 'OpenAI (ChatGPT)' );
126+
?>
127+
<span class="pro-label"><?php esc_html_e( 'Answer a few questions to help us improve Feedzy', 'feedzy-rss-feeds' ); ?></span>
128+
</h3>
129+
<p>
130+
<?php
131+
/* translators: %s: OpenAI API */
132+
echo sprintf( esc_html__( 'Using the %s integration, paraphrase, summarize, generate missing featured images, or apply your custom prompt to the imported content.', 'feedzy-rss-feeds' ), 'OpenAI API' );
133+
?>
118134
</p>
119135
</li>
120136
<li class="free" data-label="Free">
@@ -126,9 +142,20 @@ class="pro-label">Developer & Agency plans</span></h3>
126142
</ul>
127143
<ul class="fz-pro-features-table-row">
128144
<li class="features-info">
129-
<h3 class="h3">WordAI & SpinnerChief integration <span class="pro-label">Agency plan</span></h3>
130-
<p>WordAi and SpinnerChief can be used to rephrase RSS feeds when they are imported as posts in
131-
WordPress.
145+
<h3 class="h3">
146+
<?php
147+
148+
/* translators: %s: WordAI & SpinnerChief */
149+
echo sprintf( esc_html__( '%s integration', 'feedzy-rss-feeds' ), 'WordAI & SpinnerChief' );
150+
?>
151+
<span class="pro-label"><?php esc_html_e( 'Agency plan', 'feedzy-rss-feeds' );?></span>
152+
</h3>
153+
<p>
154+
<?php
155+
156+
/* translators: %1$s: WordAi, %2$s: SpinnerChief */
157+
echo sprintf( esc_html__( '%1$s and %2$s can be used to rephrase RSS feeds when they are imported as posts in WordPress.', 'feedzy-rss-feeds' ), 'WordAi', 'SpinnerChief' );
158+
?>
132159
</p>
133160
</li>
134161
<li class="free" data-label="Free">
@@ -141,10 +168,12 @@ class="pro-label">Developer & Agency plans</span></h3>
141168

142169
<ul class="fz-pro-features-table-row">
143170
<li class="features-info">
144-
<h3 class="h3">Access to Translation and Paraphrasing service <span
145-
class="pro-label">Agency plan</span></h3>
146-
<p>Paraphrase or translate content before import using the built-in service, no separate
147-
subscription required.</p>
171+
<h3 class="h3">
172+
<?php esc_html_e( 'Access to Translation and Paraphrasing service', 'feedzy-rss-feeds' ); ?> <span class="pro-label"><?php esc_html_e( 'Agency plan', 'feedzy-rss-feeds' ); ?></span>
173+
</h3>
174+
<p>
175+
<?php esc_html_e( 'Paraphrase or translate content before import using the built-in service, no separate subscription required.', 'feedzy-rss-feeds' ); ?>
176+
</p>
148177
</li>
149178
<li class="free" data-label="Free">
150179
<span class="dashicons dashicons-no-alt"></span>
@@ -157,7 +186,8 @@ class="pro-label">Agency plan</span></h3>
157186
</div>
158187

159188
<div class="cta">
160-
<a href="<?php echo esc_url( tsdk_translate_link( tsdk_utmify(FEEDZY_UPSELL_LINK,'viewall','freevspro'), 'query' ) ) ; ?>" class="btn btn-block btn-primary btn-lg" target="_blank">View
161-
all Premium features</a>
189+
<a href="<?php echo esc_url( tsdk_translate_link( tsdk_utmify(FEEDZY_UPSELL_LINK,'viewall','freevspro'), 'query' ) ) ; ?>" class="btn btn-block btn-primary btn-lg" target="_blank">
190+
<?php esc_html_e( 'View all Premium features', 'feedzy-rss-feeds' ); ?>
191+
</a>
162192
</div>
163193
</div>

0 commit comments

Comments
 (0)