From b3ed9f22c0c32dde4812293d00733468eeddd94e Mon Sep 17 00:00:00 2001 From: Vincent TE Date: Thu, 17 Oct 2024 13:30:14 +0200 Subject: [PATCH] Add language code for email --- .../common/models/EmailLanguage.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/STCommon/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/common/models/EmailLanguage.kt b/STCommon/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/common/models/EmailLanguage.kt index 28231c50..21216fdb 100644 --- a/STCommon/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/common/models/EmailLanguage.kt +++ b/STCommon/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/common/models/EmailLanguage.kt @@ -17,10 +17,10 @@ */ package com.infomaniak.multiplatform_swisstransfer.common.models -enum class EmailLanguage(val value: String) { - ENGLISH("english"), - FRENCH("french"), - GERMAN("german"), - ITALIAN("italian"), - SPANISH("spanish"), +enum class EmailLanguage(val value: String, val code: String) { + ENGLISH("english", "en_GB"), + FRENCH("french", "fr_FR"), + GERMAN("german", "de_DE"), + ITALIAN("italian", "it_IT"), + SPANISH("spanish", "es_ES"), }