Merge branch 'feat/build-docker-image-on-push-to-main-branch'

This commit is contained in:
Manuel Schmid 2024-05-28 00:22:37 +02:00
commit f259f00ec5
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
2 changed files with 9 additions and 4 deletions

View File

@ -2,8 +2,10 @@ name: Create and publish a container image
on:
push:
branches:
- main
tags:
- 'v*'
- v*
jobs:
build-and-push-image:

View File

@ -81,9 +81,12 @@ function refresh_style_localization() {
}
function refresh_aspect_ratios_label(value) {
label = document.querySelector('#aspect_ratios_accordion div span[data-original-text="Aspect Ratios"]')
translation = getTranslation("Aspect Ratios")
label.textContent = translation + " " + htmlDecode(value)
label = document.querySelector('#aspect_ratios_accordion div span[data-original-text="Aspect Ratios"]');
translation = getTranslation("Aspect Ratios");
if (typeof translation == "undefined") {
translation = "Aspect Ratios";
}
label.textContent = translation + " " + htmlDecode(value);
}
function localizeWholePage() {