Skip to content

Commit

Permalink
chore: replace textdomain from hyve to hyve-lite
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Oct 13, 2024
1 parent 3fe217d commit 363c6f4
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/backend/parts/data/AddData.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const AddData = ({
<Button
icon="arrow-left-alt"
hideLabel
label={ __( 'Back', 'hyve' ) }
label={ __( 'Back', 'hyve-lite' ) }
onClick={ () => setAddPost( false ) }
/>

Expand Down
4 changes: 2 additions & 2 deletions src/backend/parts/data/Custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ const Custom = ({ setView }) => {
<Button
icon="arrow-left-alt"
hideLabel
label={ __( 'Back', 'hyve' ) }
label={ __( 'Back', 'hyve-lite' ) }
onClick={ () => setView( null ) }
/>

<h3>{ __( 'Custom Data', 'hyve' ) }</h3>
<h3>{ __( 'Custom Data', 'hyve-lite' ) }</h3>
</div>

<PanelRow>
Expand Down
4 changes: 2 additions & 2 deletions src/backend/parts/data/Posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const Posts = ({ setView }) => {
<Button
icon="arrow-left-alt"
hideLabel
label={ __( 'Back', 'hyve' ) }
label={ __( 'Back', 'hyve-lite' ) }
onClick={ () => setView( null ) }
/>

Expand All @@ -104,7 +104,7 @@ const Posts = ({ setView }) => {
variant="primary"
onClick={ () => setAddPost( true ) }
>
{ __( 'Add Posts', 'hyve' ) }
{ __( 'Add Posts', 'hyve-lite' ) }
</Button>
</div>

Expand Down
16 changes: 8 additions & 8 deletions src/backend/parts/data/SitemapCrawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ const SitemapCrawler = ({ setView }) => {
<Button
icon="arrow-left-alt"
hideLabel
label={ __( 'Back', 'hyve' ) }
label={ __( 'Back', 'hyve-lite' ) }
onClick={ () => setView( null ) }
/>

<h3>{ __( 'Sitemap', 'hyve' ) }</h3>
<h3>{ __( 'Sitemap', 'hyve-lite' ) }</h3>
</div>

<PanelRow>
<p className="py-4">{ __( 'Use this tool to crawl a website and add its content to the Knowledge Base using the sitemap.', 'hyve' ) }</p>
<p className="py-4">{ __( 'Use this tool to crawl a website and add its content to the Knowledge Base using the sitemap.', 'hyve-lite' ) }</p>

<div className="relative pt-4 pb-8 overflow-x-auto">
<UpsellContainer
Expand All @@ -63,17 +63,17 @@ const SitemapCrawler = ({ setView }) => {
variant="primary"
onClick={ () => {} }
>
{ __( 'Add Sitemap', 'hyve' ) }
{ __( 'Add Sitemap', 'hyve-lite' ) }
</Button>
</div>
</div>

<div className="flex flex-col">
<div className="bg-gray-50 px-6 py-3 text-left text-xs text-gray-700 uppercase">
<div className="flex">
<div className="flex-1">{ __( 'Sitemap URL', 'hyve' ) }</div>
<div className="w-1/6">{ __( 'Status', 'hyve' ) }</div>
<div className="w-1/6 flex justify-center">{ __( 'Action', 'hyve' ) }</div>
<div className="flex-1">{ __( 'Sitemap URL', 'hyve-lite' ) }</div>
<div className="w-1/6">{ __( 'Status', 'hyve-lite' ) }</div>
<div className="w-1/6 flex justify-center">{ __( 'Action', 'hyve-lite' ) }</div>
</div>
</div>

Expand All @@ -95,7 +95,7 @@ const SitemapCrawler = ({ setView }) => {
variant="secondary"
className="w-20 justify-center"
>
{ __( 'Details', 'hyve' ) }
{ __( 'Details', 'hyve-lite' ) }
</Button>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/backend/parts/data/URLCrawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ const URLCrawler = ({ setView }) => {
<Button
icon="arrow-left-alt"
hideLabel
label={ __( 'Back', 'hyve' ) }
label={ __( 'Back', 'hyve-lite' ) }
onClick={ () => setView( null ) }
/>

<h3>{ __( 'Website URL', 'hyve' ) }</h3>
<h3>{ __( 'Website URL', 'hyve-lite' ) }</h3>
</div>

<PanelRow>
<p className="py-4">{ __( 'This page allows you to add URLs to the Knowledge Base. You can add URLs to the Knowledge Base by entering the URL in the field below and clicking the "Crawl URL" button.', 'hyve' ) }</p>
<p className="py-4">{ __( 'This page allows you to add URLs to the Knowledge Base. You can add URLs to the Knowledge Base by entering the URL in the field below and clicking the "Crawl URL" button.', 'hyve-lite' ) }</p>

<div className="relative pt-4 pb-8 overflow-x-auto">
<UpsellContainer
Expand All @@ -67,7 +67,7 @@ const URLCrawler = ({ setView }) => {
<div className="flex gap-4 pb-4 flex-col">
<div className="flex w-full items-end gap-4">
<TextControl
label={ __( 'Website URL', 'hyve' ) }
label={ __( 'Website URL', 'hyve-lite' ) }
placeholder={ 'https://' }
type="url"
className="w-full"
Expand All @@ -79,7 +79,7 @@ const URLCrawler = ({ setView }) => {
variant="secondary"
onClick={ () => {} }
>
{ __( 'Crawl URL', 'hyve' ) }
{ __( 'Crawl URL', 'hyve-lite' ) }
</Button>
</div>
</div>
Expand All @@ -95,7 +95,7 @@ const URLCrawler = ({ setView }) => {
variant: 'secondary',
isDestructive: true
}}
actionLabel={ __( 'Delete', 'hyve' ) }
actionLabel={ __( 'Delete', 'hyve-lite' ) }
/>
</UpsellContainer>
</div>
Expand Down

0 comments on commit 363c6f4

Please sign in to comment.