mirror of
https://github.com/ineesalmeida/almeida-cv.git
synced 2024-11-23 07:47:55 +00:00
Merge pull request #5 from breucode/master
Implement translation for headings
This commit is contained in:
commit
559509bc5a
10 changed files with 48 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
||||||
baseURL = "https://example.com/"
|
baseURL = "https://example.com/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
|
defaultContentLanguage = "en"
|
||||||
theme = "almeida-cv"
|
theme = "almeida-cv"
|
||||||
title = "Example - CV"
|
title = "Example - CV"
|
||||||
|
|
||||||
|
|
20
i18n/de.toml
Normal file
20
i18n/de.toml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[profile]
|
||||||
|
other = "Profil"
|
||||||
|
|
||||||
|
[experience]
|
||||||
|
other = "Erfahrung"
|
||||||
|
|
||||||
|
[education]
|
||||||
|
other = "Bildung"
|
||||||
|
|
||||||
|
[skills]
|
||||||
|
other = "Skills"
|
||||||
|
|
||||||
|
[languages]
|
||||||
|
other = "Sprachen"
|
||||||
|
|
||||||
|
[diplomas]
|
||||||
|
other = "Zertifizierungen"
|
||||||
|
|
||||||
|
[interests]
|
||||||
|
other = "Interessen"
|
20
i18n/en.toml
Normal file
20
i18n/en.toml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[profile]
|
||||||
|
other = "Profile"
|
||||||
|
|
||||||
|
[experience]
|
||||||
|
other = "Experience"
|
||||||
|
|
||||||
|
[education]
|
||||||
|
other = "Education"
|
||||||
|
|
||||||
|
[skills]
|
||||||
|
other = "Skills"
|
||||||
|
|
||||||
|
[languages]
|
||||||
|
other = "Languages"
|
||||||
|
|
||||||
|
[diplomas]
|
||||||
|
other = "Diplomas"
|
||||||
|
|
||||||
|
[interests]
|
||||||
|
other = "Interests"
|
|
@ -1,7 +1,7 @@
|
||||||
{{ if .Site.Data.content.Diplomas }}
|
{{ if .Site.Data.content.Diplomas }}
|
||||||
<div class="sideSection">
|
<div class="sideSection">
|
||||||
<div class="sideSection__heading">
|
<div class="sideSection__heading">
|
||||||
<h2 class="sideSection__title">Diplomas</h2>
|
<h2 class="sideSection__title">{{ i18n "diplomas" }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="sideSection__content">
|
<div class="sideSection__content">
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div id="education" class="section">
|
<div id="education" class="section">
|
||||||
<div class="section__heading">
|
<div class="section__heading">
|
||||||
<h2 class="section__title">
|
<h2 class="section__title">
|
||||||
Education
|
{{ i18n "education" }}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="section__content">
|
<div class="section__content">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ if .Site.Data.content.Experience }}
|
{{ if .Site.Data.content.Experience }}
|
||||||
<div id="experience" class="section">
|
<div id="experience" class="section">
|
||||||
<div class="section__heading">
|
<div class="section__heading">
|
||||||
<h2 class="section__title">Experience</h2>
|
<h2 class="section__title">{{ i18n "experience" }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="section__content">
|
<div class="section__content">
|
||||||
<div class="experience">
|
<div class="experience">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ if .Site.Data.content.Interests }}
|
{{ if .Site.Data.content.Interests }}
|
||||||
<div class="sideSection">
|
<div class="sideSection">
|
||||||
<div class="sideSection__heading">
|
<div class="sideSection__heading">
|
||||||
<h2 class="sideSection__title">Interests</h2>
|
<h2 class="sideSection__title">{{ i18n "interests" }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="sideSection__content">
|
<div class="sideSection__content">
|
||||||
<ul class="interests">
|
<ul class="interests">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ if .Site.Data.content.Languages }}
|
{{ if .Site.Data.content.Languages }}
|
||||||
<div class="sideSection">
|
<div class="sideSection">
|
||||||
<div class="sideSection__heading">
|
<div class="sideSection__heading">
|
||||||
<h2 class="sideSection__title">Languages</h2>
|
<h2 class="sideSection__title">{{ i18n "languages" }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="sideSection__content">
|
<div class="sideSection__content">
|
||||||
<ul class="language">
|
<ul class="language">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ if .Site.Data.content.Profile }}
|
{{ if .Site.Data.content.Profile }}
|
||||||
<div id="profile" class="section">
|
<div id="profile" class="section">
|
||||||
<div class="section__heading">
|
<div class="section__heading">
|
||||||
<h2 class="section__title">Profile</h2>
|
<h2 class="section__title">{{ i18n "profile" }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="section__content">
|
<div class="section__content">
|
||||||
<p>{{.Site.Data.content.Profile | safeHTML }}</p>
|
<p>{{.Site.Data.content.Profile | safeHTML }}</p>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ if .Site.Data.content.Skills }}
|
{{ if .Site.Data.content.Skills }}
|
||||||
<div class="sideSection">
|
<div class="sideSection">
|
||||||
<div class="sideSection__heading">
|
<div class="sideSection__heading">
|
||||||
<h2 class="sideSection__title">Skills</h2>
|
<h2 class="sideSection__title">{{ i18n "skills" }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="sideSection__content">
|
<div class="sideSection__content">
|
||||||
<ul class="skills">
|
<ul class="skills">
|
||||||
|
|
Loading…
Reference in a new issue