/**
 * ACAAB localization extension.
 * Keep group-specific translations outside assets/global/localization.js
 * to avoid conflicts with the main project.
 */

(function extendAcaabTranslations() {
    if (typeof translations === 'undefined') return;

    const acaabTranslations = {
        id: {
            grp_acaab_hero_badge: "MAHASISWA & PRESTASI",
            grp_acaab_hero_title: "Sorotan dan Prestasi Karya Mahasiswa",
            grp_acaab_hero_desc: "Galeri pencapaian, penghargaan, dan portofolio inovasi teknologi yang dikembangkan oleh mahasiswa Program Studi Informatika Universitas Tanjungpura.",
            grp_acaab_stats_heading: "Pencapaian dalam Angka",
            grp_acaab_stats_total_ach: "Total Prestasi",
            grp_acaab_stats_total_proj: "Total Karya",
            grp_acaab_stats_intl: "Internasional",
            grp_acaab_stats_national: "Nasional",
            grp_acaab_stats_regional: "Regional",
            grp_acaab_stats_data_note: "Data dikumpulkan per",
            grp_acaab_ach_title: "Prestasi Mahasiswa",
            grp_acaab_ach_desc: "Daftar pencapaian dan penghargaan yang diraih oleh mahasiswa Informatika UNTAN di berbagai kompetisi.",
            grp_acaab_ach_search: "Cari prestasi...",
            grp_acaab_ach_filter_level: "Semua Level",
            grp_acaab_ach_filter_cat: "Semua Kategori",
            grp_acaab_ach_filter_year: "Semua Tahun",
            grp_acaab_ach_showing: "Menampilkan",
            grp_acaab_ach_results: "prestasi",
            grp_acaab_ach_load_more: "Tampilkan Lebih Banyak",
            grp_acaab_ach_show_less: "Tampilkan Lebih Sedikit",
            grp_acaab_ach_empty: "Tidak ada prestasi yang cocok dengan filter.",
            grp_acaab_ach_loading: "Memuat data prestasi...",
            grp_acaab_ach_error: "Gagal memuat data prestasi.",
            grp_acaab_proj_title: "Top Projects & Portofolio",
            grp_acaab_proj_desc: "Jelajahi inovasi digital dan aplikasi nyata yang dikembangkan oleh mahasiswa Informatika UNTAN.",
            grp_acaab_proj_scroll_hint: "Geser untuk melihat lebih banyak",
            grp_acaab_proj_search: "Cari karya...",
            grp_acaab_proj_filter_cat: "Semua Kategori",
            grp_acaab_proj_filter_year: "Semua Tahun",
            grp_acaab_proj_load_more: "Tampilkan Lebih Banyak",
            grp_acaab_proj_empty: "Tidak ada karya yang cocok dengan filter.",
            grp_acaab_proj_loading: "Memuat data karya...",
            grp_acaab_proj_error: "Gagal memuat data karya.",
            grp_acaab_modal_team: "Tim / Peserta",
            grp_acaab_modal_generation: "Angkatan",
            grp_acaab_modal_members: "Anggota Tim",
            grp_acaab_modal_visit: "Kunjungi Proyek",
            grp_acaab_modal_read_more: "Selengkapnya",
            grp_acaab_modal_no_link: "Link tidak tersedia",
            grp_acaab_cta_badge: "HUBUNGI KAMI",
            grp_acaab_cta_title: "Ingin Tahu Lebih Lanjut?",
            grp_acaab_cta_desc: "Tertarik bergabung dengan Program Studi Informatika UNTAN, mendaftarkan prestasi mahasiswa, atau menjalin kerja sama? Hubungi kami sekarang.",
            grp_acaab_cta_btn: "Chat via WhatsApp",
        },
        en: {
            grp_acaab_hero_badge: "STUDENTS & ACHIEVEMENTS",
            grp_acaab_hero_title: "Student Spotlights & Achievements",
            grp_acaab_hero_desc: "Gallery of accomplishments, awards, and technology innovation portfolios developed by Informatics students of Tanjungpura University.",
            grp_acaab_stats_heading: "Achievements by the Numbers",
            grp_acaab_stats_total_ach: "Total Achievements",
            grp_acaab_stats_total_proj: "Total Projects",
            grp_acaab_stats_intl: "International",
            grp_acaab_stats_national: "National",
            grp_acaab_stats_regional: "Regional",
            grp_acaab_stats_data_note: "Data collected as of",
            grp_acaab_ach_title: "Student Achievements",
            grp_acaab_ach_desc: "List of awards and accomplishments by Informatics UNTAN students in various competitions.",
            grp_acaab_ach_search: "Search achievements...",
            grp_acaab_ach_filter_level: "All Levels",
            grp_acaab_ach_filter_cat: "All Categories",
            grp_acaab_ach_filter_year: "All Years",
            grp_acaab_ach_showing: "Showing",
            grp_acaab_ach_results: "achievements",
            grp_acaab_ach_load_more: "Show More",
            grp_acaab_ach_show_less: "Show Less",
            grp_acaab_ach_empty: "No achievements match the current filter.",
            grp_acaab_ach_loading: "Loading achievements...",
            grp_acaab_ach_error: "Failed to load achievements.",
            grp_acaab_proj_title: "Top Projects & Portfolios",
            grp_acaab_proj_desc: "Explore digital innovations and real-world applications developed by Informatics UNTAN students.",
            grp_acaab_proj_scroll_hint: "Scroll to see more",
            grp_acaab_proj_search: "Search projects...",
            grp_acaab_proj_filter_cat: "All Categories",
            grp_acaab_proj_filter_year: "All Years",
            grp_acaab_proj_load_more: "Show More",
            grp_acaab_proj_empty: "No projects match the current filter.",
            grp_acaab_proj_loading: "Loading projects...",
            grp_acaab_proj_error: "Failed to load projects.",
            grp_acaab_modal_team: "Team / Participant",
            grp_acaab_modal_generation: "Batch Year",
            grp_acaab_modal_members: "Team Members",
            grp_acaab_modal_visit: "Visit Project",
            grp_acaab_modal_read_more: "Read More",
            grp_acaab_modal_no_link: "Link not available",
            grp_acaab_cta_badge: "CONTACT US",
            grp_acaab_cta_title: "Want to Know More?",
            grp_acaab_cta_desc: "Interested in joining the Informatics Study Program at UNTAN, registering a student achievement, or establishing a partnership? Contact us now.",
            grp_acaab_cta_btn: "Chat via WhatsApp",
        },
    };

    Object.assign(translations.id, acaabTranslations.id);
    Object.assign(translations.en, acaabTranslations.en);
}());
