local ADDON_NAME, PT = ...
if type(PT) ~= "table" then
    _G.PartyTranslatorAddon = _G.PartyTranslatorAddon or {}
    PT = _G.PartyTranslatorAddon
end

-- Offline language profiles.
-- These tables are deliberately small and WoW/chat-oriented. They are not
-- intended to be general-purpose machine translation dictionaries. Unknown
-- fragments are preserved by the runtime translator instead of being deleted.

PT.LanguageNames = {
    EN = "Английский",
    RU = "Русский",
    FR = "Французский",
    DE = "Немецкий",
    ES = "Испанский",
    IT = "Итальянский",
    PT = "Португальский",
    PL = "Польский",
    UNKNOWN = "Неизвестный",
}

PT.LanguageProfiles = {
    EN = {
        detect = {
            ["the"]=2, ["you"]=2, ["your"]=2, ["can"]=2, ["could"]=2,
            ["would"]=2, ["please"]=3, ["pls"]=3, ["need"]=2, ["have"]=2,
            ["with"]=2, ["for"]=1, ["from"]=1, ["are"]=1, ["ready"]=2,
            ["wait"]=2, ["thanks"]=3, ["thank"]=2, ["hello"]=3, ["hi"]=2,
            ["sorry"]=3, ["summon"]=3, ["pull"]=2, ["tank"]=1, ["healer"]=2,
            ["heal"]=2, ["kick"]=2, ["interrupt"]=3, ["boss"]=1, ["adds"]=2,
            ["route"]=2, ["key"]=1, ["left"]=1, ["right"]=1, ["move"]=1,
            ["stack"]=2, ["spread"]=2, ["defensive"]=3, ["lust"]=3,
            ["bloodlust"]=3, ["omw"]=4, ["nvm"]=4, ["invite"]=3, ["inv"]=2,
            ["gg"]=2, ["afk"]=2, ["brb"]=3,
        },
        detectPhrases = {
            ["on my way"]=5,
            ["thank you"]=5,
            ["can you"]=4,
            ["could you"]=4,
            ["wait for"]=3,
            ["i have"]=3,
            ["let's go"]=4,
        },
    },

    FR = {
        detect = {
            ["je"]=2, ["tu"]=1, ["vous"]=2, ["nous"]=2, ["moi"]=2,
            ["peux"]=3, ["peux-tu"]=6, ["pouvez"]=4, ["pouvez-vous"]=6,
            ["merci"]=5, ["bonjour"]=5, ["salut"]=4, ["oui"]=3, ["non"]=2,
            ["suis"]=2, ["pret"]=3, ["prete"]=3, ["attends"]=4,
            ["attendez"]=4, ["invoquer"]=4, ["invocation"]=4, ["avec"]=2,
            ["pour"]=1, ["pas"]=1, ["vite"]=3, ["maintenant"]=3,
            ["soigneur"]=4, ["groupe"]=2, ["cle"]=3, ["besoin"]=3,
        },
        detectPhrases = {
            ["s'il vous plait"]=6,
            ["s'il te plait"]=6,
            ["je suis pret"]=5,
            ["je suis prete"]=5,
            ["on y va"]=5,
            ["peux tu"]=5,
            ["pouvez vous"]=5,
        },
        phrases = {
            {"s'il vous plaît", "пожалуйста"},
            {"s'il vous plait", "пожалуйста"},
            {"s'il te plaît", "пожалуйста"},
            {"s'il te plait", "пожалуйста"},
            {"pouvez-vous", "можете"},
            {"peux-tu", "можешь"},
            {"je suis prêt", "я готов"},
            {"je suis pret", "я готов"},
            {"je suis prête", "я готова"},
            {"je suis prete", "я готова"},
            {"merci beaucoup", "большое спасибо"},
            {"on y va", "погнали"},
            {"pas encore", "ещё нет"},
        },
        words = {
            ["bonjour"]="привет", ["salut"]="привет", ["merci"]="спасибо",
            ["oui"]="да", ["non"]="нет", ["vite"]="быстро",
            ["maintenant"]="сейчас", ["attends"]="подожди",
            ["attendez"]="подождите", ["attendre"]="подождать",
            ["pret"]="готов", ["prete"]="готова", ["tank"]="танк",
            ["boss"]="босс", ["groupe"]="группа", ["cle"]="ключ",
            ["soigneur"]="хил", ["heal"]="хил", ["pull"]="пулл",
            ["kick"]="кик", ["interrompre"]="сбить", ["adds"]="адды",
            ["invoquer"]="суммоннуть", ["invocation"]="суммон",
            ["besoin"]="нужно",
        },
    },

    DE = {
        detect = {
            ["ich"]=2, ["du"]=1, ["ihr"]=2, ["wir"]=2, ["mir"]=2,
            ["kannst"]=4, ["konnt"]=4, ["konntest"]=4, ["bitte"]=5,
            ["danke"]=5, ["hallo"]=4, ["nicht"]=2, ["ja"]=2, ["nein"]=3,
            ["bin"]=1, ["bereit"]=4, ["warte"]=4, ["warten"]=4,
            ["beschworen"]=5, ["gruppe"]=3, ["schlussel"]=4,
            ["heiler"]=4, ["schnell"]=3, ["jetzt"]=3, ["brauche"]=4,
        },
        detectPhrases = {
            ["kannst du"]=6,
            ["konnt ihr"]=6,
            ["ich bin bereit"]=6,
            ["bitte warten"]=5,
            ["vielen dank"]=6,
        },
        phrases = {
            {"kannst du", "можешь"},
            {"könnt ihr", "можете"},
            {"konnt ihr", "можете"},
            {"ich bin bereit", "я готов"},
            {"vielen dank", "большое спасибо"},
            {"bitte warten", "пожалуйста, подождите"},
            {"los geht's", "погнали"},
        },
        words = {
            ["hallo"]="привет", ["danke"]="спасибо", ["bitte"]="пожалуйста",
            ["ja"]="да", ["nein"]="нет", ["warte"]="подожди",
            ["warten"]="подождать", ["bereit"]="готов", ["schnell"]="быстро",
            ["jetzt"]="сейчас", ["tank"]="танк", ["boss"]="босс",
            ["gruppe"]="группа", ["schlussel"]="ключ", ["heiler"]="хил",
            ["heal"]="хил", ["pull"]="пулл", ["kick"]="кик",
            ["unterbrechen"]="сбить", ["adds"]="адды",
            ["beschworen"]="суммоннуть", ["brauche"]="нужно",
        },
    },

    ES = {
        detect = {
            ["yo"]=2, ["tu"]=1, ["usted"]=2, ["ustedes"]=2, ["nosotros"]=2,
            ["puedes"]=5, ["puedo"]=4, ["gracias"]=5, ["hola"]=5,
            ["si"]=2, ["no"]=1, ["listo"]=4, ["lista"]=4, ["espera"]=4,
            ["esperen"]=4, ["vamos"]=4, ["invocar"]=4, ["grupo"]=3,
            ["llave"]=4, ["sanador"]=4, ["rapido"]=3, ["ahora"]=3,
            ["necesito"]=4,
        },
        detectPhrases = {
            ["por favor"]=6,
            ["puedes tu"]=5,
            ["estoy listo"]=6,
            ["estoy lista"]=6,
            ["muchas gracias"]=6,
        },
        phrases = {
            {"por favor", "пожалуйста"},
            {"estoy listo", "я готов"},
            {"estoy lista", "я готова"},
            {"muchas gracias", "большое спасибо"},
            {"vamos", "погнали"},
        },
        words = {
            ["hola"]="привет", ["gracias"]="спасибо", ["si"]="да",
            ["no"]="нет", ["puedes"]="можешь", ["puedo"]="могу",
            ["espera"]="подожди", ["esperen"]="подождите",
            ["listo"]="готов", ["lista"]="готова", ["rapido"]="быстро",
            ["ahora"]="сейчас", ["tank"]="танк", ["boss"]="босс",
            ["grupo"]="группа", ["llave"]="ключ", ["sanador"]="хил",
            ["heal"]="хил", ["pull"]="пулл", ["kick"]="кик",
            ["interrumpir"]="сбить", ["adds"]="адды",
            ["invocar"]="суммоннуть", ["necesito"]="нужно",
        },
    },

    IT = {
        detect = {
            ["io"]=2, ["tu"]=1, ["voi"]=2, ["noi"]=2, ["puoi"]=5,
            ["posso"]=4, ["grazie"]=5, ["ciao"]=5, ["si"]=2, ["no"]=1,
            ["pronto"]=4, ["pronta"]=4, ["aspetta"]=4, ["aspettate"]=4,
            ["andiamo"]=5, ["evocare"]=4, ["gruppo"]=3, ["chiave"]=4,
            ["guaritore"]=4, ["veloce"]=3, ["adesso"]=3, ["bisogno"]=4,
        },
        detectPhrases = {
            ["per favore"]=6,
            ["sono pronto"]=6,
            ["sono pronta"]=6,
            ["molte grazie"]=5,
        },
        phrases = {
            {"per favore", "пожалуйста"},
            {"sono pronto", "я готов"},
            {"sono pronta", "я готова"},
            {"andiamo", "погнали"},
        },
        words = {
            ["ciao"]="привет", ["grazie"]="спасибо", ["si"]="да",
            ["no"]="нет", ["puoi"]="можешь", ["posso"]="могу",
            ["aspetta"]="подожди", ["aspettate"]="подождите",
            ["pronto"]="готов", ["pronta"]="готова", ["veloce"]="быстро",
            ["adesso"]="сейчас", ["tank"]="танк", ["boss"]="босс",
            ["gruppo"]="группа", ["chiave"]="ключ", ["guaritore"]="хил",
            ["heal"]="хил", ["pull"]="пулл", ["kick"]="кик",
            ["interrompere"]="сбить", ["adds"]="адды",
            ["evocare"]="суммоннуть", ["bisogno"]="нужно",
        },
    },

    PT = {
        detect = {
            ["eu"]=2, ["voce"]=3, ["voces"]=3, ["nos"]=2, ["pode"]=4,
            ["posso"]=4, ["obrigado"]=6, ["obrigada"]=6, ["ola"]=5,
            ["sim"]=3, ["nao"]=3, ["pronto"]=3, ["pronta"]=3,
            ["espera"]=3, ["esperem"]=4, ["vamos"]=3, ["invocar"]=3,
            ["grupo"]=2, ["chave"]=4, ["curador"]=4, ["rapido"]=3,
            ["agora"]=3, ["preciso"]=4,
        },
        detectPhrases = {
            ["por favor"]=4,
            ["estou pronto"]=6,
            ["estou pronta"]=6,
            ["muito obrigado"]=6,
            ["muito obrigada"]=6,
        },
        phrases = {
            {"por favor", "пожалуйста"},
            {"estou pronto", "я готов"},
            {"estou pronta", "я готова"},
            {"muito obrigado", "большое спасибо"},
            {"muito obrigada", "большое спасибо"},
            {"vamos", "погнали"},
        },
        words = {
            ["ola"]="привет", ["obrigado"]="спасибо", ["obrigada"]="спасибо",
            ["sim"]="да", ["nao"]="нет", ["pode"]="можешь",
            ["posso"]="могу", ["espera"]="подожди", ["esperem"]="подождите",
            ["pronto"]="готов", ["pronta"]="готова", ["rapido"]="быстро",
            ["agora"]="сейчас", ["tank"]="танк", ["boss"]="босс",
            ["grupo"]="группа", ["chave"]="ключ", ["curador"]="хил",
            ["heal"]="хил", ["pull"]="пулл", ["kick"]="кик",
            ["interromper"]="сбить", ["adds"]="адды",
            ["invocar"]="суммоннуть", ["preciso"]="нужно",
        },
    },

    PL = {
        detect = {
            ["ja"]=2, ["ty"]=1, ["wy"]=2, ["my"]=2, ["mozesz"]=5,
            ["mozecie"]=5, ["prosze"]=6, ["dzieki"]=6, ["czesc"]=5,
            ["tak"]=3, ["nie"]=2, ["gotowy"]=4, ["gotowa"]=4,
            ["czekaj"]=4, ["czekajcie"]=4, ["idziemy"]=4,
            ["przywolac"]=5, ["grupa"]=3, ["klucz"]=4, ["uzdrowiciel"]=4,
            ["szybko"]=3, ["teraz"]=3, ["potrzebuje"]=4,
        },
        detectPhrases = {
            ["jestem gotowy"]=6,
            ["jestem gotowa"]=6,
            ["dziekuje bardzo"]=6,
        },
        phrases = {
            {"jestem gotowy", "я готов"},
            {"jestem gotowa", "я готова"},
            {"dziękuję bardzo", "большое спасибо"},
            {"dziekuje bardzo", "большое спасибо"},
        },
        words = {
            ["czesc"]="привет", ["dzieki"]="спасибо", ["prosze"]="пожалуйста",
            ["tak"]="да", ["nie"]="нет", ["mozesz"]="можешь",
            ["mozecie"]="можете", ["czekaj"]="подожди",
            ["czekajcie"]="подождите", ["gotowy"]="готов", ["gotowa"]="готова",
            ["szybko"]="быстро", ["teraz"]="сейчас", ["tank"]="танк",
            ["boss"]="босс", ["grupa"]="группа", ["klucz"]="ключ",
            ["uzdrowiciel"]="хил", ["heal"]="хил", ["pull"]="пулл",
            ["kick"]="кик", ["przerwac"]="сбить", ["adds"]="адды",
            ["przywolac"]="суммоннуть", ["potrzebuje"]="нужно",
        },
    },
}
