fix: fix i18n bug
This commit is contained in:
@@ -84,6 +84,9 @@ other = "min"
|
||||
|
||||
[second]
|
||||
other = "sec"
|
||||
|
||||
[return]
|
||||
other = "return"
|
||||
# === posts/single.html ===
|
||||
|
||||
# === 404.html ===
|
||||
|
||||
@@ -87,6 +87,9 @@ other = "分"
|
||||
|
||||
[second]
|
||||
other = "秒"
|
||||
|
||||
[return]
|
||||
other = "返回"
|
||||
# === posts/single.html ===
|
||||
|
||||
# === 404.html ===
|
||||
|
||||
@@ -77,6 +77,9 @@
|
||||
{{ $REin = `\[(.+?)\]\^\((.+?)\)` }}
|
||||
{{ $REout = `<strong><ruby>$1<rt>$2</rt></ruby></strong>` }}
|
||||
{{ $content = replaceRE $REin $REout $content }}
|
||||
{{ $REin = `<sup>\[return\]</sup>` }}
|
||||
{{ $REout = printf "<sup>[%s]</sup>" (T "return") }}
|
||||
{{ $content = replaceRE $REin $REout $content }}
|
||||
{{ $REin = `<(h[23456]) (id=".+?")>` }}
|
||||
{{ $REout = `<a class="post-dummy-target" $2></a><$1>` }}
|
||||
{{ $content = replaceRE $REin $REout $content }}
|
||||
|
||||
Reference in New Issue
Block a user