fix sonar findings and translation structure
Sonarqube Scanner / Prepare environment (push) Successful in 19s
Sonarqube Scanner / Build and test (push) Successful in 43s
Sonarqube Scanner / SonarQube analysis (push) Failing after 2m28s
Sonarqube Scanner / Deploy to Server (push) Successful in 16s

This commit is contained in:
Florian Zumpe
2026-10-01 16:31:46 +02:00
parent 2b42507f13
commit 5c4d20bd1d
30 changed files with 1753 additions and 894 deletions
+2 -2
View File
@@ -41,10 +41,10 @@
const image = images[index];
$('#slide-image')
.attr('src', mediaUrl(image.url))
.attr('alt', image.caption || ns.I18n.t("slideshow.bild.zur.station"))
.attr('alt', image.caption || ns.I18n.t("slideshow.image-label"))
.off('error.wegwichtel')
.on('error.wegwichtel', function () {
$(this).removeAttr('src').attr('alt', ns.I18n.t("slideshow.bild.konnte.nicht.geladen.werden"));
$(this).removeAttr('src').attr('alt', ns.I18n.t("slideshow.error.load-image"));
});
$('#slide-caption').text(image.caption || '');
$('#slide-position').text(`${index + 1} / ${images.length}`);