Add new supported language
Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -44,9 +44,18 @@ export function interpolate(
|
||||
|
||||
const COOKIE_DETAIL_LABELS: Record<string, Record<string, string>> = {
|
||||
en: { label_type: "Type: {{value}}", label_description: "Description: {{value}}", label_duration: "Duration: {{value}}" },
|
||||
fr: { label_type: "Type : {{value}}", label_description: "Description : {{value}}", label_duration: "Durée : {{value}}" },
|
||||
de: { label_type: "Typ: {{value}}", label_description: "Beschreibung: {{value}}", label_duration: "Dauer: {{value}}" },
|
||||
es: { label_type: "Tipo: {{value}}", label_description: "Descripción: {{value}}", label_duration: "Duración: {{value}}" },
|
||||
fr: { label_type: "Type : {{value}}", label_description: "Description : {{value}}", label_duration: "Durée : {{value}}" },
|
||||
id: { label_type: "Tipe: {{value}}", label_description: "Deskripsi: {{value}}", label_duration: "Durasi: {{value}}" },
|
||||
it: { label_type: "Tipo: {{value}}", label_description: "Descrizione: {{value}}", label_duration: "Durata: {{value}}" },
|
||||
ja: { label_type: "タイプ:{{value}}", label_description: "説明:{{value}}", label_duration: "期間:{{value}}" },
|
||||
ko: { label_type: "유형: {{value}}", label_description: "설명: {{value}}", label_duration: "기간: {{value}}" },
|
||||
pl: { label_type: "Typ: {{value}}", label_description: "Opis: {{value}}", label_duration: "Czas trwania: {{value}}" },
|
||||
pt: { label_type: "Tipo: {{value}}", label_description: "Descrição: {{value}}", label_duration: "Duração: {{value}}" },
|
||||
tr: { label_type: "Tür: {{value}}", label_description: "Açıklama: {{value}}", label_duration: "Süre: {{value}}" },
|
||||
uk: { label_type: "Тип: {{value}}", label_description: "Опис: {{value}}", label_duration: "Тривалість: {{value}}" },
|
||||
zh: { label_type: "类型:{{value}}", label_description: "描述:{{value}}", label_duration: "时长:{{value}}" },
|
||||
};
|
||||
|
||||
export function getCookieDetailLabels(lang: string): Record<string, string> {
|
||||
@@ -69,9 +78,18 @@ export function getTrackerTypeLabel(type: string): string {
|
||||
|
||||
const GPC_LABELS: Record<string, string> = {
|
||||
en: "Opt-Out Preference Signal Honored",
|
||||
fr: "Signal de préférence de désinscription respecté",
|
||||
de: "Opt-Out-Präferenzsignal beachtet",
|
||||
es: "Señal de exclusión respetada",
|
||||
fr: "Signal de préférence de désinscription respecté",
|
||||
id: "Sinyal Preferensi Opt-Out Dihormati",
|
||||
it: "Segnale di preferenza di rinuncia rispettato",
|
||||
ja: "オプトアウト設定シグナルが有効です",
|
||||
ko: "옵트아웃 기본 설정 신호가 적용되었습니다",
|
||||
pl: "Sygnał preferencji rezygnacji uhonorowany",
|
||||
pt: "Sinal de preferência de exclusão respeitado",
|
||||
tr: "Çıkış Tercihi Sinyali Onurlandırıldı",
|
||||
uk: "Сигнал переваги відмови враховано",
|
||||
zh: "退出偏好信号已生效",
|
||||
};
|
||||
|
||||
export function getGpcLabel(lang: string): string {
|
||||
|
||||
Reference in New Issue
Block a user