Add more i18n strings (#234)

* Add more i18n strings

* Add the translation strings in other files

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Co-authored-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
Roxedus 2021-03-13 17:08:03 +01:00 committed by GitHub
parent 4ef34a8f63
commit 03ea0fae8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 317 additions and 11 deletions

View file

@ -22,7 +22,7 @@
<img src="{{ $notFoundImage }}" alt="">
<div class="message">
<h1>404</h1>
<h4>The page you are looking for is not there yet.</h4>
<h4>{{ i18n "err_404" }}</h4>
</div>
</div>
</div>

View file

@ -13,7 +13,7 @@
<a
href="{{ .RelPermalink | relLangURL }}"
class="float-right btn btn-outline-info btn-sm"
>Read</a
>{{ i18n "read" }}</a
>
</div>
</div>

View file

@ -45,7 +45,7 @@
data-icon="octicon-standard"
data-show-count="true"
aria-label="Star {{ .name }}"
>Star</a
>{{ i18n "project_star" }}</a
>
{{ else if .url }}
<span>
@ -53,7 +53,7 @@
class="btn btn-outline-info btn-sm"
href="{{ .url }}"
target="#"
>Details</a
>{{ i18n "project_details" }}</a
>
</span>
{{ end }}

View file

@ -12,7 +12,7 @@
</div>
<div class="card-footer">
<span class="float-left">{{ .Date.Format "January 2, 2006" }}</span>
<a href="{{ .RelPermalink }}" class="float-right btn btn-outline-info btn-sm">Read</a>
<a href="{{ .RelPermalink }}" class="float-right btn btn-outline-info btn-sm">{{ i18n "read" }}</a>
</div>
</div>
</a>

View file

@ -17,11 +17,11 @@
})();
</script>
<noscript
>Please enable JavaScript to view the
>{{ i18n "comments_javascript" }}
<a href="https://disqus.com/?ref_noscript"
>comments powered by Disqus.</a
>{{ i18n "comments_by" }} Disqus.</a
></noscript
>
<a href="https://disqus.com/" class="dsq-brlink"
>comments powered by <span class="logo-disqus">Disqus</span></a
>{{ i18n "comments_by" }} <span class="logo-disqus">Disqus</span></a
>

View file

@ -7,7 +7,7 @@
{{ $oldestPosition := index (last 1 .positions) 0}}
{{ $mostRecentPosition := index (first 1 .positions) 0}}
<p class="text-muted">
{{ $oldestPosition.start }} - {{ if $mostRecentPosition.end }}{{ $mostRecentPosition.end }}{{ else }}Present{{ end }},
{{ $oldestPosition.start }} - {{ if $mostRecentPosition.end }}{{ $mostRecentPosition.end }}{{ else }}{{ i18n "present" }}{{ end }},
{{ .company.location }}
</p>
<!-- Add company overview -->
@ -17,7 +17,7 @@
<div class="positions">
{{ range $index,$position:= .positions }}
<h6 class="designation">{{ $position.designation }}</h6>
<p class="text-muted">{{ $position.start }} - {{if $position.end }} {{ $position.end }} {{else}} Present {{end}}</p>
<p class="text-muted">{{ $position.start }} - {{if $position.end }} {{ $position.end }} {{else}} {{ i18n "present" }} {{end}}</p>
<!-- Add the responsibilities handled at this position -->
<ul class="justify-content-around">
{{ range $position.responsibilities }}