Skip to content

Commit

Permalink
fix temurin version, arch and OSname display bug (#731)
Browse files Browse the repository at this point in the history
Signed-off-by: Jessy Ssebuliba <[email protected]>
  • Loading branch information
Jexsie authored Jan 27, 2025
1 parent fee70b2 commit b9b211a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/components/Temurin/LatestTemurin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,19 @@ const LatestTemurin = (props): JSX.Element => {
{binary ? (
<Trans
i18nKey="Download Temurin for"
defaults="Download Temurin {{ defaultVersion }} for {{ userOSName }} {{ arch }}"
components={{
defaultVersion: defaultVersion,
userOSName: userOSName,
arch: arch
defaults="Download Temurin {{defaultVersion}} for {{userOSName}} {{arch}}"
values={{
defaultVersion,
userOSName,
arch,
}}
/>) : (
<Trans
i18nKey="home.download.temurin.short"
/>
) : (
<Trans
i18nKey="home.download.temurin.short"
defaults="Download Temurin {{ defaultVersion }}"
components={{
defaultVersion: defaultVersion
}}
/>
value={{ defaultVersion }}
/>
)}
</p>
<div className="mt-10 flex items-center sm:flex-row flex-col-reverse justify-center gap-6">
Expand Down

0 comments on commit b9b211a

Please sign in to comment.