T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/gositeme.com/public_html/demo/robert/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/gositeme.com/public_html/demo/robert/js/language.js
// Language translations
const translations = {
    'fr': {
        'nav-home': 'Accueil',
        'nav-menu': 'Menu',
        'nav-locations': 'Emplacements',
        'hero-welcome': 'Bienvenue chez',
        'hero-subtitle': 'Une expérience culinaire chinoise authentique',
        'hero-cta': 'Voir le Menu',
        'special-offer': 'Offre Spéciale',
        'special-offer-text': 'Profitez de 15% de réduction sur votre première commande en ligne',
        'special-offer-cta': 'Commander Maintenant',
        'popular-items': 'Nos Plats Populaires',
        'testimonials': 'Ce Que Disent Nos Clients',
        'newsletter-title': 'Inscrivez-vous à Notre Infolettre',
        'newsletter-text': 'Recevez nos offres spéciales et mises à jour directement dans votre boîte de réception',
        'newsletter-placeholder': 'Votre adresse courriel',
        'newsletter-cta': 'S\'inscrire',
        'locations': 'Nos Emplacements',
        'delivery-partners': 'Nos Partenaires de Livraison',
        'delivery-text': 'Commandez via votre plateforme préférée',
        'contact': 'Contactez-nous',
        'hours': 'Heures d\'Ouverture',
        'follow': 'Suivez-nous',
        'copyright': 'Tous droits réservés',
        'menu-title': 'Notre Menu',
        'menu-subtitle': 'Découvrez nos délicieux plats chinois authentiques',
        'search-placeholder': 'Rechercher un plat...',
        'filter-all': 'Tout',
        'filter-appetizers': 'Entrées',
        'filter-soups': 'Soupes',
        'filter-main': 'Plats Principaux',
        'filter-noodles': 'Nouilles',
        'filter-rice': 'Riz',
        'filter-desserts': 'Desserts',
        'filter-beverages': 'Boissons',
        'filter-vegetarian': 'Végétarien',
        'filter-vegan': 'Végan',
        'filter-spicy': 'Épicé',
        'spring-rolls': 'Rouleaux de Printemps',
        'spring-rolls-desc': 'Rouleaux croustillants farcis de légumes frais et de vermicelles, servis avec une sauce aigre-douce',
        'dumplings': 'Raviolis Chinois',
        'dumplings-desc': 'Raviolis vapeur farcis de porc et légumes, servis avec sauce soja',
        'spicy-wings': 'Ailes de Poulet Épicées',
        'spicy-wings-desc': 'Ailes de poulet croustillantes marinées dans notre sauce épicée maison',
        'wonton-soup': 'Soupe Wonton',
        'wonton-soup-desc': 'Bouillon clair avec raviolis chinois farcis de porc et crevettes, garnis de ciboulette',
        'hot-sour-soup': 'Soupe Aigre-Douce',
        'hot-sour-soup-desc': 'Soupe traditionnelle avec tofu, champignons, bambou et œuf',
        'kung-pao-chicken': 'Poulet Kung Pao',
        'kung-pao-chicken-desc': 'Poulet sauté avec arachides, piments et sauce épicée, servi avec riz',
        'beef-broccoli': 'Bœuf au Brocoli',
        'beef-broccoli-desc': 'Bœuf tendre sauté avec brocoli frais dans une sauce savoureuse',
        'tofu-stir-fry': 'Tofu Sauté aux Légumes',
        'tofu-stir-fry-desc': 'Tofu croustillant sauté avec légumes frais et sauce soja',
        'chow-mein': 'Chow Mein',
        'chow-mein-desc': 'Nouilles sautées avec légumes frais et votre choix de viande',
        'dan-dan-noodles': 'Nouilles Dan Dan',
        'dan-dan-noodles-desc': 'Nouilles avec sauce épicée au sésame et porc haché',
        'fried-rice': 'Riz Frit',
        'fried-rice-desc': 'Riz frit avec œuf, légumes et votre choix de viande',
        'vegetable-fried-rice': 'Riz Frit aux Légumes',
        'vegetable-fried-rice-desc': 'Riz frit avec légumes frais et œuf',
        'tag-vegetarian': 'Végétarien',
        'tag-vegan': 'Végan',
        'tag-spicy': 'Épicé',
        'category-appetizers': 'Entrées',
        'category-soups': 'Soupes',
        'category-main': 'Plats Principaux',
        'category-noodles': 'Nouilles',
        'category-rice': 'Riz',
        'category-desserts': 'Desserts',
        'category-beverages': 'Boissons',
        'testimonial-text': 'La meilleure cuisine chinoise que j\'ai jamais goûtée! Les plats sont toujours frais et délicieux.',
        'testimonial-author': 'Client Régulier',
        'testimonial-title': 'Ce Que Disent Nos Clients',
        'testimonial-text-1': 'La meilleure cuisine chinoise que j\'ai jamais goûtée ! Les saveurs sont authentiques et le service est excellent.',
        'testimonial-author-1': 'Xavier Dubois',
        'testimonial-role-1': 'Voyageur Culinaire',
        'testimonial-text-2': 'Une nourriture incroyable et une excellente atmosphère. Le personnel est très sympathique et les portions sont généreuses.',
        'testimonial-author-2': 'Amélie Gagnon',
        'testimonial-role-2': 'Chef Pâtissière',
        'testimonial-text-3': 'Une nourriture délicieuse et un service rapide. Mon endroit préféré pour la cuisine chinoise authentique.',
        'testimonial-author-3': 'Lucien Roy',
        'testimonial-role-3': 'Critique Gastronomique',
        'testimonial-text-4': 'Les dim sum ici sont absolument incroyables. Des ingrédients frais et une préparation parfaite à chaque fois.',
        'testimonial-author-4': 'Sophie Martin',
        'testimonial-role-4': 'Influenceuse Culinaire',
        'testimonial-text-5': 'Le meilleur restaurant chinois de la ville ! Le canard laqué est à essayer absolument. Toujours frais et savoureux.',
        'testimonial-author-5': 'Théo Bouchard',
        'testimonial-role-5': 'Photographe Culinaire',
        'testimonial-text-6': 'Le service est exceptionnel et la nourriture est toujours excellente. Un véritable joyau de la ville.',
        'testimonial-author-6': 'Camille Fortin',
        'testimonial-role-6': 'Blogueuse Lifestyle',
        'testimonial-text-7': 'Une expérience culinaire inoubliable ! Les saveurs sont authentiques et le service est impeccable.',
        'testimonial-author-7': 'Raphaël Dubé',
        'testimonial-role-7': 'Voyageur Gourmet',
        'testimonial-text-8': 'La meilleure soupe aigre-douce que j\'ai jamais goûtée ! Un équilibre parfait des saveurs.',
        'testimonial-author-8': 'Chloé Lambert',
        'testimonial-role-8': 'Chef de Cuisine',
        'testimonial-text-9': 'L\'atmosphère est parfaite pour les repas décontractés et les occasions spéciales. La nourriture est toujours excellente.',
        'testimonial-author-9': 'Maxime Lavoie',
        'testimonial-role-9': 'Critique Restaurants',
        'testimonial-text-10': 'Le meilleur restaurant chinois de la région. La qualité de la nourriture et du service est inégalée.',
        'testimonial-author-10': 'Élodie Dubois',
        'testimonial-role-10': 'Influenceuse Food',
        'testimonial-text-11': 'Les nouilles sautées sont à tomber ! Une texture parfaite et des saveurs authentiques.',
        'testimonial-author-11': 'Nicolas Girard',
        'testimonial-role-11': 'Blogueur Food',
        'testimonial-text-12': 'Un véritable voyage culinaire en Chine ! Les plats sont préparés avec passion et expertise.',
        'testimonial-author-12': 'Léa Rousseau',
        'testimonial-role-12': 'Voyageuse Gourmande',
        'testimonial-text-13': 'Les portions sont généreuses et les prix sont très raisonnables. Un excellent rapport qualité-prix !',
        'testimonial-author-13': 'Thomas Bergeron',
        'testimonial-role-13': 'Critique Restaurants',
        'testimonial-text-14': 'Le service est rapide et le personnel est très attentionné. Une expérience culinaire exceptionnelle !',
        'testimonial-author-14': 'Emma Moreau',
        'testimonial-role-14': 'Influenceuse Lifestyle',
        'testimonial-text-15': 'Les plats végétariens sont délicieux et créatifs. Une excellente option pour tous les palais !',
        'testimonial-author-15': 'Lucas Pelletier',
        'testimonial-role-15': 'Chef Végétarien',
        'prev-testimonial': 'Précédent',
        'next-testimonial': 'Suivant',
        'hero-title-main': 'Zellers Restaurant',
        'hero-subtitle': 'Une expérience culinaire chinoise authentique',
        'hero-title-main-2': 'Canard Laqué Pékin',
        'hero-subtitle-2': 'Préparé selon la tradition ancestrale',
        'hero-title-main-3': 'Pour Toutes Occasions',
        'hero-subtitle-3': 'Du repas décontracté aux célébrations spéciales',
        'hero-title-main-4': 'Fruits de Mer Frais',
        'hero-subtitle-4': 'Sélection quotidienne de produits de la mer',
        'hero-title-main-5': 'Nouilles Artisanales',
        'hero-subtitle-5': 'Préparées à la main selon la tradition',
        'hero-title-main-6': 'Options Végétariennes',
        'hero-subtitle-6': 'Plats végétariens créatifs et savoureux',
        'hero-title-main-7': 'Service Familial',
        'hero-subtitle-7': 'Partagez des plats dans une ambiance conviviale',
        'hero-title-main-8': 'Livraison & À Emporter',
        'hero-subtitle-8': 'Commandez en ligne pour une expérience à la maison',
        'hero-title-main-9': 'Événements Privés',
        'hero-subtitle-9': 'Organisez vos célébrations dans un cadre élégant',
        'location-vaudreuil': 'Vaudreuil-Dorion',
        'location-rigaud': 'Rigaud',
        'location-sorel': 'Sorel-Tracy',
        'restaurant-name': 'Restaurant Zellers',
        'get-directions': 'Obtenir l\'itinéraire',
        'coming-soon': 'Bientôt disponible',
        'tag-gluten-free': 'Sans Gluten',
        'Rouleaux de Printemps': 'Rouleaux de Printemps',
        'Rouleaux de Printemps-desc': 'Rouleaux de printemps croustillants aux légumes servis avec sauce chili douce',
        'Boulettes de Porc': 'Boulettes de Porc',
        'Boulettes de Porc-desc': 'Boulettes de porc et légumes cuites à la vapeur avec sauce soja',
        'Soupe Aigre-Douce': 'Soupe Aigre-Douce',
        'Soupe Aigre-Douce-desc': 'Soupe traditionnelle chinoise au tofu, champignons et pousses de bambou',
        'Soupe Wonton': 'Soupe Wonton',
        'Soupe Wonton-desc': 'Bouillon clair avec wontons au porc et aux crevettes',
        'Poulet Général Tso': 'Poulet Général Tso',
        'Poulet Général Tso-desc': 'Poulet croustillant dans une sauce sucrée et épicée',
        'Bœuf au Brocoli': 'Bœuf au Brocoli',
        'Bœuf au Brocoli-desc': 'Lanières de bœuf tendres avec brocoli frais dans une sauce à l\'ail',
        'Pad Thai': 'Pad Thai',
        'Pad Thai-desc': 'Nouilles de riz sautées avec œuf, légumes et cacahuètes',
        'Lo Mein': 'Lo Mein',
        'Lo Mein-desc': 'Nouilles de blé sautées avec légumes et choix de protéines',
        'Riz Frit': 'Riz Frit',
        'Riz Frit-desc': 'Riz sauté avec œuf, légumes et choix de protéines',
        'Riz Frit Yangzhou': 'Riz Frit Yangzhou',
        'Riz Frit Yangzhou-desc': 'Riz frit premium avec crevettes, jambon et légumes',
        'Riz Gluant à la Mangue': 'Riz Gluant à la Mangue',
        'Riz Gluant à la Mangue-desc': 'Riz gluant sucré avec mangue fraîche et lait de coco',
        'Crêpe aux Haricots Rouges': 'Crêpe aux Haricots Rouges',
        'Crêpe aux Haricots Rouges-desc': 'Crêpe croustillante fourrée à la pâte de haricots rouges',
        'Thé à Bulles': 'Thé à Bulles',
        'Thé à Bulles-desc': 'Thé au lait sucré avec perles de tapioca',
        'Thé au Jasmin': 'Thé au Jasmin',
        'Thé au Jasmin-desc': 'Thé chinois traditionnel au jasmin'
    },
    'en': {
        'nav-home': 'Home',
        'nav-menu': 'Menu',
        'nav-locations': 'Locations',
        'hero-welcome': 'Welcome to',
        'hero-subtitle': 'An authentic Chinese culinary experience',
        'hero-cta': 'View Menu',
        'special-offer': 'Special Offer',
        'special-offer-text': 'Enjoy 15% off your first online order',
        'special-offer-cta': 'Order Now',
        'popular-items': 'Popular Items',
        'testimonials': 'What Our Customers Say',
        'newsletter-title': 'Subscribe to Our Newsletter',
        'newsletter-text': 'Get our special offers and updates delivered to your inbox',
        'newsletter-placeholder': 'Your email address',
        'newsletter-cta': 'Subscribe',
        'locations': 'Our Locations',
        'delivery-partners': 'Our Delivery Partners',
        'delivery-text': 'Order through your favorite platform',
        'contact': 'Contact Us',
        'hours': 'Opening Hours',
        'follow': 'Follow Us',
        'copyright': 'All rights reserved',
        'menu-title': 'Our Menu',
        'menu-subtitle': 'Discover our delicious authentic Chinese dishes',
        'search-placeholder': 'Search for a dish...',
        'filter-all': 'All',
        'filter-appetizers': 'Appetizers',
        'filter-soups': 'Soups',
        'filter-main': 'Main Courses',
        'filter-noodles': 'Noodles',
        'filter-rice': 'Rice',
        'filter-desserts': 'Desserts',
        'filter-beverages': 'Beverages',
        'filter-vegetarian': 'Vegetarian',
        'filter-vegan': 'Vegan',
        'filter-spicy': 'Spicy',
        'spring-rolls': 'Spring Rolls',
        'spring-rolls-desc': 'Crispy rolls filled with fresh vegetables and vermicelli, served with sweet and sour sauce',
        'dumplings': 'Chinese Dumplings',
        'dumplings-desc': 'Steamed dumplings filled with pork and vegetables, served with soy sauce',
        'spicy-wings': 'Spicy Chicken Wings',
        'spicy-wings-desc': 'Crispy chicken wings marinated in our homemade spicy sauce',
        'wonton-soup': 'Wonton Soup',
        'wonton-soup-desc': 'Clear broth with Chinese dumplings filled with pork and shrimp, garnished with chives',
        'hot-sour-soup': 'Hot & Sour Soup',
        'hot-sour-soup-desc': 'Traditional soup with tofu, mushrooms, bamboo shoots, and egg',
        'kung-pao-chicken': 'Kung Pao Chicken',
        'kung-pao-chicken-desc': 'Stir-fried chicken with peanuts, chili peppers, and spicy sauce, served with rice',
        'beef-broccoli': 'Beef with Broccoli',
        'beef-broccoli-desc': 'Tender beef stir-fried with fresh broccoli in a savory sauce',
        'tofu-stir-fry': 'Tofu Stir Fry',
        'tofu-stir-fry-desc': 'Crispy tofu stir-fried with fresh vegetables and soy sauce',
        'chow-mein': 'Chow Mein',
        'chow-mein-desc': 'Stir-fried noodles with fresh vegetables and your choice of meat',
        'dan-dan-noodles': 'Dan Dan Noodles',
        'dan-dan-noodles-desc': 'Noodles with spicy sesame sauce and minced pork',
        'fried-rice': 'Fried Rice',
        'fried-rice-desc': 'Fried rice with egg, vegetables, and your choice of meat',
        'vegetable-fried-rice': 'Vegetable Fried Rice',
        'vegetable-fried-rice-desc': 'Fried rice with fresh vegetables and egg',
        'tag-vegetarian': 'Vegetarian',
        'tag-vegan': 'Vegan',
        'tag-spicy': 'Spicy',
        'category-appetizers': 'Appetizers',
        'category-soups': 'Soups',
        'category-main': 'Main Courses',
        'category-noodles': 'Noodles',
        'category-rice': 'Rice',
        'category-desserts': 'Desserts',
        'category-beverages': 'Beverages',
        'testimonial-text': 'The best Chinese cuisine I\'ve ever tasted! The flavors are authentic and the service is excellent.',
        'testimonial-author': 'Regular Customer',
        'testimonial-title': 'What Our Customers Say',
        'testimonial-text-1': 'The best Chinese cuisine I\'ve ever tasted! The flavors are authentic and the service is excellent.',
        'testimonial-author-1': 'Xavier Dubois',
        'testimonial-role-1': 'Culinary Traveler',
        'testimonial-text-2': 'Amazing food and great atmosphere. The staff is very friendly and the portions are generous.',
        'testimonial-author-2': 'Amélie Gagnon',
        'testimonial-role-2': 'Pastry Chef',
        'testimonial-text-3': 'Delicious food and quick service. My favorite place for authentic Chinese cuisine.',
        'testimonial-author-3': 'Lucien Roy',
        'testimonial-role-3': 'Food Critic',
        'testimonial-text-4': 'The dim sum here is absolutely incredible. Fresh ingredients and perfect preparation every time.',
        'testimonial-author-4': 'Sophie Martin',
        'testimonial-role-4': 'Food Influencer',
        'testimonial-text-5': 'The best Chinese restaurant in town! The Peking duck is a must-try. Always fresh and flavorful.',
        'testimonial-author-5': 'Théo Bouchard',
        'testimonial-role-5': 'Food Photographer',
        'testimonial-text-6': 'The service is outstanding and the food is always excellent. A true gem in the city.',
        'testimonial-author-6': 'Camille Fortin',
        'testimonial-role-6': 'Lifestyle Blogger',
        'testimonial-text-7': 'An unforgettable culinary experience! The flavors are authentic and the service is impeccable.',
        'testimonial-author-7': 'Raphaël Dubé',
        'testimonial-role-7': 'Gourmet Traveler',
        'testimonial-text-8': 'The best hot and sour soup I\'ve ever tasted! Perfect balance of flavors.',
        'testimonial-author-8': 'Chloé Lambert',
        'testimonial-role-8': 'Executive Chef',
        'testimonial-text-9': 'The atmosphere is perfect for both casual dining and special occasions. Food is always excellent.',
        'testimonial-author-9': 'Maxime Lavoie',
        'testimonial-role-9': 'Restaurant Critic',
        'testimonial-text-10': 'The best Chinese restaurant in the area. The quality of food and service is unmatched.',
        'testimonial-author-10': 'Élodie Dubois',
        'testimonial-role-10': 'Food Influencer',
        'testimonial-text-11': 'The stir-fried noodles are to die for! Perfect texture and authentic flavors.',
        'testimonial-author-11': 'Nicolas Girard',
        'testimonial-role-11': 'Food Blogger',
        'testimonial-text-12': 'A true culinary journey to China! Dishes are prepared with passion and expertise.',
        'testimonial-author-12': 'Léa Rousseau',
        'testimonial-role-12': 'Gourmet Traveler',
        'testimonial-text-13': 'The portions are generous and the prices are very reasonable. Excellent value for money!',
        'testimonial-author-13': 'Thomas Bergeron',
        'testimonial-role-13': 'Restaurant Critic',
        'testimonial-text-14': 'The service is quick and the staff is very attentive. An exceptional culinary experience!',
        'testimonial-author-14': 'Emma Moreau',
        'testimonial-role-14': 'Lifestyle Influencer',
        'testimonial-text-15': 'The vegetarian dishes are delicious and creative. A great option for all palates!',
        'testimonial-author-15': 'Lucas Pelletier',
        'testimonial-role-15': 'Vegetarian Chef',
        'prev-testimonial': 'Previous',
        'next-testimonial': 'Next',
        'hero-title-main': 'Zellers Restaurant',
        'hero-subtitle': 'An authentic Chinese culinary experience',
        'hero-title-main-2': 'Peking Duck',
        'hero-subtitle-2': 'Prepared according to ancestral tradition',
        'hero-title-main-3': 'For All Occasions',
        'hero-subtitle-3': 'From casual dining to special celebrations',
        'hero-title-main-4': 'Fresh Seafood',
        'hero-subtitle-4': 'Daily selection of seafood products',
        'hero-title-main-5': 'Handmade Noodles',
        'hero-subtitle-5': 'Prepared by hand according to tradition',
        'hero-title-main-6': 'Vegetarian Options',
        'hero-subtitle-6': 'Creative and flavorful vegetarian dishes',
        'hero-title-main-7': 'Family Style',
        'hero-subtitle-7': 'Share dishes in a friendly atmosphere',
        'hero-title-main-8': 'Delivery & Takeout',
        'hero-subtitle-8': 'Order online for an at-home experience',
        'hero-title-main-9': 'Private Events',
        'hero-subtitle-9': 'Host your celebrations in an elegant setting',
        'location-vaudreuil': 'Vaudreuil-Dorion',
        'location-rigaud': 'Rigaud',
        'location-sorel': 'Sorel-Tracy',
        'restaurant-name': 'Zellers Restaurant',
        'get-directions': 'Get Directions',
        'coming-soon': 'Coming Soon',
        'tag-gluten-free': 'Gluten Free',
        'Rouleaux de Printemps': 'Spring Rolls',
        'Rouleaux de Printemps-desc': 'Crispy spring rolls with vegetables served with sweet chili sauce',
        'Boulettes de Porc': 'Pork Dumplings',
        'Boulettes de Porc-desc': 'Steamed pork and vegetable dumplings served with soy sauce',
        'Soupe Aigre-Douce': 'Hot & Sour Soup',
        'Soupe Aigre-Douce-desc': 'Traditional Chinese soup with tofu, mushrooms and bamboo shoots',
        'Soupe Wonton': 'Wonton Soup',
        'Soupe Wonton-desc': 'Clear broth with pork and shrimp wontons',
        'Poulet Général Tso': 'General Tso\'s Chicken',
        'Poulet Général Tso-desc': 'Crispy chicken in a sweet and spicy sauce',
        'Bœuf au Brocoli': 'Beef with Broccoli',
        'Bœuf au Brocoli-desc': 'Tender beef strips with fresh broccoli in garlic sauce',
        'Pad Thai': 'Pad Thai',
        'Pad Thai-desc': 'Stir-fried rice noodles with egg, vegetables and peanuts',
        'Lo Mein': 'Lo Mein',
        'Lo Mein-desc': 'Stir-fried wheat noodles with vegetables and choice of protein',
        'Riz Frit': 'Fried Rice',
        'Riz Frit-desc': 'Fried rice with egg, vegetables and choice of protein',
        'Riz Frit Yangzhou': 'Yangzhou Fried Rice',
        'Riz Frit Yangzhou-desc': 'Premium fried rice with shrimp, ham and vegetables',
        'Riz Gluant à la Mangue': 'Mango Sticky Rice',
        'Riz Gluant à la Mangue-desc': 'Sweet sticky rice with fresh mango and coconut milk',
        'Crêpe aux Haricots Rouges': 'Red Bean Pancake',
        'Crêpe aux Haricots Rouges-desc': 'Crispy pancake filled with sweet red bean paste',
        'Thé à Bulles': 'Bubble Tea',
        'Thé à Bulles-desc': 'Sweet milk tea with tapioca pearls',
        'Thé au Jasmin': 'Jasmine Tea',
        'Thé au Jasmin-desc': 'Traditional Chinese jasmine tea'
    }
};

// Language toggle functionality
document.addEventListener('DOMContentLoaded', function() {
    const langToggle = document.getElementById('langToggle');
    let currentLang = localStorage.getItem('language') || 'fr';

    function updateLanguage(lang) {
        currentLang = lang;
        localStorage.setItem('language', lang);
        document.documentElement.lang = lang;
        
        // Update all elements with data-lang attribute
        document.querySelectorAll('[data-lang]').forEach(element => {
            const key = element.getAttribute('data-lang');
            if (translations[lang][key]) {
                if (element.tagName === 'INPUT') {
                    element.placeholder = translations[lang][key];
                } else {
                    element.textContent = translations[lang][key];
                }
            }
        });

        // Update toggle button text
        if (langToggle) {
            langToggle.textContent = lang === 'fr' ? 'EN' : 'FR';
        }
    }

    // Initialize language
    updateLanguage(currentLang);

    // Add click event listener to language toggle
    if (langToggle) {
        langToggle.addEventListener('click', () => {
            const newLang = currentLang === 'fr' ? 'en' : 'fr';
            updateLanguage(newLang);
        });
    }
}); 

CasperSecurity Mini