mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
Merge branch 'feat/build-docker-image-on-push-to-main-branch'
This commit is contained in:
@@ -2,8 +2,10 @@ name: Create and publish a container image
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- v*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-image:
|
build-and-push-image:
|
||||||
|
|||||||
@@ -81,9 +81,12 @@ function refresh_style_localization() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function refresh_aspect_ratios_label(value) {
|
function refresh_aspect_ratios_label(value) {
|
||||||
label = document.querySelector('#aspect_ratios_accordion div span[data-original-text="Aspect Ratios"]')
|
label = document.querySelector('#aspect_ratios_accordion div span[data-original-text="Aspect Ratios"]');
|
||||||
translation = getTranslation("Aspect Ratios")
|
translation = getTranslation("Aspect Ratios");
|
||||||
label.textContent = translation + " " + htmlDecode(value)
|
if (typeof translation == "undefined") {
|
||||||
|
translation = "Aspect Ratios";
|
||||||
|
}
|
||||||
|
label.textContent = translation + " " + htmlDecode(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
function localizeWholePage() {
|
function localizeWholePage() {
|
||||||
|
|||||||
Reference in New Issue
Block a user