From aa96cafb11e38002fdf289c6064206115ac2f73b Mon Sep 17 00:00:00 2001 From: "Soare Robert Daniel (Mac 2023)" Date: Thu, 24 Oct 2024 18:42:53 +0300 Subject: [PATCH] fix: missing js translations --- js/FeedzyBlock/inspector.js | 190 ++++++++++++++++++------------------ 1 file changed, 95 insertions(+), 95 deletions(-) diff --git a/js/FeedzyBlock/inspector.js b/js/FeedzyBlock/inspector.js index 7e6557c6..fd3af09d 100644 --- a/js/FeedzyBlock/inspector.js +++ b/js/FeedzyBlock/inspector.js @@ -55,9 +55,9 @@ class Inspector extends Component { render() { let http_help = ''; - let refreshFeed = applyFilters('feedzy_widget_refresh_feed', [{ label: __('1 Hour'), value: '1_hours', }, { label: __('2 Hours'), value: '3_hours', }, { label: __('12 Hours'), value: '12_hours', }, { label: __('1 Day'), value: '1_days', }, { label: __('3 Days'), value: '3_days', }, { label: __('15 Days'), value: '15_days', }]); + let refreshFeed = applyFilters('feedzy_widget_refresh_feed', [{ label: __('1 Hour', 'feedzy-rss-feeds'), value: '1_hours', }, { label: __('2 Hours', 'feedzy-rss-feeds'), value: '3_hours', }, { label: __('12 Hours', 'feedzy-rss-feeds'), value: '12_hours', }, { label: __('1 Day', 'feedzy-rss-feeds'), value: '1_days', }, { label: __('3 Days', 'feedzy-rss-feeds'), value: '3_days', }, { label: __('15 Days', 'feedzy-rss-feeds'), value: '15_days', }]); if (this.props.attributes.http === 'https') { - http_help += __('Please verify that the images exist on HTTPS.'); + http_help += __('Please verify that the images exist on HTTPS.', 'feedzy-rss-feeds'); } return ( @@ -73,7 +73,7 @@ class Inspector extends Component { > - {__('Content')} + {__('Content', 'feedzy-rss-feeds')} {('content' === this.state.tab) && ( {(this.props.attributes.status !== 0 && !feedzyjs.isPro) && [ @@ -123,7 +123,7 @@ class Inspector extends Component { ]} {(this.props.attributes.status !== 0) && [ - {__('Load Feed')} + {__('Load Feed', 'feedzy-rss-feeds')} , ]} {('fetched' === this.props.state.route) && [ , , - + Pro ] } initialOpen={false} className={feedzyjs.isPro ? 'feedzy-item-filter' : 'feedzy-item-filter fz-locked'} > - {!feedzyjs.isPro &&
{__('Unlock this feature and more advanced options with')} {__('Feedzy Pro')}
} + {!feedzyjs.isPro &&
{__('Unlock this feature and more advanced options with', 'feedzy-rss-feeds')} {__('Feedzy Pro', 'feedzy-rss-feeds')}
} -

{__('Filter feed item by date range.')}

+

{__('Filter feed item by date range.', 'feedzy-rss-feeds')}

@@ -345,24 +345,24 @@ class Inspector extends Component { {('fetched' === this.props.state.route && 'style' === this.state.tab) && [ - + - {__('Featured + {__('Featured , ], ]} /> ), , Pro ] } initialOpen={false} className={feedzyjs.isPro ? 'feedzy-layout' : 'feedzy-layout fz-locked'} > - {!feedzyjs.isPro &&
{__('Unlock this feature and more advanced options with')} {__('Feedzy Pro')}
} + {!feedzyjs.isPro &&
{__('Unlock this feature and more advanced options with', 'feedzy-rss-feeds')} {__('Feedzy Pro', 'feedzy-rss-feeds')}
}
@@ -504,35 +504,35 @@ class Inspector extends Component { {('fetched' === this.props.state.route && 'advanced' === this.state.tab) && [ - {__('You can find more info about available meta field values here.')} + {__('You can find more info about available meta field values here.', 'feedzy-rss-feeds')} @@ -570,17 +570,17 @@ class Inspector extends Component { Pro ] } initialOpen={false} className={feedzyjs.isPro ? 'feedzy-pro-options' : 'feedzy-pro-options fz-locked'} > - {!feedzyjs.isPro &&
{__('Unlock this feature and more advanced options with')} {__('Feedzy Pro')}
} + {!feedzyjs.isPro &&
{__('Unlock this feature and more advanced options with', 'feedzy-rss-feeds')} {__('Feedzy Pro', 'feedzy-rss-feeds')}
}