update i18n translation
This commit is contained in:
parent
4699c6465e
commit
1fcca8dec5
@ -1,41 +1,14 @@
|
|||||||
- id: home
|
home: Home
|
||||||
translation: Home
|
read_more: Read More
|
||||||
|
send: Send
|
||||||
- id: read_more
|
related_posts: Related Posts
|
||||||
translation: Read More
|
categories: Categories
|
||||||
|
tags: Tags
|
||||||
- id: send
|
toc: Table of Contents
|
||||||
translation: Send
|
share: Share
|
||||||
|
search_input_placeholder: Search Post...
|
||||||
- id: related_posts
|
search_no_results: No results for
|
||||||
translation: Related Posts
|
search_initial_message: Type something to search..
|
||||||
|
search_navigate: to navigate
|
||||||
- id: categories
|
search_select: to select
|
||||||
translation: Categories
|
search_close: to close
|
||||||
|
|
||||||
- id: tags
|
|
||||||
translation: Tags
|
|
||||||
|
|
||||||
- id: toc
|
|
||||||
translation: Table of Contents
|
|
||||||
|
|
||||||
- id: share
|
|
||||||
translation: Share
|
|
||||||
|
|
||||||
- id: search_input_placeholder
|
|
||||||
translation: Search Post ...
|
|
||||||
|
|
||||||
- id: search_no_results
|
|
||||||
translation: No results for
|
|
||||||
|
|
||||||
- id: search_initial_message
|
|
||||||
translation: Type something to search..
|
|
||||||
|
|
||||||
- id: search_navigate
|
|
||||||
translation: to navigate
|
|
||||||
|
|
||||||
- id: search_select
|
|
||||||
translation: to select
|
|
||||||
|
|
||||||
- id: search_close
|
|
||||||
translation: to close
|
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
{{ $tags:= .Params.tags }}
|
{{ $tags:= .Params.tags }}
|
||||||
{{ if $tags }}
|
{{ if $tags }}
|
||||||
<div class="lg:col-5 mb-10 flex items-center lg:mb-0">
|
<div class="lg:col-5 mb-10 flex items-center lg:mb-0">
|
||||||
<h5 class="mr-3">{{ i18n "tags" }} :</h5>
|
<h5 class="mr-3">{{ T "tags" }} :</h5>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range $i,$p:= $tags }}
|
{{ range $i,$p:= $tags }}
|
||||||
<li class="inline-block">
|
<li class="inline-block">
|
||||||
@ -62,7 +62,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="lg:col-4 flex items-center">
|
<div class="lg:col-4 flex items-center">
|
||||||
{{ partial "social-share" (dict "Context" . "Class" "share-icons" "Title" (i18n "share") "Whatsapp" false "Telegram" false "Linkedin" false "Pinterest" false "Tumblr" false "Vk" false) }}
|
{{ partial "social-share" (dict "Context" . "Class" "share-icons" "Title" (T "share") "Whatsapp" false "Telegram" false "Linkedin" false "Pinterest" false "Tumblr" false "Vk" false) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- comments -->
|
<!-- comments -->
|
||||||
@ -79,7 +79,7 @@
|
|||||||
{{ $related = $related | shuffle | first 3 }}
|
{{ $related = $related | shuffle | first 3 }}
|
||||||
{{ with $related }}
|
{{ with $related }}
|
||||||
<div class="section pb-0">
|
<div class="section pb-0">
|
||||||
<h2 class="h3 mb-12">{{ i18n "related_posts" }}</h2>
|
<h2 class="h3 mb-12">{{ T "related_posts" }}</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<div class="lg:col-4 md:col-6 mb-14">
|
<div class="lg:col-4 md:col-6 mb-14">
|
||||||
|
@ -32,6 +32,6 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
<p class="mb-6">{{ .Summary }}</p>
|
<p class="mb-6">{{ .Summary }}</p>
|
||||||
<a class="btn btn-outline-primary btn-sm" href="{{ .RelPermalink }}">
|
<a class="btn btn-outline-primary btn-sm" href="{{ .RelPermalink }}">
|
||||||
{{ i18n "read_more" }}
|
{{ T "read_more" }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<ul class="{{ $class }} inline-flex space-x-1 capitalize">
|
<ul class="{{ $class }} inline-flex space-x-1 capitalize">
|
||||||
<li>
|
<li>
|
||||||
<a class="text-primary dark:text-darkmode-primary" href="{{ $base }}">
|
<a class="text-primary dark:text-darkmode-primary" href="{{ $base }}">
|
||||||
{{ i18n "home" | default "Home" }}
|
{{ T "home" | default "Home" }}
|
||||||
</a>
|
</a>
|
||||||
<span class="inlin-block mr-1">/</span>
|
<span class="inlin-block mr-1">/</span>
|
||||||
</li>
|
</li>
|
||||||
@ -16,7 +16,7 @@
|
|||||||
<a
|
<a
|
||||||
class="text-primary dark:text-darkmode-primary"
|
class="text-primary dark:text-darkmode-primary"
|
||||||
href="{{ .RelPermalink }}">
|
href="{{ .RelPermalink }}">
|
||||||
{{ i18n (printf "%s" (lower .Title)) | default .Title }}
|
{{ T (printf "%s" (lower .Title)) | default .Title }}
|
||||||
</a>
|
</a>
|
||||||
<span class="inlin-block mr-1">/</span>
|
<span class="inlin-block mr-1">/</span>
|
||||||
</li>
|
</li>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
<li>
|
<li>
|
||||||
<span class="text-primary dark:text-darkmode-primary">
|
<span class="text-primary dark:text-darkmode-primary">
|
||||||
{{ i18n (printf "%s" (lower $context.Title)) | default $context.Title }}
|
{{ T (printf "%s" (lower $context.Title)) | default $context.Title }}
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="container text-center">
|
<div class="container text-center">
|
||||||
<div
|
<div
|
||||||
class="from-body to-theme-light dark:from-darkmode-body dark:to-darkmode-theme-light rounded-2xl bg-gradient-to-b px-8 py-14">
|
class="from-body to-theme-light dark:from-darkmode-body dark:to-darkmode-theme-light rounded-2xl bg-gradient-to-b px-8 py-14">
|
||||||
<h1>{{ i18n (printf "%s" (lower .Title)) | default .Title | title }}</h1>
|
<h1>{{ T (printf "%s" (lower .Title)) | default .Title | title }}</h1>
|
||||||
{{ partial "components/breadcrumb" (dict "Context" . "Class" "mt-6") }}
|
{{ partial "components/breadcrumb" (dict "Context" . "Class" "mt-6") }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{ if isset site.Taxonomies "categories" }}
|
{{ if isset site.Taxonomies "categories" }}
|
||||||
{{ if not (eq (len site.Taxonomies.categories) 0) }}
|
{{ if not (eq (len site.Taxonomies.categories) 0) }}
|
||||||
<div class="mb-8">
|
<div class="mb-8">
|
||||||
<h5 class="mb-6">{{ i18n "categories" }}</h5>
|
<h5 class="mb-6">{{ T "categories" }}</h5>
|
||||||
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-8">
|
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-8">
|
||||||
<ul class="space-y-4">
|
<ul class="space-y-4">
|
||||||
{{ range $name, $items := site.Taxonomies.categories }}
|
{{ range $name, $items := site.Taxonomies.categories }}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{ if isset site.Taxonomies "tags" }}
|
{{ if isset site.Taxonomies "tags" }}
|
||||||
{{ if not (eq (len site.Taxonomies.tags) 0) }}
|
{{ if not (eq (len site.Taxonomies.tags) 0) }}
|
||||||
<div class="mb-8">
|
<div class="mb-8">
|
||||||
<h5 class="mb-6">{{ i18n "tags" }}</h5>
|
<h5 class="mb-6">{{ T "tags" }}</h5>
|
||||||
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-6">
|
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-6">
|
||||||
<ul>
|
<ul>
|
||||||
{{ range $name, $items := site.Taxonomies.tags }}
|
{{ range $name, $items := site.Taxonomies.tags }}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "hugoplate",
|
"name": "hugoplate",
|
||||||
"description": "hugo tailwindcss boilerplate",
|
"description": "hugo tailwindcss boilerplate",
|
||||||
"version": "1.14.0",
|
"version": "1.15.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "zeon.studio",
|
"author": "zeon.studio",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user