#![allow(dead_code)]
mod generated;
use generated::*;
use std::collections::HashMap;
use std::sync::LazyLock;
static LICENSE_MAP: LazyLock<HashMap<&'static str, &'static str>> =
LazyLock::new(|| LICENSE_TRANSLATIONS.iter().copied().collect());
static PRODUCT_DESCRIPTION_MAP: LazyLock<HashMap<&'static str, &'static str>> =
LazyLock::new(|| PRODUCT_DESCRIPTION_TRANSLATIONS.iter().copied().collect());
static REASONING_FOR_SUPERSESSION_MAP: LazyLock<HashMap<&'static str, &'static str>> =
LazyLock::new(|| REASONING_FOR_SUPERSESSION_TRANSLATIONS.iter().copied().collect());
static REASONING_FOR_WITHDRAWAL_MAP: LazyLock<HashMap<&'static str, &'static str>> =
LazyLock::new(|| REASONING_FOR_WITHDRAWAL_TRANSLATIONS.iter().copied().collect());
static SUPERSEDING_DOCUMENT_MAP: LazyLock<HashMap<&'static str, &'static str>> =
LazyLock::new(|| SUPERSEDING_DOCUMENT_TRANSLATIONS.iter().copied().collect());
pub fn get_translation_for_term_license(lang: &str) -> Option<&'static str> {
LICENSE_MAP.get(lang).copied()
}
pub fn get_translation_for_term_product_description(lang: &str) -> Option<&'static str> {
PRODUCT_DESCRIPTION_MAP.get(lang).copied()
}
pub fn get_translation_for_term_reasoning_for_supersession(lang: &str) -> Option<&'static str> {
REASONING_FOR_SUPERSESSION_MAP.get(lang).copied()
}
pub fn get_translation_for_term_reasoning_for_withdrawal(lang: &str) -> Option<&'static str> {
REASONING_FOR_WITHDRAWAL_MAP.get(lang).copied()
}
pub fn get_translation_for_term_superseding_document(lang: &str) -> Option<&'static str> {
SUPERSEDING_DOCUMENT_MAP.get(lang).copied()
}