waha-shared 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/data/bibleAudios.d.ts +8 -0
- package/dist/data/bibleAudios.js +8 -0
- package/dist/data/bibleAudios.json +394 -0
- package/dist/data/bibleResources/bibleBooks.d.ts +3 -0
- package/dist/data/bibleResources/bibleBooks.js +7 -0
- package/dist/data/bibleResources/bibleBooks.json +6071 -0
- package/dist/data/bibleResources/bibleChaptersList.d.ts +2 -0
- package/dist/data/bibleResources/bibleChaptersList.js +8 -0
- package/dist/data/bibleResources/bibleChaptersList.json +1191 -0
- package/dist/data/bibleStatuses.d.ts +7 -0
- package/dist/data/bibleStatuses.js +8 -0
- package/dist/data/bibleStatuses.json +9196 -0
- package/dist/data/bibleTexts.d.ts +16 -0
- package/dist/data/bibleTexts.js +8 -0
- package/dist/data/bibleTexts.json +527 -0
- package/dist/data/countryResources/areas.d.ts +3 -0
- package/dist/data/countryResources/areas.js +7 -0
- package/dist/data/countryResources/areas.json +74 -0
- package/dist/data/countryResources/countries.d.ts +3 -0
- package/dist/data/countryResources/countries.js +7 -0
- package/dist/data/countryResources/countries.json +3362 -0
- package/dist/data/foundationsCurriculums.d.ts +5 -0
- package/dist/data/foundationsCurriculums.js +8 -0
- package/dist/data/foundationsCurriculums.json +130 -0
- package/dist/data/languageResources/countriesAndLanguages.d.ts +13 -0
- package/dist/data/languageResources/countriesAndLanguages.js +7 -0
- package/dist/data/languageResources/countriesAndLanguages.json +11718 -0
- package/dist/data/languageResources/phoneLanguages.d.ts +11 -0
- package/dist/data/languageResources/phoneLanguages.js +7 -0
- package/dist/data/languageResources/phoneLanguages.json +1532 -0
- package/dist/data/languages.d.ts +45 -0
- package/dist/data/languages.js +8 -0
- package/dist/data/languages.json +7045 -0
- package/dist/data/mediaDurations.d.ts +6 -0
- package/dist/data/mediaDurations.js +8 -0
- package/dist/data/mediaDurations.json +32364 -0
- package/dist/data/notification.d.ts +16 -0
- package/dist/data/notification.js +8 -0
- package/dist/data/notification.json +69 -0
- package/dist/data/numeralMaps.d.ts +13 -0
- package/dist/data/numeralMaps.js +8 -0
- package/dist/data/numeralMaps.json +26 -0
- package/dist/data/questions.d.ts +8 -0
- package/dist/data/questions.js +8 -0
- package/dist/data/questions.json +317 -0
- package/dist/data/questionsCurriculums.d.ts +8 -0
- package/dist/data/questionsCurriculums.js +8 -0
- package/dist/data/questionsCurriculums.json +753 -0
- package/dist/data/releaseNotes.d.ts +6 -0
- package/dist/data/releaseNotes.js +8 -0
- package/dist/data/releaseNotes.json +2381 -0
- package/dist/data/screenshots.d.ts +5 -0
- package/dist/data/screenshots.js +8 -0
- package/dist/data/screenshots.json +17 -0
- package/dist/data/sets.d.ts +14 -0
- package/dist/data/sets.js +8 -0
- package/dist/data/sets.json +12258 -0
- package/dist/data/specialIds.d.ts +18 -0
- package/dist/data/specialIds.js +7 -0
- package/dist/data/specialIds.json +72 -0
- package/dist/data/topicsCurriculums.d.ts +5 -0
- package/dist/data/topicsCurriculums.js +8 -0
- package/dist/data/topicsCurriculums.json +131 -0
- package/dist/data/typescript/appTranslations.d.ts +915 -0
- package/dist/data/typescript/appTranslations.js +315 -0
- package/dist/data/typescript/areas.d.ts +18 -0
- package/dist/data/typescript/areas.js +42 -0
- package/dist/data/typescript/aslTimestamps.d.ts +43 -0
- package/dist/data/typescript/aslTimestamps.js +31 -0
- package/dist/data/typescript/bibleAudioAvailableChapters.d.ts +3 -0
- package/dist/data/typescript/bibleAudioAvailableChapters.js +36 -0
- package/dist/data/typescript/bibleAudios.d.ts +21 -0
- package/dist/data/typescript/bibleAudios.js +23 -0
- package/dist/data/typescript/bibleBookNames.d.ts +3 -0
- package/dist/data/typescript/bibleBookNames.js +98 -0
- package/dist/data/typescript/bibleBooks.d.ts +69 -0
- package/dist/data/typescript/bibleBooks.js +56 -0
- package/dist/data/typescript/bibleChapters.d.ts +49 -0
- package/dist/data/typescript/bibleChapters.js +29 -0
- package/dist/data/typescript/bibleStatuses.d.ts +28 -0
- package/dist/data/typescript/bibleStatuses.js +39 -0
- package/dist/data/typescript/bibleTextAvailableChapters.d.ts +3 -0
- package/dist/data/typescript/bibleTextAvailableChapters.js +36 -0
- package/dist/data/typescript/bibleTexts.d.ts +53 -0
- package/dist/data/typescript/bibleTexts.js +54 -0
- package/dist/data/typescript/clones.d.ts +36 -0
- package/dist/data/typescript/clones.js +28 -0
- package/dist/data/typescript/countries.d.ts +98 -0
- package/dist/data/typescript/countries.js +149 -0
- package/dist/data/typescript/foundationsCurriculums.d.ts +12 -0
- package/dist/data/typescript/foundationsCurriculums.js +12 -0
- package/dist/data/typescript/introductionTranslations.d.ts +202 -0
- package/dist/data/typescript/introductionTranslations.js +53 -0
- package/dist/data/typescript/languages.d.ts +148 -0
- package/dist/data/typescript/languages.js +302 -0
- package/dist/data/typescript/mediaDurations.d.ts +23 -0
- package/dist/data/typescript/mediaDurations.js +72 -0
- package/dist/data/typescript/notification.d.ts +45 -0
- package/dist/data/typescript/notification.js +176 -0
- package/dist/data/typescript/numeralMaps.d.ts +58 -0
- package/dist/data/typescript/numeralMaps.js +71 -0
- package/dist/data/typescript/questionTranslations.d.ts +3 -0
- package/dist/data/typescript/questionTranslations.js +5 -0
- package/dist/data/typescript/questions.d.ts +21 -0
- package/dist/data/typescript/questions.js +18 -0
- package/dist/data/typescript/questionsCurriculums.d.ts +27 -0
- package/dist/data/typescript/questionsCurriculums.js +19 -0
- package/dist/data/typescript/releaseNotes.d.ts +15 -0
- package/dist/data/typescript/releaseNotes.js +9 -0
- package/dist/data/typescript/screenshots.d.ts +12 -0
- package/dist/data/typescript/screenshots.js +49 -0
- package/dist/data/typescript/setTranslations.d.ts +27 -0
- package/dist/data/typescript/setTranslations.js +32 -0
- package/dist/data/typescript/sets.d.ts +49 -0
- package/dist/data/typescript/sets.js +88 -0
- package/dist/data/typescript/topicsCurriculums.d.ts +12 -0
- package/dist/data/typescript/topicsCurriculums.js +12 -0
- package/dist/data/youtube/videos.d.ts +2 -0
- package/dist/data/youtube/videos.js +7 -0
- package/dist/data/youtube/videos.json +262 -0
- package/dist/functions/activeCampaign.d.ts +8 -0
- package/dist/functions/activeCampaign.js +97 -0
- package/dist/functions/bibleChapterUtils.d.ts +15 -0
- package/dist/functions/bibleChapterUtils.js +231 -0
- package/dist/functions/crowdin.d.ts +24 -0
- package/dist/functions/crowdin.js +34 -0
- package/dist/functions/languages.d.ts +24 -0
- package/dist/functions/languages.js +212 -0
- package/dist/functions/scripturePassages.d.ts +47 -0
- package/dist/functions/scripturePassages.js +261 -0
- package/dist/functions/sets.d.ts +30 -0
- package/dist/functions/sets.js +371 -0
- package/dist/translations/appTranslations.d.ts +306 -0
- package/dist/translations/appTranslations.js +8 -0
- package/dist/translations/appTranslations.json +10239 -0
- package/dist/translations/introductionTranslations.d.ts +43 -0
- package/dist/translations/introductionTranslations.js +8 -0
- package/dist/translations/introductionTranslations.json +422 -0
- package/dist/translations/questionTranslations.d.ts +2 -0
- package/dist/translations/questionTranslations.js +8 -0
- package/dist/translations/questionTranslations.json +1472 -0
- package/dist/translations/setTranslations.d.ts +10 -0
- package/dist/translations/setTranslations.js +8 -0
- package/dist/translations/setTranslations.json +30257 -0
- package/dist/types/analytics.d.ts +119 -0
- package/dist/types/analytics.js +2 -0
- package/dist/types/completions.d.ts +8 -0
- package/dist/types/completions.js +2 -0
- package/dist/types/feedback.d.ts +60 -0
- package/dist/types/feedback.js +27 -0
- package/dist/types/languages.d.ts +31 -0
- package/dist/types/languages.js +2 -0
- package/dist/types/notifications.d.ts +128 -0
- package/dist/types/notifications.js +30 -0
- package/dist/types/sets.d.ts +70 -0
- package/dist/types/sets.js +10 -0
- package/dist/types/users.d.ts +765 -0
- package/dist/types/users.js +137 -0
- package/package.json +2 -2
- package/.DS_Store +0 -0
- package/__init__.py +0 -0
- package/copy.ts +0 -37
- package/data/README.md +0 -45
- package/data/__init__.py +0 -0
- package/data/aslTimestamps.json +0 -192788
- package/data/bibleAudios.json +0 -394
- package/data/bibleAudios.ts +0 -4
- package/data/bibleResources/audioBibleLicenses.json +0 -6235
- package/data/bibleResources/bibleBooks.json +0 -6071
- package/data/bibleResources/bibleBooks.ts +0 -4
- package/data/bibleResources/bibleChaptersList.json +0 -1191
- package/data/bibleResources/bibleChaptersList.ts +0 -4
- package/data/bibleResources/textBibleLicenses.json +0 -14603
- package/data/bibleStatuses.json +0 -9196
- package/data/bibleStatuses.ts +0 -4
- package/data/bibleTexts.json +0 -527
- package/data/bibleTexts.ts +0 -4
- package/data/clones.json +0 -13
- package/data/countryResources/areas.json +0 -74
- package/data/countryResources/areas.ts +0 -4
- package/data/countryResources/countries.json +0 -3362
- package/data/countryResources/countries.ts +0 -4
- package/data/foundationsCurriculums.json +0 -130
- package/data/foundationsCurriculums.ts +0 -4
- package/data/languageResources/countriesAndLanguages.json +0 -11718
- package/data/languageResources/countriesAndLanguages.ts +0 -16
- package/data/languageResources/crowdinLanguages.json +0 -2172
- package/data/languageResources/iosVoiceOverLanguages.json +0 -64
- package/data/languageResources/iso6933LanguageCodes.json +0 -7927
- package/data/languageResources/mmsLanguages.json +0 -28164
- package/data/languageResources/phoneLanguages.json +0 -1532
- package/data/languageResources/phoneLanguages.ts +0 -14
- package/data/languages.json +0 -7045
- package/data/languages.ts +0 -4
- package/data/mediaDurations.json +0 -32364
- package/data/mediaDurations.ts +0 -4
- package/data/notification.json +0 -69
- package/data/notification.ts +0 -4
- package/data/numeralMaps.json +0 -26
- package/data/numeralMaps.ts +0 -4
- package/data/orphanedBibleTexts.json +0 -2747
- package/data/questions.json +0 -317
- package/data/questions.ts +0 -4
- package/data/questionsCurriculums.json +0 -753
- package/data/questionsCurriculums.ts +0 -4
- package/data/releaseNotes.json +0 -2381
- package/data/releaseNotes.ts +0 -4
- package/data/schemas/appTranslations.schema.json +0 -802
- package/data/schemas/areas.schema.json +0 -76
- package/data/schemas/aslTimestamps.schema.json +0 -59
- package/data/schemas/bibleAudios.schema.json +0 -37
- package/data/schemas/bibleBooks.schema.json +0 -112
- package/data/schemas/bibleChapters.schema.json +0 -61
- package/data/schemas/bibleStatuses.schema.json +0 -41
- package/data/schemas/bibleTexts.schema.json +0 -60
- package/data/schemas/clones.schema.json +0 -63
- package/data/schemas/countries.schema.json +0 -84
- package/data/schemas/foundationsCurriculums.schema.json +0 -20
- package/data/schemas/introductionTranslations.schema.json +0 -101
- package/data/schemas/languages.schema.json +0 -365
- package/data/schemas/mediaDurations.schema.json +0 -41
- package/data/schemas/notification.schema.json +0 -111
- package/data/schemas/numeralMaps.schema.json +0 -57
- package/data/schemas/questionTranslations.schema.json +0 -20
- package/data/schemas/questions.schema.json +0 -29
- package/data/schemas/questionsCurriculums.schema.json +0 -34
- package/data/schemas/releaseNotes.schema.json +0 -21
- package/data/schemas/screenshots.schema.json +0 -23
- package/data/schemas/setTranslations.schema.json +0 -70
- package/data/schemas/sets.schema.json +0 -109
- package/data/schemas/topicsCurriculums.schema.json +0 -20
- package/data/screenshots.json +0 -17
- package/data/screenshots.ts +0 -4
- package/data/sets.json +0 -12258
- package/data/sets.ts +0 -4
- package/data/specialIds.json +0 -72
- package/data/specialIds.ts +0 -19
- package/data/timings/som.json +0 -9150
- package/data/topicsCurriculums.json +0 -131
- package/data/topicsCurriculums.ts +0 -4
- package/data/typescript/appTranslations.ts +0 -322
- package/data/typescript/areas.ts +0 -45
- package/data/typescript/aslTimestamps.ts +0 -36
- package/data/typescript/bibleAudioAvailableChapters.ts +0 -35
- package/data/typescript/bibleAudios.ts +0 -32
- package/data/typescript/bibleBookNames.ts +0 -97
- package/data/typescript/bibleBooks.ts +0 -63
- package/data/typescript/bibleChapters.ts +0 -40
- package/data/typescript/bibleStatuses.ts +0 -54
- package/data/typescript/bibleTextAvailableChapters.ts +0 -35
- package/data/typescript/bibleTexts.ts +0 -63
- package/data/typescript/clones.ts +0 -35
- package/data/typescript/countries.ts +0 -152
- package/data/typescript/foundationsCurriculums.ts +0 -15
- package/data/typescript/introductionTranslations.ts +0 -60
- package/data/typescript/languages.ts +0 -369
- package/data/typescript/mediaDurations.ts +0 -89
- package/data/typescript/notification.ts +0 -189
- package/data/typescript/numeralMaps.ts +0 -74
- package/data/typescript/questionTranslations.ts +0 -6
- package/data/typescript/questions.ts +0 -25
- package/data/typescript/questionsCurriculums.ts +0 -26
- package/data/typescript/releaseNotes.ts +0 -10
- package/data/typescript/screenshots.ts +0 -52
- package/data/typescript/setTranslations.ts +0 -39
- package/data/typescript/sets.ts +0 -105
- package/data/typescript/topicsCurriculums.ts +0 -15
- package/data/youtube/playlists.json +0 -28
- package/data/youtube/videos.json +0 -262
- package/data/youtube/videos.ts +0 -2
- package/functions/activeCampaign.ts +0 -127
- package/functions/bibleChapterUtils.ts +0 -241
- package/functions/crowdin.ts +0 -51
- package/functions/languages.ts +0 -284
- package/functions/scripturePassages.ts +0 -368
- package/functions/sets.ts +0 -495
- package/translations/appTranslations.json +0 -10239
- package/translations/appTranslations.ts +0 -4
- package/translations/introductionTranslations.json +0 -422
- package/translations/introductionTranslations.ts +0 -4
- package/translations/questionTranslations.json +0 -1472
- package/translations/questionTranslations.ts +0 -4
- package/translations/setTranslations.json +0 -30257
- package/translations/setTranslations.ts +0 -4
- package/translations/spokenQuestionTranslations.json +0 -1472
- package/types/analytics.ts +0 -147
- package/types/completions.ts +0 -9
- package/types/feedback.ts +0 -27
- package/types/languages.ts +0 -37
- package/types/notifications.ts +0 -37
- package/types/sets.ts +0 -84
- package/types/users.ts +0 -162
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.firebaseUrl = void 0;
|
|
7
|
+
exports.getSetInfo = getSetInfo;
|
|
8
|
+
exports.getLessonInfo = getLessonInfo;
|
|
9
|
+
exports.convertSToString = convertSToString;
|
|
10
|
+
exports.shouldShowLesson = shouldShowLesson;
|
|
11
|
+
exports.calculateSectionTimings = calculateSectionTimings;
|
|
12
|
+
const mediaDurations_1 = __importDefault(require("../data/mediaDurations"));
|
|
13
|
+
const questions_1 = __importDefault(require("../data/questions"));
|
|
14
|
+
const sets_1 = __importDefault(require("../data/sets"));
|
|
15
|
+
const specialIds_1 = __importDefault(require("../data/specialIds"));
|
|
16
|
+
const videos_1 = __importDefault(require("../data/youtube/videos"));
|
|
17
|
+
const scripturePassages_1 = require("../functions/scripturePassages");
|
|
18
|
+
const sets_2 = require("../types/sets");
|
|
19
|
+
exports.firebaseUrl = 'https://firebasestorage.googleapis.com/v0/b/waha-app-db.appspot.com/o/';
|
|
20
|
+
function getSetInfo({ setId, meetLanguageId, sets, t, }) {
|
|
21
|
+
const idComponents = setId.split('.');
|
|
22
|
+
const category = idComponents[0] === '01'
|
|
23
|
+
? 'Foundations'
|
|
24
|
+
: idComponents[0] === '02'
|
|
25
|
+
? 'Topics'
|
|
26
|
+
: 'WahaTraining';
|
|
27
|
+
const setNumber = (sets
|
|
28
|
+
.filter((set) => set.split('.')[0] === idComponents[0])
|
|
29
|
+
.findIndex((set) => set === setId) + 1).toString();
|
|
30
|
+
const thisSetTranslations = t.sets.find((set) => set.setId === setId);
|
|
31
|
+
const categoryName = idComponents[0] === '01'
|
|
32
|
+
? t.foundations
|
|
33
|
+
: idComponents[0] === '02'
|
|
34
|
+
? t.topics
|
|
35
|
+
: t.training;
|
|
36
|
+
const set = sets_1.default.find((set) => set.setId === setId);
|
|
37
|
+
if (!set)
|
|
38
|
+
return;
|
|
39
|
+
const toReturn = {
|
|
40
|
+
...set,
|
|
41
|
+
...thisSetTranslations,
|
|
42
|
+
setSubtitle: category === 'Topics'
|
|
43
|
+
? (thisSetTranslations?.setTag ?? '')
|
|
44
|
+
: `${categoryName} ${parseInt(setNumber)}`,
|
|
45
|
+
setLink: `https://web.waha.app/set?set-id=${setId}&meet-language=${meetLanguageId}`,
|
|
46
|
+
meetLanguageId,
|
|
47
|
+
setNumber,
|
|
48
|
+
category,
|
|
49
|
+
};
|
|
50
|
+
return toReturn;
|
|
51
|
+
}
|
|
52
|
+
function getLessonInfo({ lessonId, meetLanguageInfo, setInfo, t, }) {
|
|
53
|
+
if (!lessonId)
|
|
54
|
+
return;
|
|
55
|
+
else if (lessonId.split('.').length !== 3)
|
|
56
|
+
return;
|
|
57
|
+
const [category, setNumber, lessonNumber] = lessonId.split('.');
|
|
58
|
+
const meetLanguageId = meetLanguageInfo.languageId;
|
|
59
|
+
setInfo =
|
|
60
|
+
setInfo ??
|
|
61
|
+
getSetInfo({
|
|
62
|
+
setId: [category, setNumber].join('.'),
|
|
63
|
+
meetLanguageId,
|
|
64
|
+
sets: meetLanguageInfo.sets,
|
|
65
|
+
t,
|
|
66
|
+
});
|
|
67
|
+
if (!setInfo) {
|
|
68
|
+
console.log('Missing set info for lesson:', lessonId);
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
const lesson = setInfo.lessons.find((lesson) => lesson.lessonId === lessonId);
|
|
72
|
+
if (!lesson)
|
|
73
|
+
return;
|
|
74
|
+
const thisSetTranslations = t.sets.find((set) => set.setId === setInfo?.setId);
|
|
75
|
+
const lessonTitle = thisSetTranslations?.lessonTitles?.[lessonId];
|
|
76
|
+
const fellowshipQuestions = meetLanguageInfo.questionSets.find((questionSet) => questionSet.questionSetId === lesson.f)?.questions ?? [];
|
|
77
|
+
const fellowshipQuestionsText = fellowshipQuestions.map((questionId) => t.questions[questionId]);
|
|
78
|
+
const applicationQuestions = meetLanguageInfo.questionSets.find((questionSet) => questionSet.questionSetId === lesson.a)?.questions ?? [];
|
|
79
|
+
const applicationQuestionsText = applicationQuestions.map((questionId) => t.questions[questionId]);
|
|
80
|
+
const sections = [
|
|
81
|
+
{
|
|
82
|
+
id: 'title',
|
|
83
|
+
isChapter: false,
|
|
84
|
+
header: lessonTitle ?? '',
|
|
85
|
+
index: 0,
|
|
86
|
+
chapter: null,
|
|
87
|
+
indexWithinChapter: 0,
|
|
88
|
+
text: lessonTitle ?? '',
|
|
89
|
+
hasBeep: false,
|
|
90
|
+
},
|
|
91
|
+
];
|
|
92
|
+
fellowshipQuestions.forEach((questionId, index) => {
|
|
93
|
+
const hasBeep = questions_1.default.find((question) => question.questionId === questionId)
|
|
94
|
+
?.hasBeep ?? false;
|
|
95
|
+
sections.push({
|
|
96
|
+
id: questionId,
|
|
97
|
+
isChapter: index === 0,
|
|
98
|
+
index: sections.length,
|
|
99
|
+
header: index === 0 ? t.fellowship : null,
|
|
100
|
+
chapter: sets_2.Chapter.FELLOWSHIP,
|
|
101
|
+
indexWithinChapter: index,
|
|
102
|
+
text: fellowshipQuestionsText[index],
|
|
103
|
+
hasBeep,
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
if (specialIds_1.default.evaluationQuestionLessonIds.includes(lesson.lessonId)) {
|
|
107
|
+
sections.push({
|
|
108
|
+
id: 'eq',
|
|
109
|
+
isChapter: false,
|
|
110
|
+
index: sections.length,
|
|
111
|
+
chapter: sets_2.Chapter.INTRODUCTION,
|
|
112
|
+
indexWithinChapter: 0,
|
|
113
|
+
header: null,
|
|
114
|
+
text: t.introductions.introductions.eq,
|
|
115
|
+
hasBeep: false,
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
else if (specialIds_1.default.growingAsDmcSetIds.includes(setInfo.setId)) {
|
|
119
|
+
sections.push({
|
|
120
|
+
id: 'introduction',
|
|
121
|
+
isChapter: false,
|
|
122
|
+
index: sections.length,
|
|
123
|
+
chapter: sets_2.Chapter.INTRODUCTION,
|
|
124
|
+
indexWithinChapter: 0,
|
|
125
|
+
header: t.introductions.introduction,
|
|
126
|
+
text: t.introductions.introductions[lessonId],
|
|
127
|
+
hasBeep: false,
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
lesson.s?.forEach((passageId, index) => {
|
|
131
|
+
sections.push({
|
|
132
|
+
id: passageId,
|
|
133
|
+
isChapter: index === 0,
|
|
134
|
+
hasBeep: false,
|
|
135
|
+
index: sections.length,
|
|
136
|
+
chapter: sets_2.Chapter.STORY,
|
|
137
|
+
indexWithinChapter: index,
|
|
138
|
+
text: '',
|
|
139
|
+
header: (0, scripturePassages_1.getPassagesString)([passageId], meetLanguageInfo),
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
applicationQuestions.forEach((questionId, index) => {
|
|
143
|
+
const hasBeep = questions_1.default.find((question) => question.questionId === questionId)
|
|
144
|
+
?.hasBeep ?? false;
|
|
145
|
+
sections.push({
|
|
146
|
+
id: questionId,
|
|
147
|
+
isChapter: index === 0,
|
|
148
|
+
hasBeep,
|
|
149
|
+
index: sections.length,
|
|
150
|
+
chapter: sets_2.Chapter.APPLICATION,
|
|
151
|
+
indexWithinChapter: index,
|
|
152
|
+
header: index === 0 ? t.application : null,
|
|
153
|
+
text: questionId.includes('video')
|
|
154
|
+
? t.training_video
|
|
155
|
+
: applicationQuestionsText[index],
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
const baseInfo = {
|
|
159
|
+
lessonIntroduction: t.introductions.introduction,
|
|
160
|
+
lessonLink: `https://web.waha.app/lesson?lesson-id=${lessonId}&meet-language=${meetLanguageId}`,
|
|
161
|
+
lessonNumber,
|
|
162
|
+
lessonTitle,
|
|
163
|
+
sections,
|
|
164
|
+
...setInfo,
|
|
165
|
+
...lesson,
|
|
166
|
+
};
|
|
167
|
+
if (specialIds_1.default.evaluationQuestionLessonIds.includes(lesson.lessonId)) {
|
|
168
|
+
const languageId = meetLanguageInfo.introBridge ?? meetLanguageId;
|
|
169
|
+
const id = `${languageId}.eq`;
|
|
170
|
+
const fileName = `${id}.mp3`;
|
|
171
|
+
const path = `${languageId}/introductions/${fileName}`;
|
|
172
|
+
return {
|
|
173
|
+
type: 'eq',
|
|
174
|
+
...baseInfo,
|
|
175
|
+
eq: {
|
|
176
|
+
id,
|
|
177
|
+
languageId,
|
|
178
|
+
localFileName: fileName,
|
|
179
|
+
remoteFileName: fileName,
|
|
180
|
+
path,
|
|
181
|
+
url: exports.firebaseUrl + encodeURIComponent(path) + `?alt=media`,
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
else if (setInfo.setId === specialIds_1.default.dmCourseSetId ||
|
|
186
|
+
meetLanguageId === 'ase') {
|
|
187
|
+
let video;
|
|
188
|
+
if (meetLanguageInfo.languageId === 'ase') {
|
|
189
|
+
const path = `ase/full_lessons/${setInfo.setId}/ase.${lessonId}.1080.mp4`;
|
|
190
|
+
video = {
|
|
191
|
+
id: `ase.${lessonId}`,
|
|
192
|
+
languageId: 'ase',
|
|
193
|
+
path,
|
|
194
|
+
localFileName: `ase.${lessonId}.mp4`,
|
|
195
|
+
remoteFileName: `ase.${lessonId}.1080.mp4`,
|
|
196
|
+
url: exports.firebaseUrl + encodeURIComponent(path) + `?alt=media`,
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
const id = `${meetLanguageId}.${meetLanguageInfo.trainingVideoLanguage}.${lessonId}`;
|
|
201
|
+
const remoteFileName = `${id}.1080.mp4`;
|
|
202
|
+
const localFileName = `${id}.mp4`;
|
|
203
|
+
const path = `${meetLanguageId}/full_lessons/${setInfo?.setId}/${remoteFileName}`;
|
|
204
|
+
video = {
|
|
205
|
+
id,
|
|
206
|
+
languageId: meetLanguageInfo.trainingVideoLanguage,
|
|
207
|
+
path,
|
|
208
|
+
localFileName,
|
|
209
|
+
remoteFileName,
|
|
210
|
+
url: exports.firebaseUrl + encodeURIComponent(path) + `?alt=media`,
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
let youtubeLink;
|
|
214
|
+
if (video.remoteFileName && video.remoteFileName in videos_1.default)
|
|
215
|
+
youtubeLink =
|
|
216
|
+
'https://www.youtube.com/watch?v=' +
|
|
217
|
+
videos_1.default[video.remoteFileName];
|
|
218
|
+
return {
|
|
219
|
+
type: 'video',
|
|
220
|
+
...baseInfo,
|
|
221
|
+
lessonSectionHeader: thisSetTranslations?.sectionHeaders?.[lessonId],
|
|
222
|
+
lessonSectionBody: thisSetTranslations?.sectionBodies?.[lessonId],
|
|
223
|
+
video,
|
|
224
|
+
youtubeLink,
|
|
225
|
+
passagesString: (0, scripturePassages_1.getPassagesString)(lesson.s, meetLanguageInfo),
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
return {
|
|
230
|
+
type: 'dbs',
|
|
231
|
+
...baseInfo,
|
|
232
|
+
full: {
|
|
233
|
+
id: `${meetLanguageId}.${lessonId}`,
|
|
234
|
+
localFileName: `${meetLanguageId}.${lessonId}.mp3`,
|
|
235
|
+
remoteFileName: `${meetLanguageId}.${lessonId}.mp3`,
|
|
236
|
+
languageId: meetLanguageId,
|
|
237
|
+
path: `${meetLanguageId}/full_lessons/${setInfo.setId}/${meetLanguageId}.${lessonId}.mp3`,
|
|
238
|
+
url: exports.firebaseUrl +
|
|
239
|
+
encodeURIComponent(`${meetLanguageId}/full_lessons/${setInfo.setId}/${meetLanguageId}.${lessonId}.mp3`) +
|
|
240
|
+
`?alt=media`,
|
|
241
|
+
},
|
|
242
|
+
dbsCast: {
|
|
243
|
+
remoteFileName: `${meetLanguageId}.${lessonId}.1080.mp4`,
|
|
244
|
+
url: exports.firebaseUrl +
|
|
245
|
+
encodeURIComponent(`${meetLanguageId}/full_lessons/${setInfo.setId}/${meetLanguageId}.${lessonId}.1080.mp4`) +
|
|
246
|
+
`?alt=media`,
|
|
247
|
+
},
|
|
248
|
+
passagesString: (0, scripturePassages_1.getPassagesString)(lesson.s, meetLanguageInfo),
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
function convertSToString(time) {
|
|
253
|
+
let secondsNumber;
|
|
254
|
+
let minutesNumber;
|
|
255
|
+
let hoursNumber;
|
|
256
|
+
let secondsString;
|
|
257
|
+
let minutesString;
|
|
258
|
+
let hoursString;
|
|
259
|
+
if (time > 0) {
|
|
260
|
+
// If the time is greater than an hour, we need to show the hour of the time as well.
|
|
261
|
+
if (time >= 3600) {
|
|
262
|
+
secondsNumber = Math.floor(time % 60);
|
|
263
|
+
minutesNumber = Math.floor((time / 60) % 60);
|
|
264
|
+
hoursNumber = Math.floor((time / (60 * 60)) % 60);
|
|
265
|
+
secondsString = secondsNumber.toString();
|
|
266
|
+
minutesString =
|
|
267
|
+
minutesNumber < 10
|
|
268
|
+
? '0' + minutesNumber.toString()
|
|
269
|
+
: minutesNumber.toString();
|
|
270
|
+
hoursString =
|
|
271
|
+
hoursNumber < 10 ? '0' + hoursNumber.toString() : hoursNumber.toString();
|
|
272
|
+
return `${hoursString}:${minutesString}:${secondsString}`;
|
|
273
|
+
}
|
|
274
|
+
else {
|
|
275
|
+
secondsNumber = Math.floor(time % 60);
|
|
276
|
+
minutesNumber = Math.floor((time / 60) % 60);
|
|
277
|
+
minutesString =
|
|
278
|
+
minutesNumber < 10
|
|
279
|
+
? '0' + minutesNumber.toString()
|
|
280
|
+
: minutesNumber.toString();
|
|
281
|
+
secondsString =
|
|
282
|
+
secondsNumber < 10
|
|
283
|
+
? '0' + secondsNumber.toString()
|
|
284
|
+
: secondsNumber.toString();
|
|
285
|
+
return `${minutesString}:${secondsString}`;
|
|
286
|
+
}
|
|
287
|
+
} // If the time is greater than the max allowed, just show the max.
|
|
288
|
+
else {
|
|
289
|
+
return '00:00';
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
/** Determines whether a lesson should be visible in Waha. */
|
|
293
|
+
function shouldShowLesson(lessonInfo, languageInfo) {
|
|
294
|
+
if (lessonInfo?.lessonTitle === undefined || lessonInfo.lessonTitle === '') {
|
|
295
|
+
console.log('Missing lesson info or lessonTitle lesson:', lessonInfo?.lessonId);
|
|
296
|
+
return false;
|
|
297
|
+
}
|
|
298
|
+
else if (specialIds_1.default.growingAsDmcSetIds.includes(lessonInfo.setId) &&
|
|
299
|
+
(lessonInfo.lessonIntroduction === undefined ||
|
|
300
|
+
lessonInfo.lessonIntroduction === '')) {
|
|
301
|
+
console.log('Missing intro for lesson:', lessonInfo.lessonId);
|
|
302
|
+
return false;
|
|
303
|
+
}
|
|
304
|
+
else if (lessonInfo.type === 'eq' &&
|
|
305
|
+
!mediaDurations_1.default[languageInfo.introBridge ?? languageInfo.languageId]
|
|
306
|
+
.lessons[lessonInfo.eq.remoteFileName]) {
|
|
307
|
+
console.log('Missing remote eq file for lesson:', lessonInfo.lessonId);
|
|
308
|
+
return false;
|
|
309
|
+
}
|
|
310
|
+
else if (lessonInfo.type === 'dbs' &&
|
|
311
|
+
!mediaDurations_1.default[lessonInfo.meetLanguageId].lessons[lessonInfo.full.remoteFileName]) {
|
|
312
|
+
console.log('Missing remote dbs file for lesson:', lessonInfo.lessonId);
|
|
313
|
+
return false;
|
|
314
|
+
}
|
|
315
|
+
else if (lessonInfo.type === 'video' &&
|
|
316
|
+
lessonInfo.video &&
|
|
317
|
+
!mediaDurations_1.default[lessonInfo.meetLanguageId].lessons[lessonInfo.video.remoteFileName]) {
|
|
318
|
+
console.log('Missing remote video for lesson:', lessonInfo.video.remoteFileName);
|
|
319
|
+
return false;
|
|
320
|
+
}
|
|
321
|
+
else
|
|
322
|
+
return true;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Calculate start times for each section based on question durations and total
|
|
326
|
+
* audio duration. Must be called after audio is loaded to get accurate total
|
|
327
|
+
* duration.
|
|
328
|
+
*
|
|
329
|
+
* @param sections - The lesson sections to calculate timings for
|
|
330
|
+
* @param totalDuration - Total duration of the lesson audio in seconds
|
|
331
|
+
* @param languageId - The language ID to look up question durations
|
|
332
|
+
* @returns Map of section ID to start time in seconds
|
|
333
|
+
*/
|
|
334
|
+
function calculateSectionTimings(sections, totalDuration, languageId) {
|
|
335
|
+
const languageDurations = mediaDurations_1.default[languageId];
|
|
336
|
+
const getQuestionDuration = (questionId) => {
|
|
337
|
+
const fileName = `${languageId}.${questionId}.mp3`;
|
|
338
|
+
return languageDurations.questions[fileName] ?? 0;
|
|
339
|
+
};
|
|
340
|
+
const timings = new Map();
|
|
341
|
+
// Title section always starts at 0
|
|
342
|
+
timings.set('title', 0);
|
|
343
|
+
// Calculate fellowship question timings from the start
|
|
344
|
+
let currentTime = 0;
|
|
345
|
+
const fellowshipSections = sections.filter((s) => s.chapter === sets_2.Chapter.FELLOWSHIP);
|
|
346
|
+
fellowshipSections.forEach((section) => {
|
|
347
|
+
timings.set(section.id, currentTime);
|
|
348
|
+
currentTime += getQuestionDuration(section.id);
|
|
349
|
+
});
|
|
350
|
+
// Story/Scripture section starts after fellowship
|
|
351
|
+
const storySections = sections.filter((s) => s.chapter === sets_2.Chapter.STORY || s.chapter === sets_2.Chapter.INTRODUCTION);
|
|
352
|
+
const storyStartTime = currentTime;
|
|
353
|
+
storySections.forEach((section) => {
|
|
354
|
+
timings.set(section.id, storyStartTime);
|
|
355
|
+
});
|
|
356
|
+
// Calculate application question timings by working backwards from total duration
|
|
357
|
+
const applicationSections = sections.filter((s) => s.chapter === sets_2.Chapter.APPLICATION);
|
|
358
|
+
// Calculate total duration of all application questions
|
|
359
|
+
const totalApplicationDuration = applicationSections.reduce((sum, section) => {
|
|
360
|
+
return sum + getQuestionDuration(section.id);
|
|
361
|
+
}, 0);
|
|
362
|
+
// Application section starts after story ends
|
|
363
|
+
// Story duration = totalDuration - fellowship duration - application duration
|
|
364
|
+
const applicationStartTime = totalDuration - totalApplicationDuration;
|
|
365
|
+
let applicationTime = applicationStartTime;
|
|
366
|
+
applicationSections.forEach((section) => {
|
|
367
|
+
timings.set(section.id, applicationTime);
|
|
368
|
+
applicationTime += getQuestionDuration(section.id);
|
|
369
|
+
});
|
|
370
|
+
return timings;
|
|
371
|
+
}
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
declare const _default: Record<string, {
|
|
2
|
+
message: string;
|
|
3
|
+
text: string;
|
|
4
|
+
audio: string;
|
|
5
|
+
name: string;
|
|
6
|
+
bible: string;
|
|
7
|
+
foundations: string;
|
|
8
|
+
topics: string;
|
|
9
|
+
all: string;
|
|
10
|
+
version: string;
|
|
11
|
+
a11y_add_secondary_language_hint: string;
|
|
12
|
+
a11y_article_hint: string;
|
|
13
|
+
a11y_banner_dismiss_hint: string;
|
|
14
|
+
a11y_bible_audio_controls_label: string;
|
|
15
|
+
a11y_bible_translation_hint: string;
|
|
16
|
+
a11y_bookmark_hint: string;
|
|
17
|
+
a11y_bookmark_label: string;
|
|
18
|
+
a11y_change_languages_hint: string;
|
|
19
|
+
a11y_chapter_button_hint: string;
|
|
20
|
+
a11y_choose_primary_language_hint: string;
|
|
21
|
+
a11y_clear_passcode_hint: string;
|
|
22
|
+
a11y_download_set_label: string;
|
|
23
|
+
a11y_extra_controls_hint: string;
|
|
24
|
+
a11y_extra_controls_label: string;
|
|
25
|
+
a11y_font_size_decrement_label: string;
|
|
26
|
+
a11y_font_size_increment_label: string;
|
|
27
|
+
a11y_font_size_label: string;
|
|
28
|
+
a11y_give_button_hint: string;
|
|
29
|
+
a11y_group_help_hint: string;
|
|
30
|
+
a11y_lesson_actions_hint: string;
|
|
31
|
+
a11y_lesson_actions_label: string;
|
|
32
|
+
a11y_lesson_hint: string;
|
|
33
|
+
a11y_lesson_label: string;
|
|
34
|
+
a11y_lesson_question_label: string;
|
|
35
|
+
a11y_lesson_text_hint: string;
|
|
36
|
+
a11y_mute_label: string;
|
|
37
|
+
a11y_play_button_label: string;
|
|
38
|
+
a11y_playback_speed_decrement_label: string;
|
|
39
|
+
a11y_playback_speed_increment_label: string;
|
|
40
|
+
a11y_playback_speed_label: string;
|
|
41
|
+
a11y_radio_hint: string;
|
|
42
|
+
a11y_remove_language_label: string;
|
|
43
|
+
a11y_scrubber_decrement_label: string;
|
|
44
|
+
a11y_scrubber_increment_label: string;
|
|
45
|
+
a11y_scrubber_label: string;
|
|
46
|
+
a11y_search_hint: string;
|
|
47
|
+
a11y_security_mode_label: string;
|
|
48
|
+
a11y_set_hint: string;
|
|
49
|
+
a11y_share_lesson_label: string;
|
|
50
|
+
a11y_tab_hint: string;
|
|
51
|
+
a11y_video_label: string;
|
|
52
|
+
a11y_view_bible_hint: string;
|
|
53
|
+
a11y_view_in_progress_language_hint: string;
|
|
54
|
+
a11y_view_launched_language_hint: string;
|
|
55
|
+
about: string;
|
|
56
|
+
add_language: string;
|
|
57
|
+
all_languages: string;
|
|
58
|
+
app_store_listing_title: string;
|
|
59
|
+
app_store_listing_description: string;
|
|
60
|
+
app_store_listing_screenshot_foundations: string;
|
|
61
|
+
app_store_listing_screenshot_languages: string;
|
|
62
|
+
app_store_listing_screenshot_learn: string;
|
|
63
|
+
app_store_listing_screenshot_lesson: string;
|
|
64
|
+
app_store_listing_screenshot_reviews_1: string;
|
|
65
|
+
app_store_listing_screenshot_reviews_2: string;
|
|
66
|
+
app_store_listing_screenshot_set: string;
|
|
67
|
+
app_store_listing_screenshot_share: string;
|
|
68
|
+
app_store_listing_screenshot_testimonial: string;
|
|
69
|
+
app_store_listing_screenshot_topics: string;
|
|
70
|
+
app_store_listing_subtitle: string;
|
|
71
|
+
appearance: string;
|
|
72
|
+
application: string;
|
|
73
|
+
article_categories_65004e85fba2e8c9d281a73e: string;
|
|
74
|
+
article_categories_65004e8eaf7c1d3f8289315a: string;
|
|
75
|
+
article_categories_65004f8eead7951cf3c33243: string;
|
|
76
|
+
article_categories_65005061a72598db83565c66: string;
|
|
77
|
+
article_categories_65400527806b42d2e6ae4fd0: string;
|
|
78
|
+
article_categories_65ca47557375e35a56523645: string;
|
|
79
|
+
article_cta_body: string;
|
|
80
|
+
article_cta_header: string;
|
|
81
|
+
articles: string;
|
|
82
|
+
back: string;
|
|
83
|
+
bookmarks: string;
|
|
84
|
+
bookmarks_description: string;
|
|
85
|
+
bridge_language_explanation: string;
|
|
86
|
+
calculator: string;
|
|
87
|
+
calculator_description: string;
|
|
88
|
+
cancel: string;
|
|
89
|
+
cant_share_until_download: string;
|
|
90
|
+
cast_to_tv: string;
|
|
91
|
+
casting: string;
|
|
92
|
+
change_chapter: string;
|
|
93
|
+
change_languages: string;
|
|
94
|
+
change_passcode: string;
|
|
95
|
+
change_security_app: string;
|
|
96
|
+
change_security_app_description: string;
|
|
97
|
+
change_timeout: string;
|
|
98
|
+
change_video_language: string;
|
|
99
|
+
changing_layout_direction: string;
|
|
100
|
+
chapter_fetching: string;
|
|
101
|
+
chapter_not_available: string;
|
|
102
|
+
chapter_offline: string;
|
|
103
|
+
choose_passcode: string;
|
|
104
|
+
clear: string;
|
|
105
|
+
close: string;
|
|
106
|
+
confirm: string;
|
|
107
|
+
confirm_passcode: string;
|
|
108
|
+
connect_to_continue: string;
|
|
109
|
+
contact_us: string;
|
|
110
|
+
continue: string;
|
|
111
|
+
contribute: string;
|
|
112
|
+
copied_to_clipboard: string;
|
|
113
|
+
dark: string;
|
|
114
|
+
dark_mode: string;
|
|
115
|
+
default: string;
|
|
116
|
+
disciple_making_course: string;
|
|
117
|
+
dm_course_locked_blurb: string;
|
|
118
|
+
done: string;
|
|
119
|
+
download: string;
|
|
120
|
+
download_app: string;
|
|
121
|
+
download_paused: string;
|
|
122
|
+
downloading: string;
|
|
123
|
+
downloading_to_share: string;
|
|
124
|
+
edit: string;
|
|
125
|
+
email: string;
|
|
126
|
+
enter_passcode: string;
|
|
127
|
+
favorites: string;
|
|
128
|
+
fellowship: string;
|
|
129
|
+
filter_articles: string;
|
|
130
|
+
font_size: string;
|
|
131
|
+
get_started_foundations: string;
|
|
132
|
+
get_started_training: string;
|
|
133
|
+
give: string;
|
|
134
|
+
give_blurb: string;
|
|
135
|
+
give_to_language: string;
|
|
136
|
+
got_it: string;
|
|
137
|
+
help_tips: string;
|
|
138
|
+
heres_whats_new: string;
|
|
139
|
+
home: string;
|
|
140
|
+
in_development: string;
|
|
141
|
+
instant: string;
|
|
142
|
+
internet_required_download: string;
|
|
143
|
+
internet_required_download_share: string;
|
|
144
|
+
introduction: string;
|
|
145
|
+
language_types_app_interface: string;
|
|
146
|
+
language_types_meet: string;
|
|
147
|
+
language_types_meet_primary: string;
|
|
148
|
+
language_types_meet_secondary: string;
|
|
149
|
+
language_types_video_bridge: string;
|
|
150
|
+
learn: string;
|
|
151
|
+
learn_more: string;
|
|
152
|
+
light: string;
|
|
153
|
+
listen_to_story_again: string;
|
|
154
|
+
loading_file_size: string;
|
|
155
|
+
mark_complete: string;
|
|
156
|
+
meet: string;
|
|
157
|
+
meeting_history: string;
|
|
158
|
+
megabyte: string;
|
|
159
|
+
more: string;
|
|
160
|
+
my_primary_language: string;
|
|
161
|
+
no_connection: string;
|
|
162
|
+
no_files_to_delete: string;
|
|
163
|
+
no_languages_found: string;
|
|
164
|
+
not_now: string;
|
|
165
|
+
note_add: string;
|
|
166
|
+
note_delete: string;
|
|
167
|
+
note_edit: string;
|
|
168
|
+
note_placeholder: string;
|
|
169
|
+
note_saved: string;
|
|
170
|
+
notes_view: string;
|
|
171
|
+
notifications_enable: string;
|
|
172
|
+
ok: string;
|
|
173
|
+
passcode_set: string;
|
|
174
|
+
piano: string;
|
|
175
|
+
piano_description: string;
|
|
176
|
+
playback_speed: string;
|
|
177
|
+
popups_app_interface_help: string;
|
|
178
|
+
popups_casting_stop_confirm: string;
|
|
179
|
+
popups_code_request_success_message: string;
|
|
180
|
+
popups_codes_no_match_title: string;
|
|
181
|
+
popups_codes_no_match_message: string;
|
|
182
|
+
popups_foundations_description_believer: string;
|
|
183
|
+
popups_foundations_description_seeker: string;
|
|
184
|
+
popups_group_help_title: string;
|
|
185
|
+
popups_group_help_message: string;
|
|
186
|
+
popups_meet_help: string;
|
|
187
|
+
popups_notification_opt_in_title: string;
|
|
188
|
+
popups_notification_opt_in_message: string;
|
|
189
|
+
popups_play_help_title: string;
|
|
190
|
+
popups_play_help_message: string;
|
|
191
|
+
popups_remove_meeting_title: string;
|
|
192
|
+
popups_remove_meeting_message: string;
|
|
193
|
+
popups_submit_feedback_error_title: string;
|
|
194
|
+
popups_submit_feedback_error_message: string;
|
|
195
|
+
popups_submit_feedback_success_title: string;
|
|
196
|
+
popups_submit_feedback_success_message: string;
|
|
197
|
+
popups_topics_description: string;
|
|
198
|
+
popups_training_description_believer: string;
|
|
199
|
+
popups_unlock_successful_title: string;
|
|
200
|
+
popups_unlock_successful_message: string;
|
|
201
|
+
popups_unlocked_learn_help_title: string;
|
|
202
|
+
popups_unlocked_learn_help_message: string;
|
|
203
|
+
popups_watch_on_youtube_blurb: string;
|
|
204
|
+
privacy_policy: string;
|
|
205
|
+
question: string;
|
|
206
|
+
question_dm_course: string;
|
|
207
|
+
question_god_journey_option_1: string;
|
|
208
|
+
question_god_journey_option_2: string;
|
|
209
|
+
question_god_journey_option_3: string;
|
|
210
|
+
question_god_journey_option_4: string;
|
|
211
|
+
question_god_journey_question: string;
|
|
212
|
+
question_hear_waha: string;
|
|
213
|
+
question_how_familiar_bible_option_1_body: string;
|
|
214
|
+
question_how_familiar_bible_option_1_title: string;
|
|
215
|
+
question_how_familiar_bible_option_2_body: string;
|
|
216
|
+
question_how_familiar_bible_option_2_title: string;
|
|
217
|
+
question_how_familiar_bible_option_3_body: string;
|
|
218
|
+
question_how_familiar_bible_option_3_title: string;
|
|
219
|
+
question_how_familiar_bible_question: string;
|
|
220
|
+
question_how_long_bible_option_1: string;
|
|
221
|
+
question_how_long_bible_option_2: string;
|
|
222
|
+
question_how_long_bible_question: string;
|
|
223
|
+
rate_waha: string;
|
|
224
|
+
recommended: string;
|
|
225
|
+
recommended_for_you: string;
|
|
226
|
+
remove: string;
|
|
227
|
+
remove_download: string;
|
|
228
|
+
report_a_problem: string;
|
|
229
|
+
report_problem_help: string;
|
|
230
|
+
request_passcode: string;
|
|
231
|
+
required: string;
|
|
232
|
+
return_home: string;
|
|
233
|
+
save_and_close: string;
|
|
234
|
+
search: string;
|
|
235
|
+
search_meet: string;
|
|
236
|
+
secondary_languages: string;
|
|
237
|
+
security: string;
|
|
238
|
+
security_mode: string;
|
|
239
|
+
security_mode_blurb: string;
|
|
240
|
+
security_onboarding_page_1_message: string;
|
|
241
|
+
security_onboarding_page_1_title: string;
|
|
242
|
+
security_onboarding_page_2_message: string;
|
|
243
|
+
security_onboarding_page_2_title: string;
|
|
244
|
+
security_onboarding_page_3_message: string;
|
|
245
|
+
security_onboarding_page_3_title: string;
|
|
246
|
+
security_onboarding_page_4_message: string;
|
|
247
|
+
security_onboarding_page_4_title: string;
|
|
248
|
+
see_help: string;
|
|
249
|
+
select_bible: string;
|
|
250
|
+
select_book: string;
|
|
251
|
+
select_initial_languages_blurb: string;
|
|
252
|
+
send_invite: string;
|
|
253
|
+
settings: string;
|
|
254
|
+
share: string;
|
|
255
|
+
share_app: string;
|
|
256
|
+
share_lesson_audio: string;
|
|
257
|
+
share_lesson_link: string;
|
|
258
|
+
share_lesson_text: string;
|
|
259
|
+
share_lesson_video: string;
|
|
260
|
+
share_passcode: string;
|
|
261
|
+
share_story: string;
|
|
262
|
+
share_story_text: string;
|
|
263
|
+
share_with_group: string;
|
|
264
|
+
sharing_messages_invite: string;
|
|
265
|
+
sharing_messages_unlock_code: string;
|
|
266
|
+
show_less: string;
|
|
267
|
+
show_more: string;
|
|
268
|
+
show_original: string;
|
|
269
|
+
show_translation: string;
|
|
270
|
+
skip: string;
|
|
271
|
+
special_thanks: string;
|
|
272
|
+
stop_casting: string;
|
|
273
|
+
storage: string;
|
|
274
|
+
story: string;
|
|
275
|
+
submit: string;
|
|
276
|
+
submitting: string;
|
|
277
|
+
support_development: string;
|
|
278
|
+
system: string;
|
|
279
|
+
trailer: string;
|
|
280
|
+
training: string;
|
|
281
|
+
training_video: string;
|
|
282
|
+
translated_with_ai: string;
|
|
283
|
+
unlock_onboarding_page_1_message: string;
|
|
284
|
+
unlock_onboarding_page_1_title: string;
|
|
285
|
+
unlock_onboarding_page_2_message: string;
|
|
286
|
+
unlock_onboarding_page_2_title: string;
|
|
287
|
+
unmatched_message: string;
|
|
288
|
+
up_next: string;
|
|
289
|
+
view: string;
|
|
290
|
+
view_all: string;
|
|
291
|
+
view_copyright: string;
|
|
292
|
+
view_lesson_notes: string;
|
|
293
|
+
visit_website: string;
|
|
294
|
+
volunteer: string;
|
|
295
|
+
waiting_to_start_download: string;
|
|
296
|
+
watch_on_youtube: string;
|
|
297
|
+
week: string;
|
|
298
|
+
welcome_blurb: string;
|
|
299
|
+
yes: string;
|
|
300
|
+
retry: string;
|
|
301
|
+
fetch_bible_no_internet: string;
|
|
302
|
+
fetch_bible_error: string;
|
|
303
|
+
language_names: Record<string, string>;
|
|
304
|
+
percent_available?: string | undefined;
|
|
305
|
+
}>;
|
|
306
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const appTranslations_1 = require("../data/typescript/appTranslations");
|
|
7
|
+
const appTranslations_json_1 = __importDefault(require("./appTranslations.json"));
|
|
8
|
+
exports.default = appTranslations_1.appTranslations.parse(appTranslations_json_1.default);
|