Skip to content

Commit

Permalink
✨ feat: Fit SD WebUI 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed May 15, 2024
1 parent 77102c0 commit 3e01da0
Show file tree
Hide file tree
Showing 35 changed files with 1,041 additions and 404 deletions.
2 changes: 1 addition & 1 deletion .i18nrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
entryLocale: 'en_US',
output: 'locales',
outputLocales: outputLocales,
modelName: 'gpt-3.5-turbo-1106',
modelName: 'gpt-3.5-turbo-0125',
experimental: {
jsonMode: true,
},
Expand Down
77 changes: 77 additions & 0 deletions javascript/giscus-BNK3dBIH.js

Large diffs are not rendered by default.

327 changes: 184 additions & 143 deletions javascript/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions locales/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"title": "Themenfeedback"
},
"themeSetting": {
"desc": "Einstellungen für Thema und Layout",
"title": "Themen-Einstellungen"
}
},
Expand Down
159 changes: 80 additions & 79 deletions locales/en_US.json
Original file line number Diff line number Diff line change
@@ -1,196 +1,197 @@
{
"brand": {
"custom": "Custom",
"kitchen": "Kitchen",
"lobe": "LobeHub",
"custom": "Custom"
"lobe": "LobeHub"
},
"cancel": "Cancel",
"confirm": "Confirm",
"custom": {
"initializing": "StableDiffusion / LobeTheme is initializing, please wait..."
},
"footer": {
"resources": "Resources",
"community": "Community",
"help": "Help",
"moreProducts": "More Products"
"moreProducts": "More Products",
"resources": "Resources"
},
"header": {
"feedback": "Feedback",
"switchTheme": "Switch Light/Dark Theme",
"setting": "Setting"
"setting": "Setting",
"switchTheme": "Switch Light/Dark Theme"
},
"modal": {
"themeFeedback": {
"title": "Theme Feedback"
},
"themeSetting": {
"desc": "Preferences and Layout Settings",
"title": "Theme Settings"
}
},
"prompt": {
"area": {
"object": "Object Selection",
"attribute": "Attribute Selection",
"object": "Object Selection",
"tag": "Tag Selection"
},
"load": "Load Prompt",
"set": "Set Prompt",
"negative": "Negative",
"positive": "Positive"
"positive": "Positive",
"set": "Set Prompt"
},
"setting": {
"button": {
"reset": "Revert to default",
"submit": "Apply and Restart Interface"
},
"confirmPageUnload": {
"title": "Confirmation on page leaving",
"desc": "Helps prevent loss of unsaved data"
"desc": "Helps prevent loss of unsaved data",
"title": "Confirmation on page leaving"
},
"customFont": {
"title": "Custom Font",
"desc": "When enabled, it will automatically load a webfont to enhance the display of text in Chinese, English, and code"
"desc": "When enabled, it will automatically load a webfont to enhance the display of text in Chinese, English, and code",
"title": "Custom Font"
},
"customLogo": {
"title": "Custom Logo",
"desc": "Support URL / Base64 / Emoji symbols"
"desc": "Support URL / Base64 / Emoji symbols",
"title": "Custom Logo"
},
"customTitle": {
"title": "Custom Title",
"desc": "Custom Logo Title"
"desc": "Custom Logo Title",
"title": "Custom Title"
},
"extraNetworkSidebar": {
"defaultCardSize": {
"title": "Model Cover Size",
"desc": "Default value of model cover size when starting"
"desc": "Default value of model cover size when starting",
"title": "Model Cover Size"
},
"defaultExpand": {
"title": "Default Expand",
"desc": "Whether to expand the sidebar by default when starting"
"desc": "Whether to expand the sidebar by default when starting",
"title": "Default Expand"
},
"defaultWidth": {
"title": "Default Width",
"desc": "Default width of the sidebar when starting"
"desc": "Default width of the sidebar when starting",
"title": "Default Width"
},
"displayMode": {
"title": "Display Mode",
"desc": "Fixed as grid mode for constant display, auto-expand when the mouse moves to the side in floating mode"
"desc": "Fixed as grid mode for constant display, auto-expand when the mouse moves to the side in floating mode",
"title": "Display Mode"
},
"enable": {
"title": "Enable",
"desc": "Enable the extra network sidebar on the right side"
"desc": "Enable the extra network sidebar on the right side",
"title": "Enable"
}
},
"tab": {
"appearance": "Appearance",
"sidebar": "Sidebar",
"layout": "Layout",
"experimental": "Experimental"
},
"group": {
"experimental": "Experimental Features",
"extraNetworkSidebar": "Extra Network Sidebar",
"layout": "Layout Settings",
"promptTextarea": "Prompt Textbox",
"quickSettingSidebar": "Quick Setting Sidebar",
"theme": "Theme Settings",
"experimental": "Experimental Features"
},
"imageInfo": {
"title": "Image Info Alternative",
"desc": "Display better image information in the generated image"
"theme": "Theme Settings"
},
"hideFooter": {
"title": "Hide Footer",
"desc": "Hide the theme footer and only display the default footer of stable diffusion webui"
"desc": "Hide the theme footer and only display the default footer of stable diffusion webui",
"title": "Hide Footer"
},
"imageInfo": {
"desc": "Display better image information in the generated image",
"title": "Image Info Alternative"
},
"language": {
"title": "Language",
"desc": "Lobe Theme language"
"desc": "Lobe Theme language",
"title": "Language"
},
"logoType": {
"title": "Logo Type",
"desc": "Logo Type",
"preview": "Preview"
"preview": "Preview",
"title": "Logo Type"
},
"neutralColor": {
"title": "Neutral Color",
"desc": "Customize different shades of gray with different color tendencies, the second one is the original Kitchen neutral color"
"desc": "Customize different shades of gray with different color tendencies, the second one is the original Kitchen neutral color",
"title": "Neutral Color"
},
"primaryColor": {
"title": "Primary Color",
"desc": "Custom primary color, the second one is the original Kitchen theme color"
"desc": "Custom primary color, the second one is the original Kitchen theme color",
"title": "Primary Color"
},
"promptDisplayMode": {
"title": "Prompt Display Mode",
"desc": "Fixed height or auto height with draggable resize support",
"resizable": "Resizable",
"scroll": "Scroll"
"scroll": "Scroll",
"title": "Prompt Display Mode"
},
"promptEditor": {
"title": "Prompt Editor",
"desc": "Provide a simple prompt editor at the top of the quick setting sidebar"
"desc": "Provide a simple prompt editor at the top of the quick setting sidebar",
"title": "Prompt Editor"
},
"promptHighlight": {
"title": "Prompt Syntax Highlighting",
"desc": "Automatically colorize prompt display according to the Stable Diffusion syntax rules"
"desc": "Automatically colorize prompt display according to the Stable Diffusion syntax rules",
"title": "Prompt Syntax Highlighting"
},
"quickSettingSidebar": {
"defaultExpand": {
"title": "Default Expand",
"desc": "Whether to expand the sidebar by default when starting"
"desc": "Whether to expand the sidebar by default when starting",
"title": "Default Expand"
},
"defaultWidth": {
"title": "Default Width",
"desc": "Default width of the sidebar when starting"
"desc": "Default width of the sidebar when starting",
"title": "Default Width"
},
"displayMode": {
"title": "Display Mode",
"desc": "Fixed as grid mode for constant display, auto-expand when the mouse moves to the side in floating mode"
"desc": "Fixed as grid mode for constant display, auto-expand when the mouse moves to the side in floating mode",
"title": "Display Mode"
},
"enable": {
"title": "Enable",
"desc": "Enable the quick setting sidebar on the left side"
"desc": "Enable the quick setting sidebar on the left side",
"title": "Enable"
}
},
"reduceAnimation": {
"title": "Reduce Animation",
"desc": "Reduce the blur effect and background flow color, which can improve smoothness and save CPU usage"
"desc": "Reduce the blur effect and background flow color, which can improve smoothness and save CPU usage",
"title": "Reduce Animation"
},
"splitPreviewer": {
"title": "Split Previewer",
"desc": "Put the prompt input box on the left and the generate button on the right, ensuring that the generated image is always displayed at the top when scrolling (experimental)"
"desc": "Put the prompt input box on the left and the generate button on the right, ensuring that the generated image is always displayed at the top when scrolling (experimental)",
"title": "Split Previewer"
},
"svgIcons": {
"title": "SVG Icons",
"desc": "Replace all Emoji icons in stable diffusion webui with SVG icons globally"
"desc": "Replace all Emoji icons in stable diffusion webui with SVG icons globally",
"title": "SVG Icons"
},
"tab": {
"appearance": "Appearance",
"experimental": "Experimental",
"layout": "Layout",
"sidebar": "Sidebar"
}
},
"share": "Share",
"shareModal": {
"download": "Download Screenshot",
"imageType": "Image Format",
"screenshot": "Screenshot",
"info": "Image Info",
"screenshot": "Screenshot",
"settings": "Export Settings",
"withBackground": "Include Background Image",
"withFooter": "Include Footer",
"warn": "Please Generate Image First",
"showNegative": "Show Negative Promot",
"showConfig": "Show Generate Config",
"showAllImages": "Show All Images",
"title": "Image Name",
"showConfig": "Show Generate Config",
"showNegative": "Show Negative Promot",
"tabs": {
"info": "Info",
"settings": "Settings"
}
},
"title": "Image Name",
"warn": "Please Generate Image First",
"withBackground": "Include Background Image",
"withFooter": "Include Footer"
},
"sidebar": {
"extraNetwork": "Extra Network",
"quickSetting": "Quick Setting",
"mode": {
"fixed": "Fixed",
"float": "Float"
}
},
"quickSetting": "Quick Setting"
}
}
1 change: 1 addition & 0 deletions locales/es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"title": "Comentarios sobre el tema"
},
"themeSetting": {
"desc": "Preferencias y configuración de diseño",
"title": "Configuración del tema"
}
},
Expand Down
1 change: 1 addition & 0 deletions locales/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"title": "Retour sur le thème"
},
"themeSetting": {
"desc": "Paramètres de thème et de mise en page",
"title": "Paramètres du thème"
}
},
Expand Down
1 change: 1 addition & 0 deletions locales/ja_JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"title": "テーマフィードバック"
},
"themeSetting": {
"desc": "テーマとレイアウト設定",
"title": "テーマ設定"
}
},
Expand Down
1 change: 1 addition & 0 deletions locales/ko_KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"title": "테마 피드백"
},
"themeSetting": {
"desc": "테마 및 레이아웃 설정",
"title": "테마 설정"
}
},
Expand Down
1 change: 1 addition & 0 deletions locales/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"title": "Feedback do Tema"
},
"themeSetting": {
"desc": "Preferências e configurações de layout",
"title": "Configurações do Tema"
}
},
Expand Down
1 change: 1 addition & 0 deletions locales/ru_RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"title": "Обратная связь по теме"
},
"themeSetting": {
"desc": "Настройки темы и макета",
"title": "Настройки темы"
}
},
Expand Down
1 change: 1 addition & 0 deletions locales/tr_TR.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"title": "Tema Geri Bildirimi"
},
"themeSetting": {
"desc": "Tema ve Düzen Ayarları",
"title": "Tema Ayarları"
}
},
Expand Down
3 changes: 2 additions & 1 deletion locales/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"title": "主题反馈"
},
"themeSetting": {
"title": "主题设置"
"title": "主题设置",
"desc": "偏好与布局设置"
}
},
"prompt": {
Expand Down
1 change: 1 addition & 0 deletions locales/zh_HK.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"title": "主題反饋"
},
"themeSetting": {
"desc": "偏好與版面設定",
"title": "主題設置"
}
},
Expand Down
Loading

0 comments on commit 3e01da0

Please sign in to comment.