fix jet template logic

This commit is contained in:
perennial
2024-10-24 23:46:21 +11:00
parent 2129a28dd3
commit 2d39ebe646
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -216,7 +216,7 @@
<input type="hidden" name="key" value="pixivfe-LogoStyle">
<div class="col-auto">
<select class="form-select" id="locale" name="value" required>
<option value="standard" {{- if logoStyleValue == "" }} selected{{- end }}>Standard</option>
<option value="standard" {{- if logoStyleValue == "standard" || logoStyleValue == "" }} selected{{- end }}>Standard</option>
<option value="alternative" {{- if logoStyleValue == "alternative" }} selected{{- end }}>Alternative</option>
</select>
</div>
@@ -386,7 +386,7 @@
<input type="hidden" name="key" value="pixivfe-Locale">
<div class="col-auto">
<select class="form-select" id="locale" name="value" required>
<option value="en" {{- if localeValue == "" }} selected{{- end }}>English</option>
<option value="en" {{- if localeValue == "en" || localeValue == "" }} selected{{- end }}>English</option>
<option value="vi-VN" {{- if localeValue == "vi-VN" }} selected{{- end }}>Vietnamese</option>
<option value="zh-TW" {{- if localeValue == "zh-TW" }} selected{{- end }}>Chinese Traditional</option>
</select>
+3 -1
View File
@@ -429,7 +429,7 @@
"assets/views/settings.jet.html:1cLfPHY51s8": "Artwork preview pop-ups",
"assets/views/settings.jet.html:1hJr_rBgFeQ": "Language",
"assets/views/settings.jet.html:2VDi5AduL6o": "PixivFE token",
"assets/views/settings.jet.html:3E6MT3aTIjs": "Choose the PixivFE logo style.",
"assets/views/settings.jet.html:3-0w4EceKsQ": "Standard",
"assets/views/settings.jet.html:3shy3hXqe0E": "Typeface samples",
"assets/views/settings.jet.html:3z-JKkAe8g0": "Custom image proxy server",
"assets/views/settings.jet.html:46nKBKI-o3E": ").",
@@ -462,6 +462,7 @@
"assets/views/settings.jet.html:EUWq600_GzQ": "Hide AI-generated artworks",
"assets/views/settings.jet.html:EaPLYw2jppA": "Set raw settings",
"assets/views/settings.jet.html:H9_SkBg6qaU": "Hides artwork that has been tagged as AI-generated. This helps focus on human-created content.",
"assets/views/settings.jet.html:HLI9qXFvn0Q": "Alternative",
"assets/views/settings.jet.html:HrFnTRlm8Tw": "Horizontal",
"assets/views/settings.jet.html:IHsnnXWL34c": "Settings",
"assets/views/settings.jet.html:Ifz3d7pLF4g": "Cookie Value",
@@ -512,6 +513,7 @@
"assets/views/settings.jet.html:qYEuq6fGw_o": "not",
"assets/views/settings.jet.html:qq2RUV_bd1c": "This section allows you to directly manage PixivFE's cookie-based preferences. Intended for advanced users who understand the implications of changing these values.",
"assets/views/settings.jet.html:rpFLE9FS29I": "Copy these settings to quickly configure another PixivFE instance",
"assets/views/settings.jet.html:uJj-IKxDzZk": "Choose between the standard PixivFE logo or an alternative design created by <a href=\"https://codeberg.org/VnPower/PixivFE/issues/4#issuecomment-1017835\" rel=\"noopener\">@dragongoose</a> as a fun variation.",
"assets/views/settings.jet.html:uLsOjyOZBbY": "check the list of built-in image proxies (",
"assets/views/settings.jet.html:uWiQGCprNJE": "Novels",
"assets/views/settings.jet.html:v99ONKPEJe4": "吾輩は猫である。名前はまだ無い。どこで生れたかとんと見当がつかぬ。何でも薄暗いじめじめした所でニャーニャー泣いていた事だけは記憶している。吾輩はここで始めて人間というものを見た。",