forked from dict/alar.ink
Fix language strings.
This commit is contained in:
14
base.html
14
base.html
@@ -8,15 +8,15 @@
|
||||
{{- block "meta" . -}}
|
||||
<title>
|
||||
{{- if eq .Data.PageType "/" }} {{- .L.T "global.siteName" -}}
|
||||
{{- else if eq .Data.PageType "glossary" }}{{- .L.T "public.glossaryTitle" -}}
|
||||
{{- else if eq .Data.PageType "search" }}{{- .L.Ts "public.searchTitle" "query" .Data.Query.Query -}}
|
||||
{{- else if eq .Data.PageType "glossary" }}{{- .L.Ts "public.glossary" "lang" (title .Data.Glossary.FromLang) -}}
|
||||
{{- else if eq .Data.PageType "search" }}{{- .L.Ts "public.searchTitle" "query" .Data.Query.Query "fromLang" .Data.Query.ToLang -}}
|
||||
{{- else if ne .Data.Title "" }}{{ .Data.Title }}
|
||||
{{- end -}}
|
||||
</title>
|
||||
<meta name="description" value="
|
||||
{{- if eq .Data.PageType "/" }}Dictionary website
|
||||
{{- else if eq .Data.PageType "glossary" }}Glossary of words.
|
||||
{{- else if eq .Data.PageType "search" }}{{ .Data.Query.Query }} meaning.
|
||||
{{- if eq .Data.PageType "/" }}{{- .L.T "global.siteName" -}}
|
||||
{{- else if eq .Data.PageType "glossary" }}{{- .L.Ts "public.glossary" "lang" (title .Data.Glossary.FromLang) -}}
|
||||
{{- else if eq .Data.PageType "search" }}{{- .L.Ts "public.searchDescription" "query" .Data.Query.Query "fromLang" .Data.Query.FromLang "toLang" .Data.Query.ToLang -}}
|
||||
{{- else if ne .Data.Description "" }}{{ .Data.Description }}
|
||||
{{- else }}{{ block "description" . }}{{end}}
|
||||
{{- end -}}" />
|
||||
@@ -37,7 +37,7 @@
|
||||
<header class="header">
|
||||
<div class="row">
|
||||
<div class="logo four columns">
|
||||
<a href="/"><img src="/static/logo.svg?v={{ .AssetVer }}" alt="Dictionary logo" /></a>
|
||||
<a href="/"><img src="/static/logo.svg?v={{ .AssetVer }}" alt="Alar" /></a>
|
||||
<h3 class="intro">
|
||||
<p>ಶ್ರೀ. ವಿ. ಕೃಷ್ಣ ಅವರ ಕನ್ನಡ - ಇಂಗ್ಲಿಷ್ ನಿಘಂಟು</p>
|
||||
“Alar” V. Krishna's Kannada → English dictionary
|
||||
@@ -78,7 +78,7 @@
|
||||
{{ $from := index $d 0}}
|
||||
{{ $to := index $d 1}}
|
||||
<a href="{{ $.Consts.RootURL }}/glossary/{{ $from.ID }}/{{ $to.ID }}/*" class="tab">
|
||||
{{ title ($.L.Ts "public.glossary" "lang" "") }}
|
||||
{{ $.L.Ts "public.glossary" "lang" $from.Name }}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"global.btnClose": "Close",
|
||||
"global.btnDelete": "Delete",
|
||||
"global.btnSearch": "Search",
|
||||
"global.siteName": "Dictionary",
|
||||
"global.siteName": "Alar (ಅಲರ್) - Kannada - English dictionary. ಕನ್ನಡ-ಇಂಗ್ಲಿಷ್ ನಿಘಂಟು.",
|
||||
"public.errorMessage": "An error occurred. Please try later.",
|
||||
"public.errorTitle": "Error",
|
||||
"public.about": "About",
|
||||
@@ -13,7 +13,8 @@
|
||||
"public.mainTitle": "Dictionary website",
|
||||
"public.noResults": "No results where found for the query.",
|
||||
"public.noResultsTitle": "No results",
|
||||
"public.searchTitle": "{query} English meaning - Alar",
|
||||
"public.searchTitle": "{query} {fromLang} meaning - Alar",
|
||||
"public.searchDescription": "{query} {fromLang} word meanings and definitions in {toLang}",
|
||||
"public.similarTitle": "Similar words",
|
||||
"public.playAudio": "Play audio",
|
||||
"public.subTitle": "Kannada-English dictionary",
|
||||
|
||||
Reference in New Issue
Block a user