diff options
author | Roxedus <me@roxedus.dev> | 2021-02-16 07:56:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 07:56:21 +0300 |
commit | a15f7364f897e1df8021ee3f7ba5ea23059f85a5 (patch) | |
tree | 94fb023384fbf76422e6e39e519801c9fdab29b3 | |
parent | b1e1b7c5d621b6045e1c61c6b6ead82fa3520d5e (diff) |
Add i18n to experiences section (#232)
-rw-r--r-- | i18n/en.toml | 6 | ||||
-rw-r--r-- | layouts/partials/sections/experiences/single-position.html | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/i18n/en.toml b/i18n/en.toml index 3a7aaf2..f880f81 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -73,3 +73,9 @@ other = "Extracurricular Activities" [see_more] other = "See More" + +[responsibilities] +other = "Responsibilities:" + +[present] +other = "Present"
\ No newline at end of file diff --git a/layouts/partials/sections/experiences/single-position.html b/layouts/partials/sections/experiences/single-position.html index dda35ef..2300755 100644 --- a/layouts/partials/sections/experiences/single-position.html +++ b/layouts/partials/sections/experiences/single-position.html @@ -5,14 +5,14 @@ <h5>{{ $position.designation }}</h5> <h6>{{ if .company.url }}<a href={{.company.url}}>{{ .company.name }}</a>{{ else }}{{ .company.name }}{{ end }}</h6> <!-- Add experience duration info --> - <p class="text-muted">{{ $position.start }} - {{ if $position.end }}{{ $position.end }}{{ else }}Present{{ end }}, + <p class="text-muted">{{ $position.start }} - {{ if $position.end }}{{ $position.end }}{{ else }}{{ i18n "present" }}{{ end }}, {{ .company.location }} </p> </div> <!-- Add company overview --> <p>{{ .company.overview | markdownify }}</p> <!-- Add the responsibilities handled at this position --> - <h6 class="text-muted">Responsibilities:</h6> + <h6 class="text-muted">{{ i18n "responsibilities" }}</h6> <ul class="justify-content-around"> {{ range $position.responsibilities }} <li>{{ . | markdownify }}</li> |