import { useTranslation as usei18nextTranslation } from 'react-i18next';

import i18next from 'i18next';

const NAMESPACE = 'CHAT_INFO';

i18next.addResources('es', NAMESPACE, {
  GROUP_INFO: 'Información del grupo',
  PARTICIPANTS: 'Participantes ({{count}})',
  ADD_PARTICIPANTS: 'Añadir participantes',
  ADD_PARTICIPANTS_COUNT: 'Añadir participantes ({{count}})',
  ADD: 'Agregar',
  DELETE_PARTICIPANT: 'Eliminar participante',
  DELETE_PARTICIPANT_CONFIRMATION:
    '¿Está seguro que desea eliminar a {{user}} del grupo?',
  DELETE: 'Eliminar',
  MAKE_ADMIN_PARTICIPANT: 'Hacer admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    '¿Quieres hacer a {{user}} administrador del grupo?',
  LEFT_GROUP: 'Salir del grupo',
  GROUP_CREATED: 'Grupo creado el {{date}}',
  ADMIN: 'Admin.',
  ERROR_ADD_PARTICIPANTS: 'Error: no se pudieron agregar los participantes.',
  ERROR_GET_PARTICIPANTS: 'Error: no se pudieron obtener los participantes.',
  ERROR_DELETE_PARTICIPANT:
    'Error: no se pudo eliminar al participante del grupo.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Error: no se pudo hacer al participante administrador del grupo.',
});

i18next.addResources('en', NAMESPACE, {
  GROUP_INFO: 'Group information',
  PARTICIPANTS: 'Participants ({{count}})',
  ADD_PARTICIPANTS: 'Add participants',
  ADD_PARTICIPANTS_COUNT: 'Add participants ({{count}})',
  ADD: 'Add',
  DELETE_PARTICIPANT: 'Remove participant',
  DELETE_PARTICIPANT_CONFIRMATION: 'Remove {{user}} from the group?',
  DELETE: 'Remove',
  MAKE_ADMIN_PARTICIPANT: 'Make admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION: 'Make {{user}} admin of the group?',
  LEFT_GROUP: 'Exit group',
  GROUP_CREATED: 'Created {{date}}',
  ADMIN: 'Admin.',
  ERROR_ADD_PARTICIPANTS: "Error: participants couldn't be added.",
  ERROR_GET_PARTICIPANTS: 'Error: Failed to get participants.',
  ERROR_DELETE_PARTICIPANT: "Error: participant couldn't be removed.",
  ERROR_MAKE_ADMIN_PARTICIPANT: "Error: couldn't make participant admin.",
});

i18next.addResources('pt', NAMESPACE, {
  GROUP_INFO: 'informações do grupo',
  PARTICIPANTS: 'Participantes ({{count}})',
  ADD_PARTICIPANTS: 'Adicionar participantes',
  ADD_PARTICIPANTS_COUNT: 'Adicionar participantes ({{count}})',
  ADD: 'Adicionar',
  DELETE_PARTICIPANT: 'Remover participante',
  DELETE_PARTICIPANT_CONFIRMATION: 'Remover {{user}} do grupo?',
  DELETE: 'Remover',
  MAKE_ADMIN_PARTICIPANT: 'Tornar admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION: 'Tornar {{user}} admin do grupo?',
  LEFT_GROUP: 'Sair do grupo',
  GROUP_CREATED: 'Grupo criado em {{date}}',
  ADMIN: 'Admin.',
  ERROR_ADD_PARTICIPANTS: 'Erro: não foi possível adicionar participantes.',
  ERROR_GET_PARTICIPANTS: 'Erro: não foi possível obter participantes.',
  ERROR_DELETE_PARTICIPANT: 'Erro: não foi possível remover o participante.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Erro: não foi possível tornar o participante admin.',
});

i18next.addResources('pt-br', NAMESPACE, {
  GROUP_INFO: 'informações do grupo',
  PARTICIPANTS: 'Participantes ({{count}})',
  ADD_PARTICIPANTS: 'Adicionar participantes',
  ADD_PARTICIPANTS_COUNT: 'Adicionar participantes ({{count}})',
  ADD: 'Adicionar',
  DELETE_PARTICIPANT: 'Remover participante',
  DELETE_PARTICIPANT_CONFIRMATION: 'Remover {{user}} do grupo?',
  DELETE: 'Remover',
  MAKE_ADMIN_PARTICIPANT: 'Promover a admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION: 'Promover a admin a {{user}}?',
  LEFT_GROUP: 'Sair do grupo',
  GROUP_CREATED: 'Grupo criado {{date}}',
  ADMIN: 'Admin.',
  ERROR_ADD_PARTICIPANTS: 'Error: não foi possível adicionar participantes.',
  ERROR_GET_PARTICIPANTS: 'Erro: Falha ao obter participantes.',
  ERROR_DELETE_PARTICIPANT: 'Error: não foi possível remover o participante.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Error: não foi possível Promover a admin o participante.',
});

i18next.addResources('it', NAMESPACE, {
  GROUP_INFO: 'Informazioni del gruppo',
  PARTICIPANTS: 'Partecipanti ({{count}})',
  ADD_PARTICIPANTS: 'Aggiungi partecipanti',
  ADD_PARTICIPANTS_COUNT: 'Aggiungi partecipanti ({{count}})',
  ADD: 'Aggiungi',
  DELETE_PARTICIPANT: 'Rimuovi partecipante',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Sei sicuro di voler rimuovere {{user}} dal gruppo?',
  DELETE: 'Elimina',
  MAKE_ADMIN_PARTICIPANT: 'Rendi admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Vuoi rendere {{user}} amministratore del gruppo?',
  LEFT_GROUP: 'Lascia il gruppo',
  GROUP_CREATED: 'Gruppo creato il {{date}}',
  ADMIN: 'Admin.',
  ERROR_ADD_PARTICIPANTS: 'Errore: impossibile aggiungere i partecipanti.',
  ERROR_GET_PARTICIPANTS: 'Errore: impossibile ottenere i partecipanti.',
  ERROR_DELETE_PARTICIPANT:
    'Errore: impossibile rimuovere il partecipante dal gruppo.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Errore: impossibile rendere il partecipante amministratore del gruppo.',
});

i18next.addResources('fr', NAMESPACE, {
  GROUP_INFO: 'Informations du groupe',
  PARTICIPANTS: 'Participants ({{count}})',
  ADD_PARTICIPANTS: 'Ajouter des participants',
  ADD_PARTICIPANTS_COUNT: 'Ajouter des participants ({{count}})',
  ADD: 'Ajouter',
  DELETE_PARTICIPANT: 'Supprimer le participant',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Êtes-vous sûr de vouloir supprimer {{user}} du groupe?',
  DELETE: 'Supprimer',
  MAKE_ADMIN_PARTICIPANT: 'Rendre admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Voulez-vous rendre {{user}} administrateur du groupe?',
  LEFT_GROUP: 'Quitter le groupe',
  GROUP_CREATED: 'Groupe créé le {{date}}',
  ADMIN: 'Admin.',
  ERROR_ADD_PARTICIPANTS: "Erreur: impossible d'ajouter les participants.",
  ERROR_GET_PARTICIPANTS: "Erreur: impossible d'obtenir les participants.",
  ERROR_DELETE_PARTICIPANT:
    'Erreur: impossible de supprimer le participant du groupe.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Erreur: impossible de rendre le participant administrateur du groupe.',
});

i18next.addResources('no', NAMESPACE, {
  GROUP_INFO: 'Gruppeinformasjon',
  PARTICIPANTS: 'Deltakere ({{count}})',
  ADD_PARTICIPANTS: 'Legg til deltakere',
  ADD_PARTICIPANTS_COUNT: 'Legg til deltakere ({{count}})',
  ADD: 'Legg til',
  DELETE_PARTICIPANT: 'Fjern deltaker',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Er du sikker på at du vil fjerne {{user}} fra gruppen?',
  DELETE: 'Fjern',
  MAKE_ADMIN_PARTICIPANT: 'Gjør til admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Vil du gjøre {{user}} til administrator for gruppen?',
  LEFT_GROUP: 'Forlat gruppen',
  GROUP_CREATED: 'Gruppe opprettet {{date}}',
  ADMIN: 'Admin.',
  ERROR_ADD_PARTICIPANTS: 'Feil: kunne ikke legge til deltakerne.',
  ERROR_GET_PARTICIPANTS: 'Feil: kunne ikke hente deltakerne.',
  ERROR_DELETE_PARTICIPANT: 'Feil: kunne ikke fjerne deltakeren fra gruppen.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Feil: kunne ikke gjøre deltakeren til administrator for gruppen.',
});

i18next.addResources('bg', NAMESPACE, {
  GROUP_INFO: 'Информация за групата',
  PARTICIPANTS: 'Участници ({{count}})',
  ADD_PARTICIPANTS: 'Добави участници',
  ADD_PARTICIPANTS_COUNT: 'Добави участници ({{count}})',
  ADD: 'Добави',
  DELETE_PARTICIPANT: 'Премахни участник',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Сигурни ли сте, че искате да премахнете {{user}} от групата?',
  DELETE: 'Премахни',
  MAKE_ADMIN_PARTICIPANT: 'Направи администратор',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Искате ли да направите {{user}} администратор на групата?',
  LEFT_GROUP: 'Напусни групата',
  GROUP_CREATED: 'Групата е създадена на {{date}}',
  ADMIN: 'Админ.',
  ERROR_ADD_PARTICIPANTS: 'Грешка: не можаха да бъдат добавени участниците.',
  ERROR_GET_PARTICIPANTS: 'Грешка: не можаха да бъдат получени участниците.',
  ERROR_DELETE_PARTICIPANT:
    'Грешка: не можа да бъде премахнат участникът от групата.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Грешка: не можа да се направи участникът администратор на групата.',
});

i18next.addResources('is', NAMESPACE, {
  GROUP_INFO: 'Hópupplýsingar',
  PARTICIPANTS: 'Þátttakendur ({{count}})',
  ADD_PARTICIPANTS: 'Bæta við þátttakendum',
  ADD_PARTICIPANTS_COUNT: 'Bæta við þátttakendum ({{count}})',
  ADD: 'Bæta við',
  DELETE_PARTICIPANT: 'Fjarlægja þátttakanda',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Ertu viss um að þú viljir fjarlægja {{user}} úr hópnum?',
  DELETE: 'Fjarlægja',
  MAKE_ADMIN_PARTICIPANT: 'Gera að stjórnanda',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Viltu gera {{user}} að stjórnanda hópsins?',
  LEFT_GROUP: 'Yfirgefa hóp',
  GROUP_CREATED: 'Hópur stofnaður {{date}}',
  ADMIN: 'Stjórnandi',
  ERROR_ADD_PARTICIPANTS: 'Villa: ekki tókst að bæta við þátttakendum.',
  ERROR_GET_PARTICIPANTS: 'Villa: ekki tókst að sækja þátttakendur.',
  ERROR_DELETE_PARTICIPANT:
    'Villa: ekki tókst að fjarlægja þátttakanda úr hópnum.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Villa: ekki tókst að gera þátttakanda að stjórnanda hópsins.',
});

i18next.addResources('pl', NAMESPACE, {
  GROUP_INFO: 'Informacje o grupie',
  PARTICIPANTS: 'Uczestnicy ({{count}})',
  ADD_PARTICIPANTS: 'Dodaj uczestników',
  ADD_PARTICIPANTS_COUNT: 'Dodaj uczestników ({{count}})',
  ADD: 'Dodaj',
  DELETE_PARTICIPANT: 'Usuń uczestnika',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Czy na pewno chcesz usunąć {{user}} z grupy?',
  DELETE: 'Usuń',
  MAKE_ADMIN_PARTICIPANT: 'Uczyń administratorem',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Czy chcesz uczynić {{user}} administratorem grupy?',
  LEFT_GROUP: 'Opuść grupę',
  GROUP_CREATED: 'Grupa utworzona {{date}}',
  ADMIN: 'Admin',
  ERROR_ADD_PARTICIPANTS: 'Błąd: nie można dodać uczestników.',
  ERROR_GET_PARTICIPANTS: 'Błąd: nie udało się pobrać uczestników.',
  ERROR_DELETE_PARTICIPANT: 'Błąd: nie można usunąć uczestnika z grupy.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Błąd: nie można uczynić uczestnika administratorem grupy.',
});

i18next.addResources('sv', NAMESPACE, {
  GROUP_INFO: 'Gruppinformation',
  PARTICIPANTS: 'Deltagare ({{count}})',
  ADD_PARTICIPANTS: 'Lägg till deltagare',
  ADD_PARTICIPANTS_COUNT: 'Lägg till deltagare ({{count}})',
  ADD: 'Lägg till',
  DELETE_PARTICIPANT: 'Ta bort deltagare',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Är du säker på att du vill ta bort {{user}} från gruppen?',
  DELETE: 'Ta bort',
  MAKE_ADMIN_PARTICIPANT: 'Gör till admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Vill du göra {{user}} till administratör för gruppen?',
  LEFT_GROUP: 'Lämna gruppen',
  GROUP_CREATED: 'Grupp skapad {{date}}',
  ADMIN: 'Admin',
  ERROR_ADD_PARTICIPANTS: 'Fel: kunde inte lägga till deltagare.',
  ERROR_GET_PARTICIPANTS: 'Fel: kunde inte hämta deltagare.',
  ERROR_DELETE_PARTICIPANT: 'Fel: kunde inte ta bort deltagaren från gruppen.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Fel: kunde inte göra deltagaren till administratör för gruppen.',
});

i18next.addResources('th', NAMESPACE, {
  GROUP_INFO: 'ข้อมูลกลุ่ม',
  PARTICIPANTS: 'ผู้เข้าร่วม ({{count}})',
  ADD_PARTICIPANTS: 'เพิ่มผู้เข้าร่วม',
  ADD_PARTICIPANTS_COUNT: 'เพิ่มผู้เข้าร่วม ({{count}})',
  ADD: 'เพิ่ม',
  DELETE_PARTICIPANT: 'ลบผู้เข้าร่วม',
  DELETE_PARTICIPANT_CONFIRMATION: 'คุณแน่ใจหรือไม่ว่าต้องการลบ {{user}} ออกจากกลุ่ม?',
  DELETE: 'ลบ',
  MAKE_ADMIN_PARTICIPANT: 'ทำให้เป็นแอดมิน',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'คุณต้องการทำให้ {{user}} เป็นแอดมินของกลุ่มหรือไม่?',
  LEFT_GROUP: 'ออกจากกลุ่ม',
  GROUP_CREATED: 'กลุ่มถูกสร้างเมื่อ {{date}}',
  ADMIN: 'แอดมิน',
  ERROR_ADD_PARTICIPANTS: 'ข้อผิดพลาด: ไม่สามารถเพิ่มผู้เข้าร่วมได้',
  ERROR_GET_PARTICIPANTS: 'ข้อผิดพลาด: ไม่สามารถดึงข้อมูลผู้เข้าร่วมได้',
  ERROR_DELETE_PARTICIPANT: 'ข้อผิดพลาด: ไม่สามารถลบผู้เข้าร่วมออกจากกลุ่มได้',
  ERROR_MAKE_ADMIN_PARTICIPANT: 'ข้อผิดพลาด: ไม่สามารถทำให้ผู้เข้าร่วมเป็นแอดมินของกลุ่มได้',
});

i18next.addResources('uk', NAMESPACE, {
  GROUP_INFO: 'Інформація про групу',
  PARTICIPANTS: 'Учасники ({{count}})',
  ADD_PARTICIPANTS: 'Додати учасників',
  ADD_PARTICIPANTS_COUNT: 'Додати учасників ({{count}})',
  ADD: 'Додати',
  DELETE_PARTICIPANT: 'Видалити учасника',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Ви впевнені, що хочете видалити {{user}} з групи?',
  DELETE: 'Видалити',
  MAKE_ADMIN_PARTICIPANT: 'Зробити адміністратором',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Ви хочете зробити {{user}} адміністратором групи?',
  LEFT_GROUP: 'Покинути групу',
  GROUP_CREATED: 'Група створена {{date}}',
  ADMIN: 'Адмін',
  ERROR_ADD_PARTICIPANTS: 'Помилка: не вдалося додати учасників',
  ERROR_GET_PARTICIPANTS: 'Помилка: не вдалося отримати учасників',
  ERROR_DELETE_PARTICIPANT: 'Помилка: не вдалося видалити учасника з групи',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Помилка: не вдалося зробити учасника адміністратором групи',
});

i18next.addResources('ru', NAMESPACE, {
  GROUP_INFO: 'Информация о группе',
  PARTICIPANTS: 'Участники ({{count}})',
  ADD_PARTICIPANTS: 'Добавить участников',
  ADD_PARTICIPANTS_COUNT: 'Добавить участников ({{count}})',
  ADD: 'Добавить',
  DELETE_PARTICIPANT: 'Удалить участника',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Вы уверены, что хотите удалить {{user}} из группы?',
  DELETE: 'Удалить',
  MAKE_ADMIN_PARTICIPANT: 'Сделать администратором',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Вы хотите сделать {{user}} администратором группы?',
  LEFT_GROUP: 'Покинуть группу',
  GROUP_CREATED: 'Группа создана {{date}}',
  ADMIN: 'Админ',
  ERROR_ADD_PARTICIPANTS: 'Ошибка: не удалось добавить участников',
  ERROR_GET_PARTICIPANTS: 'Ошибка: не удалось получить участников',
  ERROR_DELETE_PARTICIPANT: 'Ошибка: не удалось удалить участника из группы',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Ошибка: не удалось сделать участника администратором группы',
});

i18next.addResources('ro', NAMESPACE, {
  GROUP_INFO: 'Informații despre grup',
  PARTICIPANTS: 'Participanți ({{count}})',
  ADD_PARTICIPANTS: 'Adaugă participanți',
  ADD_PARTICIPANTS_COUNT: 'Adaugă participanți ({{count}})',
  ADD: 'Adaugă',
  DELETE_PARTICIPANT: 'Șterge participant',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Ești sigur că vrei să ștergi {{user}} din grup?',
  DELETE: 'Șterge',
  MAKE_ADMIN_PARTICIPANT: 'Fă administrator',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Vrei să faci {{user}} administrator al grupului?',
  LEFT_GROUP: 'Părăsește grupul',
  GROUP_CREATED: 'Grupul a fost creat {{date}}',
  ADMIN: 'Admin',
  ERROR_ADD_PARTICIPANTS: 'Eroare: nu s-au putut adăuga participanții',
  ERROR_GET_PARTICIPANTS: 'Eroare: nu s-au putut obține participanții',
  ERROR_DELETE_PARTICIPANT:
    'Eroare: nu s-a putut șterge participantul din grup',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Eroare: nu s-a putut face participantul administrator al grupului',
});

i18next.addResources('da', NAMESPACE, {
  GROUP_INFO: 'Gruppeinformation',
  PARTICIPANTS: 'Deltagere ({{count}})',
  ADD_PARTICIPANTS: 'Tilføj deltagere',
  ADD_PARTICIPANTS_COUNT: 'Tilføj deltagere ({{count}})',
  ADD: 'Tilføj',
  DELETE_PARTICIPANT: 'Fjern deltager',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Er du sikker på at du vil fjerne {{user}} fra gruppen?',
  DELETE: 'Fjern',
  MAKE_ADMIN_PARTICIPANT: 'Gør til admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Vil du gøre {{user}} til administrator for gruppen?',
  LEFT_GROUP: 'Forlad gruppen',
  GROUP_CREATED: 'Gruppe oprettet {{date}}',
  ADMIN: 'Admin',
  ERROR_ADD_PARTICIPANTS: 'Fejl: Kunne ikke tilføje deltagere.',
  ERROR_GET_PARTICIPANTS: 'Fejl: Kunne ikke hente deltagere.',
  ERROR_DELETE_PARTICIPANT: 'Fejl: Kunne ikke fjerne deltageren fra gruppen.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Fejl: Kunne ikke gøre deltageren til administrator for gruppen.',
});

i18next.addResources('fi', NAMESPACE, {
  GROUP_INFO: 'Ryhmän tiedot',
  PARTICIPANTS: 'Osallistujat ({{count}})',
  ADD_PARTICIPANTS: 'Lisää osallistujia',
  ADD_PARTICIPANTS_COUNT: 'Lisää osallistujia ({{count}})',
  ADD: 'Lisää',
  DELETE_PARTICIPANT: 'Poista osallistuja',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Oletko varma, että haluat poistaa {{user}} ryhmästä?',
  DELETE: 'Poista',
  MAKE_ADMIN_PARTICIPANT: 'Tee admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Haluatko tehdä {{user}} ryhmän adminin?',
  LEFT_GROUP: 'Lähde ryhmästä',
  GROUP_CREATED: 'Ryhmä luotu {{date}}',
  ADMIN: 'Admin',
  ERROR_ADD_PARTICIPANTS: 'Virhe: Osallistujia ei voitu lisätä.',
  ERROR_GET_PARTICIPANTS: 'Virhe: Osallistujia ei voitu hakea.',
  ERROR_DELETE_PARTICIPANT: 'Virhe: Osallistujaa ei voitu poistaa ryhmästä.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Virhe: Osallistujaa ei voitu tehdä ryhmän adminiksi.',
});

i18next.addResources('de', NAMESPACE, {
  GROUP_INFO: 'Gruppeninformation',
  PARTICIPANTS: 'Teilnehmer ({{count}})',
  ADD_PARTICIPANTS: 'Teilnehmer hinzufügen',
  ADD_PARTICIPANTS_COUNT: 'Teilnehmer hinzufügen ({{count}})',
  ADD: 'Hinzufügen',
  DELETE_PARTICIPANT: 'Teilnehmer entfernen',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Möchten Sie {{user}} wirklich aus der Gruppe entfernen?',
  DELETE: 'Entfernen',
  MAKE_ADMIN_PARTICIPANT: 'Zum Admin machen',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Möchten Sie {{user}} zum Gruppenadministrator machen?',
  LEFT_GROUP: 'Gruppe verlassen',
  GROUP_CREATED: 'Gruppe erstellt am {{date}}',
  ADMIN: 'Admin',
  ERROR_ADD_PARTICIPANTS:
    'Fehler: Teilnehmer konnten nicht hinzugefügt werden.',
  ERROR_GET_PARTICIPANTS: 'Fehler: Teilnehmer konnten nicht abgerufen werden.',
  ERROR_DELETE_PARTICIPANT:
    'Fehler: Teilnehmer konnte nicht aus der Gruppe entfernt werden.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Fehler: Teilnehmer konnte nicht zum Gruppenadministrator gemacht werden.',
});

i18next.addResources('nl', NAMESPACE, {
  GROUP_INFO: 'Groepsinformatie',
  PARTICIPANTS: 'Deelnemers ({{count}})',
  ADD_PARTICIPANTS: 'Deelnemers toevoegen',
  ADD_PARTICIPANTS_COUNT: 'Deelnemers toevoegen ({{count}})',
  ADD: 'Toevoegen',
  DELETE_PARTICIPANT: 'Deelnemer verwijderen',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Weet u zeker dat u {{user}} uit de groep wilt verwijderen?',
  DELETE: 'Verwijderen',
  MAKE_ADMIN_PARTICIPANT: 'Admin maken',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Wilt u {{user}} beheerder van de groep maken?',
  LEFT_GROUP: 'Groep verlaten',
  GROUP_CREATED: 'Groep aangemaakt op {{date}}',
  ADMIN: 'Admin',
  ERROR_ADD_PARTICIPANTS: 'Fout: deelnemers konden niet worden toegevoegd.',
  ERROR_GET_PARTICIPANTS: 'Fout: deelnemers konden niet worden opgehaald.',
  ERROR_DELETE_PARTICIPANT:
    'Fout: deelnemer kon niet uit de groep worden verwijderd.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Fout: deelnemer kon niet tot beheerder van de groep worden gemaakt.',
});

i18next.addResources('id', NAMESPACE, {
  GROUP_INFO: 'Informasi grup',
  PARTICIPANTS: 'Peserta ({{count}})',
  ADD_PARTICIPANTS: 'Tambah peserta',
  ADD_PARTICIPANTS_COUNT: 'Tambah peserta ({{count}})',
  ADD: 'Tambah',
  DELETE_PARTICIPANT: 'Hapus peserta',
  DELETE_PARTICIPANT_CONFIRMATION:
    'Apakah Anda yakin ingin menghapus {{user}} dari grup?',
  DELETE: 'Hapus',
  MAKE_ADMIN_PARTICIPANT: 'Jadikan admin',
  MAKE_ADMIN_PARTICIPANT_CONFIRMATION:
    'Apakah Anda ingin menjadikan {{user}} sebagai admin grup?',
  LEFT_GROUP: 'Keluar dari grup',
  GROUP_CREATED: 'Grup dibuat pada {{date}}',
  ADMIN: 'Admin',
  ERROR_ADD_PARTICIPANTS: 'Kesalahan: peserta tidak dapat ditambahkan.',
  ERROR_GET_PARTICIPANTS: 'Kesalahan: peserta tidak dapat diambil.',
  ERROR_DELETE_PARTICIPANT: 'Kesalahan: peserta tidak dapat dihapus dari grup.',
  ERROR_MAKE_ADMIN_PARTICIPANT:
    'Kesalahan: peserta tidak dapat dijadikan admin grup.',
});

export const useTranslation = () => usei18nextTranslation([NAMESPACE]);
