修正样式

master
落雨楓 6 days ago
parent 3fc0b16434
commit 4bcebf588e

@ -1,6 +1,6 @@
{ {
"isekai-widgets": "Isekai Widgets", "isekai-widgets": "Isekai Widgets",
"isekai-widgets-desc": "Some custom widgets uses on Isekai Wiki", "isekai-widgets-desc": "Some custom widgets used on Isekai Wiki",
"isekai-createpage-page-title": "Title for new page", "isekai-createpage-page-title": "Title for new page",
"isekai-createpage-create-page": "Create page", "isekai-createpage-create-page": "Create page",
@ -10,20 +10,39 @@
"isekai-createpage-redirecting": "Redirecting, please wait...", "isekai-createpage-redirecting": "Redirecting, please wait...",
"isekai-discover-langcode": "en", "isekai-discover-langcode": "en",
"isekai-discover-randompage": "Random Page", "isekai-discover-randompage": "Random Page",
"isekai-discover-loading": "Loading...", "isekai-discover-loading": "Loading...",
"isekai-discover-change-btn": "Another", "isekai-discover-change-btn": "Another",
"isekai-discover-readmore-btn": "Detail", "isekai-discover-readmore-btn": "Detail",
"isekai-discover-error-cannotload": "Cannot load page from server.", "isekai-discover-error-cannotload": "Cannot load page from server.",
"isekai-feed-list-title": "Recent Updates",
"isekai-fontface-error-invalid-params": "Please specify src and name attributes.", "isekai-fontface-error-invalid-params": "Please specify src and name attributes.",
"isekai-fontface-error-font-name-invalid": "Font name cannot contain special characters.", "isekai-fontface-error-font-name-invalid": "Font name cannot contain special characters.",
"isekai-fontface-error-font-not-exists": "Font file \"$1\" not exists.", "isekai-fontface-error-font-not-exists": "Font file \"$1\" does not exist.",
"isekai-fontface-error-font-already-defined": "Font \"$1\" already imported, please check.", "isekai-fontface-error-font-already-defined": "Font \"$1\" already imported, please check.",
"isekai-font-error-invalid-params": "Please specify name attributes.", "isekai-font-error-invalid-params": "Please specify name attribute.",
"isekai-font-error-font-name-invalid": "Font name cannot contain special characters.", "isekai-font-error-font-name-invalid": "Font name cannot contain special characters.",
"isekai-font-error-font-not-imported": "Font \"$1\" not imported.", "isekai-font-error-font-not-imported": "Font \"$1\" not imported.",
"isekai-information-title-base-information": "Base Data",
"isekai-information-error-invalid-type": "Information \"type\" unsupported." "isekai-information-title-base-information": "Basic Information",
"isekai-information-error-invalid-type": "Information \"type\" unsupported.",
"isekai-fab-hide-fab-button": "Hide button",
"isekai-fab-hide-fab-button-success": "Floating button hidden. Refresh the page to show it again.",
"isekai-offcanvastoc-menubutton": "Table of Contents",
"isekai-offcanvastoc-description-item": "Description",
"isekai-preview-page-list-error-invalid-category": "No category specified or category name is invalid.",
"isekai-preview-page-list-error-invalid-loader": "Unknown page list loader: \"$1\"",
"isekai-preview-page-list-preview-placeholder": "Please select a page to preview.",
"isekai-preview-page-list-readmore-btn": "View",
"isekai-preview-page-list-load-error": "Failed to load page list: $1",
"isekai-preview-page-list-load-error-parse": "Unable to parse page content.",
"isekai-preview-page-list-load-error-404": "Page not found.",
"isekai-preview-page-list-load-error-403": "Access denied.",
"isekai-preview-page-list-load-error-http-status": "Server returned $1"
} }

@ -40,7 +40,7 @@
"isekai-preview-page-list-error-invalid-loader": "未知的页面列表加载器:\"$1\"", "isekai-preview-page-list-error-invalid-loader": "未知的页面列表加载器:\"$1\"",
"isekai-preview-page-list-preview-placeholder": "请选择一个页面进行查看", "isekai-preview-page-list-preview-placeholder": "请选择一个页面进行查看",
"isekai-preview-page-list-readmore-btn": "查看", "isekai-preview-page-list-readmore-btn": "查看",
"isekai-preview-page-list-load-error": "加载页面列表失败:\"$1\"", "isekai-preview-page-list-load-error": "加载页面列表失败:$1",
"isekai-preview-page-list-load-error-parse": "无法解析页面内容", "isekai-preview-page-list-load-error-parse": "无法解析页面内容",
"isekai-preview-page-list-load-error-404": "页面不存在", "isekai-preview-page-list-load-error-404": "页面不存在",
"isekai-preview-page-list-load-error-403": "没有查看权限", "isekai-preview-page-list-load-error-403": "没有查看权限",

@ -277,10 +277,8 @@ module.exports = {
</div> </div>
</div> </div>
</div> </div>
<div v-else-if="errorMessage"> <div v-else-if="errorMessage" class="error-message-container">
<div class="error-message-container"> <span class="error">{{ errorMessage }}</span>
<span class="error">{{ errorMessage }}</span>
</div>
</div> </div>
<div v-else class="isekai-preview-content" v-html="previewPageContent"></div> <div v-else class="isekai-preview-content" v-html="previewPageContent"></div>
</div> </div>

@ -26,6 +26,7 @@
margin-top: 1px; margin-top: 1px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
} }
.loading .spinner { .loading .spinner {

Loading…
Cancel
Save