From 1e15be34b6fa8fd1ac7762648b66ce1677b3361d Mon Sep 17 00:00:00 2001 From: PasserDreamer Date: Sat, 25 May 2024 20:47:24 +0800 Subject: [PATCH] 1. update index.html 18n. 2. update SD extension dropdown menu i18n. 3. update zh-tw.json. 4. add a template.json for translation. --- public/index.html | 308 ++-- public/locales/template.json | 1399 +++++++++++++++++ public/locales/zh-tw.json | 582 ++++--- .../extensions/stable-diffusion/index.js | 20 +- 4 files changed, 1919 insertions(+), 390 deletions(-) create mode 100644 public/locales/template.json diff --git a/public/index.html b/public/index.html index 8360e97d6..52063d031 100644 --- a/public/index.html +++ b/public/index.html @@ -65,11 +65,11 @@
-
+
-
+

- NovelAI Presets + NovelAI Presets @@ -140,8 +140,8 @@ - - + +

@@ -192,7 +192,7 @@
@@ -200,7 +200,7 @@
@@ -221,7 +221,7 @@ - Max prompt cost: + Max prompt cost:
@@ -324,7 +324,7 @@
-
+
TFS
@@ -489,7 +489,7 @@
-
+
Top P
@@ -575,7 +575,7 @@
Impersonation prompt -
+
@@ -589,13 +589,13 @@
World Info format template -
+
-
- Wraps activated World Info entries before inserting into the prompt. Use - {0} to mark a place where the content is inserted. +
+ Wraps activated World Info entries before inserting into the prompt. Use + {0} to mark a place where the content is inserted.
@@ -604,11 +604,11 @@
Scenario format template -
+
-
+
Use {{scenario}} to mark a place where the content is inserted.
@@ -618,11 +618,11 @@
Personality format template -
+
-
+
Use {{personality}} to mark a place where the content is inserted.
@@ -632,7 +632,7 @@
Group Nudge prompt template -
+
@@ -648,7 +648,7 @@
New Chat -
+
@@ -696,7 +696,7 @@
Continue nudge -
+
@@ -742,7 +742,7 @@
- Temperature + Temperature
@@ -751,7 +751,7 @@
Top K -
+
@@ -759,7 +759,7 @@
Top P -
+
@@ -767,7 +767,7 @@
Typical P -
+
@@ -775,7 +775,7 @@
Min P -
+
@@ -783,15 +783,15 @@
Top A -
+
- TFS -
+ TFS +
@@ -820,23 +820,23 @@

Mirostat

-
- Mode -
+
+ Mode +
-
- Tau -
+
+ Tau +
-
- Eta -
+
+ Eta +
@@ -849,7 +849,7 @@ Ban EOS Token - +
@@ -868,7 +868,7 @@
- +

@@ -1144,7 +1144,7 @@
- Temperature + Temperature
@@ -1153,7 +1153,7 @@
Top K -
+
@@ -1161,7 +1161,7 @@
Top P -
+
@@ -1177,7 +1177,7 @@
Min P -
+
@@ -1185,15 +1185,15 @@
Top A -
+
- TFS -
+ TFS +
@@ -1209,7 +1209,7 @@
Eta Cutoff -
+
@@ -1267,7 +1267,7 @@

-
+

@@ -1284,24 +1284,24 @@
-

+

-
+
Multiplier
-
+
Base
-
+
Allowed Length @@ -1312,7 +1312,7 @@
-
+
Sequence Breakers
@@ -1352,7 +1352,7 @@

-
+

@@ -1382,7 +1382,7 @@

@@ -1406,7 +1406,7 @@

Contrastive Search -
+

- Top P & Min P + Top P & Min P 2
@@ -1592,7 +1592,7 @@

Samplers Order -
+

llama.cpp only. Determines the order of samplers. If Mirostat mode is not 0, sampler order is ignored. @@ -1644,7 +1644,7 @@
Character Names Behavior - + ()
@@ -1653,7 +1653,7 @@
-
-