Add more i18n strings

This commit is contained in:
Roxedus 2021-02-16 18:55:50 +01:00 committed by hossainemruz
parent 4ef34a8f63
commit 4f2141fec6
7 changed files with 29 additions and 11 deletions

View file

@ -78,4 +78,22 @@ other = "See More"
other = "Responsibilities:" other = "Responsibilities:"
[present] [present]
other = "Present" other = "Present"
[comments_javascript]
other = "Please enable JavaScript to view the"
[comments_by]
other = "comments powered by"
[read]
other = "Read"
[project_star]
other = "Star"
[project_details]
other = "Details"
[err_404]
other = "The page you are looking for is not there yet."

View file

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

View file

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

View file

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

View file

@ -12,7 +12,7 @@
</div> </div>
<div class="card-footer"> <div class="card-footer">
<span class="float-left">{{ .Date.Format "January 2, 2006" }}</span> <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>
</div> </div>
</a> </a>

View file

@ -17,11 +17,11 @@
})(); })();
</script> </script>
<noscript <noscript
>Please enable JavaScript to view the >{{ i18n "comments_javascript" }}
<a href="https://disqus.com/?ref_noscript" <a href="https://disqus.com/?ref_noscript"
>comments powered by Disqus.</a >{{ i18n "comments_by" }} Disqus.</a
></noscript ></noscript
> >
<a href="https://disqus.com/" class="dsq-brlink" <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}} {{ $oldestPosition := index (last 1 .positions) 0}}
{{ $mostRecentPosition := index (first 1 .positions) 0}} {{ $mostRecentPosition := index (first 1 .positions) 0}}
<p class="text-muted"> <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 }} {{ .company.location }}
</p> </p>
<!-- Add company overview --> <!-- Add company overview -->
@ -17,7 +17,7 @@
<div class="positions"> <div class="positions">
{{ range $index,$position:= .positions }} {{ range $index,$position:= .positions }}
<h6 class="designation">{{ $position.designation }}</h6> <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 --> <!-- Add the responsibilities handled at this position -->
<ul class="justify-content-around"> <ul class="justify-content-around">
{{ range $position.responsibilities }} {{ range $position.responsibilities }}