Skip to content

Commit 4fc39fa

Browse files
committed
.
1 parent c04cc56 commit 4fc39fa

File tree

1 file changed

+138
-6
lines changed

1 file changed

+138
-6
lines changed

docs/translations.js

Lines changed: 138 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const translations = {
1313
// Hero Section
1414
hero: {
1515
title: "Vakit",
16-
subtitle: "",
16+
subtitle: "İbadetinize yardımcı bir uygulama",
1717
description: "<strong>Vakit</strong> uygulaması ile namaz vakitlerini kolayca öğrenin. Kıble yönünü bulun. Bildirim alın. <strong>Basit ve kolay</strong> kullanım. <strong>Namaz vakti</strong>, <strong>kıble yönü</strong>, <strong>gelişmiş takvim</strong>, <strong>Live Activities</strong>, <strong>widget desteği</strong> ve <strong>premium özellikler</strong>.",
1818
downloadButton: "App Store'dan İndir",
1919
featuresButton: "Özellikleri Gör",
@@ -68,20 +68,48 @@ const translations = {
6868
},
6969
},
7070

71+
// Apple-style Feature Sections (for index.html)
72+
appleFeatures: {
73+
prayerTimes: {
74+
title: "Namaz Vakitleri",
75+
description: "Konumunuza göre namaz vakitlerini öğrenin. Sabah, öğle, ikindi, akşam ve yatsı vakitleri otomatik hesaplanır."
76+
},
77+
qiblaDirection: {
78+
title: "Kıble Yönü",
79+
description: "Telefonu yatay tutarak Kâbe yönünü hassas şekilde bulun. GPS teknolojisi ile doğru yönü öğrenin."
80+
},
81+
notifications: {
82+
title: "Bildirimler & Ses Seçenekleri",
83+
description: "Namaz vakitlerinde bildirim alın. 11 farklı bildirim sesi arasından seçin: Geleneksel Ezan (Muhammad Al Damradash), sistem sesleri ve özel tonlar."
84+
},
85+
hijriCalendar: {
86+
title: "Gelişmiş Takvim",
87+
description: "Güncel Hicri tarihi ve İslami bayramları görün. Tarihe dokunarak o günün namaz vakitlerini popup'ta görün. Regaib, Miraç, Berat ve diğer önemli günler dahil."
88+
},
89+
widgets: {
90+
title: "Widget Desteği",
91+
description: "Ana ekranda küçük, orta ve büyük boyutlarda widget'lar. Dinamik arka planlar ve gerçek zamanlı geri sayım ile namaz vakitlerini hızlıca görün."
92+
},
93+
premium: {
94+
title: "Premium Özellikler",
95+
description: "Live Activities (Dynamic Island), gelişmiş widget'lar, reklamsız deneyim ve gelişmiş bildirim özelleştirmeleri ile gelişmiş özellikler."
96+
}
97+
},
98+
7199
// Screenshots Section
72100
screenshots: {
73101
title: "Uygulama Ekranları",
74102
subtitle: "Vakit uygulamasının tüm özelliklerini keşfedin ve modern tasarımı deneyimleyin",
75103
home: {
76-
title: "Ana Ekran",
104+
title: "Ana Ekran - Namaz Vakitleri",
77105
description: "Güncel namaz vakitlerini, kalan süreyi ve hicri tarihi tek bakışta görün. Basit ve temiz arayüz ile kolay kullanım."
78106
},
79107
qibla: {
80108
title: "Kıble Pusulası",
81109
description: "GPS teknolojisi ile Kâbe yönünü hassas şekilde bulun. Telefonu yatay tutarak kıble yönünü kolayca öğrenin."
82110
},
83111
settings: {
84-
title: "Akıllı Ayarlar",
112+
title: "Bildirim Ayarları",
85113
description: "Kişiselleştirilmiş bildirim ayarları ve farklı hesaplama yöntemleri. İhtiyaçlarınıza göre uygulamayı özelleştirin."
86114
},
87115
notifications: {
@@ -154,6 +182,11 @@ const translations = {
154182
note: "iOS 17 ve üzeri gereklidir"
155183
},
156184

185+
// Footer Section
186+
footer: {
187+
copyright: "© 2025 Vakit Team. Tüm hakları saklıdır."
188+
},
189+
157190

158191

159192
// Meta tags
@@ -190,7 +223,7 @@ const translations = {
190223
// Hero Section
191224
hero: {
192225
title: "Vakit",
193-
subtitle: "",
226+
subtitle: "A helpful app for your worship",
194227
description: "Learn <strong>prayer times</strong> easily with the <strong>Vakit</strong> app. Find the <strong>qibla direction</strong>. Get notifications. <strong>Simple and easy</strong> to use. <strong>Prayer times</strong>, <strong>qibla direction</strong>, <strong>advanced calendar</strong>, <strong>Live Activities</strong>, <strong>widget support</strong> and <strong>premium features</strong>.",
195228
downloadButton: "Download from App Store",
196229
featuresButton: "View Features",
@@ -245,20 +278,48 @@ const translations = {
245278
},
246279
},
247280

281+
// Apple-style Feature Sections (for index.html)
282+
appleFeatures: {
283+
prayerTimes: {
284+
title: "Prayer Times",
285+
description: "Learn prayer times based on your location. Fajr, Dhuhr, Asr, Maghrib and Isha times automatically calculated."
286+
},
287+
qiblaDirection: {
288+
title: "Qibla Direction",
289+
description: "Find the Kaaba direction precisely by holding your phone horizontally. Learn the correct direction with GPS technology."
290+
},
291+
notifications: {
292+
title: "Notifications & Sound Options",
293+
description: "Get notifications at prayer times. Choose from 11 different notification sounds: Traditional Adhan (Muhammad Al Damradash), system sounds and custom tones."
294+
},
295+
hijriCalendar: {
296+
title: "Advanced Calendar",
297+
description: "View current Hijri date and Islamic holidays. Tap any date to see prayer times in a popup. Includes Regaib, Miraj, Berat and other important days."
298+
},
299+
widgets: {
300+
title: "Widget Support",
301+
description: "Home screen small, medium and large widgets. Dynamic backgrounds and real-time countdown to quickly view prayer times."
302+
},
303+
premium: {
304+
title: "Premium Features",
305+
description: "Live Activities (Dynamic Island), advanced widgets, ad-free experience and enhanced notification customization for advanced features."
306+
}
307+
},
308+
248309
// Screenshots Section
249310
screenshots: {
250311
title: "App Screenshots",
251312
subtitle: "Discover all features of the Vakit app and experience the modern design",
252313
home: {
253-
title: "Home Screen",
314+
title: "Home Screen - Prayer Times",
254315
description: "View current prayer times, remaining time and Hijri date at a glance. Simple and clean interface for easy use."
255316
},
256317
qibla: {
257318
title: "Qibla Compass",
258319
description: "Find the Kaaba direction precisely with GPS technology. Easily learn the qibla direction by holding your phone horizontally."
259320
},
260321
settings: {
261-
title: "Smart Settings",
322+
title: "Notification Settings",
262323
description: "Personalized notification settings and different calculation methods. Customize the app according to your needs."
263324
},
264325
notifications: {
@@ -331,6 +392,11 @@ const translations = {
331392
note: "Requires iOS 17 or later"
332393
},
333394

395+
// Footer Section
396+
footer: {
397+
copyright: "© 2025 Vakit Team. All rights reserved."
398+
},
399+
334400

335401

336402
// Meta tags
@@ -400,6 +466,13 @@ function switchLanguage(lang) {
400466
}
401467
}
402468

469+
// Update Apple-style hero section
470+
const heroTitleApple = document.querySelector('.hero-title-apple');
471+
if (heroTitleApple) heroTitleApple.textContent = t.hero.title;
472+
473+
const heroSubtitleApple = document.querySelector('.hero-subtitle-apple');
474+
if (heroSubtitleApple) heroSubtitleApple.textContent = t.hero.subtitle;
475+
403476
const heroDescription = document.querySelector('.hero-description');
404477
if (heroDescription) heroDescription.innerHTML = t.hero.description;
405478

@@ -409,6 +482,9 @@ function switchLanguage(lang) {
409482
const secondaryBtn = document.querySelector('.btn-secondary');
410483
if (secondaryBtn) secondaryBtn.innerHTML = `<i class="fas fa-info-circle"></i>${t.hero.featuresButton}`;
411484

485+
const applePrimaryBtn = document.querySelector('.btn-apple-primary');
486+
if (applePrimaryBtn) applePrimaryBtn.innerHTML = `<i class="fab fa-apple"></i>${t.hero.downloadButton}`;
487+
412488
// Update hero highlights
413489
const highlights = document.querySelectorAll('.highlight-item');
414490
if (highlights.length >= 5) {
@@ -447,6 +523,30 @@ function switchLanguage(lang) {
447523
featureCards[6].querySelector('p').innerHTML = t.features.offline.description;
448524
}
449525

526+
// Update Apple-style feature sections
527+
const appleFeatureTitles = document.querySelectorAll('.feature-title-apple');
528+
const appleFeatureDescriptions = document.querySelectorAll('.feature-description-apple');
529+
530+
if (appleFeatureTitles.length >= 6 && appleFeatureDescriptions.length >= 6) {
531+
appleFeatureTitles[0].textContent = t.appleFeatures.prayerTimes.title;
532+
appleFeatureDescriptions[0].textContent = t.appleFeatures.prayerTimes.description;
533+
534+
appleFeatureTitles[1].textContent = t.appleFeatures.qiblaDirection.title;
535+
appleFeatureDescriptions[1].textContent = t.appleFeatures.qiblaDirection.description;
536+
537+
appleFeatureTitles[2].textContent = t.appleFeatures.notifications.title;
538+
appleFeatureDescriptions[2].textContent = t.appleFeatures.notifications.description;
539+
540+
appleFeatureTitles[3].textContent = t.appleFeatures.hijriCalendar.title;
541+
appleFeatureDescriptions[3].textContent = t.appleFeatures.hijriCalendar.description;
542+
543+
appleFeatureTitles[4].textContent = t.appleFeatures.widgets.title;
544+
appleFeatureDescriptions[4].textContent = t.appleFeatures.widgets.description;
545+
546+
appleFeatureTitles[5].textContent = t.appleFeatures.premium.title;
547+
appleFeatureDescriptions[5].textContent = t.appleFeatures.premium.description;
548+
}
549+
450550
// Update screenshots section
451551
const screenshotsTitle = document.querySelector('#screenshots .section-title');
452552
if (screenshotsTitle) screenshotsTitle.textContent = t.screenshots.title;
@@ -482,6 +582,34 @@ function switchLanguage(lang) {
482582
screenshotSlides[7].querySelector('p').textContent = t.screenshots.theme.description;
483583
}
484584

585+
// Update screenshot item titles (for en.html)
586+
const screenshotItems = document.querySelectorAll('.screenshot-item');
587+
if (screenshotItems.length >= 8) {
588+
screenshotItems[0].querySelector('h3').textContent = t.screenshots.home.title;
589+
screenshotItems[0].querySelector('p').textContent = t.screenshots.home.description;
590+
591+
screenshotItems[1].querySelector('h3').textContent = t.screenshots.qibla.title;
592+
screenshotItems[1].querySelector('p').textContent = t.screenshots.qibla.description;
593+
594+
screenshotItems[2].querySelector('h3').textContent = t.screenshots.settings.title;
595+
screenshotItems[2].querySelector('p').textContent = t.screenshots.settings.description;
596+
597+
screenshotItems[3].querySelector('h3').textContent = t.screenshots.notifications.title;
598+
screenshotItems[3].querySelector('p').textContent = t.screenshots.notifications.description;
599+
600+
screenshotItems[4].querySelector('h3').textContent = t.screenshots.widget.title;
601+
screenshotItems[4].querySelector('p').textContent = t.screenshots.widget.description;
602+
603+
screenshotItems[5].querySelector('h3').textContent = t.screenshots.location.title;
604+
screenshotItems[5].querySelector('p').textContent = t.screenshots.location.description;
605+
606+
screenshotItems[6].querySelector('h3').textContent = t.screenshots.premium.title;
607+
screenshotItems[6].querySelector('p').textContent = t.screenshots.premium.description;
608+
609+
screenshotItems[7].querySelector('h3').textContent = t.screenshots.theme.title;
610+
screenshotItems[7].querySelector('p').textContent = t.screenshots.theme.description;
611+
}
612+
485613
// Update feature highlights
486614
const highlightItems = document.querySelectorAll('.highlight-item');
487615
if (highlightItems.length >= 3) {
@@ -523,6 +651,10 @@ function switchLanguage(lang) {
523651
if (downloadNote) downloadNote.textContent = t.download.note;
524652
}
525653

654+
// Update footer
655+
const footerCopyright = document.querySelector('.footer-copyright p');
656+
if (footerCopyright) footerCopyright.textContent = t.footer.copyright;
657+
526658

527659

528660

0 commit comments

Comments
 (0)