Небольшие изменения

This commit is contained in:
RedGrox2013
2026-06-01 22:50:32 +03:00
parent 2e1a2e007f
commit 5d6395ea47
3 changed files with 122 additions and 12 deletions
+8 -2
View File
@@ -3,21 +3,25 @@ let currentLang = 'en';
const translations = {
en: {
title: 'We Build Worlds',
desc: 'AloeGames is a modern game development studio focused on creating immersive, next-generation experiences.',
desc: 'AloeGames is a modern, cool company that creates exciting next-generation gaming experiences (actually, we do everything but games).',
button: 'Explore',
aboutTitle: 'About Us',
aboutText: 'We are a team of passionate developers, designers, and dreamers. Our mission is to push the boundaries of interactive entertainment and deliver unforgettable gaming experiences.',
projectsTitle: 'Our Projects',
mirrorsTitle: 'Mirrors',
mirrorsText: 'We support a free internet and provide mirrors in censorship-resistant networks:',
contactTitle: 'Contact',
contactText: 'Get in touch with us for partnerships, collaborations, or just to say hello.'
},
ru: {
title: 'Мы создаём миры',
desc: 'AloeGames — современная игровая студия, создающая захватывающий игровой опыт нового поколения.',
desc: 'AloeGames — современная крутая контора, создающая захватывающий игровой опыт нового поколения (на самом деле мы делаем всё, кроме игр).',
button: 'Смотреть',
aboutTitle: 'О нас',
aboutText: 'Мы команда разработчиков, дизайнеров и мечтателей. Наша цель — расширять границы интерактивных развлечений и создавать незабываемые игры.',
projectsTitle: 'Наши проекты',
mirrorsTitle: 'Зеркала',
mirrorsText: 'Мы поддерживаем свободный интернет и предоставляем зеркала в цензуроустойчивых сетях:',
contactTitle: 'Контакты',
contactText: 'Свяжитесь с нами для сотрудничества или просто чтобы сказать привет.'
}
@@ -33,6 +37,8 @@ function toggleLang() {
tryToggleTextContent('aboutTitle', t.aboutTitle);
tryToggleTextContent('aboutText', t.aboutText);
tryToggleTextContent('projectsTitle', t.projectsTitle);
tryToggleTextContent('mirrorsTitle', t.mirrorsTitle);
tryToggleTextContent('mirrorsText', t.mirrorsText);
tryToggleTextContent('contactTitle', t.contactTitle);
tryToggleTextContent('contactText', t.contactText);
}