diff --git a/src/core/i18n.ts b/src/core/i18n.ts index b138228..3e91fe9 100644 --- a/src/core/i18n.ts +++ b/src/core/i18n.ts @@ -499,6 +499,7 @@ export interface Translations { offlineDone: string; offlineSelectLang: string; offlineCleared: string; + offlineCacheInfo: string; locationTitle: string; latitude: string; longitude: string; @@ -1044,6 +1045,7 @@ const translations: Record = { offlineDone: 'Done! Data cached for offline use.', offlineSelectLang: 'Please select at least one language.', offlineCleared: 'Cache cleared.', + offlineCacheInfo: 'Cache: {0} / {1} ({2} files)', locationTitle: 'Location', latitude: 'Latitude', longitude: 'Longitude', @@ -1587,6 +1589,7 @@ const translations: Record = { offlineDone: 'Готово! Данные закэшированы для офлайн-использования.', offlineSelectLang: 'Пожалуйста, выберите хотя бы один язык.', offlineCleared: 'Кэш очищен.', + offlineCacheInfo: 'Кэш: {0} / {1} ({2} файлов)', locationTitle: 'Местоположение', latitude: 'Широта', longitude: 'Долгота', @@ -2130,6 +2133,7 @@ const translations: Record = { offlineDone: 'Готово! Данныя закешированы для офлайн-потребленїя.', offlineSelectLang: 'Пожалуйста, изберите хотя бы единъ языкъ.', offlineCleared: 'Кешъ очищенъ.', + offlineCacheInfo: 'Кешъ: {0} / {1} ({2} фа́йлѡвъ)', locationTitle: 'Мѣстоположе́нїе', latitude: 'Широта̀', longitude: 'Долгота̀', diff --git a/src/ui/calendar-view.ts b/src/ui/calendar-view.ts index cdd0b90..9992599 100644 --- a/src/ui/calendar-view.ts +++ b/src/ui/calendar-view.ts @@ -581,28 +581,28 @@ export class CalendarView { ${this.t.calendar.gregorianDate[0].toLowerCase() + this.t.calendar.gregorianDate.slice(1)}: ${gregorianStr} -
+
-
+
${this.t.loading}
-
+

${this.t.calendar.commemorations}

${this.t.loading}

-
+

${this.t.calendar.fastingRule}

${this.t.loading}

-
+

${this.t.calendar.readings}

${this.t.loading}

-
+
diff --git a/src/ui/menaion-view.ts b/src/ui/menaion-view.ts index e87ba77..1260974 100644 --- a/src/ui/menaion-view.ts +++ b/src/ui/menaion-view.ts @@ -55,8 +55,8 @@ export class MenaionView { this.currentMonth = today.getMonth() + 1; this.container.innerHTML = ` -
-
+
+
${[ { id: 'prayer', view: 'prayer', label: this.t.nav.prayer }, { id: 'akathists', view: 'akathists', label: this.t.nav.akathists }, @@ -78,7 +78,7 @@ export class MenaionView { `).join('')}
-
+

${this.t.prayer.selectSection}

@@ -132,7 +132,7 @@ export class MenaionView { ${months[month - 1]}
-
+
${daysHtml}
`; diff --git a/src/ui/prayer-view.ts b/src/ui/prayer-view.ts index 130c478..35196db 100644 --- a/src/ui/prayer-view.ts +++ b/src/ui/prayer-view.ts @@ -213,8 +213,8 @@ export class PrayerView { ]; this.container.innerHTML = ` -
-
+
+
${subNavItems.map(item => `