test #369

Merged
klaus merged 90 commits from test into main 2025-12-31 05:44:55 +00:00
Showing only changes of commit ee495dae3a - Show all commits

View File

@@ -835,9 +835,9 @@ class AudioContentService(
val theme = audioContent.theme val theme = audioContent.theme
if (theme?.id != null) { if (theme?.id != null) {
val locale = langContext.lang.code val locale = langContext.lang.code
val translated = contentThemeTranslationRepository val translatedContentTheme = contentThemeTranslationRepository
.findByContentThemeIdAndLocale(theme.id!!, locale) .findByContentThemeIdAndLocale(theme.id!!, locale)
val text = translated?.theme val text = translatedContentTheme?.theme
if (!text.isNullOrBlank()) text else theme.theme if (!text.isNullOrBlank()) text else theme.theme
} else { } else {
audioContent.theme!!.theme audioContent.theme!!.theme