chore(i18n): fix i18n files

This commit is contained in:
Dillon
2020-03-03 22:25:48 +08:00
parent 7d3a2ceb7d
commit cbfc965c10
4 changed files with 10 additions and 43 deletions

View File

@@ -67,8 +67,8 @@ other = "about {{ .Count }} words"
[readingTime] [readingTime]
other = "{{ .Count }} min" other = "{{ .Count }} min"
[pageviews] [views]
other = "<span class=leancloud-visitors-count></span> pageviews" other = "views"
[author] [author]
other = "Author" other = "Author"
@@ -90,18 +90,6 @@ other = "Home"
[readMore] [readMore]
other = "Read More" other = "Read More"
[day]
other = "d"
[hour]
other = "hr"
[minute]
other = "min"
[second]
other = "sec"
# === posts/single.html === # === posts/single.html ===
# === 404.html === # === 404.html ===

View File

@@ -67,8 +67,8 @@ other = "environ {{ .Count }} mots"
[readingTime] [readingTime]
other = "{{ .Count }} min" other = "{{ .Count }} min"
[pageviews] [views]
other = "<span class=leancloud-visitors-count></span> vues" other = "vues"
[author] [author]
other = "Auteur" other = "Auteur"
@@ -79,6 +79,9 @@ other = "Dernière mise à jour le %s"
[license] [license]
other = "Publié sous licence %s" other = "Publié sous licence %s"
[seeMarkdown]
other = "Lire Markdown"
[back] [back]
other = "Retour" other = "Retour"
@@ -87,18 +90,6 @@ other = "Accueil"
[readMore] [readMore]
other = "En savoir plus" other = "En savoir plus"
[day]
other = "j"
[hour]
other = "hr"
[minute]
other = "min"
[second]
other = "sec"
# === posts/single.html === # === posts/single.html ===
# === 404.html === # === 404.html ===

View File

@@ -67,8 +67,8 @@ other = "约 {{ .Count }} 字"
[readingTime] [readingTime]
other = "预计阅读 {{ .Count }} 分钟" other = "预计阅读 {{ .Count }} 分钟"
[pageviews] [views]
other = "<span class=leancloud-visitors-count></span> 次阅读" other = "次阅读"
[author] [author]
other = "作者" other = "作者"
@@ -90,18 +90,6 @@ other = "主页"
[readMore] [readMore]
other = "阅读全文" other = "阅读全文"
[day]
other = "天"
[hour]
other = "时"
[minute]
other = "分"
[second]
other = "秒"
# === posts/single.html === # === posts/single.html ===
# === 404.html === # === 404.html ===

View File

@@ -38,7 +38,7 @@
<i class="far fa-clock fa-fw"></i>{{ T "readingTime" .ReadingTime }}&nbsp; <i class="far fa-clock fa-fw"></i>{{ T "readingTime" .ReadingTime }}&nbsp;
{{- if $scratch.Get "production" | and .Site.Params.valine.enable | and .Site.Params.valine.visitor -}} {{- if $scratch.Get "production" | and .Site.Params.valine.enable | and .Site.Params.valine.visitor -}}
<span id="{{ .RelPermalink | relURL }}" class="leancloud_visitors" data-flag-title="{{ .Title }}"> <span id="{{ .RelPermalink | relURL }}" class="leancloud_visitors" data-flag-title="{{ .Title }}">
<i class="far fa-eye fa-fw"></i>{{ T "pageviews" | safeHTML }} <i class="far fa-eye fa-fw"></i><span class=leancloud-visitors-count></span>&nbsp;{{ T "views" }}
</span>&nbsp; </span>&nbsp;
{{- end -}} {{- end -}}
</div> </div>