Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from hugo-fixit:master #24

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[init]
configurationError = ""
compatibilityError = ""
RCVersionWarn = ""
devVersionWarn = ""
devEnvWarn = ""
quicklyUpgrade = ""
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[init]
configurationError = "Configuration Error\nYou haven't configured the FixIt version param correctly yet. See https://fixit.lruihao.cn/documentation/basics/#theme-configuration"
compatibilityError = "Compatibility Error ({{ .From }} -> {{ .To }}):\nYou have an incompatible update. See https://github.com/hugo-fixit/FixIt/releases"
RCVersionWarn = "You are using a development version of FixIt. Please consider using a stable version.\nSee https://github.com/hugo-fixit/FixIt/releases"
devVersionWarn = "You are using a development version of FixIt. Please consider using a stable version.\nSee https://github.com/hugo-fixit/FixIt/releases"
devEnvWarn = "Current environment is \"development\". The \"comment system\", \"PWA\", \"CDN\" and \"fingerprint\" will be disabled."
quicklyUpgrade = "Quickly upgrade use command: "
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[init]
configurationError = ""
compatibilityError = ""
RCVersionWarn = ""
devVersionWarn = ""
devEnvWarn = ""
quicklyUpgrade = ""
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[init]
configurationError = "Erreur de configuration\nVous n'avez pas configuré la version de FixIt correctement. Voir https://fixit.lruihao.cn/documentation/basics/#theme-configuration"
compatibilityError = "Erreur de compatibilité ({{ .From }} -> {{ .To }}):\nVous avez une mise à jour incompatible. Voir https://github.com/hugo-fixit/FixIt/releases"
RCVersionWarn = "Vous utilisez une version de développement de FixIt. Veuillez considérer l'utilisation d'une version stable.\nVoir https://github.com/hugo-fixit/FixIt/releases"
devVersionWarn = "Vous utilisez une version de développement de FixIt. Veuillez considérer l'utilisation d'une version stable.\nVoir https://github.com/hugo-fixit/FixIt/releases"
devEnvWarn = "L'environnement actuel est \"développement\". Le \"système de commentaires\", le \"PWA\", le \"CDN\" et la \"prise d'empreinte\" seront désactivés."
quicklyUpgrade = "La mise à jour rapide utilise la commande: "
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/hi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[init]
configurationError = "कन्फ़िग्यरेशन त्रुटि \nआपने फिक्सइट संस्करण पैरामीटर को सही ढंग से कॉन्फ़िगर नहीं किया है।. यह देखें: https://fixit.lruihao.cn/documentation/basics/#theme-configuration"
compatibilityError = "संगतता त्रुटि ({{ .From }} -> {{ .To }}):\nआपके पास एक असंगत अपडेट है. यह देखें: https://github.com/hugo-fixit/FixIt/releases"
RCVersionWarn = "आप फिक्सइट के डिवेलपर संस्करण का उपयोग कर रहे हैं। कृपया एक स्थिर संस्करण का उपयोग करने पर विचार करें।\nयह देखें: https://github.com/hugo-fixit/FixIt/releases"
devVersionWarn = "आप फिक्सइट के डिवेलपर संस्करण का उपयोग कर रहे हैं। कृपया एक स्थिर संस्करण का उपयोग करने पर विचार करें।\nयह देखें: https://github.com/hugo-fixit/FixIt/releases"
devEnvWarn = "वर्तमान परिवेश \"डिवेलप्मेंट\" का है। \"टिप्पणी प्रणाली\", \"पीडब्ल्यूए\", \"सीडीएन\" और \"फ़िंगरप्रिंट\" अक्षम कर दिए जाएंगे। "
quicklyUpgrade = "शीघ्रता से अपग्रेड यह कमांड का उपयोग करें: "
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/it.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[init]
configurationError = ""
compatibilityError = ""
RCVersionWarn = ""
devVersionWarn = ""
devEnvWarn = ""
quicklyUpgrade = ""
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/pl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[init]
configurationError = ""
compatibilityError = ""
RCVersionWarn = ""
devVersionWarn = ""
devEnvWarn = ""
quicklyUpgrade = ""
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/pt-BR.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[init]
configurationError = ""
compatibilityError = ""
RCVersionWarn = ""
devVersionWarn = ""
devEnvWarn = ""
quicklyUpgrade = ""
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/ro.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[init]
configurationError = ""
compatibilityError = ""
RCVersionWarn = ""
devVersionWarn = ""
devEnvWarn = ""
quicklyUpgrade = ""
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/ru.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[init]
configurationError = ""
compatibilityError = ""
RCVersionWarn = ""
devVersionWarn = ""
devEnvWarn = ""
quicklyUpgrade = ""
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/sr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[init]
configurationError = ""
compatibilityError = ""
RCVersionWarn = ""
devVersionWarn = ""
devEnvWarn = ""
quicklyUpgrade = ""
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/vi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[init]
configurationError = ""
compatibilityError = ""
RCVersionWarn = ""
devVersionWarn = ""
devEnvWarn = ""
quicklyUpgrade = ""
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-CN.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[init]
configurationError = "配置文件错误\n您还没有正确配置 FixIt 的版本参数。参考 https://fixit.lruihao.cn/zh-cn/documentation/basics/#theme-configuration"
compatibilityError = "兼容性错误 ({{ .From }} -> {{ .To }}):\n您进行了一次不兼容的更新。参考 https://github.com/hugo-fixit/FixIt/releases"
RCVersionWarn = "您正在使用开发版的 FixIt,请考虑使用稳定版。\n见 https://github.com/hugo-fixit/FixIt/releases"
devVersionWarn = "您正在使用开发版的 FixIt,请考虑使用稳定版。\n见 https://github.com/hugo-fixit/FixIt/releases"
devEnvWarn = "当前运行环境是“development”。“评论系统”、“PWA”、“CDN”和“fingerprint”不会启用。"
quicklyUpgrade = "使用命令快速升级:"
# === init ===
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-TW.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[init]
configurationError = "配置文件錯誤\n您還沒有正確配置 FixIt 的版本參數。參考 https://fixit.lruihao.cn/zh-cn/documentation/basics/#theme-configuration"
compatibilityError = "兼容性錯誤 ({{ .From }} -> {{ .To }}):\n您進行了一次不兼容的更新。参考 https://github.com/hugo-fixit/FixIt/releases"
RCVersionWarn = "您正在使用開發版的 FixIt,請考慮使用穩定版。\n見 https://github.com/hugo-fixit/FixIt/releases"
devVersionWarn = "您正在使用開發版的 FixIt,請考慮使用穩定版。\n見 https://github.com/hugo-fixit/FixIt/releases"
devEnvWarn = "當前運行環境是“development”。“評論系統”、“PWA”、“CDN”和“fingerprint”不會啟用。"
quicklyUpgrade = "使用命令快速升級:"
# === init ===
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/init/detection-version.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
{{- else if gt "0.2.0" (strings.TrimPrefix "v" .Site.Params.version) -}}
{{- errorf "FixIt %v\n%v\n\n" $version (dict "From" .Site.Params.version "To" $version | T "init.compatibilityError") -}}
{{- end -}}
{{- if (strings.HasSuffix $version "RC") | and $devOpts.c4u -}}
{{- warnf "FixIt %v\n%v\n\n" $version (T "init.RCVersionWarn") -}}
{{- if gt (len (findRE "^v[0-9]+\\.[0-9]+\\.[0-9]+-[0-9a-f]+$" $version)) 0 -}}
{{- warnidf "warning-dev-version" "FixIt %v\n%v" $version (T "init.devVersionWarn") -}}
{{- end -}}
{{- if (gt $latest $version) | and $devOpts.c4u -}}
{{- warnf "FixIt %v (⬆️ %v)\n%v`git submodule update --remote --merge`\n\n" $version $latest (T "init.quicklyUpgrade") -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/init/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.10-108512c2" -}}
{{- .Scratch.Set "version" "v0.3.10-51d64cb1" -}}
{{- .Scratch.Set "this" dict -}}

{{- partial "init/detection-env.html" . -}}
Expand Down
Loading