mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-09 22:22:03 +02:00
Rework translations
This commit is contained in:
parent
e4ed73c809
commit
de5056c440
15 changed files with 171 additions and 148 deletions
|
@ -66,7 +66,7 @@ const ProjectTemplate = ({ data }) => {
|
|||
return (
|
||||
<Layout
|
||||
description={project.shortDescription}
|
||||
title={t("project") + ": " + projectName}
|
||||
title={t("project.title") + ": " + projectName}
|
||||
transparentTopbar={true}
|
||||
image={project.image.publicURL}
|
||||
>
|
||||
|
@ -84,7 +84,7 @@ const ProjectTemplate = ({ data }) => {
|
|||
<header>
|
||||
<div className={styles.headerInner}>
|
||||
<h1>
|
||||
<Trans>project</Trans>: {projectName}
|
||||
<Trans>project.title</Trans>: {projectName}
|
||||
</h1>
|
||||
<span>{project.shortDescription}</span>
|
||||
</div>
|
||||
|
@ -111,7 +111,7 @@ const ProjectTemplate = ({ data }) => {
|
|||
rel="noreferrer"
|
||||
>
|
||||
<Github height={15} />{" "}
|
||||
<Trans>projectViewGitHub</Trans>
|
||||
<Trans>project.viewGitHub</Trans>
|
||||
</a>
|
||||
) : null}
|
||||
{project.links.website !== null ? (
|
||||
|
@ -121,7 +121,7 @@ const ProjectTemplate = ({ data }) => {
|
|||
rel="noreferrer"
|
||||
>
|
||||
<ExternalLink height={15} />{" "}
|
||||
<Trans>projectViewWebsite</Trans>
|
||||
<Trans>project.viewWebsite</Trans>
|
||||
</a>
|
||||
) : null}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue