Update translations

This commit is contained in:
Kevin Kandlbinder 2021-11-07 00:55:41 +00:00 committed by GitHub
parent 06a2bd793f
commit e2057c517e
3 changed files with 109 additions and 105 deletions

View file

@ -1,35 +1,35 @@
{ {
"site": { "site": {
"description": "Hallo, ich bin Kevin Kandlbinder, ein Entwickler und Hobby-Fotograf aus Norddeutschland." "description": "Hallo, ich bin Kevin Kandlbinder, ein Entwickler und Hobby-Fotograf aus Norddeutschland."
}, },
"layout": { "layout": {
"imprint": "Impressum", "imprint": "Impressum",
"datasec": "Datenschutz", "datasec": "Datenschutz",
"disclaimer": "Disclaimer" "disclaimer": "Disclaimer"
}, },
"project": { "project": {
"title": "Projekt", "title": "Projekt",
"plural": "Projekte", "plural": "Projekte",
"aboutHeader": "Über {{projectName}}", "aboutHeader": "Über {{projectName}}",
"viewGitHub": "Auf GitHub anschauen", "viewGitHub": "Auf GitHub anschauen",
"viewWebsite": "Projekt-Website anschauen", "viewWebsite": "Projekt-Website anschauen",
"description": "Das ist woran ich grade arbeite oder woran ich gearbeitet habe.", "description": "Das ist woran ich grade arbeite oder woran ich gearbeitet habe.",
"view": "Anschauen" "view": "Anschauen"
}, },
"home": { "home": {
"title": "Home", "title": "Home",
"hello": "Hallo, ich bin", "hello": "Hallo, ich bin",
"me": "Ich bin", "me": "Ich bin",
"webDeveloper": "Web Developer", "webDeveloper": "Web Developer",
"imageCredit": "Portrait aufgenommen von Jannik Kiel", "imageCredit": "Portrait aufgenommen von Jannik Kiel",
"myLocation": "Quickborn, Schleswig-Holstein, Deutschland", "myLocation": "Quickborn, Schleswig-Holstein, Deutschland",
"explore": "Erkunde", "explore": "Erkunde",
"myProjects": "meine Projekte", "myProjects": "meine Projekte",
"discover": "Entdecke", "discover": "Entdecke",
"mySocials": "meine Accounts", "mySocials": "meine Accounts",
"learn": "Erfahre", "learn": "Erfahre",
"moreAboutMe": "mehr über mich" "moreAboutMe": "mehr über mich"
}, },
"about": { "about": {
"title": "Über", "title": "Über",
"donationCatchphrase": "Gefällt dir was du siehst? Spende doch etwas.", "donationCatchphrase": "Gefällt dir was du siehst? Spende doch etwas.",
@ -38,9 +38,9 @@
"mySkills": "Meine Fähigkeiten" "mySkills": "Meine Fähigkeiten"
}, },
"social": { "social": {
"title": "Soziales", "title": "Soziales",
"descriptionWithLink": "Finde mich auf anderen Plattformen oder <1>besuche meine Freunde</1>!", "descriptionWithLink": "Finde mich auf anderen Plattformen oder <1>besuche meine Freunde</1>!",
"description": "Finde mich auf anderen Plattformen!" "description": "Finde mich auf anderen Plattformen!"
}, },
"friends": { "friends": {
"title": "Freunde", "title": "Freunde",
@ -58,29 +58,31 @@
}, },
"menu": "Menü", "menu": "Menü",
"language": { "language": {
"en": { "en": {
"name": "Englisch" "name": "Englisch"
}, },
"de": { "de": {
"name": "Deutsch" "name": "Deutsch"
} }
}, },
"blog": { "blog": {
"title": "Blog", "title": "Blog",
"readFull": "Ganzen Post lesen »", "readFull": "Ganzen Post lesen »",
"meta": "Gepostet am {{date}} von {{author}}", "meta": "Gepostet am {{date}} von {{author}}",
"page": "Seite {{page}}/{{maxPage}}", "page": "Seite {{page}}/{{maxPage}}",
"previous": "Zurück", "previous": "Zurück",
"next": "Weiter", "next": "Weiter",
"section": { "section": {
"blog": { "blog": {
"name": "Blog", "name": "Blog",
"description": "Begleite mich in meinem spannendem Leben!" "description": "Begleite mich in meinem spannendem Leben!"
}, },
"scambox": { "scambox": {
"name": "Scambox", "name": "Scambox",
"description": "Tauche mit mir ein in die Welt der Scams, die ich tagtäglich so bekomme, und lach ein bisschen mit mir!" "description": "Tauche mit mir ein in die Welt der Scams, die ich tagtäglich so bekomme, und lach ein bisschen mit mir!"
}
} }
},
"sections": "Rubriken",
"posts": "Beiträge"
} }
} }

View file

@ -1,28 +1,28 @@
{ {
"site": { "site": {
"description": "Hello, I am Kevin Kandlbinder, a developer and hobby photographer from northern Germany." "description": "Hello, I am Kevin Kandlbinder, a developer and hobby photographer from northern Germany."
}, },
"layout": { "layout": {
"imprint": "Imprint", "imprint": "Imprint",
"datasec": "Data Protection", "datasec": "Data Protection",
"disclaimer": "Disclaimer" "disclaimer": "Disclaimer"
}, },
"project": { "project": {
"title": "Project", "title": "Project",
"plural": "Projects", "plural": "Projects",
"aboutHeader": "About {{projectName}}", "aboutHeader": "About {{projectName}}",
"viewGitHub": "View on GitHub", "viewGitHub": "View on GitHub",
"viewWebsite": "View Project-Website", "viewWebsite": "View Project-Website",
"description": "This is what I am working on or have worked on.", "description": "This is what I am working on or have worked on.",
"view": "View" "view": "View"
}, },
"home": { "home": {
"title": "Home", "title": "Home",
"hello": "Hello, I am", "hello": "Hello, I am",
"me": "I am", "me": "I am",
"webDeveloper": "a web developer", "webDeveloper": "a web developer",
"imageCredit": "Portrait taken by Jannik Kiel", "imageCredit": "Portrait taken by Jannik Kiel",
"myLocation": "Quickborn, Schleswig-Holstein, Germany", "myLocation": "Quickborn, Schleswig-Holstein, Germany",
"explore": "Explore", "explore": "Explore",
"myProjects": "my projects", "myProjects": "my projects",
"discover": "Discover", "discover": "Discover",
@ -38,9 +38,9 @@
"mySkills": "My Skills" "mySkills": "My Skills"
}, },
"social": { "social": {
"title": "Social", "title": "Social",
"descriptionWithLink": "Find me on other platforms or <1>visit my friends</1>!", "descriptionWithLink": "Find me on other platforms or <1>visit my friends</1>!",
"description": "Find me on other platforms!" "description": "Find me on other platforms!"
}, },
"friends": { "friends": {
"title": "Friends", "title": "Friends",
@ -58,29 +58,31 @@
}, },
"menu": "Menu", "menu": "Menu",
"language": { "language": {
"en": { "en": {
"name": "English" "name": "English"
}, },
"de": { "de": {
"name": "German" "name": "German"
} }
}, },
"blog": { "blog": {
"title": "Blog", "title": "Blog",
"readFull": "Read full post »", "readFull": "Read full post »",
"meta": "Posted on {{date}} by {{author}}", "meta": "Posted on {{date}} by {{author}}",
"page": "Page {{page}}/{{maxPage}}", "page": "Page {{page}}/{{maxPage}}",
"previous": "Previous", "previous": "Previous",
"next": "Next", "next": "Next",
"section": { "section": {
"blog": { "blog": {
"name": "Blog", "name": "Blog",
"description": "Read all about my exciting life!" "description": "Read all about my exciting life!"
}, },
"scambox": { "scambox": {
"name": "Scambox", "name": "Scambox",
"description": "Take a dive with me into all of the scams I get on the daily, and maybe laugh at them a little!" "description": "Take a dive with me into all of the scams I get on the daily, and maybe laugh at them a little!"
}
} }
},
"sections": "Sections",
"posts": "Posts"
} }
} }

View file

@ -34,7 +34,7 @@ const BlogListing = ({ data, pageContext }) => {
{!hasSection && ( {!hasSection && (
<> <>
<h2>Sections</h2> <h2>{t("blog.sections")}</h2>
<div className={styles.sectionList}> <div className={styles.sectionList}>
<Link <Link
@ -46,7 +46,7 @@ const BlogListing = ({ data, pageContext }) => {
<StaticImage src="https://source.unsplash.com/gf8e6XvG_3E/300x150"></StaticImage> <StaticImage src="https://source.unsplash.com/gf8e6XvG_3E/300x150"></StaticImage>
</div> </div>
<span className={styles.sectionName}> <span className={styles.sectionName}>
Scambox {t("blog.section.scambox.name")}
</span> </span>
</div> </div>
</Link> </Link>
@ -54,7 +54,7 @@ const BlogListing = ({ data, pageContext }) => {
</> </>
)} )}
<h2>Posts</h2> <h2>{t("blog.posts")}</h2>
<div className={styles.list}> <div className={styles.list}>
{data.posts.nodes.map((post) => { {data.posts.nodes.map((post) => {