868d6abb7 2025 -> 2026
63081666f En-têtes des fichiers source : 2024 -> 2025.
b6092df09 Copyright 2023 -> 2024
a487a9cd9 BirthdayList -> BirthdayButler, configuration de la langue pour les e-mails implémentée.
868d6abb7
2025 -> 2026868d6abb75cd191a892911ac8e45058932cf9074
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt b/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
index 1efcb5d49..2ae82bbea 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
@@ -3,7 +3,7 @@
// Projet ProjectForge Community Edition
// www.projectforge.org
//
-// Copyright (C) 2001-2025 Micromata GmbH, Allemagne (www.micromata.com)
+// Copyright (C) 2001-2026 Micromata GmbH, Allemagne (www.micromata.com)
//
// ProjectForge est sous double licence.
//
63081666f
En-têtes des fichiers source : 2024 -> 2025.63081666f620fb87315f01b817e560e0b2f6a33a
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt b/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
index 7611e11b5..1efcb5d49 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
@@ -3,7 +3,7 @@
// Projet ProjectForge Community Edition
// www.projectforge.org
//
-// Copyright (C) 2001-2024 Micromata GmbH, Allemagne (www.micromata.com)
+// Copyright (C) 2001-2025 Micromata GmbH, Allemagne (www.micromata.com)
//
// ProjectForge est sous double licence.
//
b6092df09
Copyright 2023 -> 2024b6092df0927c4a3b161e888445f31dcab57493f2
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt b/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
index 967e19dce..7611e11b5 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
@@ -3,7 +3,7 @@
// Projet ProjectForge Community Edition
// www.projectforge.org
//
-// Copyright (C) 2001-2023 Micromata GmbH, Allemagne (www.micromata.com)
+// Copyright (C) 2001-2024 Micromata GmbH, Allemagne (www.micromata.com)
//
// ProjectForge est sous double licence.
//
a487a9cd9
BirthdayList -> BirthdayButler, configuration de la langue pour les e-mails implémentée.a487a9cd99fb395705bcea3204b710fe01441acc
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt b/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
new file mode 100644
index 000000000..967e19dce
--- /dev/null
+++ b/projectforge-business/src/main/kotlin/org/projectforge/birthdaybutler/BirthdayButlerConfiguration.kt
@@ -0,0 +1,43 @@
+/////////////////////////////////////////////////////////////////////////////
+//
+// Projet ProjectForge Community Edition
+// www.projectforge.org
+//
+// Copyright (C) 2001-2023 Micromata GmbH, Allemagne (www.micromata.com)
+//
+// ProjectForge est sous double licence.
+//
+// Cette édition communautaire est un logiciel libre ; vous pouvez la redistribuer et/ou
+// la modifier selon les termes de la GNU General Public License telle que publiée
+// par la Free Software Foundation ; version 3 de la Licence.
+//
+// Cette édition communautaire est distribuée dans l'espoir qu'elle sera utile,
+// mais SANS AUCUNE GARANTIE ; sans même la garantie implicite de
+// QUALITÉ MARCHANDE ou d'ADÉQUATION À UN USAGE PARTICULIER. Voir la GNU General
+// Public License pour plus de détails.
+//
+// Vous devriez avoir reçu une copie de la GNU General Public License avec
+// ce programme ; sinon, consultez http://www.gnu.org/licenses/.
+//
+/////////////////////////////////////////////////////////////////////////////
+
+package org.projectforge.birthdaybutler
+
+import org.springframework.beans.factory.annotation.Value
+import org.springframework.context.annotation.Configuration
+
+@Configuration
+open class BirthdayButlerConfiguration {
+ @Value("\${projectforge.birthdaybutler.organization}")
+ open lateinit var organization: String
+
+ @Value("\${projectforge.birthdaybutler.emailAddresses}")
+ open var emailAddresses: String? = null
+
+ @Value("\${projectforge.birthdaybutler.locale}")
+ open var locale: String? = null
+
+ open fun isConfigured(): Boolean {
+ return organization.isNotBlank()
+ }
+}