ソースを参照

chore: format

Timothy J. Baek 10 ヶ月 前
コミット
c147147001

+ 0 - 1
backend/data/config.json

@@ -17,7 +17,6 @@
 			},
 			{
 				"title": ["Show me a code snippet", "of a website's sticky header"],
-				],
 				"content": "Show me a code snippet of a website's sticky header in CSS and JavaScript."
 			},
 			{

+ 4 - 2
src/lib/components/admin/Settings/Images.svelte

@@ -92,7 +92,9 @@
 					toast.success($i18n.t('Server connection verified'));
 				}
 			} else {
-				({ AUTOMATIC1111_BASE_URL,AUTOMATIC1111_API_AUTH } = await getImageGenerationEngineUrls(localStorage.token));
+				({ AUTOMATIC1111_BASE_URL, AUTOMATIC1111_API_AUTH } = await getImageGenerationEngineUrls(
+					localStorage.token
+				));
 			}
 		}
 	};
@@ -293,7 +295,7 @@
 					href="https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/13993"
 					target="_blank"
 				>
-                    {$i18n.t('(e.g. `sh webui.sh --api --api-auth username_password`)').replace('_',':')}
+					{$i18n.t('(e.g. `sh webui.sh --api --api-auth username_password`)').replace('_', ':')}
 				</a>
 			</div>
 		{:else if imageGenerationEngine === 'comfyui'}

+ 1 - 1
src/lib/i18n/locales/zh-CN/translation.json

@@ -2,7 +2,7 @@
 	"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' 或 '-1' 表示无过期时间。",
 	"(Beta)": "(测试版)",
 	"(e.g. `sh webui.sh --api`)": "(例如 `sh webui.sh --api`)",
-    "(e.g. `sh webui.sh --api --api-auth username_password`)": "(例如 `sh webui.sh --api --api-auth username_password`)",
+	"(e.g. `sh webui.sh --api --api-auth username_password`)": "(例如 `sh webui.sh --api --api-auth username_password`)",
 	"(latest)": "(最新版)",
 	"{{ models }}": "{{ models }}",
 	"{{ owner }}: You cannot delete a base model": "{{ owner }}:您不能删除基础模型",