Skip to content

Commit

Permalink
remove translations for dynamic strings
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Oct 23, 2024
1 parent 909afe4 commit 5981b18
Showing 1 changed file with 7 additions and 28 deletions.
35 changes: 7 additions & 28 deletions src/components/WPSolutionsBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,10 @@ export function WPSolutionsBanner() {
) }
>
<h2 className="nfd-text-[#0F172A] nfd-text-lg nfd-leading-5 nfd-font-semibold nfd-mb-4">
{ __(
`${ details.title }`,
'wp-module-ecommerce'
) }
{ details.title }
</h2>
<p className="nfd-text-[#0F172A] nfd-text-base nfd-leading-5 nfd-font-normal nfd-mb-10">
{ __(
`${ details.description }`,
'wp-module-ecommerce'
) }
{ details.description }
</p>
{
//For type plugin
Expand All @@ -189,10 +183,7 @@ export function WPSolutionsBanner() {
as="a"
href={ url }
>
{ __(
`${ details.cta.text }`,
'wp-module-ecommerce'
) }
{ details.cta.text }
<RightArrow className="nfd-mt-2.5" />
</Button>
) : //installed but not active
Expand All @@ -218,10 +209,7 @@ export function WPSolutionsBanner() {
url
}
>
{ __(
`${ details.cta.text }`,
'wp-module-ecommerce'
) }
{ details.cta.text }
<RightArrow className="nfd-mt-2.5" />
</Button>
) : //need to install
Expand Down Expand Up @@ -255,10 +243,7 @@ export function WPSolutionsBanner() {
'installing'
}
>
{ __(
`${ details.cta.text }`,
'wp-module-ecommerce'
) }
{ details.cta.text }
<RightArrow className="nfd-mt-2.5" />
</Button>
) : //free
Expand All @@ -284,10 +269,7 @@ export function WPSolutionsBanner() {
'installing'
}
>
{ __(
`${ details.cta.text }`,
'wp-module-ecommerce'
) }
{ details.cta.text }
<RightArrow className="nfd-mt-2.5" />
</Button>
) : null
Expand All @@ -302,10 +284,7 @@ export function WPSolutionsBanner() {
as="a"
href={ details.cta.url }
>
{ __(
`${ details.cta.text }`,
'wp-module-ecommerce'
) }
{ details.cta.text }
<RightArrow className="nfd-mt-2.5" />
</Button>
)
Expand Down

0 comments on commit 5981b18

Please sign in to comment.