From 9fa47bd962318260d1405cf3a1cf97aa5c66e7d2 Mon Sep 17 00:00:00 2001 From: rhahao <26148770+rhahao@users.noreply.github.com> Date: Mon, 14 Aug 2023 22:54:04 +0300 Subject: [PATCH 1/4] feat(module): support german and ukrainian languages --- example/index.js | 34 +++ example/sample.js | 366 ++++++++++++++++++++++++++++++++ package.json | 16 +- src/browser/languageRules.js | 4 + src/locales/de-DE/text.json | 10 +- src/locales/en/text.json | 2 +- src/locales/languages.js | 2 + src/locales/mg-MG/text.json | 2 +- src/locales/mg-TNK/text.json | 2 +- src/locales/mg-TTM/text.json | 2 +- src/locales/pt-BR/text.json | 2 +- src/locales/uk-UA/text.json | 32 +-- src/node/languageRules.js | 4 + src/rules/parsingRules.js | 23 +- test/02_enhancedParsing.test.js | 91 +------- test/03_downloadParsing.test.js | 231 -------------------- test/enhancedParsing/list.json | 15 +- test/fixtures/mwb_D_202303.js | 142 ------------- test/fixtures/mwb_D_202309.js | 176 +++++++++++++++ test/fixtures/mwb_E_202303.js | 215 ------------------- test/fixtures/mwb_E_202309.js | 287 +++++++++++++++++++++++++ test/fixtures/mwb_F_202303.js | 231 -------------------- test/fixtures/mwb_F_202309.js | 291 +++++++++++++++++++++++++ test/fixtures/mwb_K_202309.js | 289 +++++++++++++++++++++++++ test/fixtures/mwb_MG_202303.js | 232 -------------------- test/fixtures/mwb_MG_202309.js | 296 ++++++++++++++++++++++++++ test/fixtures/mwb_S_202303.js | 144 ------------- test/fixtures/mwb_S_202309.js | 181 ++++++++++++++++ test/fixtures/mwb_TND_202303.js | 231 -------------------- test/fixtures/mwb_TND_202309.js | 291 +++++++++++++++++++++++++ test/fixtures/mwb_TNK_202303.js | 231 -------------------- test/fixtures/mwb_TNK_202309.js | 288 +++++++++++++++++++++++++ test/fixtures/mwb_T_202303.js | 230 -------------------- test/fixtures/mwb_VZ_202303.js | 215 ------------------- test/fixtures/mwb_VZ_202309.js | 294 +++++++++++++++++++++++++ test/fixtures/mwb_X_202309.js | 288 +++++++++++++++++++++++++ test/standardParsing/list.json | 4 +- 37 files changed, 3151 insertions(+), 2243 deletions(-) create mode 100644 example/index.js create mode 100644 example/sample.js delete mode 100644 test/03_downloadParsing.test.js delete mode 100644 test/fixtures/mwb_D_202303.js create mode 100644 test/fixtures/mwb_D_202309.js delete mode 100644 test/fixtures/mwb_E_202303.js create mode 100644 test/fixtures/mwb_E_202309.js delete mode 100644 test/fixtures/mwb_F_202303.js create mode 100644 test/fixtures/mwb_F_202309.js create mode 100644 test/fixtures/mwb_K_202309.js delete mode 100644 test/fixtures/mwb_MG_202303.js create mode 100644 test/fixtures/mwb_MG_202309.js delete mode 100644 test/fixtures/mwb_S_202303.js create mode 100644 test/fixtures/mwb_S_202309.js delete mode 100644 test/fixtures/mwb_TND_202303.js create mode 100644 test/fixtures/mwb_TND_202309.js delete mode 100644 test/fixtures/mwb_TNK_202303.js create mode 100644 test/fixtures/mwb_TNK_202309.js delete mode 100644 test/fixtures/mwb_T_202303.js delete mode 100644 test/fixtures/mwb_VZ_202303.js create mode 100644 test/fixtures/mwb_VZ_202309.js create mode 100644 test/fixtures/mwb_X_202309.js diff --git a/example/index.js b/example/index.js new file mode 100644 index 00000000..88668fc1 --- /dev/null +++ b/example/index.js @@ -0,0 +1,34 @@ +import { fetchData } from './sample.js'; + +const runLiveCommand = async () => { + const languageIndex = process.argv.indexOf('--language'); + if (languageIndex === -1) { + console.error('language missing from arguments'); + return; + } + + const issueIndex = process.argv.indexOf('--issue'); + const pubIndex = process.argv.indexOf('--pub'); + + if (issueIndex >= 0 && pubIndex === -1) { + console.error('issue date was provided but pub type is missing'); + return; + } + + if (pubIndex >= 0 && issueIndex === -1) { + console.error('pub type was provided but issue date is missing'); + return; + } + + const language = process.argv[languageIndex + 1]; + const issue = issueIndex >= 0 ? process.argv[issueIndex + 1] : undefined; + const pub = pubIndex >= 0 ? process.argv[pubIndex + 1] : undefined; + + console.time(); + const data = await fetchData(language, issue, pub); + + console.log(data); + console.timeEnd(); +}; + +runLiveCommand(); diff --git a/example/sample.js b/example/sample.js new file mode 100644 index 00000000..2f28b628 --- /dev/null +++ b/example/sample.js @@ -0,0 +1,366 @@ +import { loadEPUB } from '../src/node/index.js'; + +const JW_CDN = 'https://app.jw-cdn.org/apis/pub-media/GETPUBMEDIALINKS?'; +const JW_FINDER = 'https://www.jw.org/finder?'; +const WOL_CDN = 'https://b.jw-cdn.org/apis/wol-link/'; +const WOL_E = 'https://wol.jw.org/wol/dt/r1/lp-e'; + +const months = [ + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December', +]; + +const fetchIssueData = async (issue, pub) => { + try { + if (issue.hasEPUB) { + const epubFile = issue.hasEPUB[0].file; + const epubUrl = epubFile.url; + + const epubData = await loadEPUB({ url: epubUrl }); + return epubData; + } + + if (!issue.hasEPUB) { + const language = issue.language; + + const parser = new window.DOMParser(); + + if (pub === 'mwb') { + const url = + JW_FINDER + + new URLSearchParams({ + wtlocale: language, + pub, + issue: issue.issueDate, + }); + + const res = await fetch(url); + const result = await res.text(); + + const htmlItem = parser.parseFromString(result, 'text/html'); + + const docIds = []; + const accordionItems = htmlItem.getElementsByClassName(`docClass-106 iss-${issue.issueDate}`); + for (const weekLink of accordionItems) { + weekLink.classList.forEach((item) => { + if (item.indexOf('docId-') !== -1) { + docIds.push(item.split('-')[1]); + } + }); + } + + const htmlRaws = []; + + const fetchSchedule1 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[0]}`).then((res) => + res.text() + ); + const fetchSchedule2 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[1]}`).then((res) => + res.text() + ); + const fetchSchedule3 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[2]}`).then((res) => + res.text() + ); + const fetchSchedule4 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[3]}`).then((res) => + res.text() + ); + const fetchSchedule5 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[4]}`).then((res) => + res.text() + ); + const fetchSchedule6 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[5]}`).then((res) => + res.text() + ); + const fetchSchedule7 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[6]}`).then((res) => + res.text() + ); + const fetchSchedule8 = docIds[7] + ? fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[7]}`).then((res) => res.text()) + : Promise.resolve(''); + const fetchSchedule9 = docIds[8] + ? fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[8]}`).then((res) => res.text()) + : Promise.resolve(''); + const fetchSchedule10 = docIds[9] + ? fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[9]}`).then((res) => res.text()) + : Promise.resolve(''); + + const raws = await Promise.all([ + fetchSchedule1, + fetchSchedule2, + fetchSchedule3, + fetchSchedule4, + fetchSchedule5, + fetchSchedule6, + fetchSchedule7, + fetchSchedule8, + fetchSchedule9, + fetchSchedule10, + ]); + + for (let z = 0; z < raws.length; z++) { + const rawText = raws[z]; + if (rawText !== '') { + htmlRaws.push(rawText); + } + } + + const epubData = await loadEPUB({ htmlRaws, epubYear: issue.currentYear, epubLang: language, isMWB: true }); + return epubData; + } + + if (pub === 'w') { + const url = `${WOL_CDN}${language}/pi-w_${issue.issueDate}`; + let res = await fetch(url); + let result = await res.json(); + + if (Array.isArray(result)) { + return []; + } + + if (result.url) { + res = await fetch(result.url); + result = await res.text(); + + let htmlItem = parser.parseFromString(result, 'text/html'); + + const tocWT = htmlItem.querySelector('#materialNav').querySelector('ul'); + const tocWTLinks = tocWT.querySelectorAll('li'); + const tocWTLink = 'https://wol.jw.org' + tocWTLinks[1].querySelector('a').getAttribute('href'); + + res = await fetch(tocWTLink); + result = await res.text(); + + htmlItem = parser.parseFromString(result, 'text/html'); + + const urls = []; + const studyArticles = htmlItem.querySelector('.groupTOC').querySelectorAll('h3'); + for (const article of studyArticles) { + const articleLink = article.nextElementSibling.querySelector('a').getAttribute('href'); + urls.push(`https://wol.jw.org${articleLink}`); + } + + const htmlArticles = []; + + const fetchArticle1 = fetch(urls[0]).then((res) => res.text()); + const fetchArticle2 = fetch(urls[1]).then((res) => res.text()); + const fetchArticle3 = fetch(urls[2]).then((res) => res.text()); + const fetchArticle4 = fetch(urls[3]).then((res) => res.text()); + const fetchArticle5 = urls[4] ? fetch(urls[4]).then((res) => res.text()) : Promise.resolve(''); + + const raws = await Promise.all([fetchArticle1, fetchArticle2, fetchArticle3, fetchArticle4, fetchArticle5]); + + for (let z = 0; z < raws.length; z++) { + const rawText = raws[z]; + if (rawText !== '') { + htmlArticles.push(rawText); + } + } + + const epubData = await loadEPUB({ + htmlRaws: [result], + epubYear: issue.currentYear, + epubLang: language, + isW: true, + htmlArticles, + }); + + return epubData; + } + } + } + } catch (err) { + throw new Error(err); + } +}; + +export const fetchData = async (language, issue, pub) => { + let data = []; + + if (!issue && !pub) { + for await (const pub of ['mwb', 'w']) { + const issues = []; + + if (pub === 'mwb') { + let notFound = false; + + // get current issue + const today = new Date(); + const day = today.getDay(); + const diff = today.getDate() - day + (day === 0 ? -6 : 1); + const weekDate = new Date(today.setDate(diff)); + const validDate = weekDate.setMonth(weekDate.getMonth()); + + const startDate = new Date(validDate); + const currentMonth = startDate.getMonth() + 1; + const monthOdd = currentMonth % 2 === 0 ? false : true; + let monthMwb = monthOdd ? currentMonth : currentMonth - 1; + let currentYear = startDate.getFullYear(); + + do { + const issueDate = currentYear + String(monthMwb).padStart(2, '0'); + const url = + JW_CDN + + new URLSearchParams({ + langwritten: language, + pub: 'mwb', + output: 'json', + issue: issueDate, + }); + + const res = await fetch(url); + + if (res.status === 200) { + const result = await res.json(); + const hasEPUB = result.files[language].EPUB; + + issues.push({ issueDate, currentYear, language, hasEPUB: hasEPUB }); + } + + if (res.status === 404) { + notFound = true; + } + + // assigning next issue + monthMwb = monthMwb + 2; + if (monthMwb === 13) { + monthMwb = 1; + currentYear++; + } + } while (notFound === false); + } + + if (pub === 'w') { + let notFound = false; + + // get w current issue + const today = new Date(); + const url = `${WOL_E}/${today.getFullYear()}/${today.getMonth() + 1}/${today.getDate()}`; + + const res = await fetch(url); + const data = await res.json(); + + const wData = data.items.find((item) => item.classification === 68); + const publicationTitle = wData.publicationTitle; + + const findYear = /\b\d{4}\b/; + const array = findYear.exec(publicationTitle); + let currentYear = +array[0]; + + const monthsRegex = `(${months.join('|')})`; + + const regex = new RegExp(monthsRegex); + const array2 = regex.exec(publicationTitle); + + let monthW = months.findIndex((month) => month === array2[0]) + 1; + + do { + const issueDate = currentYear + String(monthW).padStart(2, '0'); + const url = + JW_CDN + + new URLSearchParams({ + langwritten: language, + pub, + output: 'json', + issue: issueDate, + }); + + const res = await fetch(url); + + if (res.status === 200) { + const result = await res.json(); + const hasEPUB = result.files[language].EPUB; + + issues.push({ issueDate, currentYear, language, hasEPUB: hasEPUB }); + } + + if (res.status === 404) { + notFound = true; + } + + // assigning next issue + monthW = monthW + 1; + if (monthW === 13) { + monthW = 1; + currentYear++; + } + } while (notFound === false); + } + + if (issues.length > 0) { + const fetchSource1 = fetchIssueData(issues[0], pub); + const fetchSource2 = issues.length > 1 ? fetchIssueData(issues[1], pub) : Promise.resolve([]); + const fetchSource3 = issues.length > 2 ? fetchIssueData(issues[2], pub) : Promise.resolve([]); + const fetchSource4 = issues.length > 3 ? fetchIssueData(issues[3], pub) : Promise.resolve([]); + const fetchSource5 = issues.length > 4 ? fetchIssueData(issues[4], pub) : Promise.resolve([]); + const fetchSource6 = issues.length > 5 ? fetchIssueData(issues[5], pub) : Promise.resolve([]); + const fetchSource7 = issues.length > 6 ? fetchIssueData(issues[6], pub) : Promise.resolve([]); + + const allData = await Promise.all([ + fetchSource1, + fetchSource2, + fetchSource3, + fetchSource4, + fetchSource5, + fetchSource6, + fetchSource7, + ]); + + for (let z = 0; z < allData.length; z++) { + const tempObj = allData[z]; + if (tempObj.length > 0) { + for (const src of tempObj) { + const date = src.mwb_week_date || src.w_study_date; + + const prevSrc = data.find((item) => item.mwb_week_date === date || item.w_study_date === date); + + if (prevSrc) { + Object.assign(prevSrc, src); + } + + if (!prevSrc) { + data.push(src); + } + } + } + } + } + } + + for (const src of data) { + if (src.mwb_week_date) { + src.week_date = src.mwb_week_date; + delete src.mwb_week_date; + } + + if (src.w_study_date) { + src.week_date = src.w_study_date; + delete src.w_study_date; + } + } + } + + if (issue && pub) { + const url = JW_CDN + new URLSearchParams({ langwritten: language, pub, output: 'json', issue }); + + const res = await fetch(url); + + if (res.status === 200) { + const result = await res.json(); + const hasEPUB = result.files[language].EPUB; + + const issueFetch = { issueDate: issue, currentYear: issue.substring(0, 4), language, hasEPUB: hasEPUB }; + + data = await fetchIssueData(issueFetch, pub); + } + } + + return data; +}; diff --git a/package.json b/package.json index f4700b7f..c651b9ae 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,17 @@ "version": "1.40.1", "type": "module", "description": "This tool will help you to parse and extract the needed source materials from Meeting Workbook EPUB file. Support for parsing Watchtower Study will be added in future release.", - "keywords": ["epub parse", "jw", "jw.org", "epub"], + "keywords": [ + "epub parse", + "jw", + "jw.org", + "epub" + ], "main": "./dist/index.js", "module": "./dist/index.js", - "files": ["dist/*"], + "files": [ + "dist/*" + ], "homepage": "https://github.com/sws2apps/jw-epub-parser#readme", "author": "Scheduling Workbox System ", "bugs": { @@ -20,11 +27,12 @@ }, "funding": { "type": "buymeacoffee", - "url": "https://www.buymeacoffee.com/sws2apps" + "url": "https://www.buymeacoffee.com/sws2apps/e/146062" }, "scripts": { "test": "mocha", - "build": "npx rimraf dist && npx rollup -c" + "build": "npx rimraf dist && npx rollup -c", + "parse": "node example/index.js" }, "devDependencies": { "@babel/preset-env": "^7.16.11", diff --git a/src/browser/languageRules.js b/src/browser/languageRules.js index c92ab273..7de5e23b 100644 --- a/src/browser/languageRules.js +++ b/src/browser/languageRules.js @@ -1,10 +1,12 @@ import source from '../locales/en/text.json'; import F from '../locales/fr-FR/text.json'; +import K from '../locales/uk-UA/text.json'; import MG from '../locales/mg-MG/text.json'; import T from '../locales/pt-BR/text.json'; import TND from '../locales/mg-TND/text.json'; import TNK from '../locales/mg-TNK/text.json'; import VZ from '../locales/mg-VZ/text.json'; +import X from '../locales/de-DE/text.json'; const dataLang = {}; @@ -12,11 +14,13 @@ for (const [key, value] of Object.entries(source)) { dataLang[key] = { E: value, F: F[key], + K: K[key], MG: MG[key], T: T[key], TND: TND[key], TNK: TNK[key], VZ: VZ[key], + X: X[key], }; } diff --git a/src/locales/de-DE/text.json b/src/locales/de-DE/text.json index 2ca69ae2..d93ed6eb 100644 --- a/src/locales/de-DE/text.json +++ b/src/locales/de-DE/text.json @@ -11,8 +11,8 @@ "octoberVariations": "Oktober", "novemberVariations": "November", "decemberVariations": "Dezember", - "tgwTalk10Variations": "{{ title }}: (10 Min.)", - "tgwBibleReadingVariations": "Bibellesung: (4 Min.) {{ source }} (th Lektion {{ study }})", + "tgwTalk10Variations": "{{ title }} (10 Min.)", + "tgwBibleReadingVariations": "Bibellesung (4 Min.): {{ source }} (th Lektion {{ study }})", "initialCallVideoVariations": "Erstes Gespräch (Video)", "returnVisitVideoVariations": "Rückbesuch (Video)", "memorialInvitationVideoVariations": "Einladung zum Gedächtnismahl (Video)", @@ -21,7 +21,7 @@ "bibleStudyVariations": "Bibelstudium", "talkVariations": "Vortrag", "memorialInvitationVariations": "Einladung zum Gedächtnismahl", - "assignmentAyfVariations": "{{ assignment }}: ({{ duration }} Min.) {{ source }} (th Lektion {{ study }})|{{ assignment }}: ({{ duration }} Min.) {{ source }}", - "assignmentLcVariations": "{{ source }}: ({{ duration }} Min.) {{ content }}", - "cbsVariations": "Versammlungs­bibelstudium: (30 Min.) {{ source }}" + "assignmentAyfVariations": "{{ assignment }} ({{ duration }} Min.): {{ source }} (th Lektion {{ study }})|{{ assignment }} ({{ duration }} Min.): {{ source }}", + "assignmentLcVariations": "{{ source }} ({{ duration }} Min.)|{{ source }} ({{ duration }} Min.): {{ content }}", + "cbsVariations": "Versammlungs­bibelstudium (30 Min.): {{ source }}" } diff --git a/src/locales/en/text.json b/src/locales/en/text.json index 37e84305..5c6d5b1a 100644 --- a/src/locales/en/text.json +++ b/src/locales/en/text.json @@ -22,6 +22,6 @@ "talkVariations": "Talk", "memorialInvitationVariations": "Memorial Invitation", "assignmentAyfVariations": "{{ assignment }}: ({{ duration }} min.) {{ source }} (th study {{ study }})|{{ assignment }}: ({{ duration }} min.) {{ source }}", - "assignmentLcVariations": "{{ source }}: ({{ duration }} min.) {{ content }}", + "assignmentLcVariations": "{{ source }}: ({{ duration }} min.)|{{ source }}: ({{ duration }} min.) {{ content }}", "cbsVariations": "Congregation Bible Study: (30 min.) {{ source }}" } diff --git a/src/locales/languages.js b/src/locales/languages.js index e432cdf7..092f0a69 100644 --- a/src/locales/languages.js +++ b/src/locales/languages.js @@ -1,9 +1,11 @@ export default [ { locale: 'en', code: 'E' }, { locale: 'fr-FR', code: 'F' }, + { locale: 'uk-UA', code: 'K' }, { locale: 'mg-MG', code: 'MG' }, { locale: 'pt-BR', code: 'T' }, { locale: 'mg-TND', code: 'TND' }, { locale: 'mg-TNK', code: 'TNK' }, { locale: 'mg-VZ', code: 'VZ' }, + { locale: 'de-DE', code: 'X' }, ]; diff --git a/src/locales/mg-MG/text.json b/src/locales/mg-MG/text.json index 1f652b19..b1211b7b 100644 --- a/src/locales/mg-MG/text.json +++ b/src/locales/mg-MG/text.json @@ -22,6 +22,6 @@ "talkVariations": "Lahateny", "memorialInvitationVariations": "Fanasana Fahatsiarovana", "assignmentAyfVariations": "{{ assignment }}: ({{ duration }} min.) {{ source }} (th lesona {{ study }})|{{ assignment }}: ({{ duration }} min.) {{ source }}", - "assignmentLcVariations": "{{ source }}: ({{ duration }} min.) {{ content }}", + "assignmentLcVariations": "{{ source }}: ({{ duration }} min.)|{{ source }}: ({{ duration }} min.) {{ content }}", "cbsVariations": "Fianarana Baiboly: (30 min.) {{ source }}" } diff --git a/src/locales/mg-TNK/text.json b/src/locales/mg-TNK/text.json index 95109e0b..8bf396c3 100644 --- a/src/locales/mg-TNK/text.json +++ b/src/locales/mg-TNK/text.json @@ -22,6 +22,6 @@ "talkVariations": "Kabaro", "memorialInvitationVariations": "Invitasiony Fahatsiarovan̈a", "assignmentAyfVariations": "{{ assignment }}: ({{ duration }} min.) {{ source }} (th fianaran̈a {{ study }})|{{ assignment }}: ({{ duration }} min.) {{ source }}", - "assignmentLcVariations": "{{ source }}: ({{ duration }} min.) {{ content }}", + "assignmentLcVariations": "{{ source }}: ({{ duration }} min.)|{{ source }}: ({{ duration }} min.) {{ content }}", "cbsVariations": "Fianaran̈a Baiboly Ataony Fiangonan̈a: (30 min.) {{ source }}|Fianaran̈a Baiboly Ataony Fiangonan̈a: (30min.) {{ source }}" } diff --git a/src/locales/mg-TTM/text.json b/src/locales/mg-TTM/text.json index 1f652b19..b1211b7b 100644 --- a/src/locales/mg-TTM/text.json +++ b/src/locales/mg-TTM/text.json @@ -22,6 +22,6 @@ "talkVariations": "Lahateny", "memorialInvitationVariations": "Fanasana Fahatsiarovana", "assignmentAyfVariations": "{{ assignment }}: ({{ duration }} min.) {{ source }} (th lesona {{ study }})|{{ assignment }}: ({{ duration }} min.) {{ source }}", - "assignmentLcVariations": "{{ source }}: ({{ duration }} min.) {{ content }}", + "assignmentLcVariations": "{{ source }}: ({{ duration }} min.)|{{ source }}: ({{ duration }} min.) {{ content }}", "cbsVariations": "Fianarana Baiboly: (30 min.) {{ source }}" } diff --git a/src/locales/pt-BR/text.json b/src/locales/pt-BR/text.json index 3e8c72d7..003f72fc 100644 --- a/src/locales/pt-BR/text.json +++ b/src/locales/pt-BR/text.json @@ -22,6 +22,6 @@ "talkVariations": "Discurso", "memorialInvitationVariations": "Convite da Celebração", "assignmentAyfVariations": "{{ assignment }}: ({{ duration }} min) {{ source }} (th {{ study }})|{{ assignment }}: ({{ duration }} min) {{ source }} (Melhore lição {{ study }})|{{ assignment }}: ({{ duration }} min) {{ source }}", - "assignmentLcVariations": "{{ source }}: ({{ duration }} min) {{ content }}|{{ source }}: ({{ duration }} min.) {{ content }}", + "assignmentLcVariations": "{{ source }}: ({{ duration }} min)|{{ source }}: ({{ duration }} min) {{ content }}|{{ source }}: ({{ duration }} min.) {{ content }}", "cbsVariations": "Estudo bíblico de congregação: (30 min) {{ source }}" } diff --git a/src/locales/uk-UA/text.json b/src/locales/uk-UA/text.json index aba69646..41418486 100644 --- a/src/locales/uk-UA/text.json +++ b/src/locales/uk-UA/text.json @@ -1,18 +1,18 @@ { - "januaryVariations": "Січень", - "februaryVariations": "Лютий", + "januaryVariations": "Січень|січня", + "februaryVariations": "Лютий|лютий", "marchVariations": "Березень", - "aprilVariations": "Квітень", - "mayVariations": "Травень", - "juneVariations": "Червень", - "julyVariations": "Липень", - "augustVariations": "Серпень", - "septemberVariations": "Вересень", - "octoberVariations": "Жовтень", - "novemberVariations": "Листопад", - "decemberVariations": "Грудень", - "tgwTalk10Variations": "{{ title }}: (10 хв)", - "tgwBibleReadingVariations": "Біблійне читання: (4 хв) {{ source }} (урок {{ study }})", + "aprilVariations": "Квітень|квітень", + "mayVariations": "Травень|травня", + "juneVariations": "Червень|червень", + "julyVariations": "Липень|липня", + "augustVariations": "Серпень|серпень", + "septemberVariations": "Вересень|вересня", + "octoberVariations": "Жовтень|жовтня", + "novemberVariations": "Листопад|листопада", + "decemberVariations": "Грудень|грудень", + "tgwTalk10Variations": "{{ title }} (10 хв)", + "tgwBibleReadingVariations": "Біблійне читання (4 хв). {{ source }} (th урок {{ study }})|Читання Біблії (4 хв). {{ source }} (th урок {{ study }})", "initialCallVideoVariations": "Перша розмова. Відео", "returnVisitVideoVariations": "Повторні відвідини. Відео", "memorialInvitationVideoVariations": "Запрошення на Спомин. Відео", @@ -21,7 +21,7 @@ "bibleStudyVariations": "Біблійне вивчення", "talkVariations": "Промова", "memorialInvitationVariations": "Запрошення на Спомин", - "assignmentAyfVariations": "{{ assignment }}: ({{ duration }} хв) {{ source }} (урок {{ study }})|{{ assignment }}: ({{ duration }} хв) {{ source }}", - "assignmentLcVariations": "{{ source }}: ({{ duration }} хв) {{ content }}", - "cbsVariations": "Вивчення Біблії у зборі: (30 хв) {{ source }}" + "assignmentAyfVariations": "{{ assignment }} ({{ duration }} хв). {{ source }} (th урок {{ study }})|{{ assignment }} ({{ duration }} хв). {{ source }}", + "assignmentLcVariations": "{{ source }} ({{ duration }} хв)|{{ source }} ({{ duration }} хв). {{ content }}", + "cbsVariations": "Вивчення Біблії у зборі (30 хв). {{ source }}" } diff --git a/src/node/languageRules.js b/src/node/languageRules.js index 9e9a03b9..c1116c2c 100644 --- a/src/node/languageRules.js +++ b/src/node/languageRules.js @@ -1,10 +1,12 @@ import source from '../locales/en/text.json' assert { type: 'json' }; import F from '../locales/fr-FR/text.json' assert { type: 'json' }; +import K from '../locales/uk-UA/text.json' assert { type: 'json' }; import MG from '../locales/mg-MG/text.json' assert { type: 'json' }; import T from '../locales/pt-BR/text.json' assert { type: 'json' }; import TND from '../locales/mg-TND/text.json' assert { type: 'json' }; import TNK from '../locales/mg-TNK/text.json' assert { type: 'json' }; import VZ from '../locales/mg-VZ/text.json' assert { type: 'json' }; +import X from '../locales/de-DE/text.json' assert { type: 'json' }; const dataLang = {}; @@ -12,11 +14,13 @@ for (const [key, value] of Object.entries(source)) { dataLang[key] = { E: value, F: F[key], + K: K[key], MG: MG[key], T: T[key], TND: TND[key], TNK: TNK[key], VZ: VZ[key], + X: X[key], }; } diff --git a/src/rules/parsingRules.js b/src/rules/parsingRules.js index 6406ac8e..5b6cfaae 100644 --- a/src/rules/parsingRules.js +++ b/src/rules/parsingRules.js @@ -4,8 +4,6 @@ export const extractMonthName = (monthNames, src, lang) => { let varDay; let monthIndex; - src = src.split('–')[0]; - for (const month of monthNames) { const monthLang = month.names[lang]; const regex = new RegExp(`(${monthLang})`); @@ -108,7 +106,7 @@ export const extractSourceTGWBibleReading = (tgwBibleReadingVariations, src, lan if (result) return result; - throw new JWEPUBParserError('tgw-bibleReading', 'Parsing failed for Bible Reading part'); + throw new JWEPUBParserError('tgw-bibleReading', `Parsing failed for Bible Reading part. The input was: ${src}`); }; export const extractSourceAssignments = (assignmentsVariations, assignmentsName, src, lang) => { @@ -128,7 +126,10 @@ export const extractSourceAssignments = (assignmentsVariations, assignmentsName, let assignmentsList = '('; for (let a = 0; a < assignmentsName.length; a++) { - assignmentsList += assignmentsName[a][lang]; + let tmp = assignmentsName[a][lang]; + tmp = tmp.replace('(', '\\('); + tmp = tmp.replace(')', '\\)'); + assignmentsList += tmp; if (a < assignmentsName.length - 1) { assignmentsList += '|'; @@ -137,9 +138,8 @@ export const extractSourceAssignments = (assignmentsVariations, assignmentsName, assignmentsList += ')'; let textSearch = findRoundOne.replace('{{ duration }}', '\\d+'); - textSearch = textSearch.replace('(', '(\\('); - textSearch = textSearch.replace(')', ')\\)'); - textSearch = textSearch.replace(' :', ' ?:?'); + textSearch = textSearch.replace('(', '\\('); + textSearch = textSearch.replace(')', '\\)'); textSearch = textSearch.replace(') ', ') ?'); textSearch = textSearch.replace('??', '?'); textSearch = textSearch.replace(patternAssignment, assignmentsList); @@ -148,7 +148,7 @@ export const extractSourceAssignments = (assignmentsVariations, assignmentsName, const array = regex.exec(src); if (array !== null) { - const partTiming = +array[2].match(/(\d+)/)[0]; + const partTiming = +array[0].match(/(\d+)/)[0]; let textSearch = findRoundOne.replace('{{ assignment }}', ''); textSearch = textSearch.replace('{{ duration }}', partTiming); @@ -231,12 +231,11 @@ export const extractSourceLiving = (livingPartsVariations, src, lang) => { masterSearch = masterSearch.replace(patternContent, ''); let textSearch = masterSearch.replace('{{ duration }}', '\\d+'); - textSearch = textSearch.replace('(', '(\\('); - textSearch = textSearch.replace(')', ')\\)'); - textSearch = textSearch.replace(' :', ' ?:?'); + textSearch = textSearch.replace('(', '\\('); + textSearch = textSearch.replace(')', '\\)'); + textSearch = textSearch.replace(':', ':?'); textSearch = textSearch.replace(') ', ') ?'); textSearch = textSearch.replace('??', '?'); - const regex = new RegExp(textSearch.trim()); const array = regex.exec(src); diff --git a/test/02_enhancedParsing.test.js b/test/02_enhancedParsing.test.js index 0c14cfa2..08b87381 100644 --- a/test/02_enhancedParsing.test.js +++ b/test/02_enhancedParsing.test.js @@ -27,96 +27,7 @@ const fetchIssueData = (issue) => { } if (!issue.hasEPUB) { - const language = issue.language; - - const url = - JW_FINDER + - new URLSearchParams({ - wtlocale: language, - pub: 'mwb', - issue: issue.issueDate, - }); - - fetch(url).then((res) => - res.text().then((result) => { - const parser = new window.DOMParser(); - const htmlItem = parser.parseFromString(result, 'text/html'); - - const docIds = []; - const accordionItems = htmlItem.getElementsByClassName(`docClass-106 iss-${issue.issueDate}`); - for (const weekLink of accordionItems) { - weekLink.classList.forEach((item) => { - if (item.indexOf('docId-') !== -1) { - docIds.push(item.split('-')[1]); - } - }); - } - - const htmlRaws = []; - - const fetchSchedule1 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[0]}`).then( - (res) => res.text() - ); - const fetchSchedule2 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[1]}`).then( - (res) => res.text() - ); - const fetchSchedule3 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[2]}`).then( - (res) => res.text() - ); - const fetchSchedule4 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[3]}`).then( - (res) => res.text() - ); - const fetchSchedule5 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[4]}`).then( - (res) => res.text() - ); - const fetchSchedule6 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[5]}`).then( - (res) => res.text() - ); - const fetchSchedule7 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[6]}`).then( - (res) => res.text() - ); - const fetchSchedule8 = docIds[7] - ? fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[7]}`).then((res) => res.text()) - : Promise.resolve(''); - const fetchSchedule9 = docIds[8] - ? fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[8]}`).then((res) => res.text()) - : Promise.resolve(''); - const fetchSchedule10 = docIds[9] - ? fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[9]}`).then((res) => res.text()) - : Promise.resolve(''); - - const allData = Promise.all([ - fetchSchedule1, - fetchSchedule2, - fetchSchedule3, - fetchSchedule4, - fetchSchedule5, - fetchSchedule6, - fetchSchedule7, - fetchSchedule8, - fetchSchedule9, - fetchSchedule10, - ]); - - allData.then((raws) => { - for (let z = 0; z < raws.length; z++) { - const rawText = raws[z]; - if (rawText !== '') { - htmlRaws.push(rawText); - } - } - - loadEPUB({ htmlRaws, mwbYear: issue.currentYear, lang: language }).then((epubData) => { - const obj = { - issueDate: issue.issueDate, - ...epubData, - }; - - resolve(obj); - }); - }); - }) - ); + return []; } }); }; diff --git a/test/03_downloadParsing.test.js b/test/03_downloadParsing.test.js deleted file mode 100644 index fc1fe2a2..00000000 --- a/test/03_downloadParsing.test.js +++ /dev/null @@ -1,231 +0,0 @@ -import fs from 'fs'; -import fetch from 'node-fetch'; -import { expect } from 'chai'; -import { loadEPUB } from '../dist/node/index.js'; - -const list = JSON.parse(await fs.promises.readFile(new URL('./enhancedParsing/list.json', import.meta.url))); - -const JW_CDN = 'https://app.jw-cdn.org/apis/pub-media/GETPUBMEDIALINKS?'; -const JW_FINDER = 'https://www.jw.org/finder?'; - -const fetchIssueData = (issue) => { - return new Promise((resolve) => { - if (issue.hasEPUB) { - const epubFile = issue.hasEPUB[0].file; - const epubUrl = epubFile.url; - const epubModifiedDate = epubFile.modifiedDatetime; - - loadEPUB({ url: epubUrl }).then((epubData) => { - const obj = { - issueDate: issue.issueDate, - modifiedDateTime: epubModifiedDate, - ...epubData, - }; - resolve(obj); - }); - } - - if (!issue.hasEPUB) { - const language = issue.language; - - const url = - JW_FINDER + - new URLSearchParams({ - wtlocale: language, - pub: 'mwb', - issue: issue.issueDate, - }); - - fetch(url).then((res) => - res.text().then((result) => { - const parser = new window.DOMParser(); - const htmlItem = parser.parseFromString(result, 'text/html'); - - const hasHTML = htmlItem.getElementsByClassName('toc cms-clearfix').length === 1; - if (!hasHTML) { - resolve({}); - } - - if (hasHTML) { - const docIds = []; - const accordionItems = htmlItem.getElementsByClassName(`docClass-106 iss-${issue.issueDate}`); - for (const weekLink of accordionItems) { - weekLink.classList.forEach((item) => { - if (item.indexOf('docId-') !== -1) { - docIds.push(item.split('-')[1]); - } - }); - } - - const htmlRaws = []; - - const fetchSchedule1 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[0]}`).then( - (res) => res.text() - ); - const fetchSchedule2 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[1]}`).then( - (res) => res.text() - ); - const fetchSchedule3 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[2]}`).then( - (res) => res.text() - ); - const fetchSchedule4 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[3]}`).then( - (res) => res.text() - ); - const fetchSchedule5 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[4]}`).then( - (res) => res.text() - ); - const fetchSchedule6 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[5]}`).then( - (res) => res.text() - ); - const fetchSchedule7 = fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[6]}`).then( - (res) => res.text() - ); - const fetchSchedule8 = docIds[7] - ? fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[7]}`).then((res) => res.text()) - : Promise.resolve(''); - const fetchSchedule9 = docIds[8] - ? fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[8]}`).then((res) => res.text()) - : Promise.resolve(''); - const fetchSchedule10 = docIds[9] - ? fetch(`https://www.jw.org/finder?wtlocale=${language}&docid=${docIds[9]}`).then((res) => res.text()) - : Promise.resolve(''); - - const allData = Promise.all([ - fetchSchedule1, - fetchSchedule2, - fetchSchedule3, - fetchSchedule4, - fetchSchedule5, - fetchSchedule6, - fetchSchedule7, - fetchSchedule8, - fetchSchedule9, - fetchSchedule10, - ]); - - allData.then((raws) => { - for (let z = 0; z < raws.length; z++) { - const rawText = raws[z]; - if (rawText !== '') { - htmlRaws.push(rawText); - } - } - - loadEPUB({ htmlRaws, mwbYear: issue.currentYear, lang: language }).then((epubData) => { - const obj = { - issueDate: issue.issueDate, - ...epubData, - }; - - resolve(obj); - }); - }); - } - }) - ); - } - }); -}; - -const fetchData = async (language) => { - const mergedSources = []; - let notFound = false; - - // get current issue - const today = new Date(); - const day = today.getDay(); - const diff = today.getDate() - day + (day === 0 ? -6 : 1); - const weekDate = new Date(today.setDate(diff)); - const validDate = weekDate.setMonth(weekDate.getMonth() - 12); - const startDate = new Date(validDate); - const currentMonth = startDate.getMonth() + 1; - const monthOdd = currentMonth % 2 === 0 ? false : true; - let monthMwb = monthOdd ? currentMonth : currentMonth - 1; - let currentYear = startDate.getFullYear(); - - const issues = []; - - do { - if ((currentYear === 2022 && monthMwb > 5) || currentYear > 2022) { - const issueDate = currentYear + String(monthMwb).padStart(2, '0'); - const url = - JW_CDN + - new URLSearchParams({ - langwritten: language, - pub: 'mwb', - output: 'json', - issue: issueDate, - }); - - const res = await fetch(url); - - if (res.status === 200) { - const result = await res.json(); - const hasEPUB = result.files[language].EPUB; - - issues.push({ issueDate, currentYear, language, hasEPUB: hasEPUB }); - } - - if (res.status === 404) { - notFound = true; - } - } - - // assigning next issue - monthMwb = monthMwb + 2; - if (monthMwb === 13) { - monthMwb = 1; - currentYear++; - } - } while (notFound === false); - - if (issues.length > 0) { - const fetchSource1 = fetchIssueData(issues[0]); - const fetchSource2 = issues.length > 1 ? fetchIssueData(issues[1]) : Promise.resolve({}); - const fetchSource3 = issues.length > 2 ? fetchIssueData(issues[2]) : Promise.resolve({}); - const fetchSource4 = issues.length > 3 ? fetchIssueData(issues[3]) : Promise.resolve({}); - const fetchSource5 = issues.length > 4 ? fetchIssueData(issues[4]) : Promise.resolve({}); - const fetchSource6 = issues.length > 5 ? fetchIssueData(issues[5]) : Promise.resolve({}); - const fetchSource7 = issues.length > 6 ? fetchIssueData(issues[6]) : Promise.resolve({}); - const fetchSource8 = issues.length > 7 ? fetchIssueData(issues[7]) : Promise.resolve({}); - const fetchSource9 = issues.length > 8 ? fetchIssueData(issues[8]) : Promise.resolve({}); - const fetchSource10 = issues.length > 9 ? fetchIssueData(issues[9]) : Promise.resolve({}); - const fetchSource11 = issues.length > 10 ? fetchIssueData(issues[10]) : Promise.resolve({}); - const fetchSource12 = issues.length > 11 ? fetchIssueData(issues[11]) : Promise.resolve({}); - - const allData = await Promise.all([ - fetchSource1, - fetchSource2, - fetchSource3, - fetchSource4, - fetchSource5, - fetchSource6, - fetchSource7, - fetchSource8, - fetchSource9, - fetchSource10, - fetchSource11, - fetchSource12, - ]); - - for (let z = 0; z < allData.length; z++) { - const tempObj = allData[z]; - if (tempObj.issueDate) { - mergedSources.push(tempObj); - } - } - } - - return mergedSources; -}; - -describe('Live download enhanced parsing', () => { - for (let i = 0; i < list.length; i++) { - const { language } = list[i]; - - it(`Test live download from jw.org for ${language} language`, async () => { - const mergedSources = await fetchData(language); - expect(mergedSources).to.be.an('array').to.have.lengthOf.above(0); - }); - } -}); diff --git a/test/enhancedParsing/list.json b/test/enhancedParsing/list.json index 579ed106..21ab3709 100644 --- a/test/enhancedParsing/list.json +++ b/test/enhancedParsing/list.json @@ -1,9 +1,10 @@ [ - { "language": "E", "issue": "202303" }, - { "language": "F", "issue": "202303" }, - { "language": "MG", "issue": "202303" }, - { "language": "T", "issue": "202303" }, - { "language": "TND", "issue": "202303" }, - { "language": "TNK", "issue": "202303" }, - { "language": "VZ", "issue": "202303" } + { "language": "E", "issue": "202309" }, + { "language": "F", "issue": "202309" }, + { "language": "K", "issue": "202309" }, + { "language": "MG", "issue": "202309" }, + { "language": "TND", "issue": "202309" }, + { "language": "TNK", "issue": "202309" }, + { "language": "VZ", "issue": "202309" }, + { "language": "X", "issue": "202309" } ] diff --git a/test/fixtures/mwb_D_202303.js b/test/fixtures/mwb_D_202303.js deleted file mode 100644 index 5e85ad6a..00000000 --- a/test/fixtures/mwb_D_202303.js +++ /dev/null @@ -1,142 +0,0 @@ -export default { - weeksCount: 7, - mwbYear: '2023', - weeksData: [ - { - weekDate: '6.-12. marts', - weeklyBibleReading: '1. KRØNIKEBOG 23-26', - songFirst: 123, - tgw10Talk: '“Tilbedelsen i templet sættes i system” (10 min.)', - tgwBRead: 'Oplæsning fra Bibelen (4 min.) 1Kr 23:21-32 (th arbejdspunkt 5)', - ayfCount: 3, - ayfPart1: - 'Video: Mindehøjtidsinvitation (5 min.) Drøftelse. Afspil videoen Mindehøjtidskampagnen. Stop videoen ved pausen og stil tilhørerne det spørgsmål der er i videoen.', - ayfPart2: - 'Mindehøjtidsinvitation (3 min.) Indled med emnet fra “Forslag til samtaler”. Den besøgte viser interesse. Introducér og drøft (uden at afspille) videoen Vær med til at mindes Jesus’ død. (th arbejdspunkt 11)', - ayfPart3: - 'Foredrag (5 min.) w11 1/6 14-15 – Tema: Hvorfor er den kristne menighed organiseret? (th arbejdspunkt 14)', - songMiddle: 101, - lcCount: 2, - lcPart1: '“Hvordan du kan hjælpe efter en katastrofe” (10 min.) Drøftelse og video.', - lcPart2: - 'Mindehøjtidskampagnen begynder lørdag den 11. marts (5 min.) Drøftelse. Gennemgå kort invitationen. Fortæl hvad der er planlagt i forbindelse med særforedraget, mindehøjtiden og gennemgang af distriktet.', - lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 39 og slutnote 3', - songConclude: 127, - }, - { - weekDate: '13.-19. marts', - weeklyBibleReading: '1. KRØNIKEBOG 27-29', - songFirst: 133, - tgw10Talk: '“En fars kærlige vejledning til sin søn” (10 min.)', - tgwBRead: 'Oplæsning fra Bibelen (4 min.) 1Kr 27:1-15 (th arbejdspunkt 10)', - ayfCount: 3, - ayfPart1: - 'Video: Genbesøg (5 min.) Drøftelse. Afspil videoen Genbesøg: Jesus – Mt 20:28. Stop videoen ved hver pause og stil tilhørerne de spørgsmål der er i videoen.', - ayfPart2: - 'Genbesøg (4 min.) Aflæg genbesøg hos en som har taget imod invitationen til mindehøjtiden og vist interesse. Introducér og drøft (uden at afspille) videoen Hvorfor døde Jesus? (th arbejdspunkt 9)', - ayfPart3: - 'Genbesøg (4 min.) Aflæg genbesøg hos en som har taget imod invitationen til mindehøjtiden og vist interesse. Begynd at studere brochuren Et håb om en lys fremtid. (th arbejdspunkt 6)', - songMiddle: 4, - lcCount: 2, - lcPart1: 'Tilrettelægges lokalt (5 min.)', - lcPart2: 'Hvad organisationen udretter (10 min.) Afspil Hvad organisationen udretter for marts.', - lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 40', - songConclude: 45, - }, - { - weekDate: '20.-26. marts', - weeklyBibleReading: '2. KRØNIKEBOG 1-4', - songFirst: 41, - tgw10Talk: '“Kong Salomon tager en uklog beslutning” (10 min.)', - tgwBRead: 'Oplæsning fra Bibelen (4 min.) 2Kr 4:7-22 (th arbejdspunkt 10)', - ayfCount: 3, - ayfPart1: - 'Mindehøjtidsinvitation (3 min.) Invitér en kollega, skolekammerat eller slægtning. (th arbejdspunkt 2)', - ayfPart2: - 'Genbesøg (4 min.) Aflæg genbesøg hos en som har taget imod invitationen til mindehøjtiden og vist interesse. Fortæl om vores gratis bibelkursus, og tilbyd brochuren Et håb om en lys fremtid. Introducér og drøft (uden at afspille) videoen Hvordan foregår et bibelkursus? (th arbejdspunkt 17)', - ayfPart3: 'Bibelstudie (5 min.) lff lektion 09 punkt 5 (th arbejdspunkt 9)', - songMiddle: 19, - lcCount: 1, - lcPart1: - 'Er du klar til den vigtigste dag på året? (15 min.) Foredrag og video. Skal holdes af tjenestetilsynsmanden. Fortæl hvordan det går med mindehøjtidskampagnen. Interview nogle der har haft gode oplevelser. Gør opmærksom på bibellæseplanen på side 8 og 9, og tilskynd alle til ‘at gøre sig klar i deres hjerte’. (Ezr 7:10) Fortæl hvordan vi kan byde vores gæster hjerteligt velkommen til mindehøjtiden. (Ro 15:7; mwb16.03 2) Afspil videoen Sådan laves brødet til mindehøjtiden.', - lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 41 punkt 1-4', - songConclude: 135, - }, - { - weekDate: '27. marts – 2. april', - weeklyBibleReading: '2. KRØNIKEBOG 5-7', - songFirst: 129, - tgw10Talk: '“Mit hjerte vil altid være der” (10 min.)', - tgwBRead: 'Oplæsning fra Bibelen (4 min.) 2Kr 6:28-42 (th arbejdspunkt 11)', - ayfCount: 3, - ayfPart1: - 'Mindehøjtidsinvitation (3 min.) Indled med emnet fra “Forslag til samtaler”. Den besøgte viser interesse. Introducér og drøft (uden at afspille) videoen Vær med til at mindes Jesus’ død. (th arbejdspunkt 3)', - ayfPart2: - 'Genbesøg (4 min.) Situationen foregår efter at mindehøjtidsforedraget er slut. Start en samtale med en du har inviteret, og svar på et spørgsmål han stiller om programmet. (th arbejdspunkt 17)', - ayfPart3: - 'Foredrag (5 min.) w93 1/2 31 – Tema: Hvad hvis vi ikke kan være til stede ved mindehøjtiden på grund af særlige omstændigheder? (th arbejdspunkt 18)', - songMiddle: 36, - lcCount: 2, - lcPart1: '“Beskyt dit hjerte” (10 min.) Drøftelse og video.', - lcPart2: 'Tilrettelægges lokalt (5 min.)', - lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 41 punkt 5 og Kort sagt, Forklar og Mål', - songConclude: 34, - }, - { - weekDate: '10.-16. april', - weeklyBibleReading: '2. KRØNIKEBOG 8-9', - songFirst: 88, - tgw10Talk: '“Hun værdsatte visdom” (10 min.)', - tgwBRead: 'Oplæsning fra Bibelen (4 min.) 2Kr 8:1-16 (th arbejdspunkt 5)', - ayfCount: 3, - ayfPart1: - 'Video: Første besøg (5 min.) Drøftelse. Afspil videoen Første besøg: Jesus – Mt 16:16. Stop videoen ved hver pause og stil tilhørerne de spørgsmål der er i videoen.', - ayfPart2: - 'Første besøg (3 min.) Begynd med forslaget til samtalen. Svar på en indvending der er almindelig i jeres distrikt. (th arbejdspunkt 2)', - ayfPart3: 'Bibelstudie (5 min.) lff lektion 09 punkt 6 (th arbejdspunkt 19)', - songMiddle: 98, - lcCount: 1, - lcPart1: '“Daglig bibellæsning gør dig vis” (15 min.) Drøftelse og video.', - lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 42 og slutnote 4', - songConclude: 131, - }, - { - weekDate: '17.-23. april', - weeklyBibleReading: '2. KRØNIKEBOG 10-12', - songFirst: 103, - tgw10Talk: '“Få gavn af gode råd” (10 min.)', - tgwBRead: 'Oplæsning fra Bibelen (4 min.) 2Kr 10:1-15 (th arbejdspunkt 2)', - ayfCount: 3, - ayfPart1: - 'Første besøg (3 min.) Indled med emnet fra “Forslag til samtaler”. Svar på en indvending der er almindelig i jeres distrikt. (th arbejdspunkt 12)', - ayfPart2: - 'Genbesøg (4 min.) Indled med emnet fra “Forslag til samtaler”. Tilbyd en publikation fra Forkynderens værktøjskasse. (th arbejdspunkt 6)', - ayfPart3: 'Foredrag (5 min.) be 69 § 4-5 – Tema: Oplær dine elever når de beder om råd. (th arbejdspunkt 20)', - songMiddle: 79, - lcCount: 2, - lcPart1: - '“Hvordan man bruger vores bibelstudievideoer” (5 min.) Foredrag og video. Afspil videoen Velkommen til dit bibelkursus.', - lcPart2: 'Tilrettelægges lokalt (10 min.)', - lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 43', - songConclude: 121, - }, - { - weekDate: '24.-30. april', - weeklyBibleReading: '2. KRØNIKEBOG 13-16', - songFirst: 3, - tgw10Talk: '“Stol på Jehova i stort og småt” (10 min.)', - tgwBRead: 'Oplæsning fra Bibelen (4 min.) 2Kr 14:1-15 (th arbejdspunkt 5)', - ayfCount: 3, - ayfPart1: - 'Første besøg (3 min.) Indled med emnet fra “Forslag til samtaler”. Fortæl om vores hjemmeside, og giv den besøgte et visitkort til jw.org. (th arbejdspunkt 1)', - ayfPart2: - 'Genbesøg (4 min.) Indled med emnet fra “Forslag til samtaler”. Fortæl om vores bibelkursus, og giv den besøgte et visitkort med bibelkurset. (th arbejdspunkt 11)', - ayfPart3: 'Bibelstudie (5 min.) lff lektion 09 punkt 7 og Nogle siger måske (th arbejdspunkt 6)', - songMiddle: 94, - lcCount: 1, - lcPart1: '“Beslutninger der udtrykker tillid til Jehova” (15 min.) Drøftelse og video.', - lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 44 punkt 1-4 og slutnote 5', - songConclude: 39, - }, - ], -}; diff --git a/test/fixtures/mwb_D_202309.js b/test/fixtures/mwb_D_202309.js new file mode 100644 index 00000000..7e8b5867 --- /dev/null +++ b/test/fixtures/mwb_D_202309.js @@ -0,0 +1,176 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '4.-10. september', + weeklyBibleReading: 'ESTER 1-2', + songFirst: 137, + tgw10Talk: '“Vær beskeden ligesom Ester” (10 min.)', + tgwBRead: 'Oplæsning fra Bibelen (4 min.) Est 1:13-22 (th arbejdspunkt 10)', + ayfCount: 3, + ayfPart1: + 'Video: Første besøg (5 min.) Drøftelse. Afspil videoen Første besøg: Guds rige – Mt 6:9, 10. Stop videoen ved hver pause, og stil tilhørerne de spørgsmål der er i videoen.', + ayfPart2: + 'Første besøg (3 min.) Indled med emnet fra “Forslag til samtaler”. Giv den besøgte brochuren Et håb om en lys fremtid. (th arbejdspunkt 1)', + ayfPart3: 'Foredrag (5 min.) w20.11 12-14 § 3-7 – Tema: Hjælp fra Jesus og englene. (th arbejdspunkt 14)', + songMiddle: 106, + lcCount: 2, + lcPart1: + 'Hvad andre unge siger – Udseendet (5 min.) Drøftelse. Afspil videoen. Spørg derefter tilhørerne: Hvorfor kan det være en udfordring at have et ligevægtigt syn på sit udseende?', + lcPart2: 'Hvad organisationen udretter (10 min.) Afspil Hvad organisationen udretter for september.', + lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 56 og slutnote 6 og 7', + songConclude: 101, + }, + { + weekDate: '11.-17. september', + weeklyBibleReading: 'ESTER 3-5', + songFirst: 85, + tgw10Talk: '“Hjælp andre til at nå deres fulde potentiale” (10 min.)', + tgwBRead: 'Oplæsning fra Bibelen (4 min.) Est 3:1-12 (th arbejdspunkt 2)', + ayfCount: 3, + ayfPart1: + 'Video: Genbesøg (5 min.) Drøftelse. Afspil videoen Genbesøg: Guds rige – Mt 14:19, 20. Stop videoen ved hver pause, og stil tilhørerne de spørgsmål der er i videoen.', + ayfPart2: + 'Genbesøg (3 min.) Indled med emnet fra “Forslag til samtaler”. Fortæl om det bibelkursus vi tilbyder, og giv den besøgte visitkortet “Gratis bibelkursus”. (th arbejdspunkt 16)', + ayfPart3: 'Bibelstudie (5 min.) lff lektion 12 indledning og punkt 1-3 (th arbejdspunkt 15)', + songMiddle: 65, + lcCount: 2, + lcPart1: + 'Bliv Jehovas ven – Ester var modig (5 min.) Drøftelse. Afspil videoen. Hvis det er muligt, så stil nogle børn du har talt med i forvejen, følgende spørgsmål: Hvornår kan du være modig ligesom Ester?', + lcPart2: 'Tilrettelægges lokalt (10 min.)', + lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 57', + songConclude: 125, + }, + { + weekDate: '18.-24. september', + weeklyBibleReading: 'ESTER 6-8', + songFirst: 115, + tgw10Talk: '“En lektion i god kommunikation” (10 min.)', + tgwBRead: 'Oplæsning fra Bibelen (4 min.) Est 8:9-17 (th arbejdspunkt 5)', + ayfCount: 3, + ayfPart1: + 'Første besøg (3 min.) Indled med emnet fra “Forslag til samtaler”. Svar på en almindelig indvending. (th arbejdspunkt 3)', + ayfPart2: + 'Genbesøg (4 min.) Indled med emnet fra “Forslag til samtaler”. Invitér den besøgte med til møde, og introducér og drøft (uden at afspille) videoen Hvad sker der i en rigssal? (th arbejdspunkt 12)', + ayfPart3: + 'Foredrag (5 min.) w22.01 10-11 § 8-10 – Tema: Undervis på en god måde, ligesom Jakob – Hold budskabet enkelt. (th arbejdspunkt 17)', + songMiddle: 148, + lcCount: 1, + lcPart1: '“Stol på Jehova hvis du bliver mobbet” (15 min.) Drøftelse og video.', + lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 58', + songConclude: 124, + }, + { + weekDate: '25. september – 1. oktober', + weeklyBibleReading: 'ESTER 9-10', + songFirst: 102, + tgw10Talk: '“Han brugte sin indflydelse til at hjælpe andre” (10 min.)', + tgwBRead: 'Oplæsning fra Bibelen (4 min.) Est 9:1-14 (th arbejdspunkt 11)', + ayfCount: 3, + ayfPart1: 'Første besøg (2 min.) Brug emnet fra “Forslag til samtaler”. (th arbejdspunkt 6)', + ayfPart2: + 'Genbesøg (5 min.) Indled med emnet fra “Forslag til samtaler”. Giv den besøgte brochuren Et håb om en lys fremtid, og vis hvordan et bibelkursus foregår. (th arbejdspunkt 13)', + ayfPart3: 'Bibelstudie (5 min.) lff lektion 12 indledning til Gå i dybden og punkt 4 (th arbejdspunkt 19)', + songMiddle: 117, + lcCount: 1, + lcPart1: '“Hyrder der tager sig godt af Jehovas folk” (15 min.) Drøftelse og video.', + lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 59 punkt 1-5', + songConclude: 55, + }, + { + weekDate: '2.-8. oktober', + weeklyBibleReading: 'JOB 1-3', + songFirst: 141, + tgw10Talk: '“Vis at du elsker Jehova højt” (10 min.)', + tgwBRead: 'Oplæsning fra Bibelen (4 min.) Job 3:1-26 (th arbejdspunkt 12)', + ayfCount: 3, + ayfPart1: + 'Første besøg (3 min.) Indled med emnet fra “Forslag til samtaler”. Fortæl om hjemmesiden, og giv den besøgte visitkortet “jw.org”. (th arbejdspunkt 9)', + ayfPart2: + 'Genbesøg (4 min.) Indled med emnet fra “Forslag til samtaler”. Introducér og drøft (uden at afspille) videoen Hvorfor studere Bibelen? (th arbejdspunkt 20)', + ayfPart3: + 'Foredrag (5 min.) w22.01 11-12 § 11-14 – Tema: Undervis på en god måde, ligesom Jakob – Vær realistisk og ydmyg. (th arbejdspunkt 18)', + songMiddle: 21, + lcCount: 2, + lcPart1: + 'Jeg mente selv at jeg havde en god balance i mit liv (10 min.) Drøftelse. Afspil videoen. Spørg derefter tilhørerne: På hvilken måde mente bror Birdwell at han havde “en god balance” i sit liv?', + lcPart2: '“Brug startsiden på jw.org i forkyndelsen” (5 min.) Drøftelse.', + lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 59 punkt 6 og Kort sagt, Forklar og Mål', + songConclude: 129, + }, + { + weekDate: '9.-15. oktober', + weeklyBibleReading: 'JOB 4-5', + songFirst: 121, + tgw10Talk: '“Er du opmærksom på misinformation?” (10 min.)', + tgwBRead: 'Oplæsning fra Bibelen (4 min.) Job 5:1-27 (th arbejdspunkt 10)', + ayfCount: 3, + ayfPart1: 'Første besøg (2 min.) Brug emnet fra “Forslag til samtaler”. (th arbejdspunkt 4)', + ayfPart2: + 'Genbesøg (5 min.) Indled med emnet fra “Forslag til samtaler”. Vis den besøgte hvordan man kan finde oplysninger på jw.org. (th arbejdspunkt 15)', + ayfPart3: 'Bibelstudie (5 min.) lff lektion 16 punkt 5 (th arbejdspunkt 16)', + songMiddle: 78, + lcCount: 1, + lcPart1: 'Tilrettelægges lokalt (15 min.)', + lcCBS: 'Menighedsbibelstudiet (30 min.) lff lektion 60', + songConclude: 38, + }, + { + weekDate: '16.-22. oktober', + weeklyBibleReading: 'JOB 6-7', + songFirst: 33, + tgw10Talk: '“Når du føler at du ikke kan klare mere” (10 min.)', + tgwBRead: 'Oplæsning fra Bibelen (4 min.) Job 6:1-21 (th arbejdspunkt 2)', + ayfCount: 3, + ayfPart1: + 'Første besøg (3 min.) Indled med emnet fra “Forslag til samtaler”. Svar på en almindelig indvending. (th arbejdspunkt 7)', + ayfPart2: + 'Genbesøg (4 min.) Indled med emnet fra “Forslag til samtaler”. Tilbyd en publikation fra Forkynderens værktøjskasse. (th arbejdspunkt 11)', + ayfPart3: + 'Foredrag (5 min.) w22.01 12-13 § 15-18 – Tema: Undervis på en god måde, ligesom Jakob – Brug gode illustrationer. (th arbejdspunkt 8)', + songMiddle: 144, + lcCount: 1, + lcPart1: '“Jehova hjælper dem der føler sig langt nede” (15 min.) Drøftelse og video.', + lcCBS: 'Menighedsbibelstudiet (30 min.) lff sektion 4 Opsummering', + songConclude: 143, + }, + { + weekDate: '23.-29. oktober', + weeklyBibleReading: 'JOB 8-10', + songFirst: 107, + tgw10Talk: '“Guds loyale kærlighed beskytter os mod Satans løgne” (10 min.)', + tgwBRead: 'Oplæsning fra Bibelen (4 min.) Job 9:20-35 (th arbejdspunkt 11)', + ayfCount: 3, + ayfPart1: + 'Første besøg (3 min.) Indled med emnet fra “Forslag til samtaler”. Tilbyd en publikation fra Forkynderens værktøjskasse. (th arbejdspunkt 17)', + ayfPart2: + 'Genbesøg (4 min.) Indled med emnet fra “Forslag til samtaler”. Giv den besøgte brochuren Et håb om en lys fremtid, og gennemgå kort “Hvordan du får mest muligt ud af materialet”. (th arbejdspunkt 3)', + ayfPart3: 'Bibelstudie (5 min.) lff lektion 16 punkt 6 og Nogle siger måske (th arbejdspunkt 14)', + songMiddle: 109, + lcCount: 2, + lcPart1: '“Hjælp ikkereligiøse mennesker til at lære deres Skaber at kende” (10 min.) Drøftelse og video.', + lcPart2: 'Tilrettelægges lokalt (5 min.)', + lcCBS: 'Menighedsbibelstudiet (30 min.) bt “Et brev fra Det Styrende Råd” og kap. 1 § 1-7', + songConclude: 64, + }, + { + weekDate: '30. oktober – 5. november', + weeklyBibleReading: 'JOB 11-12', + songFirst: 87, + tgw10Talk: '“Tre måder vi kan få visdom på” (10 min.)', + tgwBRead: 'Oplæsning fra Bibelen (4 min.) Job 12:1-25 (th arbejdspunkt 5)', + ayfCount: 3, + ayfPart1: + 'Første besøg (4 min.) Indled med emnet fra “Forslag til samtaler”. Fortæl om det bibelkursus vi tilbyder, og giv den besøgte visitkortet “Gratis bibelkursus”. (th arbejdspunkt 1)', + ayfPart2: + 'Genbesøg (3 min.) Indled med emnet fra “Forslag til samtaler”. Invitér den besøgte med til møde, og introducér og drøft (uden at afspille) videoen Hvad sker der i en rigssal? (th arbejdspunkt 13)', + ayfPart3: 'Bibelstudie (5 min.) lff lektion 12 Kort sagt, Forklar og Mål (th arbejdspunkt 19)', + songMiddle: 135, + lcCount: 1, + lcPart1: '“Hjælp jeres børn til at få gavn af det de lærer ved møderne” (15 min.) Drøftelse og video.', + lcCBS: 'Menighedsbibelstudiet (30 min.) bt kap. 1 § 8-15, boks på s. 12', + songConclude: 3, + }, + ], +}; diff --git a/test/fixtures/mwb_E_202303.js b/test/fixtures/mwb_E_202303.js deleted file mode 100644 index 9e847fcb..00000000 --- a/test/fixtures/mwb_E_202303.js +++ /dev/null @@ -1,215 +0,0 @@ -export default { - weeksCount: 7, - mwbYear: '2023', - weeksData: [ - { - weekDate: '03/06/2023', - weekDateLocale: 'March 6-12', - weeklyBibleReading: '1 CHRONICLES 23-26', - songFirst: 123, - tgw10Talk: '“Temple Worship Becomes Highly Organized”', - tgwBRead: '1Ch 23:21-32', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: 'Discussion. Play the video Memorial Invitation Campaign. Stop the video at the pause, and ask the audience the question that appears in the video.', - ayfPart1Time: 5, - ayfPart1Type: 'Memorial Invitation Video', - ayfPart2: 'Begin with the sample conversation topic. After the householder expresses interest, introduce and discuss (but do not play) the video Remember Jesus’ Death.', - ayfPart2Time: 3, - ayfPart2Type: 'Memorial Invitation', - ayfPart2Study: 11, - ayfPart3: 'w11 6/1 14-15​—Theme: Why Are Christians Organized?', - ayfPart3Time: 5, - ayfPart3Type: 'Talk', - ayfPart3Study: 14, - songMiddle: 101, - lcCount: 2, - lcPart1: '“How to Help After a Disaster”', - lcPart1Time: 10, - lcPart1Content: 'Discussion and video.', - lcPart2: 'Memorial Campaign to Begin Saturday, March 11', - lcPart2Time: 5, - lcPart2Content: 'Discussion. Briefly review the invitation. Outline the local arrangements for the special talk and the Memorial and for covering the territory.', - lcCBS: 'lff lesson 39 and endnote 3', - songConclude: 127 - }, - { - weekDate: '03/13/2023', - weekDateLocale: 'March 13-19', - weeklyBibleReading: '1 CHRONICLES 27-29', - songFirst: 133, - tgw10Talk: '“A Father’s Loving Admonition to His Son”', - tgwBRead: '1Ch 27:1-15', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: 'Discussion. Play the video Return Visit: Jesus​—Mt 20:28. Stop the video at each pause, and ask the audience the questions that appear in the video.', - ayfPart1Time: 5, - ayfPart1Type: 'Return Visit Video', - ayfPart2: 'Make a return visit on someone who accepted the Memorial invitation and showed interest. Introduce and discuss (but do not play) Why Did Jesus Die?', - ayfPart2Time: 4, - ayfPart2Type: 'Return Visit', - ayfPart2Study: 9, - ayfPart3: 'Make a return visit on someone who accepted the Memorial invitation and showed interest. Start a Bible study in the Enjoy Life Forever! brochure.', - ayfPart3Time: 4, - ayfPart3Type: 'Return Visit', - ayfPart3Study: 6, - songMiddle: 4, - lcCount: 2, - lcPart1: 'Local Needs', - lcPart1Time: 5, - lcPart2: 'Organizational Accomplishments', - lcPart2Time: 10, - lcPart2Content: 'Play the Organizational Accomplishments video for March.', - lcCBS: 'lff lesson 40', - songConclude: 45 - }, - { - weekDate: '03/20/2023', - weekDateLocale: 'March 20-26', - weeklyBibleReading: '2 CHRONICLES 1-4', - songFirst: 41, - tgw10Talk: '“King Solomon Makes an Unwise Decision”', - tgwBRead: '2Ch 4:7-22', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: 'Invite a workmate, a schoolmate, or a relative.', - ayfPart1Time: 3, - ayfPart1Type: 'Memorial Invitation', - ayfPart1Study: 2, - ayfPart2: 'Make a return visit on someone who accepted the Memorial invitation and showed interest. Explain our free Bible course, and offer the Enjoy Life Forever! brochure. Introduce and discuss (but do not play) the video What Happens at a Bible Study?', - ayfPart2Time: 4, - ayfPart2Type: 'Return Visit', - ayfPart2Study: 17, - ayfPart3: 'lff lesson 09 point 5', - ayfPart3Time: 5, - ayfPart3Type: 'Bible Study', - ayfPart3Study: 9, - songMiddle: 19, - lcCount: 1, - lcPart1: 'Will You Be Prepared for the Most Important Day of the Year?', - lcPart1Time: 15, - lcPart1Content: 'Talk and video. To be handled by the service overseer. Report on the local progress of the Memorial campaign. Interview those who have had good experiences. Refer to the Memorial Bible reading schedule on pages 8 and 9, and encourage all to prepare their heart. (Ezr 7:10) Discuss how we can warmly welcome our guests on the night of the Memorial. (Ro 15:7; mwb16.03 2) Play the video How to Make Memorial Bread.', - lcCBS: 'lff lesson 41 points 1-4', - songConclude: 135 - }, - { - weekDate: '03/27/2023', - weekDateLocale: 'March 27–April 2', - weeklyBibleReading: '2 CHRONICLES 5-7', - songFirst: 129, - tgw10Talk: '“My Heart Will Always Be There”', - tgwBRead: '2Ch 6:28-42', - tgwBReadStudy: 11, - ayfCount: 3, - ayfPart1: 'Begin with the sample conversation topic. After the householder expresses interest, introduce and discuss (but do not play) the video Remember Jesus’ Death.', - ayfPart1Time: 3, - ayfPart1Type: 'Memorial Invitation', - ayfPart1Study: 3, - ayfPart2: 'After the conclusion of the Memorial talk, initiate a conversation with someone you invited and answer a question he raises about the program.', - ayfPart2Time: 4, - ayfPart2Type: 'Return Visit', - ayfPart2Study: 17, - ayfPart3: 'w93 2/1 31​—Theme: What if We Cannot Attend the Memorial Because of Exceptional Circumstances?', - ayfPart3Time: 5, - ayfPart3Type: 'Talk', - ayfPart3Study: 18, - songMiddle: 36, - lcCount: 2, - lcPart1: '“Safeguard Your Heart”', - lcPart1Time: 10, - lcPart1Content: 'Discussion and video.', - lcPart2: 'Local Needs', - lcPart2Time: 5, - lcCBS: 'lff lesson 41 point 5 and summary, review, and goal', - songConclude: 34 - }, - { - weekDate: '04/10/2023', - weekDateLocale: 'April 10-16', - weeklyBibleReading: '2 CHRONICLES 8-9', - songFirst: 88, - tgw10Talk: '“She Valued Wisdom”', - tgwBRead: '2Ch 8:1-16', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: 'Discussion. Play the video Initial Call: Jesus​—Mt 16:16. Stop the video at each pause, and ask the audience the questions that appear in the video.', - ayfPart1Time: 5, - ayfPart1Type: 'Initial Call Video', - ayfPart2: 'Begin with the sample conversation topic. Respond to an objection common in your territory.', - ayfPart2Time: 3, - ayfPart2Type: 'Initial Call', - ayfPart2Study: 2, - ayfPart3: 'lff lesson 09 point 6', - ayfPart3Time: 5, - ayfPart3Type: 'Bible Study', - ayfPart3Study: 19, - songMiddle: 98, - lcCount: 1, - lcPart1: '“Daily Bible Reading and the Search for Wisdom”', - lcPart1Time: 15, - lcPart1Content: 'Discussion and video.', - lcCBS: 'lff lesson 42 and endnote 4', - songConclude: 131 - }, - { - weekDate: '04/17/2023', - weekDateLocale: 'April 17-23', - weeklyBibleReading: '2 CHRONICLES 10-12', - songFirst: 103, - tgw10Talk: '“Benefit From Wise Advice”', - tgwBRead: '2Ch 10:1-15', - tgwBReadStudy: 2, - ayfCount: 3, - ayfPart1: 'Begin with the sample conversation topic. Respond to an objection common in your territory.', - ayfPart1Time: 3, - ayfPart1Type: 'Initial Call', - ayfPart1Study: 12, - ayfPart2: 'Begin with the sample conversation topic. Offer a publication from the Teaching Toolbox.', - ayfPart2Time: 4, - ayfPart2Type: 'Return Visit', - ayfPart2Study: 6, - ayfPart3: 'be 69 ¶4-5​—Theme: Train Your Bible Students When They Ask for Advice.', - ayfPart3Time: 5, - ayfPart3Type: 'Talk', - ayfPart3Study: 20, - songMiddle: 79, - lcCount: 2, - lcPart1: '“How to Use the Bible Study Videos”', - lcPart1Time: 5, - lcPart1Content: 'Talk and video. Play the video Welcome to Your Bible Study.', - lcPart2: 'Local Needs', - lcPart2Time: 10, - lcCBS: 'lff lesson 43', - songConclude: 121 - }, - { - weekDate: '04/24/2023', - weekDateLocale: 'April 24-30', - weeklyBibleReading: '2 CHRONICLES 13-16', - songFirst: 3, - tgw10Talk: '“Rely On Jehovah​—When?”', - tgwBRead: '2Ch 14:1-15', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: 'Begin with the sample conversation topic. Tell the person about our website, and leave a jw.org contact card.', - ayfPart1Time: 3, - ayfPart1Type: 'Initial Call', - ayfPart1Study: 1, - ayfPart2: 'Begin with the sample conversation topic. Tell the person about our Bible study program, and give him a Bible course contact card.', - ayfPart2Time: 4, - ayfPart2Type: 'Return Visit', - ayfPart2Study: 11, - ayfPart3: 'lff lesson 09 point 7 and Some People Say', - ayfPart3Time: 5, - ayfPart3Type: 'Bible Study', - ayfPart3Study: 6, - songMiddle: 94, - lcCount: 1, - lcPart1: '“Decisions That Show Reliance on Jehovah”', - lcPart1Time: 15, - lcPart1Content: 'Discussion and video.', - lcCBS: 'lff lesson 44 points 1-4 and endnote 5', - songConclude: 39 - } - ] -} \ No newline at end of file diff --git a/test/fixtures/mwb_E_202309.js b/test/fixtures/mwb_E_202309.js new file mode 100644 index 00000000..d43c3651 --- /dev/null +++ b/test/fixtures/mwb_E_202309.js @@ -0,0 +1,287 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '09/04/2023', + weekDateLocale: 'September 4-10', + weeklyBibleReading: 'ESTHER 1-2', + songFirst: 137, + tgw10Talk: '“Strive to Be Modest Like Esther”', + tgwBRead: 'Es 1:13-22', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: + 'Discussion. Play the video Initial Call: Kingdom​—Mt 6:9, 10. Stop the video at each pause, and ask the audience the questions that appear in the video.', + ayfPart1Time: 5, + ayfPart1Type: 'Initial Call Video', + ayfPart2: 'Begin with the sample conversation topic. Offer the Enjoy Life Forever! brochure.', + ayfPart2Time: 3, + ayfPart2Type: 'Initial Call', + ayfPart2Study: 1, + ayfPart3: 'w20.11 12-14 ¶3-7​—Theme: Help From Jesus and the Angels.', + ayfPart3Time: 5, + ayfPart3Type: 'Talk', + ayfPart3Study: 14, + songMiddle: 106, + lcCount: 2, + lcPart1: 'What Your Peers Say​—Body Image', + lcPart1Time: 5, + lcPart1Content: + 'Discussion. Play the video. Then ask the audience: Why can it be difficult to have a balanced view of our appearance?', + lcPart2: 'Organizational Accomplishments', + lcPart2Time: 10, + lcPart2Content: 'Play the Organizational Accomplishments video for September.', + lcCBS: 'lff lesson 56 and endnotes 6 and 7', + songConclude: 101, + }, + { + weekDate: '09/11/2023', + weekDateLocale: 'September 11-17', + weeklyBibleReading: 'ESTHER 3-5', + songFirst: 85, + tgw10Talk: '“Help Others to Reach Their Full Potential”', + tgwBRead: 'Es 3:1-12', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Discussion. Play the video Return Visit: Kingdom​—Mt 14:19, 20. Stop the video at each pause, and ask the audience the questions that appear in the video.', + ayfPart1Time: 5, + ayfPart1Type: 'Return Visit Video', + ayfPart2: + 'Begin with the sample conversation topic. Tell the person about our Bible study program, and leave a Bible course contact card.', + ayfPart2Time: 3, + ayfPart2Type: 'Return Visit', + ayfPart2Study: 16, + ayfPart3: 'lff lesson 12 intro and points 1-3', + ayfPart3Time: 5, + ayfPart3Type: 'Bible Study', + ayfPart3Study: 15, + songMiddle: 65, + lcCount: 2, + lcPart1: 'Become Jehovah’s Friend​—Esther Had Courage', + lcPart1Time: 5, + lcPart1Content: + 'Discussion. Play the video. Then, if possible, ask selected children: In what way would you like to imitate Esther’s courage?', + lcPart2: 'Local Needs', + lcPart2Time: 10, + lcCBS: 'lff lesson 57', + songConclude: 125, + }, + { + weekDate: '09/18/2023', + weekDateLocale: 'September 18-24', + weeklyBibleReading: 'ESTHER 6-8', + songFirst: 115, + tgw10Talk: '“A Lesson in Good Communication”', + tgwBRead: 'Es 8:9-17', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: 'Begin with the sample conversation topic. Respond to a common objection.', + ayfPart1Time: 3, + ayfPart1Type: 'Initial Call', + ayfPart1Study: 3, + ayfPart2: + 'Begin with the sample conversation topic. Invite the person to a meeting, and introduce and discuss (but do not play) the video What Happens at a Kingdom Hall?', + ayfPart2Time: 4, + ayfPart2Type: 'Return Visit', + ayfPart2Study: 12, + ayfPart3: 'w22.01 10-11 ¶8-10​—Theme: Teach Effectively Like James—​Keep Your Message Simple.', + ayfPart3Time: 5, + ayfPart3Type: 'Talk', + ayfPart3Study: 17, + songMiddle: 148, + lcCount: 1, + lcPart1: '“Rely On Jehovah When Dealing With a Bully”', + lcPart1Time: 15, + lcPart1Content: 'Discussion and video.', + lcCBS: 'lff lesson 58', + songConclude: 124, + }, + { + weekDate: '09/25/2023', + weekDateLocale: 'September 25–October 1', + weeklyBibleReading: 'ESTHER 9-10', + songFirst: 102, + tgw10Talk: '“He Used His Authority Unselfishly”', + tgwBRead: 'Es 9:1-14', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Use the sample conversation topic.', + ayfPart1Time: 2, + ayfPart1Type: 'Initial Call', + ayfPart1Study: 6, + ayfPart2: + 'Begin with the sample conversation topic. Offer the Enjoy Life Forever! brochure, and demonstrate a Bible study.', + ayfPart2Time: 5, + ayfPart2Type: 'Return Visit', + ayfPart2Study: 13, + ayfPart3: 'lff lesson 12 Dig Deeper introduction and point 4', + ayfPart3Time: 5, + ayfPart3Type: 'Bible Study', + ayfPart3Study: 19, + songMiddle: 117, + lcCount: 1, + lcPart1: '“Shepherds Who Work for the Good of Jehovah’s People”', + lcPart1Time: 15, + lcPart1Content: 'Discussion and video.', + lcCBS: 'lff lesson 59 points 1-5', + songConclude: 55, + }, + { + weekDate: '10/02/2023', + weekDateLocale: 'October 2-8', + weeklyBibleReading: 'JOB 1-3', + songFirst: 141, + tgw10Talk: '“Continue to Show the Depth of Your Love for Jehovah”', + tgwBRead: 'Job 3:1-26', + tgwBReadStudy: 12, + ayfCount: 3, + ayfPart1: + 'Begin with the sample conversation topic. Tell the person about our website, and leave a jw.org contact card.', + ayfPart1Time: 3, + ayfPart1Type: 'Initial Call', + ayfPart1Study: 9, + ayfPart2: + 'Begin with the sample conversation topic. Introduce and discuss (but do not play) the video Why Study the Bible?', + ayfPart2Time: 4, + ayfPart2Type: 'Return Visit', + ayfPart2Study: 20, + ayfPart3: 'w22.01 11-12 ¶11-14​—Theme: Teach Effectively Like James—​Be Realistic and Humble.', + ayfPart3Time: 5, + ayfPart3Type: 'Talk', + ayfPart3Study: 18, + songMiddle: 21, + lcCount: 2, + lcPart1: 'I Thought I Had It All Together', + lcPart1Time: 10, + lcPart1Content: + 'Discussion. Play the video. Then ask the audience: In what way did Brother Birdwell feel as if he “had it all together”?', + lcPart2: '“Use the JW.ORG Home Page in Your Ministry”', + lcPart2Time: 5, + lcPart2Content: 'Discussion.', + lcCBS: 'lff lesson 59 point 6 and summary, review, and goal', + songConclude: 129, + }, + { + weekDate: '10/09/2023', + weekDateLocale: 'October 9-15', + weeklyBibleReading: 'JOB 4-5', + songFirst: 121, + tgw10Talk: '“Beware of Misinformation”', + tgwBRead: 'Job 5:1-27', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: 'Use the sample conversation topic.', + ayfPart1Time: 2, + ayfPart1Type: 'Initial Call', + ayfPart1Study: 4, + ayfPart2: 'Begin with the sample conversation topic. Show the person how to find information on jw.org.', + ayfPart2Time: 5, + ayfPart2Type: 'Return Visit', + ayfPart2Study: 15, + ayfPart3: 'lff lesson 16 point 5', + ayfPart3Time: 5, + ayfPart3Type: 'Bible Study', + ayfPart3Study: 16, + songMiddle: 78, + lcCount: 1, + lcPart1: 'Local Needs', + lcPart1Time: 15, + lcCBS: 'lff lesson 60', + songConclude: 38, + }, + { + weekDate: '10/16/2023', + weekDateLocale: 'October 16-22', + weeklyBibleReading: 'JOB 6-7', + songFirst: 33, + tgw10Talk: '“When Life Feels Unbearable”', + tgwBRead: 'Job 6:1-21', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: 'Begin with the sample conversation topic. Respond to a common objection.', + ayfPart1Time: 3, + ayfPart1Type: 'Initial Call', + ayfPart1Study: 7, + ayfPart2: 'Begin with the sample conversation topic. Offer a publication from the Teaching Toolbox.', + ayfPart2Time: 4, + ayfPart2Type: 'Return Visit', + ayfPart2Study: 11, + ayfPart3: 'w22.01 12-13 ¶15-18​—Theme: Teach Effectively Like James—​Use Effective Illustrations.', + ayfPart3Time: 5, + ayfPart3Type: 'Talk', + ayfPart3Study: 8, + songMiddle: 144, + lcCount: 1, + lcPart1: '“Jehovah Saves Those Who Are Crushed in Spirit”', + lcPart1Time: 15, + lcPart1Content: 'Discussion and video.', + lcCBS: 'lff section 4 review', + songConclude: 143, + }, + { + weekDate: '10/23/2023', + weekDateLocale: 'October 23-29', + weeklyBibleReading: 'JOB 8-10', + songFirst: 107, + tgw10Talk: '“God’s Loyal Love Protects Us From Satan’s Lies”', + tgwBRead: 'Job 9:20-35', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Begin with the sample conversation topic. Offer a publication from the Teaching Toolbox.', + ayfPart1Time: 3, + ayfPart1Type: 'Initial Call', + ayfPart1Study: 17, + ayfPart2: + 'Begin with the sample conversation topic. Offer the Enjoy Life Forever! brochure, and briefly consider “How to Get the Most Out of These Bible Lessons.”', + ayfPart2Time: 4, + ayfPart2Type: 'Return Visit', + ayfPart2Study: 3, + ayfPart3: 'lff lesson 16 point 6 and Some People Say', + ayfPart3Time: 5, + ayfPart3Type: 'Bible Study', + ayfPart3Study: 14, + songMiddle: 109, + lcCount: 2, + lcPart1: '“Help Nonreligious People Come to Know Their Creator”', + lcPart1Time: 10, + lcPart1Content: 'Discussion and video.', + lcPart2: 'Local Needs', + lcPart2Time: 5, + lcCBS: 'bt “A Letter From the Governing Body” and chap. 1 ¶1-7', + songConclude: 64, + }, + { + weekDate: '10/30/2023', + weekDateLocale: 'October 30–November 5', + weeklyBibleReading: 'JOB 11-12', + songFirst: 87, + tgw10Talk: '“Three Ways to Gain Wisdom and Benefit From It”', + tgwBRead: 'Job 12:1-25', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Begin with the sample conversation topic. Tell the person about our Bible study program, and leave a Bible course contact card.', + ayfPart1Time: 4, + ayfPart1Type: 'Initial Call', + ayfPart1Study: 1, + ayfPart2: + 'Begin with the sample conversation topic. Invite the person to a meeting, and introduce and discuss (but do not play) the video What Happens at a Kingdom Hall?', + ayfPart2Time: 3, + ayfPart2Type: 'Return Visit', + ayfPart2Study: 13, + ayfPart3: 'lff lesson 12 summary, review, and goal', + ayfPart3Time: 5, + ayfPart3Type: 'Bible Study', + ayfPart3Study: 19, + songMiddle: 135, + lcCount: 1, + lcPart1: '“Parents​—Help Your Children to Gain Godly Wisdom”', + lcPart1Time: 15, + lcPart1Content: 'Discussion and video.', + lcCBS: 'bt chap. 1 ¶8-15, box on p. 12', + songConclude: 3, + }, + ], +}; diff --git a/test/fixtures/mwb_F_202303.js b/test/fixtures/mwb_F_202303.js deleted file mode 100644 index 4f6f7ae1..00000000 --- a/test/fixtures/mwb_F_202303.js +++ /dev/null @@ -1,231 +0,0 @@ -export default { - weeksCount: 7, - mwbYear: '2023', - weeksData: [ - { - weekDate: '03/06/2023', - weekDateLocale: '6-12 mars', - weeklyBibleReading: '1 CHRONIQUES 23-26', - songFirst: 123, - tgw10Talk: '« Le culte au Temple : Une organisation de haut niveau »', - tgwBRead: '1Ch 23:21-32', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Discussion. Montrer la vidéo Campagne d’invitation au Mémorial. À la pause, arrêter la vidéo et poser la question qui s’affiche.', - ayfPart1Time: 5, - ayfPart1Type: 'Vidéo d’invitation au Mémorial', - ayfPart2: - 'Engage la conversation sur la base du thème suggéré. Ton interlocuteur manifestant de l’intérêt, présente-​lui (sans la visionner) la vidéo En souvenir du sacrifice de Jésus, puis discutes-​en avec lui', - ayfPart2Time: 3, - ayfPart2Type: 'Invitation au Mémorial', - ayfPart2Study: 11, - ayfPart3: 'w11 1/6 14-15. Thème : Pourquoi les chrétiens sont-​ils organisés ?', - ayfPart3Time: 5, - ayfPart3Type: 'Discours', - ayfPart3Study: 14, - songMiddle: 101, - lcCount: 2, - lcPart1: '« Comment porter secours aux victimes d’une catastrophe »', - lcPart1Time: 10, - lcPart1Content: 'Discussion et vidéo.', - lcPart2: 'Samedi 11 mars, coup d’envoi de la campagne d’invitation au Mémorial', - lcPart2Time: 5, - lcPart2Content: - 'Discussion. Parler brièvement du contenu de l’invitation. Énumérer les dispositions prises pour le discours spécial et le Mémorial, et pour couvrir le territoire.', - lcCBS: 'lff leçon 39 et note no 3', - songConclude: 127, - }, - { - weekDate: '03/13/2023', - weekDateLocale: '13-19 mars', - weeklyBibleReading: '1 CHRONIQUES 27-29', - songFirst: 133, - tgw10Talk: '« Les conseils bienveillants d’un père à son fils »', - tgwBRead: '1Ch 27:1-15', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: - 'Discussion. Montrer la vidéo Nouvelle visite : Jésus (Mt 20:28). À chaque pause, arrêter la vidéo et poser les questions qui s’affichent.', - ayfPart1Time: 5, - ayfPart1Type: 'Vidéo de la nouvelle visite', - ayfPart2: - 'Nouvelle visite à quelqu’un qui a accepté l’invitation au Mémorial et manifesté de l’intérêt. Présente-​lui (sans la visionner) la vidéo Pourquoi Jésus est-​il mort ?, puis discutes-​en avec lui', - ayfPart2Time: 4, - ayfPart2Type: 'Nouvelle visite', - ayfPart2Study: 9, - ayfPart3: - 'Nouvelle visite à quelqu’un qui a accepté l’invitation au Mémorial et manifesté de l’intérêt. Commence un cours biblique sur la base de la brochure Vivez pour toujours !', - ayfPart3Time: 4, - ayfPart3Type: 'Nouvelle visite', - ayfPart3Study: 6, - songMiddle: 4, - lcCount: 2, - lcPart1: 'Besoins de l’assemblée', - lcPart1Time: 5, - lcPart2: 'L’organisation de Dieu à l’œuvre', - lcPart2Time: 10, - lcPart2Content: 'Montrer la vidéo L’organisation de Dieu à l’œuvre prévue pour mars.', - lcCBS: 'lff leçon 40', - songConclude: 45, - }, - { - weekDate: '03/20/2023', - weekDateLocale: '20-26 mars', - weeklyBibleReading: '2 CHRONIQUES 1-4', - songFirst: 41, - tgw10Talk: '« Le roi Salomon prend une mauvaise décision »', - tgwBRead: '2Ch 4:7-22', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: 'Invite un collègue de travail, un camarade ou un membre de ta famille', - ayfPart1Time: 3, - ayfPart1Type: 'Invitation au Mémorial', - ayfPart1Study: 2, - ayfPart2: - 'Nouvelle visite à quelqu’un qui a accepté l’invitation au Mémorial et manifesté de l’intérêt. Parle-​lui de la possibilité de suivre des cours bibliques gratuits et propose-​lui la brochure Vivez pour toujours ! Présente-​lui (sans la visionner) la vidéo Comment se passe un cours biblique ?, puis discutes-​en avec lui', - ayfPart2Time: 4, - ayfPart2Type: 'Nouvelle visite', - ayfPart2Study: 17, - ayfPart3: 'lff leçon 09 idée principale 5', - ayfPart3Time: 5, - ayfPart3Type: 'Cours biblique', - ayfPart3Study: 9, - songMiddle: 19, - lcCount: 1, - lcPart1: 'Seras-​tu prêt pour le jour le plus important de l’année ?', - lcPart1Time: 15, - lcPart1Content: - 'Discours et vidéo. Par le responsable de la prédication. Faire le point sur le déroulement de la campagne. Interviewer des proclamateurs ayant des faits encourageants à rapporter. Attirer l’attention sur le programme de lecture de la Bible pour le Mémorial, aux pages 8 et 9, et encourager chacun à préparer son cœur (Esd 7:10). Rappeler des manières d’accueillir chaleureusement nos invités le soir du Mémorial (Rm 15:7 ; mwb16.03 2). Montrer la vidéo Comment faire le pain du Mémorial.', - lcCBS: 'lff leçon 41 idées principales 1-4', - songConclude: 135, - }, - { - weekDate: '03/27/2023', - weekDateLocale: '27 mars – 2 avril', - weeklyBibleReading: '2 CHRONIQUES 5-7', - songFirst: 129, - tgw10Talk: '« Mon cœur sera toujours là »', - tgwBRead: '2Ch 6:28-42', - tgwBReadStudy: 11, - ayfCount: 3, - ayfPart1: - 'Engage la conversation sur la base du thème suggéré. Ton interlocuteur manifestant de l’intérêt, présente-​lui (sans la visionner) la vidéo En souvenir du sacrifice de Jésus, puis discutes-​en avec lui', - ayfPart1Time: 3, - ayfPart1Type: 'Invitation au Mémorial', - ayfPart1Study: 3, - ayfPart2: - 'Une fois le discours du Mémorial terminé, engage la conversation avec une personne que tu as invitée et réponds à une question qu’elle pose au sujet du programme', - ayfPart2Time: 4, - ayfPart2Type: 'Nouvelle visite', - ayfPart2Study: 17, - ayfPart3: 'w93 1/2 31. Thème : Que faire si une situation exceptionnelle nous empêche d’assister au Mémorial ?', - ayfPart3Time: 5, - ayfPart3Type: 'Discours', - ayfPart3Study: 18, - songMiddle: 36, - lcCount: 2, - lcPart1: '« Protège ton cœur »', - lcPart1Time: 10, - lcPart1Content: 'Discussion et vidéo.', - lcPart2: 'Besoins de l’assemblée', - lcPart2Time: 5, - lcCBS: 'lff leçon 41 idée principale 5, « En bref », « Révision » et « Mon objectif »', - songConclude: 34, - }, - { - weekDate: '04/10/2023', - weekDateLocale: '10-16 avril', - weeklyBibleReading: '2 CHRONIQUES 8-9', - songFirst: 88, - tgw10Talk: '« Elle attachait du prix à la sagesse »', - tgwBRead: '2Ch 8:1-16', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Discussion. Montrer la vidéo Premier contact : Jésus (Mt 16:16). À chaque pause, arrêter la vidéo et poser les questions qui s’affichent.', - ayfPart1Time: 5, - ayfPart1Type: 'Vidéo du premier contact', - ayfPart2: - 'Engage la conversation sur la base du thème suggéré. Surmonte une objection courante dans ton territoire', - ayfPart2Time: 3, - ayfPart2Type: 'Premier contact', - ayfPart2Study: 2, - ayfPart3: 'lff leçon 09 idée principale 6', - ayfPart3Time: 5, - ayfPart3Type: 'Cours biblique', - ayfPart3Study: 19, - songMiddle: 98, - lcCount: 1, - lcPart1: '« Recherche la sagesse par une lecture quotidienne de la Bible »', - lcPart1Time: 15, - lcPart1Content: 'Discussion et vidéo.', - lcCBS: 'lff leçon 42 et note no 4', - songConclude: 131, - }, - { - weekDate: '04/17/2023', - weekDateLocale: '17-23 avril', - weeklyBibleReading: '2 CHRONIQUES 10-12', - songFirst: 103, - tgw10Talk: '« Suivons les conseils des sages »', - tgwBRead: '2Ch 10:1-15', - tgwBReadStudy: 2, - ayfCount: 3, - ayfPart1: - 'Engage la conversation sur la base du thème suggéré. Surmonte une objection courante dans ton territoire', - ayfPart1Time: 3, - ayfPart1Type: 'Premier contact', - ayfPart1Study: 12, - ayfPart2: - 'Engage la conversation sur la base du thème suggéré. Propose une publication de la panoplie d’enseignant', - ayfPart2Time: 4, - ayfPart2Type: 'Nouvelle visite', - ayfPart2Study: 6, - ayfPart3: 'be 69 § 4-5. Thème : Apprends à ton étudiant de la Bible à ‘exercer ses facultés de discernement’', - ayfPart3Time: 5, - ayfPart3Type: 'Discours', - ayfPart3Study: 20, - songMiddle: 79, - lcCount: 2, - lcPart1: '« Vidéos d’introduction à un cours biblique : mode d’emploi »', - lcPart1Time: 5, - lcPart1Content: 'Discours et vidéo. Montrer la vidéo Présentation du cours biblique interactif.', - lcPart2: 'Besoins de l’assemblée', - lcPart2Time: 10, - lcCBS: 'lff leçon 43', - songConclude: 121, - }, - { - weekDate: '04/24/2023', - weekDateLocale: '24-30 avril', - weeklyBibleReading: '2 CHRONIQUES 13-16', - songFirst: 3, - tgw10Talk: '« Compter sur Jéhovah : dans quelles situations ? »', - tgwBRead: '2Ch 14:1-15', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Engage la conversation sur la base du thème suggéré. Parle à ton interlocuteur de notre site Internet et remets-​lui une carte de visite jw.org', - ayfPart1Time: 3, - ayfPart1Type: 'Premier contact', - ayfPart1Study: 1, - ayfPart2: - 'Engage la conversation sur la base du thème suggéré. Parle à ton interlocuteur de la possibilité de suivre des cours bibliques et donne-​lui une carte de visite « cours biblique »', - ayfPart2Time: 4, - ayfPart2Type: 'Nouvelle visite', - ayfPart2Study: 11, - ayfPart3: 'lff leçon 09 idée principale 7 et « On entend parfois »', - ayfPart3Time: 5, - ayfPart3Type: 'Cours biblique', - ayfPart3Study: 6, - songMiddle: 94, - lcCount: 1, - lcPart1: '« Des décisions qui témoignent de notre confiance en Jéhovah »', - lcPart1Time: 15, - lcPart1Content: 'Discussion et vidéo.', - lcCBS: 'lff leçon 44 idées principales 1-4 et note no 5', - songConclude: 39, - }, - ], -}; diff --git a/test/fixtures/mwb_F_202309.js b/test/fixtures/mwb_F_202309.js new file mode 100644 index 00000000..48e516c6 --- /dev/null +++ b/test/fixtures/mwb_F_202309.js @@ -0,0 +1,291 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '09/04/2023', + weekDateLocale: '4-10 septembre', + weeklyBibleReading: 'ESTHER 1-2', + songFirst: 137, + tgw10Talk: '« Imitons la modestie d’Esther »', + tgwBRead: 'Est 1:13-22', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: + 'Discussion. Montrer la vidéo Premier contact : Le Royaume (Mt 6:9, 10). À chaque pause, arrêter la vidéo et poser les questions qui s’affichent.', + ayfPart1Time: 5, + ayfPart1Type: 'Vidéo du premier contact', + ayfPart2: 'Engage la conversation sur la base du thème suggéré. Propose la brochure Vivez pour toujours !', + ayfPart2Time: 3, + ayfPart2Type: 'Premier contact', + ayfPart2Study: 1, + ayfPart3: 'w20.11 12-14 § 3-7. Thème : L’aide de Jésus et des anges', + ayfPart3Time: 5, + ayfPart3Type: 'Discours', + ayfPart3Study: 14, + songMiddle: 106, + lcCount: 2, + lcPart1: 'Ce qu’ils en pensent : L’importance du physique', + lcPart1Time: 5, + lcPart1Content: + 'Discussion. Montrer la vidéo. Puis poser ces questions : Pourquoi est-​il parfois difficile d’avoir un point de vue équilibré sur notre appparence ?', + lcPart2: 'L’organisation de Dieu à l’oeuvre', + lcPart2Time: 10, + lcPart2Content: 'Montrer la vidéo L’organisation de Dieu à l’oeuvre prévue pour septembre.', + lcCBS: 'lff leçon 56, et notes 6 et 7', + songConclude: 101, + }, + { + weekDate: '09/11/2023', + weekDateLocale: '11-17 septembre', + weeklyBibleReading: 'ESTHER 3-5', + songFirst: 85, + tgw10Talk: '« Aidons les autres à exploiter pleinement leur potentiel »', + tgwBRead: 'Est 3:1-12', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Discussion. Montrer la vidéo Nouvelle visite : Le Royaume (Mt 14:19, 20). À chaque pause, arrêter la vidéo et poser les questions qui s’affichent.', + ayfPart1Time: 5, + ayfPart1Type: 'Vidéo de la nouvelle visite', + ayfPart2: + 'Engage la conversation sur la base du thème suggéré. Parle à ton interlocuteur de la possibilité de suivre des cours bibliques et remets-​lui unne carte de visite « cours biblique »', + ayfPart2Time: 3, + ayfPart2Type: 'Nouvelle visite', + ayfPart2Study: 16, + ayfPart3: 'lff leçon 12 introduction et idées principales 1-3', + ayfPart3Time: 5, + ayfPart3Type: 'Cours biblique', + ayfPart3Study: 15, + songMiddle: 65, + lcCount: 2, + lcPart1: 'Deviens l’ami de Jéhovah : Esther avait du courage', + lcPart1Time: 5, + lcPart1Content: + 'Discussion. Montrer la vidéo. Puis, si possible, poser à de jeunes enfants désignés à l’avance cette question : Comment aimerais-​tu imiteer le courage d’Esther ?', + lcPart2: 'Besoins de l’assemblée', + lcPart2Time: 10, + lcCBS: 'lff leçon 57', + songConclude: 125, + }, + { + weekDate: '09/18/2023', + weekDateLocale: '18-24 septembre', + weeklyBibleReading: 'ESTHER 6-8', + songFirst: 115, + tgw10Talk: '« Un modèle de communication »', + tgwBRead: 'Est 8:9-17', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: 'Engage la conversation sur la base du thème suggéré. Surmonte une objection courante', + ayfPart1Time: 3, + ayfPart1Type: 'Premier contact', + ayfPart1Study: 3, + ayfPart2: + 'Engage la conversation sur la base du thème suggéré. Invite ton interlocuteur à une réunion. Présente-​lui (sans la visionner) la vidéo Que se ppasse-​t-​il dans une salle du Royaume ?, puis discutes-​en avec lui', + ayfPart2Time: 4, + ayfPart2Type: 'Nouvelle visite', + ayfPart2Study: 12, + ayfPart3: 'w22.01 10-11 § 8-10. Thème : Comme Jacques, deviens un enseignant efficace : Enseigne de façon simple', + ayfPart3Time: 5, + ayfPart3Type: 'Discours', + ayfPart3Study: 17, + songMiddle: 148, + lcCount: 1, + lcPart1: '« Appuie-​toi sur Jéhovah pour faire face au harcèlement »', + lcPart1Time: 15, + lcPart1Content: 'Discussion et vidéo.', + lcCBS: 'lff leçon 58', + songConclude: 124, + }, + { + weekDate: '09/25/2023', + weekDateLocale: '25 septembre – 1er octobre', + weeklyBibleReading: 'ESTHER 9-10', + songFirst: 102, + tgw10Talk: '« Il a exercé son autorité avec abnégation »', + tgwBRead: 'Est 9:1-14', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Sers-​toi du thème suggéré', + ayfPart1Time: 2, + ayfPart1Type: 'Premier contact', + ayfPart1Study: 6, + ayfPart2: + 'Engage la conversation sur la base du thème suggéré. Propose à ton interlocuteur la brochure Vivez pour toujours ! et montre-​lui comment, dans la pratique, se passe un cours biblique', + ayfPart2Time: 5, + ayfPart2Type: 'Nouvelle visite', + ayfPart2Study: 13, + ayfPart3: 'lff leçon 12 introduction de « Approfondissons » et idée principale 4', + ayfPart3Time: 5, + ayfPart3Type: 'Cours biblique', + ayfPart3Study: 19, + songMiddle: 117, + lcCount: 1, + lcPart1: '« Des bergers qui se dépensent pour le bien du peuple de Jéhovah »', + lcPart1Time: 15, + lcPart1Content: 'Discussion et vidéo.', + lcCBS: 'lff leçon 59 idées principales 1-5', + songConclude: 55, + }, + { + weekDate: '10/02/2023', + weekDateLocale: '2-8 octobre', + weeklyBibleReading: 'JOB 1-3', + songFirst: 141, + tgw10Talk: '« Continuons de montrer la profondeur de notre amour pour Jéhovah »', + tgwBRead: 'Jb 3:1-26', + tgwBReadStudy: 12, + ayfCount: 3, + ayfPart1: + 'Engage la conversation sur la base du thème suggéré. Parle à ton interlocuteur de notre site Internet et remets-​lui une carte de visite jw.org', + ayfPart1Time: 3, + ayfPart1Type: 'Premier contact', + ayfPart1Study: 9, + ayfPart2: + 'Engage la conversation sur la base du thème suggéré. Présente (sans la visionner) la vidéo Pourquoi étudier la Bible ?, puis discutes-​en avec tton interlocuteur', + ayfPart2Time: 4, + ayfPart2Type: 'Nouvelle visite', + ayfPart2Study: 20, + ayfPart3: 'w22.01 11-12 § 11-14. Thème : Comme Jacques, deviens un enseignant efficace : Sois réaliste et humble', + ayfPart3Time: 5, + ayfPart3Type: 'Discours', + ayfPart3Study: 18, + songMiddle: 21, + lcCount: 2, + lcPart1: 'Je pensais être au top', + lcPart1Time: 10, + lcPart1Content: + 'Discussion. Montrer la vidéo. Puis poser ces questions : Pourquoi frère Birdwell pensait-​il « être au top » ?', + lcPart2: '« Utilise la page d’accueil de jw.org en prédication »', + lcPart2Time: 5, + lcPart2Content: 'Discussion.', + lcCBS: 'lff leçon 59 idée principale 6, « En bref », « Révision » et « Mon objectif »', + songConclude: 129, + }, + { + weekDate: '10/09/2023', + weekDateLocale: '9-15 octobre', + weeklyBibleReading: 'JOB 4-5', + songFirst: 121, + tgw10Talk: '« Méfions-​nous de la désinformation »', + tgwBRead: 'Jb 5:1-27', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: 'Sers-​toi du thème suggéré', + ayfPart1Time: 2, + ayfPart1Type: 'Premier contact', + ayfPart1Study: 4, + ayfPart2: + 'Engage la conversation sur la base du thème suggéré. Explique à ton interlocuteur comment naviguer sur le site jw.org', + ayfPart2Time: 5, + ayfPart2Type: 'Nouvelle visite', + ayfPart2Study: 15, + ayfPart3: 'lff leçon 16 idée principale 5', + ayfPart3Time: 5, + ayfPart3Type: 'Cours biblique', + ayfPart3Study: 16, + songMiddle: 78, + lcCount: 1, + lcPart1: 'Besoins de l’assemblée', + lcPart1Time: 15, + lcCBS: 'lff leçon 60', + songConclude: 38, + }, + { + weekDate: '10/16/2023', + weekDateLocale: '16-22 octobre', + weeklyBibleReading: 'JOB 6-7', + songFirst: 33, + tgw10Talk: '« Quand la vie paraît insupportable »', + tgwBRead: 'Jb 6:1-21', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: 'Engage la conversation sur la base du thème suggéré. Surmonte une objection courante', + ayfPart1Time: 3, + ayfPart1Type: 'Premier contact', + ayfPart1Study: 7, + ayfPart2: + 'Engage la conversation sur la base du thème suggéré. Propose une publication de la panoplie d’enseignant', + ayfPart2Time: 4, + ayfPart2Type: 'Nouvelle visite', + ayfPart2Study: 11, + ayfPart3: + 'w22.01 12-13 § 15-18. Thème : Comme Jacques, deviens un enseignant efficace : Sers-​toi de comparaisons efficaces', + ayfPart3Time: 5, + ayfPart3Type: 'Discours', + ayfPart3Study: 8, + songMiddle: 144, + lcCount: 1, + lcPart1: '« Jéhovah sauve ceux qui ont l’esprit écrasé »', + lcPart1Time: 15, + lcPart1Content: 'Discussion et vidéo.', + lcCBS: 'lff « Révision de la partie 4 »', + songConclude: 143, + }, + { + weekDate: '10/23/2023', + weekDateLocale: '23-29 octobre', + weeklyBibleReading: 'JOB 8-10', + songFirst: 107, + tgw10Talk: '« L’amour fidèle de Dieu nous protège des mensonges de Satan »', + tgwBRead: 'Jb 9:20-35', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: + 'Engage la conversation sur la base du thème suggéré. Propose une publication de la panoplie d’enseignant', + ayfPart1Time: 3, + ayfPart1Type: 'Premier contact', + ayfPart1Study: 17, + ayfPart2: + 'Engage la conversation sur la base du thème suggéré. Propose à ton interlocuteur la brochure Vivez pour toujours ! et examine brièvement « Pour bien profiter de ces leçons… »', + ayfPart2Time: 4, + ayfPart2Type: 'Nouvelle visite', + ayfPart2Study: 3, + ayfPart3: 'lff leçon 16 idée principale 6 et « On entend parfois »', + ayfPart3Time: 5, + ayfPart3Type: 'Cours biblique', + ayfPart3Study: 14, + songMiddle: 109, + lcCount: 2, + lcPart1: '« Aide les personnes qui n’ont pas de religion à connaître leur Créateur »', + lcPart1Time: 10, + lcPart1Content: 'Discussion et vidéo.', + lcPart2: 'Besoins de l’assemblée', + lcPart2Time: 5, + lcCBS: 'bt « Lettre du Collège central » et chap. 1 § 1-7', + songConclude: 64, + }, + { + weekDate: '10/30/2023', + weekDateLocale: '30 octobre – 5 novembre', + weeklyBibleReading: 'JOB 11-12', + songFirst: 87, + tgw10Talk: '« Trois manières d’acquérir la sagesse et d’en tirer profit »', + tgwBRead: 'Jb 12:1-25', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Engage la conversation sur la base du thème suggéré. Parle à ton interlocuteur de la possibilité de suivre des cours bibliques et remets-​lui unne carte de visite « cours biblique »', + ayfPart1Time: 4, + ayfPart1Type: 'Premier contact', + ayfPart1Study: 1, + ayfPart2: + 'Engage la conversation sur la base du thème suggéré. Invite ton interlocuteur à une réunion. Présente (sans la visionner) la vidéo Que se passe-​t-​il dans une salle du Royaume ?, puis discutes-​en avec lui', + ayfPart2Time: 3, + ayfPart2Type: 'Nouvelle visite', + ayfPart2Study: 13, + ayfPart3: 'lff leçon 12 « En bref », « Révision » et « Mon objectif »', + ayfPart3Time: 5, + ayfPart3Type: 'Cours biblique', + ayfPart3Study: 19, + songMiddle: 135, + lcCount: 1, + lcPart1: '« Parents, aidez vos enfants à acquérir la sagesse divine »', + lcPart1Time: 15, + lcPart1Content: 'Discussion et vidéo.', + lcCBS: 'bt chap. 1 § 8-15 et encadré p. 12', + songConclude: 3, + }, + ], +}; diff --git a/test/fixtures/mwb_K_202309.js b/test/fixtures/mwb_K_202309.js new file mode 100644 index 00000000..be70f9de --- /dev/null +++ b/test/fixtures/mwb_K_202309.js @@ -0,0 +1,289 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '09/04/2023', + weekDateLocale: '4—10 вересня', + weeklyBibleReading: 'ЕСТЕР 1, 2', + songFirst: 137, + tgw10Talk: '«Будьте скромні, як Естер»', + tgwBRead: 'Ес 1:13—22', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: + 'Обговорення. Покажи відео «Перша розмова. Царство (Мт 6:9, 10)». Коли з’являється значок паузи, зупиняй відео і став присутнім запитання, що на екрані.', + ayfPart1Time: 5, + ayfPart1Type: 'Перша розмова. Відео', + ayfPart2: 'Зроби вступ на основі теми зі зразка розмови. Запропонуй брошуру «Будьте щасливі тепер і завжди!».', + ayfPart2Time: 3, + ayfPart2Type: 'Перша розмова', + ayfPart2Study: 1, + ayfPart3: 'w20.11 12—14, абз. 3—7. Тема: Допомога від Ісуса та ангелів.', + ayfPart3Time: 5, + ayfPart3Type: 'Промова', + ayfPart3Study: 14, + songMiddle: 106, + lcCount: 2, + lcPart1: '«Що кажуть твої однолітки. Зовнішність»', + lcPart1Time: 5, + lcPart1Content: + 'Обговорення. Покажи відео. Тоді запитай присутніх: чому нелегко зберігати врівноважений погляд на свою зовнішність?', + lcPart2: 'Чого досягнула наша організація', + lcPart2Time: 10, + lcPart2Content: 'Покажи відео за вересень з серії «Чого досягнула наша організація».', + lcCBS: 'lff урок 56, додатки 6 і 7', + songConclude: 101, + }, + { + weekDate: '09/11/2023', + weekDateLocale: '11—17 вересня', + weeklyBibleReading: 'ЕСТЕР 3—5', + songFirst: 85, + tgw10Talk: '«Допомагайте іншим розкрити свій потенціал»', + tgwBRead: 'Ес 3:1—12', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Обговорення. Покажи відео «Повторні відвідини. Царство (Мт 14:19, 20)». Коли з’являється значок паузи, зупиняй відео і став присутнім запитання, що на екрані.', + ayfPart1Time: 5, + ayfPart1Type: 'Повторні відвідини. Відео', + ayfPart2: + 'Зроби вступ на основі теми зі зразка розмови. Розкажи людині про наш курс вивчення Біблії і залиши їй візитну картку, яка звертає увагу на цей курс.', + ayfPart2Time: 3, + ayfPart2Type: 'Повторні відвідини', + ayfPart2Study: 16, + ayfPart3: 'lff урок 12, вступ і пункти 1—3', + ayfPart3Time: 5, + ayfPart3Type: 'Біблійне вивчення', + ayfPart3Study: 15, + songMiddle: 65, + lcCount: 2, + lcPart1: '«Будь другом Єгови. Мужня, як Естер»', + lcPart1Time: 5, + lcPart1Content: + 'Обговорення. Покажи відео. Тоді запитай дітей (домовся з ними заздалегідь): як ти можеш наслідувати мужність Естер?', + lcPart2: 'Місцеві потреби', + lcPart2Time: 10, + lcCBS: 'lff урок 57', + songConclude: 125, + }, + { + weekDate: '09/18/2023', + weekDateLocale: '18—24 вересня', + weeklyBibleReading: 'ЕСТЕР 6—8', + songFirst: 115, + tgw10Talk: '«Покращуймо вміння спілкуватися»', + tgwBRead: 'Ес 8:9—17', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: 'Зроби вступ на основі теми зі зразка розмови. Спростуй заперечення, поширене у вашій місцевості.', + ayfPart1Time: 3, + ayfPart1Type: 'Перша розмова', + ayfPart1Study: 3, + ayfPart2: + 'Зроби вступ на основі теми зі зразка розмови. Запроси людину на зібрання і запропонуй переглянути та обговори відео «Як проходять зібрання в Залі Царства?» (але не показуй його).', + ayfPart2Time: 4, + ayfPart2Type: 'Повторні відвідини', + ayfPart2Study: 12, + ayfPart3: 'w22.01 10, 11, абз. 8—10. Тема: Подібно до Якова, будьте хорошими вчителями. Навчайте просто.', + ayfPart3Time: 5, + ayfPart3Type: 'Промова', + ayfPart3Study: 17, + songMiddle: 148, + lcCount: 1, + lcPart1: '«Покладайся на Єгову, коли стикаєшся з булінгом»', + lcPart1Time: 15, + lcPart1Content: 'Обговорення і перегляд відео.', + lcCBS: 'lff урок 58', + songConclude: 124, + }, + { + weekDate: '09/25/2023', + weekDateLocale: '25 вересня — 1 жовтня', + weeklyBibleReading: 'ЕСТЕР 9, 10', + songFirst: 102, + tgw10Talk: '«Він використовував свою владу на добро іншим»', + tgwBRead: 'Ес 9:1—14', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Зроби вступ на основі теми зі зразка розмови.', + ayfPart1Time: 2, + ayfPart1Type: 'Перша розмова', + ayfPart1Study: 6, + ayfPart2: + 'Зроби вступ на основі теми зі зразка розмови. Запропонуй брошуру «Будьте щасливі тепер і завжди!» і покажи, як проводиться вивчення Біблії.', + ayfPart2Time: 5, + ayfPart2Type: 'Повторні відвідини', + ayfPart2Study: 13, + ayfPart3: 'lff урок 12, вступ до «Дізнайтесь більше» і пункт 4', + ayfPart3Time: 5, + ayfPart3Type: 'Біблійне вивчення', + ayfPart3Study: 19, + songMiddle: 117, + lcCount: 1, + lcPart1: '«Пастирі, які дбають про народ Єгови»', + lcPart1Time: 15, + lcPart1Content: 'Обговорення і перегляд відео.', + lcCBS: 'lff урок 59, пункти 1—5', + songConclude: 55, + }, + { + weekDate: '10/02/2023', + weekDateLocale: '2—8 жовтня', + weeklyBibleReading: 'ЙОВА 1—3', + songFirst: 141, + tgw10Talk: '«Нехай ваша любов до Єгови буде очевидною»', + tgwBRead: 'Йв 3:1—26', + tgwBReadStudy: 12, + ayfCount: 3, + ayfPart1: + 'Зроби вступ на основі теми зі зразка розмови. Розкажи людині про сайт jw.org і залиши їй візитну картку сайту.', + ayfPart1Time: 3, + ayfPart1Type: 'Перша розмова', + ayfPart1Study: 9, + ayfPart2: + 'Зроби вступ на основі теми зі зразка розмови. Запропонуй переглянути та обговори відео «Чому варто вивчати Біблію?» (але не показуй його).', + ayfPart2Time: 4, + ayfPart2Type: 'Повторні відвідини', + ayfPart2Study: 20, + ayfPart3: + 'w22.01 11, 12, абз. 11—14. Тема: Подібно до Якова, будьте хорошими вчителями. Майте реалістичні сподівання і виявляйте смирення.', + ayfPart3Time: 5, + ayfPart3Type: 'Промова', + ayfPart3Study: 18, + songMiddle: 21, + lcCount: 2, + lcPart1: '«Я думав, що досягнув усього, чого хотів»', + lcPart1Time: 10, + lcPart1Content: + 'Обговорення. Покажи відео. Тоді запитай присутніх: чому брат Бердвелл думав, що досягнув усього, чого хотів?', + lcPart2: '«Користуйтесь у служінні головною сторінкою JW.ORG»', + lcPart2Time: 5, + lcPart2Content: 'Обговорення.', + lcCBS: 'lff урок 59, пункт 6, підсумок, «Як би ви відповіли?» і ціль', + songConclude: 129, + }, + { + weekDate: '10/09/2023', + weekDateLocale: '9—15 жовтня', + weeklyBibleReading: 'ЙОВА 4, 5', + songFirst: 121, + tgw10Talk: '«Остерігайтесь неправдивої інформації»', + tgwBRead: 'Йв 5:1—27', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: 'Зроби вступ на основі теми зі зразка розмови.', + ayfPart1Time: 2, + ayfPart1Type: 'Перша розмова', + ayfPart1Study: 4, + ayfPart2: 'Зроби вступна основі теми зі зразка розмови. Покажи людині, як шукати інформацію на jw.org.', + ayfPart2Time: 5, + ayfPart2Type: 'Повторні відвідини', + ayfPart2Study: 15, + ayfPart3: 'lff урок 16, пункт 5', + ayfPart3Time: 5, + ayfPart3Type: 'Біблійне вивчення', + ayfPart3Study: 16, + songMiddle: 78, + lcCount: 1, + lcPart1: 'Місцеві потреби', + lcPart1Time: 15, + lcCBS: 'lff урок 60', + songConclude: 38, + }, + { + weekDate: '10/16/2023', + weekDateLocale: '16—22 жовтня', + weeklyBibleReading: 'ЙОВА 6, 7', + songFirst: 33, + tgw10Talk: '«Коли життя здається нестерпним»', + tgwBRead: 'Йв 6:1—21', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: 'Зроби вступ на основі теми зі зразка розмови. Спростуй заперечення, поширене у вашій місцевості.', + ayfPart1Time: 3, + ayfPart1Type: 'Перша розмова', + ayfPart1Study: 7, + ayfPart2: 'Зроби вступ на основі теми зі зразка розмови. Запропонуй публікацію з наших знарядь для навчання.', + ayfPart2Time: 4, + ayfPart2Type: 'Повторні відвідини', + ayfPart2Study: 11, + ayfPart3: + 'w22.01 12, 13, абз. 15—18. Тема: Подібно до Якова, будьте хорошими вчителями. Наводьте зрозумілі приклади.', + ayfPart3Time: 5, + ayfPart3Type: 'Промова', + ayfPart3Study: 8, + songMiddle: 144, + lcCount: 1, + lcPart1: '«Єгова спасає тих, у кого пригнічений дух»', + lcPart1Time: 15, + lcPart1Content: 'Обговорення і перегляд відео.', + lcCBS: 'lff Повторення. Частина 4', + songConclude: 143, + }, + { + weekDate: '10/23/2023', + weekDateLocale: '23—29 жовтня', + weeklyBibleReading: 'ЙОВА 8—10', + songFirst: 107, + tgw10Talk: '«Божа віддана любов захищає нас від обману Сатани»', + tgwBRead: 'Йв 9:20—35', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Зроби вступ на основі теми зі зразка розмови. Запропонуй публікацію з наших знарядь для навчання.', + ayfPart1Time: 3, + ayfPart1Type: 'Перша розмова', + ayfPart1Study: 17, + ayfPart2: + 'Зроби вступ на основі теми зі зразка розмови. Запропонуй брошуру «Будьте щасливі тепер і завжди!» і коротко обговори «Як користуватися посібником».', + ayfPart2Time: 4, + ayfPart2Type: 'Повторні відвідини', + ayfPart2Study: 3, + ayfPart3: 'lff урок 16, пункт 6 і «Дехто каже»', + ayfPart3Time: 5, + ayfPart3Type: 'Біблійне вивчення', + ayfPart3Study: 14, + songMiddle: 109, + lcCount: 2, + lcPart1: '«Допомагайте нерелігійним людям познайомитися з Творцем»', + lcPart1Time: 10, + lcPart1Content: 'Обговорення і перегляд відео.', + lcPart2: 'Місцеві потреби', + lcPart2Time: 5, + lcCBS: 'bt «Лист від Керівного органу» і розд. 1, абз. 1—7', + songConclude: 64, + }, + { + weekDate: '10/30/2023', + weekDateLocale: '30 жовтня — 5 листопада', + weeklyBibleReading: 'ЙОВА 11, 12', + songFirst: 87, + tgw10Talk: '«Як набувати мудрості. Три кроки»', + tgwBRead: 'Йв 12:1—25', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Зроби вступ на основі теми зі зразка розмови. Розкажи людині про наш курс вивчення Біблії і залиши їй візитну картку, яка звертає увагу на цей курс.', + ayfPart1Time: 4, + ayfPart1Type: 'Перша розмова', + ayfPart1Study: 1, + ayfPart2: + 'Зроби вступ на основі теми зі зразка розмови. Запроси людину на зібрання і запропонуй переглянути та обговори відео «Як проходять зібрання в Залі Царства?» (але не показуй його).', + ayfPart2Time: 3, + ayfPart2Type: 'Повторні відвідини', + ayfPart2Study: 13, + ayfPart3: 'lff урок 12: підсумок, «Як би ви відповіли?» і ціль', + ayfPart3Time: 5, + ayfPart3Type: 'Біблійне вивчення', + ayfPart3Study: 19, + songMiddle: 135, + lcCount: 1, + lcPart1: '«Батьки, допомагайте дітям набувати Божої мудрості»', + lcPart1Time: 15, + lcPart1Content: 'Обговорення і перегляд відео.', + lcCBS: 'bt розд. 1, абз. 8—15, і супровідна інформація на с. 12', + songConclude: 3, + }, + ], +}; diff --git a/test/fixtures/mwb_MG_202303.js b/test/fixtures/mwb_MG_202303.js deleted file mode 100644 index 7290ebd2..00000000 --- a/test/fixtures/mwb_MG_202303.js +++ /dev/null @@ -1,232 +0,0 @@ -export default { - weeksCount: 7, - mwbYear: '2023', - weeksData: [ - { - weekDate: '03/06/2023', - weekDateLocale: '6-12 Martsa', - weeklyBibleReading: '1 TANTARA 23-26', - songFirst: 123, - tgw10Talk: '“Lasa Voalamina Tsara ny Fanompoana tao Amin’ny Tempoly”', - tgwBRead: '1Ta 23:21-32', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Fiaraha-midinika. Alefaso ilay video hoe Ezaka Manokana Hizarana Fanasana Fahatsiarovana. Ajanòny ilay video isaky ny misy fiatoana, ary iaraho midinika ny fanontaniana mipoitra eo.', - ayfPart1Time: 5, - ayfPart1Type: 'Video Fanasana Fahatsiarovana', - ayfPart2: - 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Liana ilay olona, dia asehoy azy ilay video hoe Tsarovy ny Nahafatesan’i Jesosy (tsy tena alefa anefa ilay izy). Iaraho midinika ilay izy avy eo.', - ayfPart2Time: 3, - ayfPart2Type: 'Fanasana Fahatsiarovana', - ayfPart2Study: 11, - ayfPart3: 'w11 1/6 14-15: Foto-kevitra: Nahoana no Voalamina Tsara ny Kristianina?', - ayfPart3Time: 5, - ayfPart3Type: 'Lahateny', - ayfPart3Study: 14, - songMiddle: 101, - lcCount: 2, - lcPart1: '“Te Hanampy ve Ianao Rehefa Misy Loza Mitranga?”', - lcPart1Time: 10, - lcPart1Content: 'Fiaraha-midinika sy video.', - lcPart2: 'Ezaka Manokana Hizarana Fanasana Fahatsiarovana Manomboka ny Asabotsy 11 Martsa', - lcPart2Time: 5, - lcPart2Content: - 'Fiaraha-midinika. Resaho kely izay voalazan’ilay fanasana. Resaho koa ny fandaharana ataon’ny fiangonana momba ny lahateny manokana sy ny Fahatsiarovana ary ny fomba hamitana ny faritany.', - lcCBS: 'lff lesona 39 sy fanamarihana 3', - songConclude: 127, - }, - { - weekDate: '03/13/2023', - weekDateLocale: '13-19 Martsa', - weeklyBibleReading: '1 TANTARA 27-29', - songFirst: 133, - tgw10Talk: '“Torohevitry ny Ray Be Fitiavana ho An-janany”', - tgwBRead: '1Ta 27:1-15', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: - 'Fiaraha-midinika. Alefaso ilay video hoe Fiverenana Mitsidika: Jesosy​—Mt 20:28. Ajanòny ilay video isaky ny misy fiatoana, ary iaraho midinika ny fanontaniana mipoitra eo.', - ayfPart1Time: 5, - ayfPart1Type: 'Video Fiverenana Mitsidika', - ayfPart2: - 'Mitsidika olona liana sy nandray fanasana Fahatsiarovana ianao. Asehoy azy ilay video hoe Inona no Antony Nahafatesan’i Jesosy? (tsy tena alefa anefa ilay izy) Iaraho midinika ilay izy.', - ayfPart2Time: 4, - ayfPart2Type: 'Fiverenana Mitsidika', - ayfPart2Study: 9, - ayfPart3: - 'Mitsidika olona liana sy nandray fanasana Fahatsiarovana ianao. Manomboha fampianarana Baiboly amin’ilay bokikely hoe Ankafizo Mandrakizay ny Fiainana!', - ayfPart3Time: 4, - ayfPart3Type: 'Fiverenana Mitsidika', - ayfPart3Study: 6, - songMiddle: 4, - lcCount: 2, - lcPart1: 'Zavatra Ilain’ny Fiangonana', - lcPart1Time: 5, - lcPart2: 'Zava-bitan’ny Fandaminana', - lcPart2Time: 10, - lcPart2Content: 'Alefaso ilay video hoe Zava-bitan’ny Fandaminana, izay tokony halefa amin’ity Martsa ity.', - lcCBS: 'lff lesona 40', - songConclude: 45, - }, - { - weekDate: '03/20/2023', - weekDateLocale: '20-26 Martsa', - weeklyBibleReading: '2 TANTARA 1-4', - songFirst: 41, - tgw10Talk: '“Tsy Nety ny Fanapahan-kevitr’i Solomona Mpanjaka”', - tgwBRead: '2Ta 4:7-22', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: 'Manasà mpiara-miasa, mpiara-mianatra, na havana.', - ayfPart1Time: 3, - ayfPart1Type: 'Fanasana Fahatsiarovana', - ayfPart1Study: 2, - ayfPart2: - 'Mitsidika olona liana sy nandray fanasana Fahatsiarovana ianao. Hazavao hoe mampianatra Baiboly maimaim-poana isika, dia omeo an’ilay bokikely hoe Ankafizo Mandrakizay ny Fiainana! izy. Asehoy azy ilay video hoe Ahoana no Atao Rehefa Mianatra Baiboly? (tsy tena alefa anefa ilay izy) Iaraho midinika ilay izy avy eo.', - ayfPart2Time: 4, - ayfPart2Type: 'Fiverenana Mitsidika', - ayfPart2Study: 17, - ayfPart3: 'lff lesona 9: Hevitra 5', - ayfPart3Time: 5, - ayfPart3Type: 'Fampianarana Baiboly', - ayfPart3Study: 9, - songMiddle: 19, - lcCount: 1, - lcPart1: 'Vonona ho Amin’ilay Andro Miavaka Indrindra ve Ianao?', - lcPart1Time: 15, - lcPart1Content: - 'Lahateny sy video. Ataon’ny mpiandraikitra ny fanompoana. Resaho ny fandroson’ny ezaka manokana hizarana fanasana Fahatsiarovana ao amin’ny faritaninareo. Manadinadìna mpitory manana fitantarana mampahery. Resaho koa ilay fandaharana famakiana Baiboly ho amin’ny Fahatsiarovana ao amin’ny pejy 8 sy 9, ary ampirisiho ny rehetra hanomana ny fony. (Ezr 7:10) Iaraho midinika hoe inona no azontsika atao mba handraisana tsara an’izay vahiny tonga. (Ro 15:7; mwb16.03 2) Alefaso ilay video hoe Fomba Fanamboarana Mofon’ny Fahatsiarovana.', - lcCBS: 'lff lesona 41: Hevitra 1-4', - songConclude: 135, - }, - { - weekDate: '03/27/2023', - weekDateLocale: '27 Martsa–2 Aprily', - weeklyBibleReading: '2 Tantara 5-7', - songFirst: 129, - tgw10Talk: '“Ho ao Foana ny Foko”', - tgwBRead: '2Ta 6:28-42', - tgwBReadStudy: 11, - ayfCount: 3, - ayfPart1: - 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Liana ilay olona, dia asehoy azy ilay video hoe Tsarovy ny Nahafatesan’i Jesosy (tsy tena alefa anefa ilay izy). Iaraho midinika ilay izy avy eo.', - ayfPart1Time: 3, - ayfPart1Type: 'Fanasana Fahatsiarovana', - ayfPart1Study: 3, - ayfPart2: - 'Tapitra ny lahatenin’ny Fahatsiarovana, dia miezaha hanombo-dresaka amin’ny olona nasainao. Valio ny fanontaniana iray napetrany momba an’ilay fandaharana.', - ayfPart2Time: 4, - ayfPart2Type: 'Fiverenana Mitsidika', - ayfPart2Study: 17, - ayfPart3: - 'w93 1/2 31: Foto-kevitra: Inona no Azo Atao Raha Tsy Afaka Manatrika ny Fahatsiarovana Ianao Noho ny Antony Tena Maningana?', - ayfPart3Time: 5, - ayfPart3Type: 'Lahateny', - ayfPart3Study: 18, - songMiddle: 36, - lcCount: 2, - lcPart1: '“Arovy ny Fonao”', - lcPart1Time: 10, - lcPart1Content: 'Fiaraha-midinika sy video.', - lcPart2: 'Zavatra Ilain’ny Fiangonana', - lcPart2Time: 5, - lcCBS: 'lff lesona 41: Hevitra 5, famintinana, famerenana ary tanjona', - songConclude: 34, - }, - { - weekDate: '04/10/2023', - weekDateLocale: '10-16 Aprily', - weeklyBibleReading: '2 TANTARA 8-9', - songFirst: 88, - tgw10Talk: '“Sarobidy Taminy ny Fahendrena”', - tgwBRead: '2Ta 8:1-16', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Fiaraha-midinika. Alefaso ilay video hoe Fitoriana: Jesosy​—Mt 16:16. Ajanòny ilay video isaky ny misy fiatoana, ary iaraho midinika ny fanontaniana mipoitra eo.', - ayfPart1Time: 5, - ayfPart1Type: 'Video Fitoriana', - ayfPart2: - 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Miezaha mamaly fanoherana fahita eny amin’ny faritany.', - ayfPart2Time: 3, - ayfPart2Type: 'Fitoriana', - ayfPart2Study: 2, - ayfPart3: 'lff lesona 9: Hevitra 6', - ayfPart3Time: 5, - ayfPart3Type: 'Fampianarana Baiboly', - ayfPart3Study: 19, - songMiddle: 98, - lcCount: 1, - lcPart1: '“Ho Hendry Ianao Raha Mamaky Baiboly Isan’andro”', - lcPart1Time: 15, - lcPart1Content: 'Fiaraha-midinika sy video.', - lcCBS: 'lff lesona 42 sy fanamarihana 4', - songConclude: 131, - }, - { - weekDate: '04/17/2023', - weekDateLocale: '17-23 Aprily', - weeklyBibleReading: '2 Tantara 10-12', - songFirst: 103, - tgw10Talk: '“Mitadiava Torohevitra Feno Fahendrena”', - tgwBRead: '2Ta 10:1-15', - tgwBReadStudy: 2, - ayfCount: 3, - ayfPart1: - 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Miezaha mamaly fanoherana fahita eny amin’ny faritany.', - ayfPart1Time: 3, - ayfPart1Type: 'Fitoriana', - ayfPart1Study: 12, - ayfPart2: - 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Manolora zavatra anisan’ny Fitaovana Fampianarana.', - ayfPart2Time: 4, - ayfPart2Type: 'Fiverenana Mitsidika', - ayfPart2Study: 6, - ayfPart3: 'be 69 § 4-5: Foto-kevitra: Mampiofana ny Mpianatrao ve Ianao Rehefa Mangataka Torohevitra Aminao Izy?', - ayfPart3Time: 5, - ayfPart3Type: 'Lahateny', - ayfPart3Study: 20, - songMiddle: 79, - lcCount: 2, - lcPart1: '“Ahoana no Ampiasana An’ireo Video Miresaka Momba ny Fianarana Baiboly?”', - lcPart1Time: 5, - lcPart1Content: 'Lahateny sy video. Alefaso ilay video hoe Faly Hiara-mianatra Baiboly Aminao Izahay.', - lcPart2: 'Zavatra Ilain’ny Fiangonana', - lcPart2Time: 10, - lcCBS: 'lff lesona 43', - songConclude: 121, - }, - { - weekDate: '04/24/2023', - weekDateLocale: '24-30 Aprily', - weeklyBibleReading: '2 Tantara 13-16', - songFirst: 3, - tgw10Talk: '“Rehefa Inona Ianao no Miantehitra Amin’i Jehovah?”', - tgwBRead: '2Ta 14:1-15', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Resaho amin’ilay olona ny momba ny tranonkalantsika, dia omeo karatra jw.org izy avy eo.', - ayfPart1Time: 3, - ayfPart1Type: 'Fitoriana', - ayfPart1Study: 1, - ayfPart2: - 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Lazao amin’ilay olona hoe mampianatra Baiboly isika, dia omeo karatra mampahafantatra ny fampianarana ataontsika izy.', - ayfPart2Time: 4, - ayfPart2Type: 'Fiverenana Mitsidika', - ayfPart2Study: 11, - ayfPart3: 'lff lesona 9: Hevitra 7 sy ilay hoe Misy Miteny Hoe', - ayfPart3Time: 5, - ayfPart3Type: 'Fampianarana Baiboly', - ayfPart3Study: 6, - songMiddle: 94, - lcCount: 1, - lcPart1: '“Miantehera Amin’i Jehovah Rehefa Hanapa-kevitra”', - lcPart1Time: 15, - lcPart1Content: 'Fiaraha-midinika sy video.', - lcCBS: 'lff lesona 44: Hevitra 1-4 sy fanamarihana 5', - songConclude: 39, - }, - ], -}; diff --git a/test/fixtures/mwb_MG_202309.js b/test/fixtures/mwb_MG_202309.js new file mode 100644 index 00000000..a3773770 --- /dev/null +++ b/test/fixtures/mwb_MG_202309.js @@ -0,0 +1,296 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '09/04/2023', + weekDateLocale: '4-10 Septambra', + weeklyBibleReading: 'ESTERA 1-2', + songFirst: 137, + tgw10Talk: '“Miezaha Hanetry Tena Hoatran’i Estera”', + tgwBRead: 'Es 1:​13-22', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: + 'Fiaraha-midinika. Alefaso ilay video hoe Fitoriana: Fanjakana​—Mt 6:​9, 10. Ajanòny ilay video isaky ny misy fiatoana, ary iaraho midinika ny fanontaniana mipoitra eo.', + ayfPart1Time: 5, + ayfPart1Type: 'Video Fitoriana', + ayfPart2: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Atolory ilay bokikely hoe Ankafizo Mandrakizay ny Fiainana!', + ayfPart2Time: 3, + ayfPart2Type: 'Fitoriana', + ayfPart2Study: 1, + ayfPart3: 'w20.11 13-14 § 3-7: Foto-kevitra: Fanampiana avy Amin’i Jesosy sy ny Anjely.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahateny', + ayfPart3Study: 14, + songMiddle: 106, + lcCount: 2, + lcPart1: 'Ny Hevitry ny Tanora toa Anao: Bika Aman’endrika', + lcPart1Time: 5, + lcPart1Content: + 'Fiaraha-midinika. Alefaso ilay video. Fanontaniana: Nahoana no sarotra ny mahay mandanjalanja fa tsy mifantoka be loatra amin’ny bika aman’endrika?', + lcPart2: 'Zava-bitan’ny Fandaminana', + lcPart2Time: 10, + lcPart2Content: 'Alefaso ilay video hoe Zava-bitan’ny Fandaminana, izay tokony halefa amin’ity Septambra ity.', + lcCBS: 'lff lesona 56 sy fanamarihana 6, 7', + songConclude: 101, + }, + { + weekDate: '09/11/2023', + weekDateLocale: '11-17 Septambra', + weeklyBibleReading: 'ESTERA 3-5', + songFirst: 85, + tgw10Talk: '“Ampio ny Hafa mba Hanome ny Tsara Indrindra”', + tgwBRead: 'Es 3:​1-12', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Fiaraha-midinika. Alefaso ilay video hoe Fiverenana Mitsidika: Fanjakana​—Mt 14:​19, 20. Ajanòny ilay video isaky ny misy fiatoana, ary iaraho m midinika ny fanontaniana mipoitra eo.', + ayfPart1Time: 5, + ayfPart1Type: 'Video Fiverenana Mitsidika', + ayfPart2: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Lazao amin’ilay olona hoe mampianatra Baiboly isika, dia omeo karatra jw.org izy.', + ayfPart2Time: 3, + ayfPart2Type: 'Fiverenana Mitsidika', + ayfPart2Study: 16, + ayfPart3: 'lff lesona 12: Fampidirana sy hevitra 1-3', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianarana Baiboly', + ayfPart3Study: 15, + songMiddle: 65, + lcCount: 2, + lcPart1: 'Ataovy Namanao i Jehovah: Be Herim-po i Estera', + lcPart1Time: 5, + lcPart1Content: + 'Fiaraha-midinika. Alefaso ilay video. Raha azo atao, dia manadinadìna ankizy vitsivitsy nofidina mialoha. Fanontaniana: Ahoana avy no tianao ampisehoana hoe be herim-po hoatran’i Estera ianao?', + lcPart2: 'Zavatra Ilain’ny Fiangonana', + lcPart2Time: 10, + lcCBS: 'lff lesona 57', + songConclude: 125, + }, + { + weekDate: '09/18/2023', + weekDateLocale: '18-24 Septambra', + weeklyBibleReading: 'ESTERA 6-8', + songFirst: 115, + tgw10Talk: '“Ohatra Momba ny Fifampiresahana Tsara”', + tgwBRead: 'Es 8:​9-17', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Miezaha mamaly fanoherana fahita eny amin’ny faritany.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoriana', + ayfPart1Study: 3, + ayfPart2: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Asao hivory ilay olona. Asehoy ilay video hoe Inona no Atao any Amin’ny Efitrano Fanjakana? (aza alefa) ary iaraho midinika ilay izy.', + ayfPart2Time: 4, + ayfPart2Type: 'Fiverenana Mitsidika', + ayfPart2Study: 12, + ayfPart3: + 'w22.01 10-11 § 8-10: Foto-kevitra: Miezaha Hahay Hampianatra Hoatran’i Jakoba ka Ataovy Tsotra ny Fanazavanao.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahateny', + ayfPart3Study: 17, + songMiddle: 148, + lcCount: 1, + lcPart1: '“Miantehera Amin’i Jehovah Rehefa Misy Mampijaly”', + lcPart1Time: 15, + lcPart1Content: 'Fiaraha-midinika sy video.', + lcCBS: 'lff lesona 58', + songConclude: 124, + }, + { + weekDate: '09/25/2023', + weekDateLocale: '25 Septambra–1 Oktobra', + weeklyBibleReading: 'ESTERA 9-10', + songFirst: 102, + tgw10Talk: '“Tsy Nanararaotra Fahefana Izy”', + tgwBRead: 'Es 9:​1-14', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Ampiasao ny foto-kevitra ao amin’ny hevitra azo resahina.', + ayfPart1Time: 2, + ayfPart1Type: 'Fitoriana', + ayfPart1Study: 6, + ayfPart2: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Atolory ilay bokikely hoe Ankafizo Mandrakizay ny Fiainana!, ary asehoy ny fomba fianarana Baiboly.', + ayfPart2Time: 5, + ayfPart2Type: 'Fiverenana Mitsidika', + ayfPart2Study: 13, + ayfPart3: 'lff lesona 12: Teny fampidirana an’ilay hoe Andao Hohalalinintsika sy hevitra 4', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianarana Baiboly', + ayfPart3Study: 19, + songMiddle: 117, + lcCount: 1, + lcPart1: '“Mpiandry Ondry Mitady Izay Hahasoa ny Vahoakan’i Jehovah”', + lcPart1Time: 15, + lcPart1Content: 'Fiaraha-midinika sy video.', + lcCBS: 'lff lesona 59: Hevitra 1-5', + songConclude: 55, + }, + { + weekDate: '10/02/2023', + weekDateLocale: '2-8 Oktobra', + weeklyBibleReading: 'JOBA 1-3', + songFirst: 141, + tgw10Talk: '“Asehoy Foana hoe Tianao Be i Jehovah”', + tgwBRead: 'Jb 3:​1-26', + tgwBReadStudy: 12, + ayfCount: 3, + ayfPart1: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Resaho amin’ilay olona ny momba ny tranonkalantsika, dia omeo karatra jw.org izy.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoriana', + ayfPart1Study: 9, + ayfPart2: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Asehoy ilay video hoe Nahoana Ianao no Tokony Hianatra Baiboly? (aza alefa) ary iaraho midinika ilay izy.', + ayfPart2Time: 4, + ayfPart2Type: 'Fiverenana Mitsidika', + ayfPart2Study: 20, + ayfPart3: + 'w22.01 11-12 § 11-14: Foto-kevitra: Miezaha Hahay Hampianatra Hoatran’i Jakoba ka Aza Odiana Tsy Hita ny Olana Mahazo Azy ary Manetre Tena.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahateny', + ayfPart3Study: 18, + songMiddle: 21, + lcCount: 2, + lcPart1: 'Nieritreritra Aho hoe Efa Nananako Daholo ny Zava-drehetra', + lcPart1Time: 10, + lcPart1Content: + 'Fiaraha-midinika. Alefaso ilay video. Fanontaniana: Fa maninona ny Rahalahy Birdwell no nieritreritra hoe efa nananany daholo ny zava-drehetra?', + lcPart2: '“Ampiasao ny Pejy Fandraisana ao Amin’ny JW.ORG Rehefa Manompo”', + lcPart2Time: 5, + lcPart2Content: 'Fiaraha-midinika.', + lcCBS: 'lff lesona 59: Hevitra 6, famintinana sy famerenana ary tanjona', + songConclude: 129, + }, + { + weekDate: '10/09/2023', + weekDateLocale: '9-15 Oktobra', + weeklyBibleReading: 'JOBA 4-5', + songFirst: 121, + tgw10Talk: '“Mitandrema Amin’ny Vaovao Tsy Marina”', + tgwBRead: 'Jb 5:​1-27', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: 'Ampiasao ny foto-kevitra ao amin’ny hevitra azo resahina.', + ayfPart1Time: 2, + ayfPart1Type: 'Fitoriana', + ayfPart1Study: 4, + ayfPart2: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Asehoy an’ilay olona hoe ahoana no ahitana fanazavana ao amin’ny jw.org.', + ayfPart2Time: 5, + ayfPart2Type: 'Fiverenana Mitsidika', + ayfPart2Study: 15, + ayfPart3: 'lff lesona 16: Hevitra 5', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianarana Baiboly', + ayfPart3Study: 16, + songMiddle: 78, + lcCount: 1, + lcPart1: 'Zavatra Ilain’ny Fiangonana', + lcPart1Time: 15, + lcCBS: 'lff lesona 60', + songConclude: 38, + }, + { + weekDate: '10/16/2023', + weekDateLocale: '16-22 Oktobra', + weeklyBibleReading: 'JOBA 6-7', + songFirst: 33, + tgw10Talk: '“Mafy Loatra ve ny Mahazo Anao ka Mila Tsy ho Zakanao?”', + tgwBRead: 'Jb 6:​1-21', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Miezaha mamaly fanoherana fahita eny amin’ny faritany.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoriana', + ayfPart1Study: 7, + ayfPart2: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Manolora zavatra anisan’ny Fitaovana Fampianarana.', + ayfPart2Time: 4, + ayfPart2Type: 'Fiverenana Mitsidika', + ayfPart2Study: 11, + ayfPart3: + 'w22.01 12-13 § 15-18: Foto-kevitra: Miezaha Hahay Hampianatra Hoatran’i Jakoba ka Mampiasà Fanoharana Mety Tsara.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahateny', + ayfPart3Study: 8, + songMiddle: 144, + lcCount: 1, + lcPart1: '“Mamonjy An’izay Kivy i Jehovah”', + lcPart1Time: 15, + lcPart1Content: 'Fiaraha-midinika sy video.', + lcCBS: 'lff famerenana ny fizarana 4', + songConclude: 143, + }, + { + weekDate: '10/23/2023', + weekDateLocale: '23-29 Oktobra', + weeklyBibleReading: 'JOBA 8-10', + songFirst: 107, + tgw10Talk: '“Miaro Antsika Ilay hoe Tia sy Tsy Mivadika i Jehovah”', + tgwBRead: 'Jb 9:​20-35', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Manolora zavatra anisan’ny Fitaovana Fampianarana.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoriana', + ayfPart1Study: 17, + ayfPart2: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Atolory ilay bokikely hoe Ankafizo Mandrakizay ny Fiainana! ary resaho vetivety ilay hoe “Ahoana no Handraisanao Soa avy Amin’ireo Lesona Ato?”', + ayfPart2Time: 4, + ayfPart2Type: 'Fiverenana Mitsidika', + ayfPart2Study: 3, + ayfPart3: 'lff lesona 16: Hevitra 6 sy ilay hoe Misy Miteny Hoe', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianarana Baiboly', + ayfPart3Study: 14, + songMiddle: 109, + lcCount: 2, + lcPart1: '“Ampio Hahafantatra ny Mpamorona Azy ny Olona Tsy Mpivavaka”', + lcPart1Time: 10, + lcPart1Content: 'Fiaraha-midinika sy video.', + lcPart2: 'Zavatra Ilain’ny Fiangonana', + lcPart2Time: 5, + lcCBS: 'rr “Taratasy avy Amin’ny Filan-kevi-pitantanana” sy “Fanazavana ny Zavatra Mampiavaka An’ity Boky Ity”', + songConclude: 95, + }, + { + weekDate: '10/30/2023', + weekDateLocale: '30 Oktobra–5 Novambra', + weeklyBibleReading: 'JOBA 11-12', + songFirst: 87, + tgw10Talk: '“Fomba Telo Ahazoana Fahendrena”', + tgwBRead: 'Jb 12:​1-25', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Lazao amin’ilay olona hoe mampianatra Baiboly isika, dia omeo karatra mampahafantatra ny fampianarana ataontsika izy.', + ayfPart1Time: 4, + ayfPart1Type: 'Fitoriana', + ayfPart1Study: 1, + ayfPart2: + 'Atombohy amin’ny foto-kevitra ao amin’ny hevitra azo resahina. Asao hivory ilay olona. Asehoy ilay video hoe Inona no Atao any Amin’ny Efitrano Fanjakana? (aza alefa) ary iaraho midinika ilay izy.', + ayfPart2Time: 3, + ayfPart2Type: 'Fiverenana Mitsidika', + ayfPart2Study: 13, + ayfPart3: 'lff lesona 12: Famintinana sy famerenana ary tanjona', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianarana Baiboly', + ayfPart3Study: 19, + songMiddle: 135, + lcCount: 1, + lcPart1: '“Ry Ray Aman-dreny, Ampio ny Zanakareo mba Hanana Fahendrena avy Amin’i Jehovah”', + lcPart1Time: 15, + lcPart1Content: 'Fiaraha-midinika sy video.', + lcCBS: 'rr toko 1 § 1-7, video fampidirana*', + songConclude: 37, + }, + ], +}; diff --git a/test/fixtures/mwb_S_202303.js b/test/fixtures/mwb_S_202303.js deleted file mode 100644 index a736c668..00000000 --- a/test/fixtures/mwb_S_202303.js +++ /dev/null @@ -1,144 +0,0 @@ -export default { - weeksCount: 7, - mwbYear: '2023', - weeksData: [ - { - weekDate: '6-12 de marzo', - weeklyBibleReading: '1 CRÓNICAS 23-26', - songFirst: 123, - tgw10Talk: '“La adoración en el templo estaba bien organizada” (10 mins.)', - tgwBRead: 'Lectura de la Biblia (4 mins.): 1Cr 23:21-32 (th lec. 5).', - ayfCount: 3, - ayfPart1: - 'Video de la invitación a la Conmemoración (5 mins.): Análisis con el auditorio. Ponga el video Campaña de la Conmemoración. Detenga el video en la pausa y haga la pregunta que aparece en él.', - ayfPart2: - 'Invitación a la Conmemoración (3 mins.): Use el tema de las ideas para conversar. Luego, cuando la persona muestre interés, presente y analice el video Recordemos la muerte de Jesús, pero no lo ponga (th lec. 11).', - ayfPart3: - 'Discurso (5 mins.): w11 1/6 14, 15. Título: ¿Por qué están los cristianos bien organizados? (th lec. 14).', - songMiddle: 101, - lcCount: 2, - lcPart1: '“Cómo podemos ayudar cuando ocurre un desastre” (10 mins.): Análisis con el auditorio y video.', - lcPart2: - 'El 11 de marzo comienza la campaña de la Conmemoración (5 mins.): Análisis con el auditorio. Repase brevemente el contenido de la invitación. Explique los planes que se han hecho para el discurso especial, para celebrar la Conmemoración y para cubrir el territorio.', - lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 39 y nota 3.', - songConclude: 127, - }, - { - weekDate: '13-19 de marzo', - weeklyBibleReading: '1 CRÓNICAS 27-29', - songFirst: 133, - tgw10Talk: '“Los buenos consejos de un padre que amaba a su hijo” (10 mins.)', - tgwBRead: 'Lectura de la Biblia (4 mins.): 1Cr 27:1-15 (th lec. 10).', - ayfCount: 3, - ayfPart1: - 'Video de la revisita (5 mins.): Análisis con el auditorio. Ponga el video Revisita: Jesús (Mt 20:28). Detenga el video en cada pausa y haga las preguntas que aparecen en él.', - ayfPart2: - 'Revisita (4 mins.): Vuelva a visitar a alguien que haya aceptado una invitación a la Conmemoración y que haya mostrado interés. Presente y analice el video ¿Por qué murió Jesús?, pero no lo ponga (th lec. 9).', - ayfPart3: - 'Revisita (4 mins.): Vuelva a visitar a alguien que haya aceptado una invitación a la Conmemoración y que haya mostrado interés. Comience un curso bíblico utilizando el folleto Disfrute de la vida (th lec. 6).', - songMiddle: 4, - lcCount: 2, - lcPart1: 'Necesidades de la congregación (5 mins.)', - lcPart2: 'Logros de la organización (10 mins.): Ponga el video Logros de la organización para el mes de marzo.', - lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 40.', - songConclude: 45, - }, - { - weekDate: '20-26 de marzo', - weeklyBibleReading: '2 CRÓNICAS 1-4', - songFirst: 41, - tgw10Talk: '“El rey Salomón tomó una decisión muy mala” (10 mins.)', - tgwBRead: 'Lectura de la Biblia (4 mins.): 2Cr 4:7-22 (th lec. 10).', - ayfCount: 3, - ayfPart1: - 'Invitación a la Conmemoración (3 mins.): Invite a un familiar o a un compañero de trabajo o de escuela (th lec. 2).', - ayfPart2: - 'Revisita (4 mins.): Vuelva a visitar a alguien que haya mostrado interés y haya aceptado una invitación a la Conmemoración. Háblele a la persona de nuestros cursos gratuitos de la Biblia y ofrezca el folleto Disfrute de la vida. Presente y analice el video ¿Cómo son nuestros cursos bíblicos?, pero no lo ponga (th lec. 17).', - ayfPart3: 'Curso bíblico (5 mins.): lff lección 09 punto 5 (th lec. 9).', - songMiddle: 19, - lcCount: 1, - lcPart1: - '¿Se está preparando para el día más importante del año? (15 mins.): Discurso y video a cargo del superintendente de servicio. Cuente cómo le está yendo a la congregación con la campaña. Entreviste a hermanos que hayan tenido buenas experiencias. Mencione el programa de la lectura bíblica para la Conmemoración (páginas 8 y 9) y anime a todos a preparar su corazón (Esd 7:10). Hable sobre qué podemos hacer para que nuestros invitados se sientan bienvenidos ese día (Ro 15:7; mwb16.03 2). Ponga el video Cómo preparar el pan de la Conmemoración.', - lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 41 puntos 1-4.', - songConclude: 135, - }, - { - weekDate: '27 de marzo a 2 de abril', - weeklyBibleReading: '2 CRÓNICAS 5-7', - songFirst: 129, - tgw10Talk: '“El corazón de Jehová siempre estaría allí” (10 mins.)', - tgwBRead: 'Lectura de la Biblia (4 mins.): 2Cr 6:28-42 (th lec. 11).', - ayfCount: 3, - ayfPart1: - 'Invitación a la Conmemoración (3 mins.): Use el tema de las ideas para conversar. Luego, cuando la persona muestre interés, presente y analice el video Recordemos la muerte de Jesús, pero no lo ponga (th lec. 3).', - ayfPart2: - 'Revisita (4 mins.): Al terminar el discurso de la Conmemoración, hable con alguien a quien usted haya invitado y respóndale una pregunta que tenga sobre el programa (th lec. 17).', - ayfPart3: - 'Discurso (5 mins.): w93 1/2 31. Título: ¿Qué pasa si por circunstancias excepcionales no podemos asistir a la Conmemoración? (th lec. 18).', - songMiddle: 36, - lcCount: 2, - lcPart1: '“Protege tu corazón” (10 mins.): Análisis con el auditorio y video.', - lcPart2: 'Necesidades de la congregación (5 mins.)', - lcCBS: - 'Estudio bíblico de la congregación (30 mins.): lff lección 41 punto 5, resumen, repaso y “Propóngase esto”.', - songConclude: 34, - }, - { - weekDate: '10-16 de abril', - weeklyBibleReading: '2 CRÓNICAS 8, 9', - songFirst: 88, - tgw10Talk: '“Una reina que valoraba la sabiduría” (10 mins.)', - tgwBRead: 'Lectura de la Biblia (4 mins.): 2Cr 8:1-16 (th lec. 5).', - ayfCount: 3, - ayfPart1: - 'Video de la primera conversación (5 mins.): Análisis con el auditorio. Ponga el video Primera conversación: Jesús (Mt 16:16). Detenga el video en cada pausa y haga las preguntas que aparecen en él.', - ayfPart2: - 'Primera conversación (3 mins.): Use el tema de las ideas para conversar y venza una objeción común en su territorio (th lec. 2).', - ayfPart3: 'Curso bíblico (5 mins.): lff lección 09 punto 6 (th lec. 19).', - songMiddle: 98, - lcCount: 1, - lcPart1: '“Si quiere ser sabio, lea la Biblia todos los días” (15 mins.): Análisis con el auditorio y video.', - lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 42 y nota 4.', - songConclude: 131, - }, - { - weekDate: '17-23 de abril', - weeklyBibleReading: '2 CRÓNICAS 10-12', - songFirst: 103, - tgw10Talk: '“Escuche los buenos consejos” (10 mins.)', - tgwBRead: 'Lectura de la Biblia (4 mins.): 2Cr 10:1-15 (th lec. 2).', - ayfCount: 3, - ayfPart1: - 'Primera conversación (3 mins.): Use el tema de las ideas para conversar y venza una objeción común en su territorio (th lec. 12).', - ayfPart2: - 'Revisita (4 mins.): Use el tema de las ideas para conversar. Luego ofrezca una publicación del kit de enseñanza (th lec. 6).', - ayfPart3: - 'Discurso (5 mins.): be 69 párrs. 4, 5. Título: Qué hacer cuando un estudiante nos pide un consejo (th lec. 20).', - songMiddle: 79, - lcCount: 2, - lcPart1: - '“Comience cursos bíblicos usando estos videos” (5 mins.): Discurso y video. Ponga el video Bienvenido a su curso de la Biblia.', - lcPart2: 'Necesidades de la congregación (10 mins.)', - lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 43.', - songConclude: 121, - }, - { - weekDate: '24-30 de abril', - weeklyBibleReading: '2 CRÓNICAS 13-16', - songFirst: 3, - tgw10Talk: '“Apóyese en Jehová siempre” (10 mins.)', - tgwBRead: 'Lectura de la Biblia (4 mins.): 2Cr 14:1-15 (th lec. 5).', - ayfCount: 3, - ayfPart1: - 'Primera conversación (3 mins.): Use el tema de las ideas para conversar. Luego háblele a la persona de nuestro sitio web y entréguele una tarjeta de contacto de jw.org (th lec. 1).', - ayfPart2: - 'Revisita (4 mins.): Use el tema de las ideas para conversar. Luego háblele a la persona sobre nuestros cursos bíblicos y dele una tarjeta de contacto de nuestras clases de la Biblia (th lec. 11).', - ayfPart3: 'Curso bíblico (5 mins.): lff lección 09 punto 7 y “Lo que algunos dicen” (th lec. 6).', - songMiddle: 94, - lcCount: 1, - lcPart1: '“Apóyese en Jehová al tomar decisiones” (15 mins.): Análisis con el auditorio y video.', - lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 44 puntos 1-4 y nota 5.', - songConclude: 39, - }, - ], -}; diff --git a/test/fixtures/mwb_S_202309.js b/test/fixtures/mwb_S_202309.js new file mode 100644 index 00000000..dc6d6c10 --- /dev/null +++ b/test/fixtures/mwb_S_202309.js @@ -0,0 +1,181 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '4-10 de septiembre', + weeklyBibleReading: 'ESTER 1, 2', + songFirst: 137, + tgw10Talk: '“Esfuércese por ser modesto como Ester” (10 mins.)', + tgwBRead: 'Lectura de la Biblia (4 mins.): Est 1:13-22 (th lec. 10).', + ayfCount: 3, + ayfPart1: + 'Video de la primera conversación (5 mins.): Análisis con el auditorio. Ponga el video Primera conversación: El Reino (Mt 6:9, 10). Detenga el video en cada pausa y haga las preguntas que aparecen en él.', + ayfPart2: + 'Primera conversación (3 mins.): Use el tema de las ideas para conversar. Luego ofrezca el folleto Disfrute de la vida (th lec. 1).', + ayfPart3: 'Discurso (5 mins.): w20.11 12-14 párrs. 3-7. Título: Jesús y los ángeles nos ayudan (th lec. 14).', + songMiddle: 106, + lcCount: 2, + lcPart1: + 'Lo que opinan otros jóvenes: La apariencia (5 mins.): Análisis con el auditorio. Ponga el video. Luego pregunte: ¿por qué puede ser difícil mantener una actitud equilibrada sobre nuestra apariencia física?', + lcPart2: + 'Logros de la organización (10 mins.): Ponga el video Logros de la organización para el mes de septiembre.', + lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 56 y notas 6 y 7.', + songConclude: 101, + }, + { + weekDate: '11-17 de septiembre', + weeklyBibleReading: 'ESTER 3-5', + songFirst: 85, + tgw10Talk: '“Ayude a los demás a ser la mejor versión de sí mismos” (10 mins.)', + tgwBRead: 'Lectura de la Biblia (4 mins.): Est 3:1-12 (th lec. 2).', + ayfCount: 3, + ayfPart1: + 'Video de la revisita (5 mins.): Análisis con el auditorio. Ponga el video Revisita: El Reino (Mt 14:19, 20). Detenga el video en cada pausa y haga las preguntas que aparecen en él.', + ayfPart2: + 'Revisita (3 mins.): Use el tema de las ideas para conversar. Luego háblele a la persona de nuestros cursos bíblicos y entréguele una tarjeta de contacto de nuestras clases de la Biblia (th lec. 16).', + ayfPart3: 'Curso bíblico (5 mins.): lff lección 12 introducción y puntos 1-3 (th lec. 15).', + songMiddle: 65, + lcCount: 2, + lcPart1: + 'Hazte amigo de Jehová: Valiente como Ester (5 mins.): Análisis con el auditorio. Ponga el video. Si es posible, escoja a algunos niños de antemano y pregúnteles: ¿cómo puedes imitar a Ester y ser supervaliente?', + lcPart2: 'Necesidades de la congregación (10 mins.)', + lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 57.', + songConclude: 125, + }, + { + weekDate: '18-24 de septiembre', + weeklyBibleReading: 'ESTER 6-8', + songFirst: 115, + tgw10Talk: '“Aprendamos a comunicarnos como Ester” (10 mins.)', + tgwBRead: 'Lectura de la Biblia (4 mins.): Est 8:9-17 (th lec. 5).', + ayfCount: 3, + ayfPart1: + 'Primera conversación (3 mins.): Use el tema de las ideas para conversar y venza una objeción común en su territorio (th lec. 3).', + ayfPart2: + 'Revisita (4 mins.): Use el tema de las ideas para conversar. Invite a la persona a una reunión. Luego presente y analice el video ¿Cómo son nuestras reuniones?, pero no lo ponga (th lec. 12).', + ayfPart3: + 'Discurso (5 mins.): w22.01 10, 11 párrs. 8-10. Título: Seamos buenos maestros como Santiago. Enseñemos de forma sencilla (th lec. 17).', + songMiddle: 148, + lcCount: 1, + lcPart1: '“Si te hacen bullying, apóyate en Jehová” (15 mins.): Análisis con el auditorio y video.', + lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 58.', + songConclude: 124, + }, + { + weekDate: '25 de septiembre a 1 de octubre', + weeklyBibleReading: 'ESTER 9, 10', + songFirst: 102, + tgw10Talk: '“Usó su autoridad pensando en los demás” (10 mins.)', + tgwBRead: 'Lectura de la Biblia (4 mins.): Est 9:1-14 (th lec. 11).', + ayfCount: 3, + ayfPart1: 'Primera conversación (2 mins.): Use el tema de las ideas para conversar (th lec. 6).', + ayfPart2: + 'Revisita (5 mins.): Use el tema de las ideas para conversar. Luego ofrezca el folleto Disfrute de la vida y muestre cómo son nuestras clases de la Biblia (th lec. 13).', + ayfPart3: + 'Curso bíblico (5 mins.): lff lección 12 introducción de “Profundicemos en el tema” y punto 4 (th lec. 19).', + songMiddle: 117, + lcCount: 1, + lcPart1: + '“Los ancianos trabajan para el bienestar del pueblo de Jehová” (15 mins.): Análisis con el auditorio y video.', + lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 59 puntos 1-5.', + songConclude: 55, + }, + { + weekDate: '2-8 de octubre', + weeklyBibleReading: 'JOB 1-3', + songFirst: 141, + tgw10Talk: '“Siga demostrando que ama a Jehová de verdad” (10 mins.)', + tgwBRead: 'Lectura de la Biblia (4 mins.): Job 3:1-26 (th lec. 12).', + ayfCount: 3, + ayfPart1: + 'Primera conversación (3 mins.): Use el tema de las ideas para conversar. Luego háblele a la persona de nuestro sitio web y entréguele una tarjeta de contacto de jw.org (th lec. 9).', + ayfPart2: + 'Revisita (4 mins.): Use el tema de las ideas para conversar. Luego presente y analice el video ¿Por qué estudiar la Biblia?, pero no lo ponga (th lec. 20).', + ayfPart3: + 'Discurso (5 mins.): w22.01 11, 12 párrs. 11-14. Título: Seamos buenos maestros como Santiago. Seamos realistas y humildes (th lec. 18).', + songMiddle: 21, + lcCount: 2, + lcPart1: + 'Pensaba que lo estaba haciendo todo bien (10 mins.): Análisis con el auditorio. Ponga el video. Luego pregunte: ¿por qué pensaba el hermano Birdwell que “lo estaba haciendo todo bien”?', + lcPart2: '“Use la página de inicio de jw.org para predicar” (5 mins.): Análisis con el auditorio.', + lcCBS: + 'Estudio bíblico de la congregación (30 mins.): lff lección 59 punto 6, resumen, repaso y “Propóngase esto”.', + songConclude: 129, + }, + { + weekDate: '9-15 de octubre', + weeklyBibleReading: 'JOB 4, 5', + songFirst: 121, + tgw10Talk: '“¡Cuidado con la información falsa!” (10 mins.)', + tgwBRead: 'Lectura de la Biblia (4 mins.): Job 5:1-27 (th lec. 10).', + ayfCount: 3, + ayfPart1: 'Primera conversación (2 mins.): Use el tema de las ideas para conversar (th lec. 4).', + ayfPart2: + 'Revisita (5 mins.): Use el tema de las ideas para conversar. Luego muéstrele a la persona cómo buscar información en jw.org (th lec. 15).', + ayfPart3: 'Curso bíblico (5 mins.): lff lección 16 punto 5 (th lec. 16).', + songMiddle: 78, + lcCount: 1, + lcPart1: 'Necesidades de la congregación (15 mins.)', + lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff lección 60.', + songConclude: 38, + }, + { + weekDate: '16-22 de octubre', + weeklyBibleReading: 'JOB 6, 7', + songFirst: 33, + tgw10Talk: '“¿Y si ya no puede más?” (10 mins.)', + tgwBRead: 'Lectura de la Biblia (4 mins.): Job 6:1-21 (th lec. 2).', + ayfCount: 3, + ayfPart1: + 'Primera conversación (3 mins.): Use el tema de las ideas para conversar y venza una objeción común en su territorio (th lec. 7).', + ayfPart2: + 'Revisita (4 mins.): Use el tema de las ideas para conversar. Luego ofrezca una publicación del kit de enseñanza (th lec. 11).', + ayfPart3: + 'Discurso (5 mins.): w22.01 12, 13 párrs. 15-18. Título: Seamos buenos maestros como Santiago. Usemos ejemplos eficaces (th lec. 8).', + songMiddle: 144, + lcCount: 1, + lcPart1: '“Jehová salva a los que están hundidos en el desánimo” (15 mins.): Análisis con el auditorio y video.', + lcCBS: 'Estudio bíblico de la congregación (30 mins.): lff sección 4 repaso.', + songConclude: 143, + }, + { + weekDate: '23-29 de octubre', + weeklyBibleReading: 'JOB 8-10', + songFirst: 107, + tgw10Talk: '“El amor leal de Jehová nos protege de las mentiras de Satanás” (10 mins.)', + tgwBRead: 'Lectura de la Biblia (4 mins.): Job 9:20-35 (th lec. 11).', + ayfCount: 3, + ayfPart1: + 'Primera conversación (3 mins.): Use el tema de las ideas para conversar. Luego ofrezca una publicación del kit de enseñanza (th lec. 17).', + ayfPart2: + 'Revisita (4 mins.): Use el tema de las ideas para conversar. Luego ofrezca el folleto Disfrute de la vida y analice brevemente la sección “Cómo sacarle el máximo provecho a cada lección” (th lec. 3).', + ayfPart3: 'Curso bíblico (5 mins.): lff lección 16 punto 6 y “Lo que algunos dicen” (th lec. 14).', + songMiddle: 109, + lcCount: 2, + lcPart1: + '“Ayude a las personas que no son religiosas a conocer a su Creador” (10 mins.): Análisis con el auditorio y video.', + lcPart2: 'Necesidades de la congregación (5 mins.)', + lcCBS: 'Estudio bíblico de la congregación (30 mins.): bt “Carta del Cuerpo Gobernante” y cap. 1 párrs. 1-7.', + songConclude: 64, + }, + { + weekDate: '30 de octubre a 5 de noviembre', + weeklyBibleReading: 'JOB 11, 12', + songFirst: 87, + tgw10Talk: '“Tres formas de hacernos más sabios” (10 mins.)', + tgwBRead: 'Lectura de la Biblia (4 mins.): Job 12:1-25 (th lec. 5).', + ayfCount: 3, + ayfPart1: + 'Primera conversación (4 mins.): Use el tema de las ideas para conversar. Luego háblele a la persona de nuestros cursos bíblicos y entréguele una tarjeta de contacto de nuestras clases de la Biblia (th lec. 1).', + ayfPart2: + 'Revisita (3 mins.): Use el tema de las ideas para conversar. Invite a la persona a una reunión. Luego presente y analice el video ¿Cómo son nuestras reuniones?, pero no lo ponga (th lec. 13).', + ayfPart3: 'Curso bíblico (5 mins.): lff lección 12 resumen, repaso y “Propóngase esto” (th lec. 19).', + songMiddle: 135, + lcCount: 1, + lcPart1: '“Padres, sus hijos también pueden ser personas sabias” (15 mins.): Análisis con el auditorio y video.', + lcCBS: 'Estudio bíblico de la congregación (30 mins.): bt cap. 1 párrs. 8-15 y recuadro de la página 12.', + songConclude: 3, + }, + ], +}; diff --git a/test/fixtures/mwb_TND_202303.js b/test/fixtures/mwb_TND_202303.js deleted file mode 100644 index f6a51d1f..00000000 --- a/test/fixtures/mwb_TND_202303.js +++ /dev/null @@ -1,231 +0,0 @@ -export default { - weeksCount: 7, - mwbYear: '2023', - weeksData: [ - { - weekDate: '03/06/2023', - weekDateLocale: '6-12 Marsa', - weeklyBibleReading: '1 TANTARA 23-26', - songFirst: 123, - tgw10Talk: '“Nanjare Voalamigne Soa ty Fanompoagne Tamy i Tempolỳ Tao”', - tgwBRead: '1Ta 23:21-32', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Fiharoagne midineke. Alefaso ty video Fanasagne amy ty Fahatsiarovagne. Ajanogno i videoy isake misy fitofàgne, le iharò midineke i fagnonteneagne miboake eoy.', - ayfPart1Time: 5, - ayfPart1Type: 'Fanasagne amy ty Fahatsiarovagne Alefa Video', - ayfPart2: - 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Naho liagne i ndatỳ, le alefaso naho iharò midineke ty video ti hoe Tsiarovo ty Nimateza i Jesosy (ko alefa naho fa manao i anjaray).', - ayfPart2Time: 3, - ayfPart2Type: 'Fanasagne amy ty Fahatsiarovagne', - ayfPart2Study: 11, - ayfPart3: 'w11 1/6 14-15: Foto-kevetse: Nagnino ty Tena Kristiana ro Voalamigne Soa?', - ayfPart3Time: 5, - ayfPart3Type: 'Lahajaka', - ayfPart3Study: 14, - songMiddle: 101, - lcCount: 2, - lcPart1: '“Te Hagnampe vao Rehe Naho fa Misy Loza?”', - lcPart1Time: 10, - lcPart1Content: 'Fiharoagne midineke naho video.', - lcPart2: 'Kezake Manokagne Hizaràgne Fanasagne Fahatsiarovagne Manomboke amy Sabotsy 11 Marsa', - lcPart2Time: 5, - lcPart2Content: - 'Fiharoagne midineke. Rehafo tsielatsiela ty miomba i fanasàgney. Rehafo ty toeragne hanoagne i lahajaka manokagney naho i fahatsiarovagney vaho ty fandaharagne atao ty fiangona’areo mba hamitagne i faritaney.', - lcCBS: 'lff lesogne 39 naho fagnazavagne 3', - songConclude: 127, - }, - { - weekDate: '03/13/2023', - weekDateLocale: '13-19 Marsa', - weeklyBibleReading: '1 TANTARA 27-29', - songFirst: 133, - tgw10Talk: '“Torohevetse Nimey i Rae Bey Hateay Hoahy i Ana-dahi’ey”', - tgwBRead: '1Ta 27:1-15', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: - 'Fiharoagne midineke. Alefaso ty video Fiheregnagne Mitilike: Jesosy​—Mt 20:28. Ajanogno i videoy isake misy fitofàgne, le iharò midineke i fagnonteneagne miboake eoy.', - ayfPart1Time: 5, - ayfPart1Type: 'Fiheregnagne Mitilike Alefa Video', - ayfPart2: - 'Tiliho ze ndaty liagne naho nandrambe i fanasagne amy i Fahatsiarovagneỳ. Alefaso naho iharò midineke ty video tihoe Nagnino i Jesosy Nimateo? (ko alefa naho fa manao i anjaray).', - ayfPart2Time: 4, - ayfPart2Type: 'Fiheregnagne Mitilike', - ayfPart2Study: 9, - ayfPart3: - 'Tiliho ze ndaty liagne naho nandrambe i fanasagne amy i Fahatsiarovagneỳ. Manomboha fampianaragne Baiboly amy ty bokekele Ankamamio Nainai’e o Fiaignagneo!', - ayfPart3Time: 4, - ayfPart3Type: 'Fiheregnagne Mitilike', - ayfPart3Study: 6, - songMiddle: 4, - lcCount: 2, - lcPart1: 'Raha Ilae ty Fiangonagne', - lcPart1Time: 5, - lcPart2: 'Nahavita Raha Miambake ty Fandaminagne', - lcPart2Time: 10, - lcPart2Content: 'Alefaso o video iohoe hoahy ty volagne Marsa.', - lcCBS: 'lff lesogne 40', - songConclude: 45, - }, - { - weekDate: '03/20/2023', - weekDateLocale: '20-26 Marsa', - weeklyBibleReading: '2 TANTARA 1-4', - songFirst: 41, - tgw10Talk: '“Tsy Nimete ty Fanampahan-kevetse Nirambese i Solomona Mpanjaka”', - tgwBRead: '2Ta 4:7-22', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: 'Asao ty mpiara-miasa ama’o, ty mpiara-mianatse ama’o ndra ty longo’o.', - ayfPart1Time: 3, - ayfPart1Type: 'Fanasagne amy ty Fahatsiarovagne', - ayfPart1Study: 2, - ayfPart2: - 'Tiliho ze ndaty liagne naho nandrambe i fanasagne amy i Fahatsiarovagneỳ. Hazavao ama’e fa mampianatse Baiboly maimaim-poagne tika, sady meo bokekele Ankamamio Nainai’e o Fiaignagneo! reke. Alefaso naho iharò midineke ty video tihoe Akore ty Atao Naho fa Mianatse Baiboly? (ko alefa naho fa manao i anjaray.)', - ayfPart2Time: 4, - ayfPart2Type: 'Fiheregnagne Mitilike', - ayfPart2Study: 17, - ayfPart3: 'lff lesogne 09 hevetse faha-5', - ayfPart3Time: 5, - ayfPart3Type: 'Fampianaragne Baiboly', - ayfPart3Study: 9, - songMiddle: 19, - lcCount: 1, - lcPart1: 'Fa Vognogne amy i Andro Tena Lahibey Isan-taogney vao Rehe?', - lcPart1Time: 15, - lcPart1Content: - 'Lahajaka naho video, atao ty mpiandraikitse ty fanompoagne. Rehafo ty fandrosoa ty kezake manokagne hizaràgne i fanasagne Fahatsiarovagney amy ty faritane’areo ey. Magnadikadìgna mpitory managne fitantaragne mampahery. Rehafo ty fandaharagne famakiagne Baiboly amy peje 8 naho 9 ao. Le risiho iareo mba hagnomagne ty fo iareo amy i fahatsiarovagney. (Ezr 7:10) Iharò midineke ty fomba handrambesagne soa ze ambahiny avy amy i Fahatsiarovagney. (Ro 15:7; mwb16.03 2) Alefaso ty video tihoe Fomba Fagnamboaragne i Mofo Amy i Fahatsiarovagney.', - lcCBS: 'lff lesogne 41 hevetse 1-4', - songConclude: 135, - }, - { - weekDate: '03/27/2023', - weekDateLocale: '27 Marsa–2 Avrily', - weeklyBibleReading: '2 TANTARA 5-7', - songFirst: 129, - tgw10Talk: '“Ho ao Avao ty Foko”', - tgwBRead: '2 Ta 6:28-42', - tgwBReadStudy: 11, - ayfCount: 3, - ayfPart1: - 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Naho liagne i ndatỳ, le atorò aze sady iharò midineke ty video tihoe Tsiarovo ty Nimateza i Jesosy (ko alefa naho fa manao i anjaray.)', - ayfPart1Time: 3, - ayfPart1Type: 'Fanasagne amy ty Fahatsiarovagne', - ayfPart1Study: 3, - ayfPart2: - 'Naho fa vita i lahajaka Fahatsiarovagney, le mirehafa amy ze ndaty liagne nagnatreke i fandaharagney sady valeo ze fagnonteneagne apetra’e miomba i fandaharagney.', - ayfPart2Time: 4, - ayfPart2Type: 'Fiheregnagne Mitilike', - ayfPart2Study: 17, - ayfPart3: - 'w93 1/2 31: Foto-kevetse: Akore Naho Tsy Afake Magnatreke Fahatsiarovagne ty Ndaty Raike Noho ty Anto’e Manokagne?', - ayfPart3Time: 5, - ayfPart3Type: 'Lahajaka', - ayfPart3Study: 18, - songMiddle: 36, - lcCount: 2, - lcPart1: '“Arovo ty Fo’o”', - lcPart1Time: 10, - lcPart1Content: 'Fiharoagne midineke naho video.', - lcPart2: 'Raha Ilae ty Fiangonagne', - lcPart2Time: 5, - lcCBS: 'lff lesogne 41 hevetse faha-5 naho famintignagne, fameregnagne, vaho anò toy', - songConclude: 34, - }, - { - weekDate: '04/10/2023', - weekDateLocale: '10-16 Avrily', - weeklyBibleReading: '2 TANTARA 8-9', - songFirst: 88, - tgw10Talk: '“Sarobily Tama’e ty Fahendreagne”', - tgwBRead: '2Ta 8:1-16', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Fiharoagne midineke. Alefaso ty video Fitoriagne: Jesosy​—Mt 16:16. Ajanogno i videoy isake misy fitofàgne, le iharò midineke i fagnonteneagne miboake eoy.', - ayfPart1Time: 5, - ayfPart1Type: 'Fitoriagne Alefa Video', - ayfPart2: - 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Manohetse i ndaty itoriagney faie hai’o ty mamale aze.', - ayfPart2Time: 3, - ayfPart2Type: 'Fitoriagne', - ayfPart2Study: 2, - ayfPart3: 'lff lesogne 09 hevetse faha-6', - ayfPart3Time: 5, - ayfPart3Type: 'Fampianaragne Baiboly', - ayfPart3Study: 19, - songMiddle: 98, - lcCount: 1, - lcPart1: '“Vakio Isan’andro o Baibolio Sady Karoho ty Fahendreagne Agnate’e Ao”', - lcPart1Time: 15, - lcPart1Content: 'Fiharoagne midineke naho video.', - lcCBS: 'lff lesogne 42 naho fagnazavagne 4', - songConclude: 131, - }, - { - weekDate: '04/17/2023', - weekDateLocale: '17-23 Avrily', - weeklyBibleReading: '2 TANTARA 10-12', - songFirst: 103, - tgw10Talk: '“Mangataha Torohevetse Feno Fahendreagne”', - tgwBRead: '2Ta 10:1-15', - tgwBReadStudy: 2, - ayfCount: 3, - ayfPart1: 'Ampiasao i hevetse azo rehafegney. Manohetse i ndaty itoriagney faie hai’o ty mamale aze.', - ayfPart1Time: 3, - ayfPart1Type: 'Fitoriagne', - ayfPart1Study: 12, - ayfPart2: 'Ampiasao i hevetse azo rehafegney. Manolora boke ndra bokekele agnisa ty Fitaovagne Fampianaragne.', - ayfPart2Time: 4, - ayfPart2Type: 'Fiheregnagne Mitilike', - ayfPart2Study: 6, - ayfPart3: - 'be 69 § 4-5: Foto-kevetse: Akore ty Hampiofagna’o ty Mpiana’o Baiboly Naho fa Mangatake Torohevetse Reke?', - ayfPart3Time: 5, - ayfPart3Type: 'Lahajaka', - ayfPart3Study: 20, - songMiddle: 79, - lcCount: 2, - lcPart1: '“Akore ty Fampiasagne i Video Fampianaragne Baiboly Rey”', - lcPart1Time: 5, - lcPart1Content: 'Lahajaka naho video. Alefaso ty video tihoe Tolisoa amy ty Fianara’o Baiboly.', - lcPart2: 'Raha Ilae ty Fiangonagne', - lcPart2Time: 10, - lcCBS: 'lff lesogne 43', - songConclude: 121, - }, - { - weekDate: '04/24/2023', - weekDateLocale: '24-30 Avrily', - weeklyBibleReading: '2 TANTARA 13-16', - songFirst: 3, - tgw10Talk: '“Naho fa Ombia Rehe ro Mila Miantehetse amy i Jehovah?”', - tgwBRead: '2Ta 14:1-15', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Ampiasao i hevetse azo rehafegney. Meo karatse jw.org i ndatỳ, le risiho reke hagnente ty tragnom-porarontikagne.', - ayfPart1Time: 3, - ayfPart1Type: 'Fitoriagne', - ayfPart1Study: 1, - ayfPart2: - 'Ampiasao i hevetse azo rehafegney. Rehafo amy i ndatỳ fa mampianatse Baiboly tika sady omeo karatse mampahafantatse ty fampianaragne Baiboly ataontikagne reke.', - ayfPart2Time: 4, - ayfPart2Type: 'Fiheregnagne Mitilike', - ayfPart2Study: 11, - ayfPart3: 'lff lesogne 09 hevetse faha-7 naho Misy ty Mirehake fa', - ayfPart3Time: 5, - ayfPart3Type: 'Fampianaragne Baiboly', - ayfPart3Study: 6, - songMiddle: 94, - lcCount: 1, - lcPart1: '“Miantehetse amy i Jehovah vao Rehe Naho fa Hanapa-kevetse?”', - lcPart1Time: 15, - lcPart1Content: 'Fiharoagne midineke naho video.', - lcCBS: 'lff lesogne 44 hevetse 1-4 naho fagnazavagne 5', - songConclude: 39, - }, - ], -}; diff --git a/test/fixtures/mwb_TND_202309.js b/test/fixtures/mwb_TND_202309.js new file mode 100644 index 00000000..6784ed24 --- /dev/null +++ b/test/fixtures/mwb_TND_202309.js @@ -0,0 +1,291 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '09/04/2023', + weekDateLocale: '4-10 Septambra', + weeklyBibleReading: 'ESTERA 1-2', + songFirst: 137, + tgw10Talk: '“Mikezaha Hiambane Manahake i Estera”', + tgwBRead: 'Es 1:​13-22', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: + 'Fiharoagne midineke. Alefaso ty video Fitoriagne: Fanjakagne—Mt 6:​9, 10. Ajanogno i videoy isake misy fitofàgne, le iharò midineke i fagnonteneagne miboake eoy.', + ayfPart1Time: 5, + ayfPart1Type: 'Fitoriagne Alefa Video', + ayfPart2: + 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney, le atoloro ty bokekele Ankamamio Nainai’e o Fiaignagneo!', + ayfPart2Time: 3, + ayfPart2Type: 'Fitoriagne', + ayfPart2Study: 1, + ayfPart3: 'w20.11 12-14 § 3-7: Foto-kevetse: Nagnampe Aze ty Jesosy Naho o Anjelio.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahajaka', + ayfPart3Study: 14, + songMiddle: 106, + lcCount: 2, + lcPart1: 'Ty Heve ty Tanora Manahake Azo: Miomba ty Pozy', + lcPart1Time: 5, + lcPart1Content: + 'Fiharoagne midineke. Alefaso o video iohoe. Fagnonteneagne: Nagnino ro sarotse ty manahatsahatse ty fiheverantika ty pozintikagne?', + lcPart2: 'Nahavita Raha Miambake ty Fandaminagne', + lcPart2Time: 10, + lcPart2Content: 'Alefaso o video iohoe hoahy ty volagne Septambra.', + lcCBS: 'lff lesogne 56 naho fagnazavagne 6 vaho 7', + songConclude: 101, + }, + { + weekDate: '09/11/2023', + weekDateLocale: '11-17 Septambra', + weeklyBibleReading: 'ESTERA 3-5', + songFirst: 85, + tgw10Talk: '“Ampeo ty Hafa mba Hanao ze Fara’e Soa Vita’e”', + tgwBRead: 'Es 3:​1-12', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Fiharoagne midineke. Alefaso ty video Fiheregnagne Mitilike: Fanjakagne—Mt 14:​19, 20. Ajanogno i videoy isake misy fitofàgne, le iharò midinekee i fagnonteneagne miboake eoy.', + ayfPart1Time: 5, + ayfPart1Type: 'Fiheregnagne Mitilike Alefa Video', + ayfPart2: + 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Rehafo amy i ndatỳ fa mampianatse Baiboly tika sady omeo karatse mampahafantatse ty fampianaragne Baiboly ataontikagne reke.', + ayfPart2Time: 3, + ayfPart2Type: 'Fiheregnagne Mitilike', + ayfPart2Study: 16, + ayfPart3: 'lff lesogne 12 fampidiragne naho hevetse 1-3', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianaragne Baiboly', + ayfPart3Study: 15, + songMiddle: 65, + lcCount: 2, + lcPart1: 'Anò Ragnetse ty Jehovah: Bey Herim-po ty Estera', + lcPart1Time: 5, + lcPart1Content: + 'Fiharoagne midineke. Alefaso o video iohoe. Naho mete, le mifiliana ajaja tsiampeampe mialoha sady agnonteneo iareo tie: Akore ty hanahafa’o ty herim-po i Estera?', + lcPart2: 'Raha Ilae ty Fiangonagne', + lcPart2Time: 10, + lcCBS: 'lff lesogne 57', + songConclude: 125, + }, + { + weekDate: '09/18/2023', + weekDateLocale: '18-24 Septambra', + weeklyBibleReading: 'ESTERA 6-8', + songFirst: 115, + tgw10Talk: '“Ohatse Soa amy ty Fahaiagne Mifampirehake amy ty Hafa”', + tgwBRead: 'Es 8:​9-17', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Manohetse i ndatỳ faie hai’o ty mamale aze.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoriagne', + ayfPart1Study: 3, + ayfPart2: + 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Asao hivory i ndatỳ. Alefaso naho iharò midineke ty video tihoe Inogne ty Atao amy i Anjomba i Fanjakagney Agne? (ko alefa naho fa manao i anjaray)', + ayfPart2Time: 4, + ayfPart2Type: 'Fiheregnagne Mitilike', + ayfPart2Study: 12, + ayfPart3: + 'w22.01 10-11 § 8-10: Foto-kevetse: Mikezaha ho Mpampianatse Mahay Manahake i Jakoba: Anò Tsotra ty Hafatse Torie’o', + ayfPart3Time: 5, + ayfPart3Type: 'Lahajaka', + ayfPart3Study: 17, + songMiddle: 148, + lcCount: 1, + lcPart1: '“Miantehera amy i Jehovah Naho fa Misy Mampijale”', + lcPart1Time: 15, + lcPart1Content: 'Fiharoagne midineke naho video.', + lcCBS: 'lff lesogne 58', + songConclude: 124, + }, + { + weekDate: '09/25/2023', + weekDateLocale: '25 Septambra–1 Oktobra', + weeklyBibleReading: 'ESTERA 9-10', + songFirst: 102, + tgw10Talk: '“Nampiasa ty Fahefa’e mba Hahasoa o Vahoa’eo Reke”', + tgwBRead: 'Es 9:​1-14', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney.', + ayfPart1Time: 2, + ayfPart1Type: 'Fitoriagne', + ayfPart1Study: 6, + ayfPart2: + 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Atoloro ty bokekele tihoe Ankamamio Nainai’e o Fiaignagneo!, le atorò aze ty fomba fianaragne Baiboly.', + ayfPart2Time: 5, + ayfPart2Type: 'Fiheregnagne Mitilike', + ayfPart2Study: 13, + ayfPart3: 'lff lesogne 12 fampidiragne amy i Andao Handineke ty Pitsopitso’ey naho hevetse 4', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianaragne Baiboly', + ayfPart3Study: 19, + songMiddle: 117, + lcCount: 1, + lcPart1: '“Mipay ze Hahasoa o Vahoa i Jehovah-o o Androanavi-pagnahio”', + lcPart1Time: 15, + lcPart1Content: 'Fiharoagne midineke naho video.', + lcCBS: 'lff lesogne 59 hevetse 1-5', + songConclude: 55, + }, + { + weekDate: '10/02/2023', + weekDateLocale: '2-8 Oktobra', + weeklyBibleReading: 'JOBA 1-3', + songFirst: 141, + tgw10Talk: '“Atorò Lognandro tie Tea’o Vata’e ty Jehovah”', + tgwBRead: 'Jb 3:​1-26', + tgwBReadStudy: 12, + ayfCount: 3, + ayfPart1: + 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Meo karatse jw.org i ndatỳ, le risiho reke hagnente ty tragnom-porarontikagne.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoriagne', + ayfPart1Study: 9, + ayfPart2: + 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Rehafo tie tea’o hatoro i ndatỳ ty video tihoe Inogne ty Anto’e Ianaragne Baiboly? (ko alefa naho fa manao i anjaray) sady iharò midineke.', + ayfPart2Time: 4, + ayfPart2Type: 'Fiheregnagne Mitilike', + ayfPart2Study: 20, + ayfPart3: + 'w22.01 11-12 § 11-14: Foto-kevetse: Mikezaha ho Mpampianatse Mahay Manahake i Jakoba: Ekeo ty Raha Misy Sady Miambanea.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahajaka', + ayfPart3Study: 18, + songMiddle: 21, + lcCount: 2, + lcPart1: 'Nieretseretse Raho tie fa Nanagnako Iaby ze Kila Raha', + lcPart1Time: 10, + lcPart1Content: + 'Fiharoagne midineke. Alefaso o video iohoe. Fagnonteneagne: Nagnino ty rahalahy Birdwell ro nieretseretse tie nanagna’e iaby ze kila raha”?', + lcPart2: '“Ampiasao ty Peje Fizilihagne amy JW.ORG ao Naho fa Manompo Rehe”', + lcPart2Time: 5, + lcPart2Content: 'Fiharoagne midineke.', + lcCBS: 'lff lesogne 59 hevetse 6 naho famintignagne, fameregnagne, vaho anò toy', + songConclude: 129, + }, + { + weekDate: '10/09/2023', + weekDateLocale: '9-15 Oktobra ', + weeklyBibleReading: 'JOBA 4-5', + songFirst: 121, + tgw10Talk: '“Mitaoa amy ty Raha Tsy Maregne”', + tgwBRead: 'Jb 5:​1-27', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney.', + ayfPart1Time: 2, + ayfPart1Type: 'Fitoriagne', + ayfPart1Study: 4, + ayfPart2: 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Atorò i ndatỳ ty fampiasaegne ty jw.org.', + ayfPart2Time: 5, + ayfPart2Type: 'Fiheregnagne Mitilike', + ayfPart2Study: 15, + ayfPart3: 'lff lesogne 16 hevetse 5', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianaragne Baiboly', + ayfPart3Study: 16, + songMiddle: 78, + lcCount: 1, + lcPart1: 'Raha Ilae ty Fiangonagne', + lcPart1Time: 15, + lcCBS: 'lff lesogne 60', + songConclude: 38, + }, + { + weekDate: '10/16/2023', + weekDateLocale: '16-22 Oktobra', + weeklyBibleReading: 'JOBA 6-7', + songFirst: 33, + tgw10Talk: '“Naho fa Tena Tsy Tante’o ty Raha Mahazo Azo”', + tgwBRead: 'Jb 6:​1-21', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Manohetse i ndatỳ faie hai’o ty mamale aze.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoriagne', + ayfPart1Study: 7, + ayfPart2: 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Manolora Fitaovagne Fampianaragne.', + ayfPart2Time: 4, + ayfPart2Type: 'Fiheregnagne Mitilike', + ayfPart2Study: 11, + ayfPart3: + 'w22.01 12-13 § 15-18: Foto-kevetse: Mikezaha Ho Mpampianatse Mahay Manahake i Jakoba: Mampiasà Fagnoharagne Mete Soa.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahajaka', + ayfPart3Study: 8, + songMiddle: 144, + lcCount: 1, + lcPart1: '“Magnavotse ze Mamoe Fo ty Jehovah”', + lcPart1Time: 15, + lcPart1Content: 'Fiharoagne midineke naho video.', + lcCBS: 'lff fizaràgne 4 fameregnagne', + songConclude: 143, + }, + { + weekDate: '10/23/2023', + weekDateLocale: '23-29 Oktobra', + weeklyBibleReading: 'JOBA 8-10', + songFirst: 107, + tgw10Talk: '“Miaro Antika amy ty Vande i Satana ty Hatea i Jehovah Naho ty Tsy Fivaliha’e”', + tgwBRead: 'Jb 9:​20-35', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Manolora Fitaovagne Fampianaragne.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoriagne', + ayfPart1Study: 17, + ayfPart2: + 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Atoloro ty bokekele Ankamamio Nainai’e o Fiaignagneo!, sady iharò midineke tsielatsiela tihoe “Akore ty Hahavy Azo Handrambe Soa amy ty Fianaragne Baiboly Toy?”', + ayfPart2Time: 4, + ayfPart2Type: 'Fiheregnagne Mitilike', + ayfPart2Study: 3, + ayfPart3: 'lff lesogne 16 hevetse 6 naho tihoe Misy ty Mirehake Fa', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianaragne Baiboly', + ayfPart3Study: 14, + songMiddle: 109, + lcCount: 2, + lcPart1: '“Ampeo ze Ndaty Tsy Mpivavake mba Hahafantatse i Mpamorogney”', + lcPart1Time: 10, + lcPart1Content: 'Fiharoagne midineke naho video.', + lcPart2: 'Raha Ilae ty Fiangonagne', + lcPart2Time: 5, + lcCBS: 'rr “Taratasy avy amin’ny Filan-kevi-pitantanana” sy efajoro roa eo amin’ny pejy 5', + songConclude: 95, + }, + { + weekDate: '10/30/2023', + weekDateLocale: '30 Oktobra–5 Novambra', + weeklyBibleReading: 'JOBA 11-12', + songFirst: 87, + tgw10Talk: '“Fomba Telo Hahazoagne Fahendreagne Naho ty Soa azo Ama’e”', + tgwBRead: 'Jb 12:​1-25', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Rehafo amy i ndatỳ fa mampianatse Baiboly tika sady omeo karatse mampahafantatse ty fampianaragne Baiboly ataontikagne reke.', + ayfPart1Time: 4, + ayfPart1Type: 'Fitoriagne', + ayfPart1Study: 1, + ayfPart2: + 'Ampiasao ty foto-kevetse amy i hevetse azo rehafegney. Asao hivory i ndatỳ. Alefaso naho iharò midineke ty video tihoe Inogne ty Atao amy i Anjomba i Fanjakagney Agne? (ko alefa naho fa manao i anjaray)', + ayfPart2Time: 3, + ayfPart2Type: 'Fiheregnagne Mitilike', + ayfPart2Study: 13, + ayfPart3: 'lff lesogne 12 famintignagne, fameregnagne, naho anò toy', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianaragne Baiboly', + ayfPart3Study: 19, + songMiddle: 135, + lcCount: 1, + lcPart1: '“Ry Rae Aman-drene Ampeo mba Hanagne Fahendreagne ty Ana’areo”', + lcPart1Time: 15, + lcPart1Content: 'Fiharoagne midineke naho video.', + lcCBS: 'rr toko 1 § 1-7, video fampidirana*', + songConclude: 37, + }, + ], +}; diff --git a/test/fixtures/mwb_TNK_202303.js b/test/fixtures/mwb_TNK_202303.js deleted file mode 100644 index 8faa2a6c..00000000 --- a/test/fixtures/mwb_TNK_202303.js +++ /dev/null @@ -1,231 +0,0 @@ -export default { - weeksCount: 7, - mwbYear: '2023', - weeksData: [ - { - weekDate: '03/06/2023', - weekDateLocale: '6-12 Marsy', - weeklyBibleReading: '1 TANTARA 23-26', - songFirst: 123, - tgw10Talk: '“Ten̈a Voalamin̈y Fanompoan̈a Natao Tamy Tempoly Tao”', - tgwBRead: '1Ta 23:21-32', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Fiarahan̈a midiniky. Alifasa video Ezaka Manokan̈a Handrasan̈a Ainvitasiony Fahatsiarovan̈a. Ajanòna video io isaka izy mijanon̈o hely, avio an̈ontania pan̈atriky fan̈ontanian̈a miboaka amy video io.', - ayfPart1Time: 5, - ayfPart1Type: 'Video Invitasiony Fahatsiarovan̈a', - ayfPart2: - 'Ampiasà hevitry amy raha mety koran̈iny. Izikoa tompintran̈o io mitandren̈y tsarabe, aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Tsarova Nifatesany Jesosy.', - ayfPart2Time: 3, - ayfPart2Type: 'Invitasiony Fahatsiarovan̈a', - ayfPart2Study: 11, - ayfPart3: 'w11 1/6 14-15​—Fotokevitry: Nan̈ino ma Voalamin̈y Tsara Kristianin̈y?', - ayfPart3Time: 5, - ayfPart3Type: 'Kabaro', - ayfPart3Study: 14, - songMiddle: 101, - lcCount: 2, - lcPart1: '“Akory Hatao Han̈ampy Izikoa fa Misy Antambo Mandalo?”', - lcPart1Time: 10, - lcPart1Content: 'Fiarahan̈a midiniky ndreky video.', - lcPart2: 'Ezaka Manokan̈a Momba Fahatsiarovan̈a Manomboko amy Sabotsy 11 Marsy', - lcPart2Time: 5, - lcPart2Content: - 'Fiarahan̈a midiniky. Fintin̈a hely raha koran̈iny invitasion ao. Hazavà programony fiangonan̈a momba kabaro manokan̈a ndreky Fahatsiarovan̈a ndreky fankifan̈a faritany.', - lcCBS: 'lff leson 39 ndreky fan̈azavan̈a 3', - songConclude: 127, - }, - { - weekDate: '03/13/2023', - weekDateLocale: '13-19 Marsy', - weeklyBibleReading: '1 TANTARA 27-29', - songFirst: 133, - tgw10Talk: '“Baba Araiky Be Fitiavan̈a Man̈amia Torohevitry Zanany”', - tgwBRead: '1Ta 27:1-15', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: - 'Fiarahan̈a midiniky. Alifasa video Lera Mitsidiky: Jesosy​—Mt 20:28. Ajanòna video io isaka izy mijanon̈o hely, avio an̈ontania pan̈atriky fan̈ontanian̈a miboaka amy video io.', - ayfPart1Time: 5, - ayfPart1Type: 'Video Lera Mitsidiky', - ayfPart2: - 'Anao mitsidiky olo lian̈a, efa namianao invitasiony Fahatsiarovan̈a taminy anao nitory taminany. Aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Nan̈ino Jesosy naty?', - ayfPart2Time: 4, - ayfPart2Type: 'Lera Mitsidiky', - ayfPart2Study: 9, - ayfPart3: - 'Anao mitsidiky olo lian̈a, efa namianao invitasiony Fahatsiarovan̈a taminy anao nitory taminany. Manomboha fampianaran̈a Baiboly amy bokikely Mankafiza Fiain̈ana Tsisy Farany!', - ayfPart3Time: 4, - ayfPart3Type: 'Lera Mitsidiky', - ayfPart3Study: 6, - songMiddle: 4, - lcCount: 2, - lcPart1: 'Raha Ilainy Fiangonan̈a', - lcPart1Time: 5, - lcPart2: 'Raha Vitany Fandaminan̈a', - lcPart2Time: 10, - lcPart2Content: 'Alifasa video Raha Vitany Fandaminan̈a tokony halefa amy fanjava Marsy.', - lcCBS: 'lff leson 40', - songConclude: 45, - }, - { - weekDate: '03/20/2023', - weekDateLocale: '20-26 Marsy', - weeklyBibleReading: '2 TANTARA 1-4', - songFirst: 41, - tgw10Talk: '“Panjaka Solomona Nan̈ano Fanapahankevitry Tsisy Fahendrena”', - tgwBRead: '2Ta 4:7-22', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: 'Anao mitaon̈o olo miaraka miasa aminao, na miaraka mianatra aminao, na havanao.', - ayfPart1Time: 3, - ayfPart1Type: 'Invitasiony Fahatsiarovan̈a', - ayfPart1Study: 2, - ayfPart2: - 'Anao mitsidiky olo lian̈a, ke efa namianao invitasiony Fahatsiarovan̈a. Hazavà aminany momba fampianaran̈a Baiboly tsy man̈efa, avio ameza bokikely Mankafiza Fiain̈ana Tsisy Farany! Aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Karakory ma Fianaran̈a Baiboly Zen̈y?', - ayfPart2Time: 4, - ayfPart2Type: 'Lera Mitsidiky', - ayfPart2Study: 17, - ayfPart3: 'lff leson 09: Hevitry 5', - ayfPart3Time: 5, - ayfPart3Type: 'Lera Mampianatra', - ayfPart3Study: 9, - songMiddle: 19, - lcCount: 1, - lcPart1: 'Efa Nioman̈a Aminy Andra Farany Maventy amy Taon̈o ty ma Anao?', - lcPart1Time: 15, - lcPart1Content: - 'Kabaro ndreky video. Ataony piandraikitry fanompoan̈a. Koràn̈a raha efa vitany fiangonan̈a momba fankifan̈a faritany. Man̈adikadin̈a pitory manan̈a fitantaran̈a mankahery. Koràn̈a programony Famakian̈a Baiboly amy Fahatsiarovan̈a, amy pazy 8 ndreky 9, avio ampirisiha olo jiaby han̈oman̈a fôndro. (Ezr 7:10) Ataova fiarahan̈a midiniky raha mety hataontsika, handraisan̈a iro vahiny avy man̈aton̈o Fahatsiarovan̈a. (Ro 15:7; mwb16.03 2) Alifasa video Karakory ma Atao Man̈amboatra Mofony Fahatsiarovan̈a?', - lcCBS: 'lff leson 41: Hevitry 1-4', - songConclude: 135, - }, - { - weekDate: '03/27/2023', - weekDateLocale: '27 Marsy–2 Avrily', - weeklyBibleReading: '2 TANTARA 5-7', - songFirst: 129, - tgw10Talk: '“Fônaka Tsy Hiala Ao”', - tgwBRead: '2Ta 6:28-42', - tgwBReadStudy: 11, - ayfCount: 3, - ayfPart1: - 'Ampiasà hevitry amy raha mety koran̈iny. Izikoa fa hitanao fa lian̈a olo io, aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Tsarova Nifatesany Jesosy.', - ayfPart1Time: 3, - ayfPart1Type: 'Invitasiony Fahatsiarovan̈a', - ayfPart1Study: 3, - ayfPart2: - 'Vita kabaro amy Fahatsiarovan̈a, anao mikoran̈a aminolo nikahinao navy nan̈aton̈o izio. Anao mamaly fan̈ontanian̈anany momba izio.', - ayfPart2Time: 4, - ayfPart2Type: 'Lera Mitsidiky', - ayfPart2Study: 17, - ayfPart3: - 'w93 1/2 31​—Fotokevitry: Akory Tokony Hataonolo Araiky Izikoa Izy Tsy Afaka Man̈aton̈o Fahatsiarovan̈a Nohony Antony Manokan̈a?', - ayfPart3Time: 5, - ayfPart3Type: 'Kabaro', - ayfPart3Study: 18, - songMiddle: 36, - lcCount: 2, - lcPart1: '“Arova Fônao”', - lcPart1Time: 10, - lcPart1Content: 'Fiarahan̈a midiniky ndreky video.', - lcPart2: 'Raha Ilainy Fiangonan̈a', - lcPart2Time: 5, - lcCBS: 'lff leson 41: Hevitry 5, ino raha nianaranao tato, fan̈ontanian̈a fameren̈ana, ndreky ataova ty', - songConclude: 34, - }, - { - weekDate: '04/10/2023', - weekDateLocale: '10-16 Avrily', - weeklyBibleReading: '2 TANTARA 8-9', - songFirst: 88, - tgw10Talk: '“Ten̈a Valera Tamy Man̈angy io Fahendrena”', - tgwBRead: '2Ta 8:1-16', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Fiarahan̈a midiniky. Alifasa video Fitorian̈a: Jesosy​—Mt 16:16. Ajanòna video io isaka izy mijanon̈o hely, avio an̈ontania pan̈atriky fan̈ontanian̈a miboaka amy video io.', - ayfPart1Time: 5, - ayfPart1Type: 'Video Fitorian̈a', - ayfPart2: - 'Ampiasà hevitry amy raha mety koran̈iny. Olo io manohitry, fa mahaiza mamaly. Fanoheran̈a fohita amy faritaninaro izio.', - ayfPart2Time: 3, - ayfPart2Type: 'Fitorian̈a', - ayfPart2Study: 2, - ayfPart3: 'lff leson 09: Hevitry 6', - ayfPart3Time: 5, - ayfPart3Type: 'Lera Mampianatra', - ayfPart3Study: 19, - songMiddle: 98, - lcCount: 1, - lcPart1: '“Famakian̈a Baiboly Isanandra Ndreky Fitadiavan̈a Fahendrena”', - lcPart1Time: 15, - lcPart1Content: 'Fiarahan̈a midiniky ndreky video.', - lcCBS: 'lff leson 42 ndreky fan̈azavan̈a 4', - songConclude: 131, - }, - { - weekDate: '04/17/2023', - weekDateLocale: '17-23 Avrily', - weeklyBibleReading: '2 TANTARA 10-12', - songFirst: 103, - tgw10Talk: '“Mahatsara Atsika Fan̈arahan̈a Torohevitry Feno Fahendrena”', - tgwBRead: '2Ta 10:1-15', - tgwBReadStudy: 2, - ayfCount: 3, - ayfPart1: - 'Ampiasà hevitry amy raha mety koran̈iny. Olo io manohitry, fa mahaiza mamaly. Fanoheran̈a fohita amy faritaninaro izio.', - ayfPart1Time: 3, - ayfPart1Type: 'Fitorian̈a', - ayfPart1Study: 12, - ayfPart2: 'Ampiasà hevitry amy raha mety koran̈iny. Amia araiky amy Fitaovan̈a Fampianaran̈a izy.', - ayfPart2Time: 4, - ayfPart2Type: 'Lera Mitsidiky', - ayfPart2Study: 6, - ayfPart3: - 'be 69 § 4-5​—Fotokevitry: Ampia Olo Ampianarinao Baiboly Hahay Raha Tokony Hatao Lera Izy Mangataka Torohevitry Aminao.', - ayfPart3Time: 5, - ayfPart3Type: 'Kabaro', - ayfPart3Study: 20, - songMiddle: 79, - lcCount: 2, - lcPart1: '“Karakory Fampiasan̈a Video Fampianaran̈a Baiboly?”', - lcPart1Time: 5, - lcPart1Content: 'Kabaro ndreky video. Alifasa video Tongasoa amy Fianaran̈a Baiboly.', - lcPart2: 'Raha Ilainy Fiangonan̈a', - lcPart2Time: 10, - lcCBS: 'lff leson 43', - songConclude: 121, - }, - { - weekDate: '04/24/2023', - weekDateLocale: '24-30 Avrily', - weeklyBibleReading: '2 TANTARA 13-16', - songFirst: 3, - tgw10Talk: '“Lera Karakory ma Atsika Tokony Hatoky Jehovah?”', - tgwBRead: '2Ta 14:1-15', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: 'Ampiasà hevitry amy raha mety koran̈iny. Ambarà izy tranonkalantsika, avio amia karty jw.org izy.', - ayfPart1Time: 3, - ayfPart1Type: 'Fitorian̈a', - ayfPart1Study: 1, - ayfPart2: - 'Ampiasà hevitry amy raha mety koran̈iny. Hazavà fampianaran̈a Baiboly ataontsika, avio amia karty momba fianaran̈a Baiboly izy.', - ayfPart2Time: 4, - ayfPart2Type: 'Lera Mitsidiky', - ayfPart2Study: 11, - ayfPart3: 'lff leson 09: Hevitry 7 ndreky Misy Olo Mivolan̈a', - ayfPart3Time: 5, - ayfPart3Type: 'Lera Mampianatra', - ayfPart3Study: 6, - songMiddle: 94, - lcCount: 1, - lcPart1: '“Aboaha amy Fanapahankevitrinao fa Anao Matoky Jehovah”', - lcPart1Time: 15, - lcPart1Content: 'Fiarahan̈a midiniky ndreky video.', - lcCBS: 'lff leson 44: Hevitry 1-4 ndreky fan̈azavan̈a 5', - songConclude: 39, - }, - ], -}; diff --git a/test/fixtures/mwb_TNK_202309.js b/test/fixtures/mwb_TNK_202309.js new file mode 100644 index 00000000..73b79272 --- /dev/null +++ b/test/fixtures/mwb_TNK_202309.js @@ -0,0 +1,288 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '09/04/2023', + weekDateLocale: '4-10 Septambra', + weeklyBibleReading: 'ESTERA 1-2', + songFirst: 137, + tgw10Talk: '“Mifen̈a Hanetry Ten̈a Karaha Estera”', + tgwBRead: 'Es 1:​13-22', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: + 'Fiarahan̈a midiniky. Alifasa video Fitorian̈a: Fanjakan̈any Zan̈ahary—Mt 6:​9, 10. Ajanòna video io isaka izy mijanon̈o hely, avio an̈ontania pan̈atriky fan̈ontanian̈a miboaka amy video io.', + ayfPart1Time: 5, + ayfPart1Type: 'Video Fitorian̈a', + ayfPart2: 'Ampiasà hevitry amy raha mety koran̈iny. Amia bokikely Mankafiza Fiain̈ana Tsisy Farany! izy.', + ayfPart2Time: 3, + ayfPart2Type: 'Fitorian̈a', + ayfPart2Study: 1, + ayfPart3: 'w20.11 12-14 § 3-7—Fotokevitry: Jesosy Ndreky Anjely aby io Man̈ampy Atsika.', + ayfPart3Time: 5, + ayfPart3Type: 'Kabaro', + ayfPart3Study: 14, + songMiddle: 106, + lcCount: 2, + lcPart1: 'Hevitriny Tanora Karaha Anao—Miasaloha amy Vatan̈anao ma Anao?', + lcPart1Time: 5, + lcPart1Content: + 'Fiarahan̈a midiniky. Alifasa video io. Avio an̈ontania pan̈atriky: Nan̈ino ma mety ho sarotro amintsika tsy hiasaloha amy vatan̈antsika?', + lcPart2: 'Raha Vitany Fandaminan̈a', + lcPart2Time: 10, + lcPart2Content: 'Alifasa Raha Vitany Fandaminan̈a tokony halefa amy fanjava Septambra ty.', + lcCBS: 'lff leson 56 ndreky fan̈azavan̈a 6 ndreky 7', + songConclude: 101, + }, + { + weekDate: '09/11/2023', + weekDateLocale: '11-17 Septambra', + weeklyBibleReading: 'ESTERA 3-5', + songFirst: 85, + tgw10Talk: '“Ampia Olo Baka Hahavita ny Farany Tsara Mety ho Vitany”', + tgwBRead: 'Es 3:​1-12', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Fiarahan̈a midiniky. Alifasa video Lera Mitsidiky: Fanjakan̈any Zan̈ahary—Mt 14:​19, 20. Ajanòna video io isaka izy mijanon̈o hely, avio an̈onta ania pan̈atriky fan̈ontanian̈a miboaka amy video io.', + ayfPart1Time: 5, + ayfPart1Type: 'Video Lera Mitsidiky', + ayfPart2: + 'Ampiasà hevitry amy raha mety koran̈iny. Hazavà fampianaran̈a Baiboly ataontsika, avio amia karty momba fianaran̈a Baiboly izy.', + ayfPart2Time: 3, + ayfPart2Type: 'Lera Mitsidiky', + ayfPart2Study: 16, + ayfPart3: 'lff leson 12: Fampidiran̈a ndreky hevitry 1-3', + ayfPart3Time: 5, + ayfPart3Type: 'Lera Mampianatra', + ayfPart3Study: 15, + songMiddle: 65, + lcCount: 2, + lcPart1: 'Ataova Kamaradinao Jehovah—Estera Nisy Korazy', + lcPart1Time: 5, + lcPart1Content: + 'Fiarahan̈a midiniky. Alifasa video io. Mifidiana tsialohaloha tsaiky hadikadin̈iny, izikoa misy. An̈ontania iro: Amy lera karakory anao ti ianao misy korazy karaha Estera in̈y?', + lcPart2: 'Raha Ilainy Fiangonan̈a', + lcPart2Time: 10, + lcCBS: 'lff leson 57', + songConclude: 125, + }, + { + weekDate: '09/18/2023', + weekDateLocale: '18-24 Septambra', + weeklyBibleReading: 'ESTERA 6-8', + songFirst: 115, + tgw10Talk: '“Modely amy Fahaizan̈a Mikoran̈a Aminolo”', + tgwBRead: 'Es 8:​9-17', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Ampiasà hevitry amy raha mety koran̈iny. Olo io manohitry, fa mahaiza mamaly. Fanoheran̈a fohita amy faritaninaro izio.(th fianaran̈a 3)', + ayfPart1Time: 3, + ayfPart1Type: 'Fitorian̈a', + ayfPart2: + 'Ampiasà hevitry amy raha mety koran̈iny. Tahaoma mivory izy, avio aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Ino ma Raha Ataao amy Tran̈o Fivorian̈a An̈y?', + ayfPart2Time: 4, + ayfPart2Type: 'Lera Mitsidiky', + ayfPart2Study: 12, + ayfPart3: 'w22.01 10-11 § 8-10—Fotokevitry: Mahaiza Mampianatra Karaha Jakoba—Ataova Tsotra Raha Ampianarinao.', + ayfPart3Time: 5, + ayfPart3Type: 'Kabaro', + ayfPart3Study: 17, + songMiddle: 148, + lcCount: 1, + lcPart1: '“Matokisa Jehovah Izikoa Anao Ampijalinolo”', + lcPart1Time: 15, + lcPart1Content: 'Fiarahan̈a midiniky ndreky video.', + lcCBS: 'lff leson 58', + songConclude: 124, + }, + { + weekDate: '09/25/2023', + weekDateLocale: '25 Septambra–1 Oktobra', + weeklyBibleReading: 'ESTERA 9-10', + songFirst: 102, + tgw10Talk: '“Nampiasainy Han̈ampian̈a Olo Fahifan̈anany”', + tgwBRead: 'Es 9:​1-14', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Ampiasà raha mety koran̈iny.', + ayfPart1Time: 2, + ayfPart1Type: 'Fitorian̈a', + ayfPart1Study: 6, + ayfPart2: + 'Ampiasà hevitry amy raha mety koran̈iny. Amia bokikely Mankafiza Fiain̈ana Tsisy Farany! izy, avio manomboha fampianaran̈a Baiboly.', + ayfPart2Time: 5, + ayfPart2Type: 'Lera Mitsidiky', + ayfPart2Study: 13, + ayfPart3: 'lff leson 12: Aleva Onon̈o, ndreky hevitry 4', + ayfPart3Time: 5, + ayfPart3Type: 'Lera Mampianatra', + ayfPart3Study: 19, + songMiddle: 117, + lcCount: 1, + lcPart1: '“Piambin̈y aby io Miasa Baka Hahatsara Vahoakany Zan̈ahary”', + lcPart1Time: 15, + lcPart1Content: 'Fiarahan̈a midiniky ndreky video.', + lcCBS: 'lff leson 59: Hevitry 1-5', + songConclude: 55, + }, + { + weekDate: '10/02/2023', + weekDateLocale: '2-8 Oktobra', + weeklyBibleReading: 'JOBA 1-3', + songFirst: 141, + tgw10Talk: '“Aboaha Fo fa Anao Ten̈a Tia Jehovah”', + tgwBRead: 'Jb 3:​1-26', + tgwBReadStudy: 12, + ayfCount: 3, + ayfPart1: 'Ampiasà hevitry amy raha mety koran̈iny. Koràn̈a aminany tranonkalantsika avio amia karty jw.org izy.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitorian̈a', + ayfPart1Study: 9, + ayfPart2: + 'Ampiasà hevitry amy raha mety koran̈iny. Ampizahava izy ndreky iaraha midiniky aminany (fa aza alefa) video Nan̈ino ma Anao Tokony Hianatra Baib boly?', + ayfPart2Time: 4, + ayfPart2Type: 'Lera Mitsidiky', + ayfPart2Study: 20, + ayfPart3: + 'w22.01 11-12 § 11-14: Fotokevitry: Mahaiza Mampianatra Karaha Jakoba: Mifantoha amy Raha Tsara Vitany Pianatranao Avio Manetre Ten̈a.', + ayfPart3Time: 5, + ayfPart3Type: 'Kabaro', + ayfPart3Study: 18, + songMiddle: 21, + lcCount: 2, + lcPart1: 'Zaho Nieritreritry Efa Nanan̈ako aby Raha Jiaby', + lcPart1Time: 10, + lcPart1Content: + 'Fiarahan̈a midiniky. Alifasa video io. An̈ontania pan̈atriky: Ino ma nahavy Birdwell nieritreritry fa efa ‘nanan̈any raha jiaby’?', + lcPart2: '“Ampiasà Pazy Fandraisan̈a amy JW.ORG Anao koa fa Manompo”', + lcPart2Time: 5, + lcPart2Content: 'Fiarahan̈a midiniky.', + lcCBS: 'lff leson 59: Hevitry 6 ndreky ino raha nianaranao tato, fan̈ontanian̈a fameren̈ana, ndreky ataova ty', + songConclude: 129, + }, + { + weekDate: '10/09/2023', + weekDateLocale: '9-15 Oktobra', + weeklyBibleReading: 'JOBA 4-5', + songFirst: 121, + tgw10Talk: '“Mitandrema amy Fan̈azavan̈a Tsy Marin̈y”', + tgwBRead: 'Jb 5:​1-27', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: 'Ampiasà hevitry amy raha mety koran̈iny.', + ayfPart1Time: 2, + ayfPart1Type: 'Fitorian̈a', + ayfPart1Study: 4, + ayfPart2: 'Ampiasà hevitry amy raha mety koran̈iny. Aboaha olo io akory atao mitady raha amy jw.org.', + ayfPart2Time: 5, + ayfPart2Type: 'Lera Mitsidiky', + ayfPart2Study: 15, + ayfPart3: 'lff leson 16: Hevitry 5', + ayfPart3Time: 5, + ayfPart3Type: 'Lera Mampianatra', + ayfPart3Study: 16, + songMiddle: 78, + lcCount: 1, + lcPart1: 'Raha Ilainy Fiangonan̈a', + lcPart1Time: 15, + lcCBS: 'lff leson 60', + songConclude: 38, + }, + { + weekDate: '10/16/2023', + weekDateLocale: '16-22 Oktobra', + weeklyBibleReading: 'JOBA 6-7', + songFirst: 33, + tgw10Talk: '“Karakory Izikoa fa Kalikaly Tsy ho Din̈inao Raha Mahazo Anao?”', + tgwBRead: 'Jb 6:​1-21', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Ampiasà hevitry amy raha mety koran̈iny. Olo io manohitry, fa mahaiza mamaly. Fanoheran̈a fohita amy faritaninaro izio.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitorian̈a', + ayfPart1Study: 7, + ayfPart2: 'Ampiasà hevitry amy raha mety koran̈iny. Amia araiky amy Fitaovan̈a Fampianaran̈a izy.', + ayfPart2Time: 4, + ayfPart2Type: 'Lera Mitsidiky', + ayfPart2Study: 11, + ayfPart3: 'w22.01 12-13 § 15-18: Fotokevitry: Mahaiza Mampianatra Karaha Jakoba—Mampiasà Fan̈oharan̈a Mora Azo.', + ayfPart3Time: 5, + ayfPart3Type: 'Kabaro', + ayfPart3Study: 8, + songMiddle: 144, + lcCount: 1, + lcPart1: '“Jehovah Mamonjy Olo Kivy”', + lcPart1Time: 15, + lcPart1Content: 'Fiarahan̈a midiniky ndreky video.', + lcCBS: 'lff fizaran̈a 4 fan̈ontanian̈a fameren̈ana', + songConclude: 143, + }, + { + weekDate: '10/23/2023', + weekDateLocale: '23-29 Oktobra', + weeklyBibleReading: 'JOBA 8-10', + songFirst: 107, + tgw10Talk: '“Tsy Malaka Amintsika Vandiny Satana Fotony Jehovah Ten̈a Tia Atsika”', + tgwBRead: 'Jb 9:​20-35', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Ampiasà hevitry amy raha mety koran̈iny. Amia araiky amy Fitaovan̈a Fampianaran̈a izy.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitorian̈a', + ayfPart1Study: 17, + ayfPart2: + 'Ampiasà hevitry amy raha mety koran̈iny. Izy amia bokikely Mankafiza Fiain̈ana Tsisy Farany!, avio iaraha dinihin̈y tsy ela “Karakory ma Fampias san̈a Bokikely Ty?”', + ayfPart2Time: 4, + ayfPart2Type: 'Lera Mitsidiky', + ayfPart2Study: 3, + ayfPart3: 'lff leson 16: Hevitry 6 ndreky Misy Olo Mivolan̈a', + ayfPart3Time: 5, + ayfPart3Type: 'Lera Mampianatra', + ayfPart3Study: 14, + songMiddle: 109, + lcCount: 2, + lcPart1: '“Ampia iro Olo Tsy Pivavaka Baka ho Haindro Pamoron̈o Iro”', + lcPart1Time: 10, + lcPart1Content: 'Fiarahan̈a midiniky ndreky video.', + lcPart2: 'Raha Ilainy Fiangonan̈a', + lcPart2Time: 5, + lcCBS: 'rr “Taratasy avy Amin’ny Filan-kevi-pitantanana”, efajoro aroe amy pazy 5', + songConclude: 95, + }, + { + weekDate: '10/30/2023', + weekDateLocale: '30 Oktobra–5 Novambra', + weeklyBibleReading: 'JOBA 11-12', + songFirst: 87, + tgw10Talk: '“Raha Telo Hazahoan̈a Fahendrena Ndreky Hatsaran̈a Baka amy Fahendrena”', + tgwBRead: 'Jb 12:​1-25', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Ampiasà hevitry amy raha mety koran̈iny. Hazavà fampianaran̈a Baiboly ataontsika, avio amia karty momba fianaran̈a Baiboly izy.', + ayfPart1Time: 4, + ayfPart1Type: 'Fitorian̈a', + ayfPart1Study: 1, + ayfPart2: + 'Ampiasà hevitry amy raha mety koran̈iny. Tahaoma mivory izy, avio aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Ino ma Raha Ataao amy Tran̈o Fivorian̈a An̈y?', + ayfPart2Time: 3, + ayfPart2Type: 'Lera Mitsidiky', + ayfPart2Study: 13, + ayfPart3: 'lff leson 12 ino raha nianaranao tato, fan̈ontanian̈a fameren̈ana, ndreky ataova ty', + ayfPart3Time: 5, + ayfPart3Type: 'Fianaran̈a Baiboly', + ayfPart3Study: 19, + songMiddle: 135, + lcCount: 1, + lcPart1: '“Raimandreny—Ampia Zanakanaro Baka Hahay Hampiasa Raha Nianarandro Momba Zan̈ahary”', + lcPart1Time: 15, + lcPart1Content: 'Fiarahan̈a midiniky ndreky video.', + lcCBS: 'rr toko 1 § 1-7, Video fampidirana', + songConclude: 37, + }, + ], +}; diff --git a/test/fixtures/mwb_T_202303.js b/test/fixtures/mwb_T_202303.js deleted file mode 100644 index 786a58ec..00000000 --- a/test/fixtures/mwb_T_202303.js +++ /dev/null @@ -1,230 +0,0 @@ -export default { - weeksCount: 7, - mwbYear: '2023', - weeksData: [ - { - weekDate: '03/06/2023', - weekDateLocale: '6-12 de março', - weeklyBibleReading: '1 CRÔNICAS 23-26', - songFirst: 123, - tgw10Talk: '“A adoração no templo fica bem organizada”', - tgwBRead: '1 Crô. 23:21-32', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Discurso, com algumas participações da assistência. Mostre o vídeo Campanha para a Celebração. Pare o vídeo no momento indicado e faça a pergunta que aparece na tela.', - ayfPart1Time: 5, - ayfPart1Type: 'Vídeo do convite da Celebração', - ayfPart2: - 'Use o assunto que aparece em “Conversas sobre a Bíblia”. Após o morador mostrar interesse, use o vídeo Lembre-se da Morte de Jesus (sem mostrar durante a parte). Depois, comente algo sobre o vídeo.', - ayfPart2Time: 3, - ayfPart2Type: 'Convite da Celebração', - ayfPart2Study: 11, - ayfPart3: 'w11 1/6 14-15 — Tema: Por que os cristãos estão organizados?', - ayfPart3Time: 5, - ayfPart3Type: 'Discurso', - ayfPart3Study: 14, - songMiddle: 101, - lcCount: 2, - lcPart1: '“Como ajudar quando acontece um desastre?”', - lcPart1Time: 10, - lcPart1Content: 'Discurso, com algumas participações da assistência, e vídeo.', - lcPart2: 'Campanha da Celebração — Início no sábado, 11 de março', - lcPart2Time: 5, - lcPart2Content: - 'Discurso, com algumas participações da assistência. Comente alguns pontos do convite. Fale do planejamento que foi feito para o discurso especial, para a Celebração e para cobrir o território durante a campanha dos convites.', - lcCBS: 'lff lição 39 e “Entenda Melhor” 3', - songConclude: 127, - }, - { - weekDate: '03/13/2023', - weekDateLocale: '13-19 de março', - weeklyBibleReading: '1 CRÔNICAS 27-29', - songFirst: 133, - tgw10Talk: '“Conselhos amorosos de um pai para seu filho”', - tgwBRead: '1 Crô. 27:1-15', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: - 'Discurso, com algumas participações da assistência. Mostre o vídeo Revisita: Jesus — Mat. 20:28. Pare o vídeo nos momentos indicados e faça as perguntas que aparecem na tela.', - ayfPart1Time: 5, - ayfPart1Type: 'Vídeo da revisita', - ayfPart2: - 'Revisite alguém que aceitou o convite da Celebração e mostrou interesse. Use o vídeo Por Que Jesus Morreu? (sem mostrar durante a parte). Depois, comente algo sobre o vídeo.', - ayfPart2Time: 4, - ayfPart2Type: 'Revisita — designação 1', - ayfPart2Study: 9, - ayfPart3: - 'Revisite alguém que aceitou o convite da Celebração e mostrou interesse. Inicie um estudo bíblico na brochura Seja Feliz para Sempre!.', - ayfPart3Time: 4, - ayfPart3Type: 'Revisita — designação 2', - ayfPart3Study: 6, - songMiddle: 4, - lcCount: 2, - lcPart1: 'Necessidades locais', - lcPart1Time: 5, - lcPart2: 'Realizações da Organização', - lcPart2Time: 10, - lcPart2Content: 'Mostre o vídeo Realizações da Organização do mês de março.', - lcCBS: 'lff lição 40', - songConclude: 45, - }, - { - weekDate: '03/20/2023', - weekDateLocale: '20-26 de março', - weeklyBibleReading: '2 CRÔNICAS 1-4', - songFirst: 41, - tgw10Talk: '“O rei Salomão toma uma decisão ruim”', - tgwBRead: '2 Crô. 4:7-22', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: 'Convide um colega de trabalho, de escola ou um parente.', - ayfPart1Time: 3, - ayfPart1Type: 'Convite da Celebração', - ayfPart1Study: 2, - ayfPart2: - 'Revisite alguém que aceitou o convite da Celebração e mostrou interesse. Explique nosso curso gratuito da Bíblia e ofereça a brochura Seja Feliz para Sempre!. Use o vídeo Como É um Estudo Bíblico? (sem mostrar durante a parte). Depois, comente algo sobre o vídeo.', - ayfPart2Time: 4, - ayfPart2Type: 'Revisita', - ayfPart2Study: 17, - ayfPart3: 'lff lição 09 ponto 5', - ayfPart3Time: 5, - ayfPart3Type: 'Estudo bíblico', - ayfPart3Study: 9, - songMiddle: 19, - lcCount: 1, - lcPart1: 'Você vai estar preparado para o dia mais importante do ano?', - lcPart1Time: 15, - lcPart1Content: - 'Discurso e vídeo. A ser feito pelo superintendente de serviço. Fale sobre como está o andamento da distribuição dos convites da Celebração. Entreviste irmãos que tiveram boas experiências. Fale sobre a programação de leitura da Bíblia para a época da Celebração, que está nas páginas 8 e 9, e incentive todos a preparar o coração. (Esd. 7:10) Dê sugestões de como podemos receber bem os convidados na noite da Celebração. (Rom. 15:7; mwb16.03 2) Mostre o vídeo Como Fazer o Pão da Celebração.', - lcCBS: 'lff lição 41 pontos 1-4', - songConclude: 135, - }, - { - weekDate: '03/27/2023', - weekDateLocale: '27 de março–2 de abril', - weeklyBibleReading: '2 CRÔNICAS 5-7', - songFirst: 129, - tgw10Talk: '‘Meu coração sempre estará nele’', - tgwBRead: '2 Crô. 6:28-42', - tgwBReadStudy: 11, - ayfCount: 3, - ayfPart1: - 'Use o assunto que aparece em “Conversas sobre a Bíblia”. Após o morador mostrar interesse, use o vídeo Lembre-se da Morte de Jesus (sem mostrar durante a parte). Depois, comente algo sobre o vídeo.', - ayfPart1Time: 3, - ayfPart1Type: 'Convite da Celebração', - ayfPart1Study: 3, - ayfPart2: - 'Logo depois de a Celebração terminar, converse com alguém que você convidou e responda a uma pergunta que ele faz sobre o evento.', - ayfPart2Time: 4, - ayfPart2Type: 'Revisita', - ayfPart2Study: 17, - ayfPart3: 'w93 1/2 31 — Tema: E se por alguma circunstância excepcional não pudermos assistir à Celebração?', - ayfPart3Time: 5, - ayfPart3Type: 'Discurso', - ayfPart3Study: 18, - songMiddle: 36, - lcCount: 2, - lcPart1: '‘Proteja o seu coração’', - lcPart1Time: 10, - lcPart1Content: 'Discurso, com algumas participações da assistência, e vídeo.', - lcPart2: 'Necessidades locais', - lcPart2Time: 5, - lcCBS: 'lff lição 41 ponto 5, “Resumo”, “Revisão” e “Tente o Seguinte”.', - songConclude: 34, - }, - { - weekDate: '04/10/2023', - weekDateLocale: '10-16 de abril', - weeklyBibleReading: '2 CRÔNICAS 8-9', - songFirst: 88, - tgw10Talk: '“Ela dava valor à sabedoria”', - tgwBRead: '2 Crô. 8:1-16', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Discurso, com algumas participações da assistência. Mostre o vídeo Primeira Conversa: Jesus — Mat. 16:16. Pare o vídeo nos momentos indicados e faça as perguntas que aparecem na tela.', - ayfPart1Time: 5, - ayfPart1Type: 'Vídeo da primeira conversa', - ayfPart2: - 'Use o assunto que aparece em “Conversas sobre a Bíblia”. O morador corta a conversa de um jeito comum em seu território. Mostre como responder.', - ayfPart2Time: 3, - ayfPart2Type: 'Primeira conversa', - ayfPart2Study: 2, - ayfPart3: 'lff lição 09 ponto 6', - ayfPart3Time: 5, - ayfPart3Type: 'Estudo bíblico', - ayfPart3Study: 19, - songMiddle: 98, - lcCount: 1, - lcPart1: '“Leitura diária da Bíblia e a busca pela sabedoria”', - lcPart1Time: 15, - lcPart1Content: 'Discurso, com algumas participações da assistência, e vídeo.', - lcCBS: 'lff lição 42 e “Entenda Melhor” ponto 4', - songConclude: 131, - }, - { - weekDate: '04/17/2023', - weekDateLocale: '17-23 de abril', - weeklyBibleReading: '2 CRÔNICAS 10-12', - songFirst: 103, - tgw10Talk: '“Conselhos sábios podem ajudar você”', - tgwBRead: '2 Crô. 10:1-15', - tgwBReadStudy: 2, - ayfCount: 3, - ayfPart1: - 'Use o assunto que aparece em “Conversas sobre a Bíblia”. O morador corta a conversa de um jeito comum em seu território. Mostre como responder.', - ayfPart1Time: 3, - ayfPart1Type: 'Primeira conversa', - ayfPart1Study: 12, - ayfPart2: 'Use o assunto que aparece em “Conversas sobre a Bíblia”. Deixe uma publicação do Kit de Ensino.', - ayfPart2Time: 4, - ayfPart2Type: 'Revisita', - ayfPart2Study: 6, - ayfPart3: 'be 69 §§ 4-5 — Tema: Treine seu estudante da Bíblia quando ele pedir um conselho.', - ayfPart3Time: 5, - ayfPart3Type: 'Discurso', - ayfPart3Study: 20, - songMiddle: 79, - lcCount: 2, - lcPart1: '“Como usar os vídeos que falam sobre o estudo da Bíblia?”', - lcPart1Time: 5, - lcPart1Content: 'Discurso e vídeo. Mostre o vídeo Bem-Vindo ao Seu Curso da Bíblia.', - lcPart2: 'Necessidades locais', - lcPart2Time: 10, - lcCBS: 'lff lição 43', - songConclude: 121, - }, - { - weekDate: '04/24/2023', - weekDateLocale: '24-30 de abril', - weeklyBibleReading: '2 CRÔNICAS 13-16', - songFirst: 3, - tgw10Talk: '“Quando devemos confiar em Jeová?”', - tgwBRead: '2 Crô. 14:1-15', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: - 'Use o assunto que aparece em “Conversas sobre a Bíblia”. Fale para a pessoa sobre o site jw.org e deixe um cartão de visita do site.', - ayfPart1Time: 3, - ayfPart1Type: 'Primeira conversa', - ayfPart1Study: 1, - ayfPart2: - 'Use o assunto que aparece em “Conversas sobre a Bíblia”. Fale para a pessoa sobre o nosso curso da Bíblia e deixe o cartão de visita sobre o curso bíblico.', - ayfPart2Time: 4, - ayfPart2Type: 'Revisita', - ayfPart2Study: 11, - ayfPart3: 'lff lição 09 ponto 7 e “Algumas Pessoas Dizem”', - ayfPart3Time: 5, - ayfPart3Type: 'Estudo bíblico', - ayfPart3Study: 6, - songMiddle: 94, - lcCount: 1, - lcPart1: '“Decisões que mostram confiança em Jeová”', - lcPart1Time: 15, - lcPart1Content: 'Discurso, com algumas participações da assistência, e vídeo.', - lcCBS: 'lff lição 44 pontos 1-4 e “Entenda Melhor” 5', - songConclude: 39, - }, - ], -}; diff --git a/test/fixtures/mwb_VZ_202303.js b/test/fixtures/mwb_VZ_202303.js deleted file mode 100644 index 5a2cacaa..00000000 --- a/test/fixtures/mwb_VZ_202303.js +++ /dev/null @@ -1,215 +0,0 @@ -export default { - weeksCount: 7, - mwbYear: '2023', - weeksData: [ - { - weekDate: '03/06/2023', - weekDateLocale: '6-12 Marsa', - weeklyBibleReading: '1 TANTARA 23-26', - songFirst: 123, - tgw10Talk: '“Nalamy Soa ty Fanompoa Tamy Tempoly Tao”', - tgwBRead: '1Ta 23:21-32', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: 'Fiaraha midiniky. Alefaso ty video hoe Ezaky Manoka Hizarà Fanasà amy Fahatiarova. Ajanono video iny saky miseho mariky fijanona rey, bakeo apetraho amy mpanatriky ze fanontanea miseho eo.', - ayfPart1Time: 5, - ayfPart1Type: 'Video Fanasà Fahatiarova', - ayfPart2: 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Lafa hitanao amy zay hoe kinto olo iny, le atorò azy noho iaraho midiniky (fe ka alefa) ty video hoe Tiarovo ty Nahafatesani-Jesosy.', - ayfPart2Time: 3, - ayfPart2Type: 'Fanasà amy Fahatiarova', - ayfPart2Study: 11, - ayfPart3: 'w11 1/6 14-15: Foto-kevitsy: Manino ro Voalamy Soa ty Fiangona Kristiana?', - ayfPart3Time: 5, - ayfPart3Type: 'Lahateny', - ayfPart3Study: 14, - songMiddle: 101, - lcCount: 2, - lcPart1: '“Akory ty Azonao Anampea Laha Nisy Loza Niseho?”', - lcPart1Time: 10, - lcPart1Content: 'Fiaraha midiniky noho video.', - lcPart2: 'Ezaky Manoka Hizarà Fanasà amy Fahatiarova Manomboky amy Sabotsy 11 Marsa', - lcPart2Time: 5, - lcPart2Content: 'Fiaraha midiniky. Iaraho midiniky tsiela fanasà iny, bakeo resaho ty fandahara ataoni-fiangona mikasiky lahateny manoka, Fahatiarova, noho ty fomba hamità faritany.', - lcCBS: 'lff fianara 39 noho fanazavà hevitsy 3', - songConclude: 127 - }, - { - weekDate: '03/13/2023', - weekDateLocale: '13-19 Marsa', - weeklyBibleReading: '1 TANTARA 27-29', - songFirst: 133, - tgw10Talk: '“Nitoroany Hevitsy Anakilahiny Iny”', - tgwBRead: '1Ta 27:1-15', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: 'Fiaraha midiniky. Alefaso ty video hoe Fimpolia Mitsidiky: Jesosy​—Mt 20:28. Ajanono video iny saky miseho mariky fijanona rey, bakeo apetraho amy mpanatriky ze fanontanea miseho eo.', - ayfPart1Time: 5, - ayfPart1Type: 'Video Fimpolia Mitsidiky', - ayfPart2: 'Fimpolia mitsidiky olo raiky nandramby fanasà Fahatiarova sady hita hoe kinto. Atorò azy noho iaraho midiniky (fe ka alefa) ty video hoe Nanino Jesosy ro Nimaty?', - ayfPart2Time: 4, - ayfPart2Type: 'Fimpolia Mitsidiky', - ayfPart2Study: 9, - ayfPart3: 'Fimpolia mitsidiky olo raiky nandramby fanasà Fahatiarova sady hita hoe kinto. Manomboha fampianara Baiboly amy bokikely hoe Ho Azonao Tavy ty Fiaina Zisiky Farany!', - ayfPart3Time: 4, - ayfPart3Type: 'Fimpolia Mitsidiky', - ayfPart3Study: 6, - songMiddle: 4, - lcCount: 2, - lcPart1: 'Raha Ilàni-Fiangona', - lcPart1Time: 5, - lcPart2: 'Raha Vitani-Fandamina', - lcPart2Time: 10, - lcPart2Content: 'Alefaso ty video Raha Vitani-Fandamina Marsa.', - lcCBS: 'lff fianara 40', - songConclude: 45 - }, - { - weekDate: '03/20/2023', - weekDateLocale: '20-26 Marsa', - weeklyBibleReading: '2 TANTARA 1-4', - songFirst: 41, - tgw10Talk: '“Tsy Nanao Raha Am-pahendrea Solomona”', - tgwBRead: '2Ta 4:7-22', - tgwBReadStudy: 10, - ayfCount: 3, - ayfPart1: 'Manasa mpiaraky miasa, mpiaraky mianatsy, na longo.', - ayfPart1Time: 3, - ayfPart1Type: 'Fanasà amy Fahatiarova', - ayfPart1Study: 2, - ayfPart2: 'Fimpolia mitsidiky olo raiky nandramby fanasà Fahatiarova sady hita hoe kinto. Hazavao amin’olo iny hoe afaky mianatsy Baiboly tsy andoava drala ie, bakeo ameo azy ty bokikely Ho Azonao Tavy ty Fiaina Zisiky Farany! Atorò azy noho iaraho midiniky (fe ka alefa) ty video hoe Ino ty Atao Lafa Mianatsy Baiboly?', - ayfPart2Time: 4, - ayfPart2Type: 'Fimpolia Mitsidiky', - ayfPart2Study: 17, - ayfPart3: 'lff fianara 09: Lohatenikely 5', - ayfPart3Time: 5, - ayfPart3Type: 'Fampianara Baiboly', - ayfPart3Study: 9, - songMiddle: 19, - lcCount: 1, - lcPart1: 'Ho Parè va Iha Lafa Avy Andro Farany Bevata amy Tao Iny?', - lcPart1Time: 15, - lcPart1Content: 'Lahateny noho Video. Ataoni-mpiandraikitsini-fanompoa. Resaho ty fandehanani-ezaky manoka amy fahatiarova iny amy faritaninareo eo. Hadikadino ze mana fitantarà mampahery. Resaho ty fandahara famakia Baiboly amy Fahatiarova amy pejy 8 noho 9 ao, le ampirisiho ty mpanatriky mba hanoma soa ty fon-drozy. (Ezr 7:10) Iaraho midiniky hoe akory ty fomba azontsika andrambesa soa ty vahinintsika amy harivani-Fahatiarova iny. (Ro 15:7; mwb16.03 2) Alefaso ty video hoe Fomba Fanamboara Mofoni-Fahatiarova.', - lcCBS: 'lff fianara 41: Lohatenikely 1-4', - songConclude: 135 - }, - { - weekDate: '03/27/2023', - weekDateLocale: '27 Marsa–2 avrily', - weeklyBibleReading: '2 TANTARA 5-7', - songFirst: 129, - tgw10Talk: '“Ho Ao Avao ty Foko”', - tgwBRead: '2Ta 6:28-42', - tgwBReadStudy: 11, - ayfCount: 3, - ayfPart1: 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Lafa hitanao amy zay hoe kinto olo iny, le atorò azy noho iaraho midiniky (fe ka alefa) ty video hoe Tiarovo ty Nahafatesani-Jesosy.', - ayfPart1Time: 3, - ayfPart1Type: 'Fanasà amy Fahatiarova', - ayfPart1Study: 3, - ayfPart2: 'Lafa vita lahatenini-Fahatiarova iny, le miezaha hifampiresaky amin’olo raiky nasànao. Mamalea fanontanea raiky apetrakiny mikasiky ani-fandahara iny.', - ayfPart2Time: 4, - ayfPart2Type: 'Fimpolia Mitsidiky', - ayfPart2Study: 17, - ayfPart3: 'w93 1/2 31: Foto-kevitsy: Manao Akory Laha Misy Antony Manoka Mahavy Antsika Tsy ho Afaky Manatriky Fahatiarova?', - ayfPart3Time: 5, - ayfPart3Type: 'Lahateny', - ayfPart3Study: 18, - songMiddle: 36, - lcCount: 2, - lcPart1: '“Arovo ty Fonao”', - lcPart1Time: 10, - lcPart1Content: 'Fiaraha midiniky noho video.', - lcPart2: 'Raha Ilàni-Fiangona', - lcPart2Time: 5, - lcCBS: 'lff fianara 41: Lohatenikely 5 noho famintina, famerena, voho raha kendrè', - songConclude: 34 - }, - { - weekDate: '04/10/2023', - weekDateLocale: '10-16 Avrily', - weeklyBibleReading: '2 TANTARA 8-9', - songFirst: 88, - tgw10Talk: '“Lafovily Aminy ty Fahendrea”', - tgwBRead: '2Ta 8:1-16', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: 'Fiaraha midiniky. Alefaso ty video hoe Fitoria: Jesosy​—Mt 16:16. Ajanono video iny saky miseho mariky fijanona rey, bakeo apetraho amy mpanatriky ze fanontanea miseho eo.', - ayfPart1Time: 5, - ayfPart1Type: 'Video Fitoria', - ayfPart2: 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Miezaha mamaly fanohera fa mpiseho amy faritaninareo eny.', - ayfPart2Time: 3, - ayfPart2Type: 'Fitoria', - ayfPart2Study: 2, - ayfPart3: 'lff fianara 09: Lohatenikely 6', - ayfPart3Time: 5, - ayfPart3Type: 'Fampianara Baiboly', - ayfPart3Study: 19, - songMiddle: 98, - lcCount: 1, - lcPart1: '“Manampy Anao Hila Fahendrea ty Famakia Baiboly Sanandro”', - lcPart1Time: 15, - lcPart1Content: 'Fiaraha midiniky noho video.', - lcCBS: 'lff fianara 42 noho fanazavà hevitsy 4', - songConclude: 131 - }, - { - weekDate: '04/17/2023', - weekDateLocale: '17-23 Avrily', - weeklyBibleReading: '2 TANTARA 10-12', - songFirst: 103, - tgw10Talk: '“Rambeso ty Torohevitsin’Olo Hendry”', - tgwBRead: '2Ta 10:1-15', - tgwBReadStudy: 2, - ayfCount: 3, - ayfPart1: 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Mamalea fanohera fa mpiseho amy faritaninareo eny.', - ayfPart1Time: 3, - ayfPart1Type: 'Fitoria', - ayfPart1Study: 12, - ayfPart2: 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Manomeza raha anisani-Fitaova Fampianara.', - ayfPart2Time: 4, - ayfPart2Type: 'Fimpolia Mitsidiky', - ayfPart2Study: 6, - ayfPart3: 'be 69 § 4-5: Foto-kevitsy: Ampiofano ty Mpianatsy Baibolinao Lafa Mila Torohevitsy', - ayfPart3Time: 5, - ayfPart3Type: 'Lahateny', - ayfPart3Study: 20, - songMiddle: 79, - lcCount: 2, - lcPart1: '“Akory ty Fampiasà ani-Video Fampianara Baiboly Rey”', - lcPart1Time: 5, - lcPart1Content: 'Lahateny noho video. Alefaso ty video hoe Ho Afa-po Iha Lafa Mianatsy Baiboly.', - lcPart2: 'Raha Ilàni-Fiangona', - lcPart2Time: 10, - lcCBS: 'lff fianara 43', - songConclude: 121 - }, - { - weekDate: '04/24/2023', - weekDateLocale: '24-30 Avrily', - weeklyBibleReading: '2 TANTARA 13-16', - songFirst: 3, - tgw10Talk: '“Ombia vo Ilà ty Miantehitsy amy Jehovah?”', - tgwBRead: '2Ta 14:1-15', - tgwBReadStudy: 5, - ayfCount: 3, - ayfPart1: 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Resaho amin’olo iny ty tranonkalantsika, le ameo karta jw.org ie.', - ayfPart1Time: 3, - ayfPart1Type: 'Fitoria', - ayfPart1Study: 1, - ayfPart2: 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Resaho olo iny fa mampianatsy Baiboly tsy andoava drala tsika, bakeo ameo karta jw.org natao hanasà olo hianatsy Baiboly ie.', - ayfPart2Time: 4, - ayfPart2Type: 'Fimpolia Mitsidiky', - ayfPart2Study: 11, - ayfPart3: 'lff fianara 09: Lohatenikely 7 noho Mieritseritsy ty Olo Sisany Hoe', - ayfPart3Time: 5, - ayfPart3Type: 'Fampianara Baiboly', - ayfPart3Study: 6, - songMiddle: 94, - lcCount: 1, - lcPart1: '“Miantehitsy amy Jehovah va Aho Lafa Manapa-kevitsy?”', - lcPart1Time: 15, - lcPart1Content: 'Fiaraha midiniky noho video.', - lcCBS: 'lff fianara 44: Lohatenikely 1-4 noho fanazavà hevitsy 5', - songConclude: 39 - } - ] -} \ No newline at end of file diff --git a/test/fixtures/mwb_VZ_202309.js b/test/fixtures/mwb_VZ_202309.js new file mode 100644 index 00000000..f4a8c1f4 --- /dev/null +++ b/test/fixtures/mwb_VZ_202309.js @@ -0,0 +1,294 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '09/04/2023', + weekDateLocale: '4-10 Septambra', + weeklyBibleReading: 'ESTERA 1-2', + songFirst: 137, + tgw10Talk: '“Miezaha Hiambany Manahaky Ani-Estera”', + tgwBRead: 'Es 1:​13-22', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: + 'Fiaraha midiniky. Alefaso ty video hoe Fitoria: Fanjakà—Mt 6:​9, 10. Ajanono video iny saky miseho mariky fijanona rey, bakeo apetraho amy mpanatriky ze fanontanea miseho eo.', + ayfPart1Time: 5, + ayfPart1Type: 'Video Fitoria', + ayfPart2: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Ameo bokikely Ho Azonao Tavy ty Fiaina Zisiky Farany! olo iny.', + ayfPart2Time: 3, + ayfPart2Type: 'Fitoria', + ayfPart2Study: 1, + ayfPart3: 'w20.11 12-14 § 3-7: Foto-kevitsy: Fanampea Baka amy Jesosy Noho ty Anjely.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahateny', + ayfPart3Study: 14, + songMiddle: 106, + lcCount: 2, + lcPart1: 'Hevitsini-Tanora Manahaky Anao: Hatovolahy Noho Hampelasoa', + lcPart1Time: 5, + lcPart1Content: + 'Fiaraha midiniky. Alefaso video iny. Fanontanea: Manino ro sarotsy ty mahay mandanjalanja amy resaky hatovolahy noho hampelasoa?', + lcPart2: 'Raha Vitani-Fandamina', + lcPart2Time: 10, + lcPart2Content: 'Alefaso ty video Raha Vitani-Fandamina Septambra.', + lcCBS: 'lff fianara 56 noho fanazavà hevitsy 6 noho 7', + songConclude: 101, + }, + { + weekDate: '09/11/2023', + weekDateLocale: '11-17 Septambra', + weeklyBibleReading: 'ESTERA 3-5', + songFirst: 85, + tgw10Talk: '“Ampeo ty Hafa mba Hanao Ze Farani-Soa Vitany”', + tgwBRead: 'Es 3:​1-12', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Fiaraha midiniky. Alefaso ty video hoe Fimpolia Mitsidiky: Fanjakà—Mt 14:​19, 20. Ajanono video iny saky miseho mariky fijanona rey, bakeo apetrraho amy mpanatriky ze fanontanea miseho eo.', + ayfPart1Time: 5, + ayfPart1Type: 'Video Fimpolia Mitsidiky', + ayfPart2: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Resaho olo iny hoe mampianatsy Baiboly tsika, bakeo ameo karta natao hanasà olo hianatsy Baiboly ie.', + ayfPart2Time: 3, + ayfPart2Type: 'Fimpolia Mitsidiky', + ayfPart2Study: 16, + ayfPart3: 'lff fianara 12: Fampilira noho lohatenikely 1-3', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianara Baiboly', + ayfPart3Study: 15, + songMiddle: 65, + lcCount: 2, + lcPart1: 'Minamà amy Jehovah: Nana Herim-po Estera', + lcPart1Time: 5, + lcPart1Content: + 'Fiaraha midiniky. Alefaso video iny. Laha misy, le manadikadìna ajà vitsivitsy fa voatingy mialoha. Fanontanea: Akory ty azonao ampisehoa hoe be herim-po manahaky ani-Estera iha?', + lcPart2: 'Raha Ilàni-Fiangona', + lcPart2Time: 10, + lcCBS: 'lff fianara 57', + songConclude: 125, + }, + { + weekDate: '09/18/2023', + weekDateLocale: '18-24 Septambra', + weeklyBibleReading: 'ESTERA 6-8', + songFirst: 115, + tgw10Talk: '“Modely amy Fifampiresaha Soa”', + tgwBRead: 'Es 8:​9-17', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Mamalea fanohera fa mpiseho amy faritaninareo eny.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoria', + ayfPart1Study: 3, + ayfPart2: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Asao hanatriky fivoria olo iny. Atorò azy (fe ka alefa) ty video hoe Ino ty Atao amy Efitrano Fanjakà Any?, bakeo iaraho midiniky', + ayfPart2Time: 4, + ayfPart2Type: 'Fimpolia Mitsidiky', + ayfPart2Study: 12, + ayfPart3: + 'w22.01 10-11 § 8-10: Foto-kevitsy: Miezaha Hahay Mampianatsy Manahaky ani-Jakoba: Anovo Mora Azo Avao ty Hafatsy Andesinao.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahateny', + ayfPart3Study: 17, + songMiddle: 148, + lcCount: 1, + lcPart1: '“Miantehera amy Jehovah Lafa Misy Manerisery Anao”', + lcPart1Time: 15, + lcPart1Content: 'Fiaraha midiniky noho video.', + lcCBS: 'lff fianara 58', + songConclude: 124, + }, + { + weekDate: '09/25/2023', + weekDateLocale: '25 Septambra–1 Oktobra', + weeklyBibleReading: 'ESTERA 9-10', + songFirst: 102, + tgw10Talk: '“Nampiasa Soa ty Fahefàny Ie”', + tgwBRead: 'Es 9:​1-14', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Ampiasao foto-kevitsy amy hevitsy azo resahy iny.', + ayfPart1Time: 2, + ayfPart1Type: 'Fitoria', + ayfPart1Study: 6, + ayfPart2: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Ameo bokikely Ho Azonao Tavy ty Fiaina Zisiky Farany! olo iny, bakeo atorò azy ty fomba fianara Baiboly amy bokikely io.', + ayfPart2Time: 5, + ayfPart2Type: 'Fimpolia Mitsidiky', + ayfPart2Study: 13, + ayfPart3: 'lff fianara 12: Fampilira amy Diniho Laliky noho lohatenikely 4', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianara Baiboly', + ayfPart3Study: 19, + songMiddle: 117, + lcCount: 1, + lcPart1: '“Mpiaraky Aondry Miasa Mafy ho Ani-Vahoakini-Jehovah”', + lcPart1Time: 15, + lcPart1Content: 'Fiaraha midiniky noho video.', + lcCBS: 'lff fianara 59: Lohatenikely 1-5', + songConclude: 55, + }, + { + weekDate: '10/02/2023', + weekDateLocale: '2-8 Oktobra', + weeklyBibleReading: 'JOBA 1-3', + songFirst: 141, + tgw10Talk: '“Asehò Avao hoe Tena Tea ani-Jehovah Iha”', + tgwBRead: 'Jb 3:​1-26', + tgwBReadStudy: 12, + ayfCount: 3, + ayfPart1: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Resaho amin’olo iny ty tranonkalantsika, le ameo karta jw.org ie.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoria', + ayfPart1Study: 9, + ayfPart2: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Atorò azy (fe ka alefa) ty video hoe Manino ro Mila Ianara ty Baiboly?, bakeo iaraho midiniky.', + ayfPart2Time: 4, + ayfPart2Type: 'Fimpolia Mitsidiky', + ayfPart2Study: 20, + ayfPart3: + 'w22.01 11-12 § 11-14: Foto-kevitsy: Miezaha Hahay Mampianatsy Manahaky ani-Jakoba: Ka Matahotsy Mivola ty Marina Sady Miambanea.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahateny', + ayfPart3Study: 18, + songMiddle: 21, + lcCount: 2, + lcPart1: 'Nieritseritsy Aho hoe fa Nananako Iaby ty Raha Iaby', + lcPart1Time: 10, + lcPart1Content: + 'Fiaraha midiniky. Alefaso video iny. Fanontanea: Nanino Rahalahy Birdwell ro nieritseritsy hoe fa nananany iaby ty raha iaby”?', + lcPart2: '“Ampiasao ty Pejy Fandrambesa amy JW.ORG Lafa Manompo”', + lcPart2Time: 5, + lcPart2Content: 'Fiaraha midiniky.', + lcCBS: 'lff fianara 59: Lohatenikely 6 noho famintina, famerena, voho raha kendrè', + songConclude: 129, + }, + { + weekDate: '10/09/2023', + weekDateLocale: '9-15 Oktobra', + weeklyBibleReading: 'JOBA 4-5', + songFirst: 121, + tgw10Talk: '“Mitandrema amy Vaovao Tsy Marina”', + tgwBRead: 'Jb 5:​1-27', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: 'Ampiasao foto-kevitsy amy hevitsy azo resahy iny.', + ayfPart1Time: 2, + ayfPart1Type: 'Fitoria', + ayfPart1Study: 4, + ayfPart2: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Atorò olo iny hoe akory ty atao mba hahità lahatsoratsy, video, na fanazavà hafa amy jw.org ao.', + ayfPart2Time: 5, + ayfPart2Type: 'Fimpolia Mitsidiky', + ayfPart2Study: 15, + ayfPart3: 'lff fianara 16: Lohatenikely 5', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianara Baiboly', + ayfPart3Study: 16, + songMiddle: 78, + lcCount: 1, + lcPart1: 'Raha Ilàni-Fiangona', + lcPart1Time: 15, + lcCBS: 'lff fianara 60', + songConclude: 38, + }, + { + weekDate: '10/16/2023', + weekDateLocale: '16-22 Oktobra', + weeklyBibleReading: 'JOBA 6-7', + songFirst: 33, + tgw10Talk: '“Mafy Loatsy va ty Raha Mahazo Anao ka Tsy Zakanao?”', + tgwBRead: 'Jb 6:​1-21', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Mamalea fanohera fa mpiseho amy faritaninareo eny.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoria', + ayfPart1Study: 7, + ayfPart2: 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Ameo raha anisani-Fitaova Fampianara olo iny.', + ayfPart2Time: 4, + ayfPart2Type: 'Fimpolia Mitsidiky', + ayfPart2Study: 11, + ayfPart3: + 'w22.01 12-13 § 15-18: Foto-kevitsy: Miezaha Hahay Hampianatsy Manahaky ani-Jakoba: Mampiasà Fanohara Mety Soa.', + ayfPart3Time: 5, + ayfPart3Type: 'Lahateny', + ayfPart3Study: 8, + songMiddle: 144, + lcCount: 1, + lcPart1: '“Manavotsy Ani-ze Kivy Jehovah”', + lcPart1Time: 15, + lcPart1Content: 'Fiaraha midiniky noho video.', + lcCBS: 'lff famerena ty fizarà 4', + songConclude: 143, + }, + { + weekDate: '10/23/2023', + weekDateLocale: '23-29 Oktobra', + weeklyBibleReading: 'JOBA 8-10', + songFirst: 107, + tgw10Talk: '“Miaro Antsika amy Vandini-Satana ty hoe Be Fitiava Ndranahary Noho Tsy Mivaliky”', + tgwBRead: 'Jb 9:​20-35', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Ameo raha anisani-Fitaova Fampianara olo iny.', + ayfPart1Time: 3, + ayfPart1Type: 'Fitoria', + ayfPart1Study: 17, + ayfPart2: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Ameo bokikely Ho Azonao Tavy ty Fiaina Zisiky Farany! olo iny, bakeo resaho tsielatsiela ty hoe “Ino ty Hanampy Anao Handramby Soa Baka amy Fianara Ato Reo?”', + ayfPart2Time: 4, + ayfPart2Type: 'Fimpolia Mitsidiky', + ayfPart2Study: 3, + ayfPart3: 'lff fianara 16: Lohatenikely 6 noho Mieritseritsy ty Olo Sisany Hoe', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianara Baiboly', + ayfPart3Study: 14, + songMiddle: 109, + lcCount: 2, + lcPart1: '“Ampeo Hahay ty Mpamoro Azy ty Olo Tsy Mpivavaky”', + lcPart1Time: 10, + lcPart1Content: 'Fiaraha midiniky noho video.', + lcPart2: 'Raha Ilàni-Fiangona', + lcPart2Time: 5, + lcCBS: 'rr “Taratasy Baka amy Filan-kevi-pitantana” noho efajoro roe amy p. 5', + songConclude: 95, + }, + { + weekDate: '10/30/2023', + weekDateLocale: '30 Oktobra–5 Novambra', + weeklyBibleReading: 'JOBA 11-12', + songFirst: 87, + tgw10Talk: '“Fomba Telo Ahazoa Fahendrea-Ndranahary”', + tgwBRead: 'Jb 12:​1-25', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Resaho amin’olo iny ty tranonkalantsika, bakeo ameo karta natao hanasà olo hianatsy Baiboly ie.', + ayfPart1Time: 4, + ayfPart1Type: 'Fitoria', + ayfPart1Study: 1, + ayfPart2: + 'Ampiasao tse foto-kevitsy amy hevitsy azo resahy iny. Asao hanatriky fivoria olo iny. Atorò azy (fe ka alefa) ty video hoe Ino ty Raha Atao amy Efitrano Fanjakà Any?, bakeo iaraho midiniky', + ayfPart2Time: 3, + ayfPart2Type: 'Fimpolia Mitsidiky', + ayfPart2Study: 13, + ayfPart3: 'lff fianara 12: Famintina, famerena, voho raha kendrè', + ayfPart3Time: 5, + ayfPart3Type: 'Fampianara Baiboly', + ayfPart3Study: 19, + songMiddle: 135, + lcCount: 1, + lcPart1: '“Nareo Ray Aman-dreny, Ampeo ty Ananareo mba Hana Fahendrea Baka amy Ndranahary”', + lcPart1Time: 15, + lcPart1Content: 'Fiaraha midiniky noho video.', + lcCBS: 'rr toko 1 § 1-7, video fampilira', + songConclude: 37, + }, + ], +}; diff --git a/test/fixtures/mwb_X_202309.js b/test/fixtures/mwb_X_202309.js new file mode 100644 index 00000000..83f5e0cc --- /dev/null +++ b/test/fixtures/mwb_X_202309.js @@ -0,0 +1,288 @@ +export default { + weeksCount: 9, + mwbYear: '2023', + weeksData: [ + { + weekDate: '09/04/2023', + weekDateLocale: '4.–10. September', + weeklyBibleReading: 'ESTHER 1–2', + songFirst: 137, + tgw10Talk: '„Bemühe dich, bescheiden zu sein wie Esther“', + tgwBRead: 'Est 1:13-22', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: + 'Besprechung. Zeige das Video Erstes Gespräch: Das Königreich (Mat 6:9, 10). Stopp es bei jeder Pause und stell die Fragen, die im Video zu sehen sind.', + ayfPart1Time: 5, + ayfPart1Type: 'Erstes Gespräch (Video)', + ayfPart2: 'Beginne mit dem Thema des Gesprächs­vorschlags. Biete die Broschüre Glücklich – für immer an.', + ayfPart2Time: 3, + ayfPart2Type: 'Erstes Gespräch', + ayfPart2Study: 1, + ayfPart3: 'w20.11 12-14 Abs. 3-7 – Thema: Hilfe durch Jesus und die Engel', + ayfPart3Time: 5, + ayfPart3Type: 'Vortrag', + ayfPart3Study: 14, + songMiddle: 106, + lcCount: 2, + lcPart1: 'Bei euch nachgefragt: Stichwort: Aussehen', + lcPart1Time: 5, + lcPart1Content: + 'Besprechung. Zeige das Video. Frage dann: Warum kann es schwierig sein, ausgeglichen darüber zu denken, wie man aussieht?', + lcPart2: 'Ergebnisse unserer organisierten Tätigkeit', + lcPart2Time: 10, + lcPart2Content: 'Zeige das aktuelle Video aus der Serie Ergebnisse unserer organisierten Tätigkeit.', + lcCBS: 'lff Lektion 56 und Endnote 6-7', + songConclude: 101, + }, + { + weekDate: '09/11/2023', + weekDateLocale: '11.–17. September', + weeklyBibleReading: 'ESTHER 3–5', + songFirst: 85, + tgw10Talk: '„Hilf anderen, ihr Potenzial voll auszuschöpfen“', + tgwBRead: 'Est 3:1-12', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: + 'Besprechung. Zeige das Video Rückbesuch: Das Königreich (Mat 14:19, 20). Stopp es bei jeder Pause und stell die Fragen, die im Video zu sehen sind.', + ayfPart1Time: 5, + ayfPart1Type: 'Rückbesuch (Video)', + ayfPart2: + 'Beginne mit dem Thema des Gesprächs­vorschlags. Erzähle der Person von unserem Bibelkurs und gib eine Bibelkurs-Kontaktkarte ab.', + ayfPart2Time: 3, + ayfPart2Type: 'Rückbesuch', + ayfPart2Study: 16, + ayfPart3: 'lff Lektion 12, einleitender Absatz und Punkt 1-3', + ayfPart3Time: 5, + ayfPart3Type: 'Bibelstudium', + ayfPart3Study: 15, + songMiddle: 65, + lcCount: 2, + lcPart1: 'Werde Jehovas Freund: Esther hatte Mut', + lcPart1Time: 5, + lcPart1Content: + 'Besprechung. Zeige das Video. Frage dann einige vorher ausgewählte Kinder: Wie kannst du dir an Esther ein Beispiel nehmen?', + lcPart2: 'Aktuelles', + lcPart2Time: 10, + lcCBS: 'lff Lektion 57', + songConclude: 125, + }, + { + weekDate: '09/18/2023', + weekDateLocale: '18.–24. September', + weeklyBibleReading: 'ESTHER 6–8', + songFirst: 115, + tgw10Talk: '„Ein Vorbild für gute Kommunikation“', + tgwBRead: 'Est 8:9-17', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: 'Beginne mit dem Thema des Gesprächs­vorschlags. Geh auf einen oft gehörten Einwand ein.', + ayfPart1Time: 3, + ayfPart1Type: 'Erstes Gespräch', + ayfPart1Study: 3, + ayfPart2: + 'Beginne mit dem Thema des Gesprächs­vorschlags. Lade zu einer Zusammenkunft ein. Stell das Video vor Das erwartet Sie in einem Königreichssaal (ohne es abzuspielen) und besprich es.', + ayfPart2Time: 4, + ayfPart2Type: 'Rückbesuch', + ayfPart2Study: 12, + ayfPart3: 'w22.01 10-11 Abs. 8-10 – Thema: Lehre wie Jakobus – Drück dich einfach aus', + ayfPart3Time: 5, + ayfPart3Type: 'Vortrag', + ayfPart3Study: 17, + songMiddle: 148, + lcCount: 1, + lcPart1: '„Vertraue auf Jehova, wenn du gemobbt wirst“', + lcPart1Time: 15, + lcPart1Content: 'Besprechung mit Video.', + lcCBS: 'lff Lektion 58', + songConclude: 124, + }, + { + weekDate: '09/25/2023', + weekDateLocale: '25. September – 1. Oktober', + weeklyBibleReading: 'ESTHER 9–10', + songFirst: 102, + tgw10Talk: '„Er übte seine Autorität uneigennützig aus“', + tgwBRead: 'Est 9:1-14', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Arbeite mit dem Thema des Gesprächs­vorschlags.', + ayfPart1Time: 2, + ayfPart1Type: 'Erstes Gespräch', + ayfPart1Study: 6, + ayfPart2: + 'Beginne mit dem Thema des Gesprächs­vorschlags. Biete die Broschüre Glücklich – für immer an und zeige, wie ein Bibelstudium abläuft.', + ayfPart2Time: 5, + ayfPart2Type: 'Rückbesuch', + ayfPart2Study: 13, + ayfPart3: 'lff Lektion 12, einleitender Absatz von „Das Thema vertiefen“ und Punkt 4', + ayfPart3Time: 5, + ayfPart3Type: 'Bibelstudium', + ayfPart3Study: 19, + songMiddle: 117, + lcCount: 1, + lcPart1: '„Hirten, die für Jehovas Volk Gutes tun“', + lcPart1Time: 15, + lcPart1Content: 'Besprechung mit Video.', + lcCBS: 'lff Lektion 59, Punkt 1-5', + songConclude: 55, + }, + { + weekDate: '10/02/2023', + weekDateLocale: '2.–8. Oktober', + weeklyBibleReading: 'HIOB 1–3', + songFirst: 141, + tgw10Talk: '„Zeige immer, wie tief deine Liebe zu Jehova ist“', + tgwBRead: 'Hi 3:1-26', + tgwBReadStudy: 12, + ayfCount: 3, + ayfPart1: + 'Beginne mit dem Thema des Gesprächs­vorschlags. Erzähle der Person von unserer Website und gib eine Kontaktkarte für jw.org ab.', + ayfPart1Time: 3, + ayfPart1Type: 'Erstes Gespräch', + ayfPart1Study: 9, + ayfPart2: + 'Beginne mit dem Thema des Gesprächs­vorschlags. Stell das Video vor Was nur in der Bibel steht (ohne es abzuspielen) und besprich es.', + ayfPart2Time: 4, + ayfPart2Type: 'Rückbesuch', + ayfPart2Study: 20, + ayfPart3: 'w22.01 11-12 Abs. 11-14 – Thema: Lehre wie Jakobus – Sei realistisch und demütig', + ayfPart3Time: 5, + ayfPart3Type: 'Vortrag', + ayfPart3Study: 18, + songMiddle: 21, + lcCount: 2, + lcPart1: 'Ich war eigentlich ganz zufrieden', + lcPart1Time: 10, + lcPart1Content: + 'Besprechung. Zeige das Video. Frage dann: Inwiefern war Bruder Birdwell mit seinem Leben ganz zufrieden?', + lcPart2: '„Nutze im Dienst die Startseite von jw.org“', + lcPart2Time: 5, + lcPart2Content: 'Besprechung.', + lcCBS: 'lff Lektion 59, Punkt 6, Fazit, Rückblick und Ziel', + songConclude: 129, + }, + { + weekDate: '10/09/2023', + weekDateLocale: '9.–15. Oktober', + weeklyBibleReading: 'HIOB 4–5', + songFirst: 121, + tgw10Talk: '„Schütze dich vor Fehlinformationen“', + tgwBRead: 'Hi 5:1-27', + tgwBReadStudy: 10, + ayfCount: 3, + ayfPart1: 'Arbeite mit dem Thema des Gesprächs­vorschlags.', + ayfPart1Time: 2, + ayfPart1Type: 'Erstes Gespräch', + ayfPart1Study: 4, + ayfPart2: + 'Beginne mit dem Thema des Gesprächs­vorschlags. Zeige deinem Gesprächspartner, wie er Informationen auf jw.org finden kann.', + ayfPart2Time: 5, + ayfPart2Type: 'Rückbesuch', + ayfPart2Study: 15, + ayfPart3: 'lff Lektion 16, Punkt 5', + ayfPart3Time: 5, + ayfPart3Type: 'Bibelstudium', + ayfPart3Study: 16, + songMiddle: 78, + lcCount: 1, + lcPart1: 'Aktuelles', + lcPart1Time: 15, + lcCBS: 'lff Lektion 60', + songConclude: 38, + }, + { + weekDate: '10/16/2023', + weekDateLocale: '16.–22. Oktober', + weeklyBibleReading: 'HIOB 6–7', + songFirst: 33, + tgw10Talk: '„Wenn sich das Leben unerträglich anfühlt“', + tgwBRead: 'Hi 6:1-21', + tgwBReadStudy: 2, + ayfCount: 3, + ayfPart1: 'Beginne mit dem Thema des Gesprächs­vorschlags. Geh auf einen oft gehörten Einwand ein.', + ayfPart1Time: 3, + ayfPart1Type: 'Erstes Gespräch', + ayfPart1Study: 7, + ayfPart2: 'Beginne mit dem Thema des Gesprächs­vorschlags. Biete eine Veröffentlichung aus der Toolbox an.', + ayfPart2Time: 4, + ayfPart2Type: 'Rückbesuch', + ayfPart2Study: 11, + ayfPart3: 'w22.01 12-13 Abs. 15-18 – Thema: Lehre wie Jakobus – Gebrauche wirkungsvolle Vergleiche', + ayfPart3Time: 5, + ayfPart3Type: 'Vortrag', + ayfPart3Study: 8, + songMiddle: 144, + lcCount: 1, + lcPart1: '„Jehova befreit die, die am Boden zerstört sind“', + lcPart1Time: 15, + lcPart1Content: 'Besprechung mit Video.', + lcCBS: 'lff Teil 4: Rückblick', + songConclude: 143, + }, + { + weekDate: '10/23/2023', + weekDateLocale: '23.–29. Oktober', + weeklyBibleReading: 'HIOB 8–10', + songFirst: 107, + tgw10Talk: '„Gottes loyale Liebe schützt uns vor Satans Lügen“', + tgwBRead: 'Hi 9:20-35', + tgwBReadStudy: 11, + ayfCount: 3, + ayfPart1: 'Beginne mit dem Thema des Gesprächs­vorschlags. Biete eine Veröffentlichung aus der Toolbox an.', + ayfPart1Time: 3, + ayfPart1Type: 'Erstes Gespräch', + ayfPart1Study: 17, + ayfPart2: + 'Beginne mit dem Thema des Gesprächs­vorschlags. Biete die Broschüre Glücklich – für immer an und geh kurz auf den Teil ein „Wie man am meisten von dem Bibelkurs hat“.', + ayfPart2Time: 4, + ayfPart2Type: 'Rückbesuch', + ayfPart2Study: 3, + ayfPart3: 'lff Lektion 16, Punkt 6 und „Manche sagen“', + ayfPart3Time: 5, + ayfPart3Type: 'Bibelstudium', + ayfPart3Study: 14, + songMiddle: 109, + lcCount: 2, + lcPart1: '„Hilf Menschen, die nicht religiös sind, ihren Schöpfer kennenzulernen“', + lcPart1Time: 10, + lcPart1Content: 'Besprechung mit Video.', + lcPart2: 'Aktuelles', + lcPart2Time: 5, + lcCBS: 'bt „Brief der Leitenden Körperschaft“ und Kap. 1 Abs. 1-7', + songConclude: 64, + }, + { + weekDate: '10/30/2023', + weekDateLocale: '30. Oktober – 5. November', + weeklyBibleReading: 'HIOB 11–12', + songFirst: 87, + tgw10Talk: '„Drei Wege, Weisheit zu erwerben und von ihr zu profitieren“', + tgwBRead: 'Hi 12:1-25', + tgwBReadStudy: 5, + ayfCount: 3, + ayfPart1: + 'Beginne mit dem Thema des Gesprächs­vorschlags. Erzähle der Person von unserem Bibelkurs und gib eine Bibelkurs-Kontaktkarte ab.', + ayfPart1Time: 4, + ayfPart1Type: 'Erstes Gespräch', + ayfPart1Study: 1, + ayfPart2: + 'Beginne mit dem Thema des Gesprächs­vorschlags. Lade zu einer Zusammenkunft ein. Stell das Video vor Das erwartet Sie in einem Königreichssaal (ohne es abzuspielen) und besprich es.', + ayfPart2Time: 3, + ayfPart2Type: 'Rückbesuch', + ayfPart2Study: 13, + ayfPart3: 'lff Lektion 12, Fazit, Rückblick und Ziel', + ayfPart3Time: 5, + ayfPart3Type: 'Bibelstudium', + ayfPart3Study: 19, + songMiddle: 135, + lcCount: 1, + lcPart1: '„Helft euren Kindern, von Jehova zu lernen und weise zu werden“', + lcPart1Time: 15, + lcPart1Content: 'Besprechung mit Video.', + lcCBS: 'bt Kap. 1 Abs. 8-15, Übersicht auf S. 12', + songConclude: 3, + }, + ], +}; diff --git a/test/standardParsing/list.json b/test/standardParsing/list.json index 8c438cd7..9c07064e 100644 --- a/test/standardParsing/list.json +++ b/test/standardParsing/list.json @@ -1,4 +1,4 @@ [ - { "language": "D", "issue": "202303" }, - { "language": "S", "issue": "202303" } + { "language": "D", "issue": "202309" }, + { "language": "S", "issue": "202309" } ] From c5b1882d3880f9a5daf96540ba35dfadf19b8194 Mon Sep 17 00:00:00 2001 From: rhahao <26148770+rhahao@users.noreply.github.com> Date: Mon, 14 Aug 2023 22:54:35 +0300 Subject: [PATCH 2/4] update readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 217288f9..3d44b393 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,6 @@ import { loadEPUB } from 'jw-epub-parser/dist/node/index.js'; const epubJW = await loadEPUB('/path/to/file.epub'); const epubJW = await loadEPUB({ url: epubUrl }); - ``` ### loadEPUB(epubData) @@ -99,9 +98,11 @@ Currently, we only support enhanced parsing for the following languages: ```bash Enlish French +German Malagasy Portuguese Brazil Tandroy, Tankarana +Ukrainian Vezo ``` From b8ee55164bda1c414f13dee719f68b4b9a946e04 Mon Sep 17 00:00:00 2001 From: "Rasamoelina, Haja Onjatiana" <26148770+rhahao@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:05:43 +0000 Subject: [PATCH 3/4] update fixtures --- package-lock.json | 2 +- test/fixtures/mwb_E_202309.js | 2 +- test/fixtures/mwb_F_202309.js | 14 +++++++------- test/fixtures/mwb_MG_202309.js | 2 +- test/fixtures/mwb_TND_202309.js | 2 +- test/fixtures/mwb_TNK_202309.js | 12 ++++++------ test/fixtures/mwb_VZ_202309.js | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2b65e371..581a2cb8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ }, "funding": { "type": "buymeacoffee", - "url": "https://www.buymeacoffee.com/sws2apps" + "url": "https://www.buymeacoffee.com/sws2apps/e/146062" } }, "node_modules/@ampproject/remapping": { diff --git a/test/fixtures/mwb_E_202309.js b/test/fixtures/mwb_E_202309.js index d43c3651..e0118695 100644 --- a/test/fixtures/mwb_E_202309.js +++ b/test/fixtures/mwb_E_202309.js @@ -45,7 +45,7 @@ export default { tgwBReadStudy: 2, ayfCount: 3, ayfPart1: - 'Discussion. Play the video Return Visit: Kingdom​—Mt 14:19, 20. Stop the video at each pause, and ask the audience the questions that appear in the video.', + 'Discussion. Play the video Return Visit: Kingdom​—Mt 14:19, 20. Stop the video at each pause, and ask the audience the questions that appear in the video.', ayfPart1Time: 5, ayfPart1Type: 'Return Visit Video', ayfPart2: diff --git a/test/fixtures/mwb_F_202309.js b/test/fixtures/mwb_F_202309.js index 48e516c6..ec421f80 100644 --- a/test/fixtures/mwb_F_202309.js +++ b/test/fixtures/mwb_F_202309.js @@ -28,7 +28,7 @@ export default { lcPart1: 'Ce qu’ils en pensent : L’importance du physique', lcPart1Time: 5, lcPart1Content: - 'Discussion. Montrer la vidéo. Puis poser ces questions : Pourquoi est-​il parfois difficile d’avoir un point de vue équilibré sur notre appparence ?', + 'Discussion. Montrer la vidéo. Puis poser ces questions : Pourquoi est-​il parfois difficile d’avoir un point de vue équilibré sur notre apparence ?', lcPart2: 'L’organisation de Dieu à l’oeuvre', lcPart2Time: 10, lcPart2Content: 'Montrer la vidéo L’organisation de Dieu à l’oeuvre prévue pour septembre.', @@ -49,7 +49,7 @@ export default { ayfPart1Time: 5, ayfPart1Type: 'Vidéo de la nouvelle visite', ayfPart2: - 'Engage la conversation sur la base du thème suggéré. Parle à ton interlocuteur de la possibilité de suivre des cours bibliques et remets-​lui unne carte de visite « cours biblique »', + 'Engage la conversation sur la base du thème suggéré. Parle à ton interlocuteur de la possibilité de suivre des cours bibliques et remets-​lui une carte de visite « cours biblique »', ayfPart2Time: 3, ayfPart2Type: 'Nouvelle visite', ayfPart2Study: 16, @@ -62,7 +62,7 @@ export default { lcPart1: 'Deviens l’ami de Jéhovah : Esther avait du courage', lcPart1Time: 5, lcPart1Content: - 'Discussion. Montrer la vidéo. Puis, si possible, poser à de jeunes enfants désignés à l’avance cette question : Comment aimerais-​tu imiteer le courage d’Esther ?', + 'Discussion. Montrer la vidéo. Puis, si possible, poser à de jeunes enfants désignés à l’avance cette question : Comment aimerais-​tu imiter le courage d’Esther ?', lcPart2: 'Besoins de l’assemblée', lcPart2Time: 10, lcCBS: 'lff leçon 57', @@ -82,7 +82,7 @@ export default { ayfPart1Type: 'Premier contact', ayfPart1Study: 3, ayfPart2: - 'Engage la conversation sur la base du thème suggéré. Invite ton interlocuteur à une réunion. Présente-​lui (sans la visionner) la vidéo Que se ppasse-​t-​il dans une salle du Royaume ?, puis discutes-​en avec lui', + 'Engage la conversation sur la base du thème suggéré. Invite ton interlocuteur à une réunion. Présente-​lui (sans la visionner) la vidéo Que se passe-​t-​il dans une salle du Royaume ?, puis discutes-​en avec lui', ayfPart2Time: 4, ayfPart2Type: 'Nouvelle visite', ayfPart2Study: 12, @@ -112,7 +112,7 @@ export default { ayfPart1Type: 'Premier contact', ayfPart1Study: 6, ayfPart2: - 'Engage la conversation sur la base du thème suggéré. Propose à ton interlocuteur la brochure Vivez pour toujours ! et montre-​lui comment, dans la pratique, se passe un cours biblique', + 'Engage la conversation sur la base du thème suggéré. Propose à ton interlocuteur la brochure Vivez pour toujours ! et montre-​lui comment, dans la pratique, se passe un cours biblique', ayfPart2Time: 5, ayfPart2Type: 'Nouvelle visite', ayfPart2Study: 13, @@ -143,7 +143,7 @@ export default { ayfPart1Type: 'Premier contact', ayfPart1Study: 9, ayfPart2: - 'Engage la conversation sur la base du thème suggéré. Présente (sans la visionner) la vidéo Pourquoi étudier la Bible ?, puis discutes-​en avec tton interlocuteur', + 'Engage la conversation sur la base du thème suggéré. Présente (sans la visionner) la vidéo Pourquoi étudier la Bible ?, puis discutes-​en avec ton interlocuteur', ayfPart2Time: 4, ayfPart2Type: 'Nouvelle visite', ayfPart2Study: 20, @@ -266,7 +266,7 @@ export default { tgwBReadStudy: 5, ayfCount: 3, ayfPart1: - 'Engage la conversation sur la base du thème suggéré. Parle à ton interlocuteur de la possibilité de suivre des cours bibliques et remets-​lui unne carte de visite « cours biblique »', + 'Engage la conversation sur la base du thème suggéré. Parle à ton interlocuteur de la possibilité de suivre des cours bibliques et remets-​lui une carte de visite « cours biblique »', ayfPart1Time: 4, ayfPart1Type: 'Premier contact', ayfPart1Study: 1, diff --git a/test/fixtures/mwb_MG_202309.js b/test/fixtures/mwb_MG_202309.js index a3773770..a38dd6b5 100644 --- a/test/fixtures/mwb_MG_202309.js +++ b/test/fixtures/mwb_MG_202309.js @@ -46,7 +46,7 @@ export default { tgwBReadStudy: 2, ayfCount: 3, ayfPart1: - 'Fiaraha-midinika. Alefaso ilay video hoe Fiverenana Mitsidika: Fanjakana​—Mt 14:​19, 20. Ajanòny ilay video isaky ny misy fiatoana, ary iaraho m midinika ny fanontaniana mipoitra eo.', + 'Fiaraha-midinika. Alefaso ilay video hoe Fiverenana Mitsidika: Fanjakana​—Mt 14:​19, 20. Ajanòny ilay video isaky ny misy fiatoana, ary iaraho midinika ny fanontaniana mipoitra eo.', ayfPart1Time: 5, ayfPart1Type: 'Video Fiverenana Mitsidika', ayfPart2: diff --git a/test/fixtures/mwb_TND_202309.js b/test/fixtures/mwb_TND_202309.js index 6784ed24..9ee52384 100644 --- a/test/fixtures/mwb_TND_202309.js +++ b/test/fixtures/mwb_TND_202309.js @@ -46,7 +46,7 @@ export default { tgwBReadStudy: 2, ayfCount: 3, ayfPart1: - 'Fiharoagne midineke. Alefaso ty video Fiheregnagne Mitilike: Fanjakagne—Mt 14:​19, 20. Ajanogno i videoy isake misy fitofàgne, le iharò midinekee i fagnonteneagne miboake eoy.', + 'Fiharoagne midineke. Alefaso ty video Fiheregnagne Mitilike: Fanjakagne—Mt 14:​19, 20. Ajanogno i videoy isake misy fitofàgne, le iharò midineke i fagnonteneagne miboake eoy.', ayfPart1Time: 5, ayfPart1Type: 'Fiheregnagne Mitilike Alefa Video', ayfPart2: diff --git a/test/fixtures/mwb_TNK_202309.js b/test/fixtures/mwb_TNK_202309.js index 73b79272..c9031ee0 100644 --- a/test/fixtures/mwb_TNK_202309.js +++ b/test/fixtures/mwb_TNK_202309.js @@ -45,7 +45,7 @@ export default { tgwBReadStudy: 2, ayfCount: 3, ayfPart1: - 'Fiarahan̈a midiniky. Alifasa video Lera Mitsidiky: Fanjakan̈any Zan̈ahary—Mt 14:​19, 20. Ajanòna video io isaka izy mijanon̈o hely, avio an̈onta ania pan̈atriky fan̈ontanian̈a miboaka amy video io.', + 'Fiarahan̈a midiniky. Alifasa video Lera Mitsidiky: Fanjakan̈any Zan̈ahary—Mt 14:​19, 20. Ajanòna video io isaka izy mijanon̈o hely, avio an̈ontania pan̈atriky fan̈ontanian̈a miboaka amy video io.', ayfPart1Time: 5, ayfPart1Type: 'Video Lera Mitsidiky', ayfPart2: @@ -62,7 +62,7 @@ export default { lcPart1: 'Ataova Kamaradinao Jehovah—Estera Nisy Korazy', lcPart1Time: 5, lcPart1Content: - 'Fiarahan̈a midiniky. Alifasa video io. Mifidiana tsialohaloha tsaiky hadikadin̈iny, izikoa misy. An̈ontania iro: Amy lera karakory anao ti ianao misy korazy karaha Estera in̈y?', + 'Fiarahan̈a midiniky. Alifasa video io. Mifidiana tsialohaloha tsaiky hadikadin̈iny, izikoa misy. An̈ontania iro: Amy lera karakory anao tianao misy korazy karaha Estera in̈y?', lcPart2: 'Raha Ilainy Fiangonan̈a', lcPart2Time: 10, lcCBS: 'lff leson 57', @@ -82,7 +82,7 @@ export default { ayfPart1Time: 3, ayfPart1Type: 'Fitorian̈a', ayfPart2: - 'Ampiasà hevitry amy raha mety koran̈iny. Tahaoma mivory izy, avio aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Ino ma Raha Ataao amy Tran̈o Fivorian̈a An̈y?', + 'Ampiasà hevitry amy raha mety koran̈iny. Tahaoma mivory izy, avio aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Ino ma Raha Atao amy Tran̈o Fivorian̈a An̈y?', ayfPart2Time: 4, ayfPart2Type: 'Lera Mitsidiky', ayfPart2Study: 12, @@ -142,7 +142,7 @@ export default { ayfPart1Type: 'Fitorian̈a', ayfPart1Study: 9, ayfPart2: - 'Ampiasà hevitry amy raha mety koran̈iny. Ampizahava izy ndreky iaraha midiniky aminany (fa aza alefa) video Nan̈ino ma Anao Tokony Hianatra Baib boly?', + 'Ampiasà hevitry amy raha mety koran̈iny. Ampizahava izy ndreky iaraha midiniky aminany (fa aza alefa) video Nan̈ino ma Anao Tokony Hianatra Baiboly?', ayfPart2Time: 4, ayfPart2Type: 'Lera Mitsidiky', ayfPart2Study: 20, @@ -235,7 +235,7 @@ export default { ayfPart1Type: 'Fitorian̈a', ayfPart1Study: 17, ayfPart2: - 'Ampiasà hevitry amy raha mety koran̈iny. Izy amia bokikely Mankafiza Fiain̈ana Tsisy Farany!, avio iaraha dinihin̈y tsy ela “Karakory ma Fampias san̈a Bokikely Ty?”', + 'Ampiasà hevitry amy raha mety koran̈iny. Izy amia bokikely Mankafiza Fiain̈ana Tsisy Farany!, avio iaraha dinihin̈y tsy ela “Karakory ma Fampiasan̈a Bokikely Ty?”', ayfPart2Time: 4, ayfPart2Type: 'Lera Mitsidiky', ayfPart2Study: 3, @@ -268,7 +268,7 @@ export default { ayfPart1Type: 'Fitorian̈a', ayfPart1Study: 1, ayfPart2: - 'Ampiasà hevitry amy raha mety koran̈iny. Tahaoma mivory izy, avio aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Ino ma Raha Ataao amy Tran̈o Fivorian̈a An̈y?', + 'Ampiasà hevitry amy raha mety koran̈iny. Tahaoma mivory izy, avio aboaha izy ndreky iaraha midiniky aminany (fa aza alefa) video Ino ma Raha Atao amy Tran̈o Fivorian̈a An̈y?', ayfPart2Time: 3, ayfPart2Type: 'Lera Mitsidiky', ayfPart2Study: 13, diff --git a/test/fixtures/mwb_VZ_202309.js b/test/fixtures/mwb_VZ_202309.js index f4a8c1f4..c7164693 100644 --- a/test/fixtures/mwb_VZ_202309.js +++ b/test/fixtures/mwb_VZ_202309.js @@ -46,7 +46,7 @@ export default { tgwBReadStudy: 2, ayfCount: 3, ayfPart1: - 'Fiaraha midiniky. Alefaso ty video hoe Fimpolia Mitsidiky: Fanjakà—Mt 14:​19, 20. Ajanono video iny saky miseho mariky fijanona rey, bakeo apetrraho amy mpanatriky ze fanontanea miseho eo.', + 'Fiaraha midiniky. Alefaso ty video hoe Fimpolia Mitsidiky: Fanjakà—Mt 14:​19, 20. Ajanono video iny saky miseho mariky fijanona rey, bakeo apetraho amy mpanatriky ze fanontanea miseho eo.', ayfPart1Time: 5, ayfPart1Type: 'Video Fimpolia Mitsidiky', ayfPart2: From 731d79ffdf8a5696f1dfe1fa6b219307af9a5776 Mon Sep 17 00:00:00 2001 From: "Rasamoelina, Haja Onjatiana" <26148770+rhahao@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:32:01 +0000 Subject: [PATCH 4/4] update ukrainian translation --- example/sample.js | 159 ++---------------------------------- src/locales/uk-UA/text.json | 4 +- 2 files changed, 11 insertions(+), 152 deletions(-) diff --git a/example/sample.js b/example/sample.js index 2f28b628..46f4d5fa 100644 --- a/example/sample.js +++ b/example/sample.js @@ -115,66 +115,6 @@ const fetchIssueData = async (issue, pub) => { const epubData = await loadEPUB({ htmlRaws, epubYear: issue.currentYear, epubLang: language, isMWB: true }); return epubData; } - - if (pub === 'w') { - const url = `${WOL_CDN}${language}/pi-w_${issue.issueDate}`; - let res = await fetch(url); - let result = await res.json(); - - if (Array.isArray(result)) { - return []; - } - - if (result.url) { - res = await fetch(result.url); - result = await res.text(); - - let htmlItem = parser.parseFromString(result, 'text/html'); - - const tocWT = htmlItem.querySelector('#materialNav').querySelector('ul'); - const tocWTLinks = tocWT.querySelectorAll('li'); - const tocWTLink = 'https://wol.jw.org' + tocWTLinks[1].querySelector('a').getAttribute('href'); - - res = await fetch(tocWTLink); - result = await res.text(); - - htmlItem = parser.parseFromString(result, 'text/html'); - - const urls = []; - const studyArticles = htmlItem.querySelector('.groupTOC').querySelectorAll('h3'); - for (const article of studyArticles) { - const articleLink = article.nextElementSibling.querySelector('a').getAttribute('href'); - urls.push(`https://wol.jw.org${articleLink}`); - } - - const htmlArticles = []; - - const fetchArticle1 = fetch(urls[0]).then((res) => res.text()); - const fetchArticle2 = fetch(urls[1]).then((res) => res.text()); - const fetchArticle3 = fetch(urls[2]).then((res) => res.text()); - const fetchArticle4 = fetch(urls[3]).then((res) => res.text()); - const fetchArticle5 = urls[4] ? fetch(urls[4]).then((res) => res.text()) : Promise.resolve(''); - - const raws = await Promise.all([fetchArticle1, fetchArticle2, fetchArticle3, fetchArticle4, fetchArticle5]); - - for (let z = 0; z < raws.length; z++) { - const rawText = raws[z]; - if (rawText !== '') { - htmlArticles.push(rawText); - } - } - - const epubData = await loadEPUB({ - htmlRaws: [result], - epubYear: issue.currentYear, - epubLang: language, - isW: true, - htmlArticles, - }); - - return epubData; - } - } } } catch (err) { throw new Error(err); @@ -185,7 +125,7 @@ export const fetchData = async (language, issue, pub) => { let data = []; if (!issue && !pub) { - for await (const pub of ['mwb', 'w']) { + for await (const pub of ['mwb']) { const issues = []; if (pub === 'mwb') { @@ -237,71 +177,14 @@ export const fetchData = async (language, issue, pub) => { } while (notFound === false); } - if (pub === 'w') { - let notFound = false; - - // get w current issue - const today = new Date(); - const url = `${WOL_E}/${today.getFullYear()}/${today.getMonth() + 1}/${today.getDate()}`; - - const res = await fetch(url); - const data = await res.json(); - - const wData = data.items.find((item) => item.classification === 68); - const publicationTitle = wData.publicationTitle; - - const findYear = /\b\d{4}\b/; - const array = findYear.exec(publicationTitle); - let currentYear = +array[0]; - - const monthsRegex = `(${months.join('|')})`; - - const regex = new RegExp(monthsRegex); - const array2 = regex.exec(publicationTitle); - - let monthW = months.findIndex((month) => month === array2[0]) + 1; - - do { - const issueDate = currentYear + String(monthW).padStart(2, '0'); - const url = - JW_CDN + - new URLSearchParams({ - langwritten: language, - pub, - output: 'json', - issue: issueDate, - }); - - const res = await fetch(url); - - if (res.status === 200) { - const result = await res.json(); - const hasEPUB = result.files[language].EPUB; - - issues.push({ issueDate, currentYear, language, hasEPUB: hasEPUB }); - } - - if (res.status === 404) { - notFound = true; - } - - // assigning next issue - monthW = monthW + 1; - if (monthW === 13) { - monthW = 1; - currentYear++; - } - } while (notFound === false); - } - if (issues.length > 0) { const fetchSource1 = fetchIssueData(issues[0], pub); - const fetchSource2 = issues.length > 1 ? fetchIssueData(issues[1], pub) : Promise.resolve([]); - const fetchSource3 = issues.length > 2 ? fetchIssueData(issues[2], pub) : Promise.resolve([]); - const fetchSource4 = issues.length > 3 ? fetchIssueData(issues[3], pub) : Promise.resolve([]); - const fetchSource5 = issues.length > 4 ? fetchIssueData(issues[4], pub) : Promise.resolve([]); - const fetchSource6 = issues.length > 5 ? fetchIssueData(issues[5], pub) : Promise.resolve([]); - const fetchSource7 = issues.length > 6 ? fetchIssueData(issues[6], pub) : Promise.resolve([]); + const fetchSource2 = issues.length > 1 ? fetchIssueData(issues[1], pub) : Promise.resolve(undefined); + const fetchSource3 = issues.length > 2 ? fetchIssueData(issues[2], pub) : Promise.resolve(undefined); + const fetchSource4 = issues.length > 3 ? fetchIssueData(issues[3], pub) : Promise.resolve(undefined); + const fetchSource5 = issues.length > 4 ? fetchIssueData(issues[4], pub) : Promise.resolve(undefined); + const fetchSource6 = issues.length > 5 ? fetchIssueData(issues[5], pub) : Promise.resolve(undefined); + const fetchSource7 = issues.length > 6 ? fetchIssueData(issues[6], pub) : Promise.resolve(undefined); const allData = await Promise.all([ fetchSource1, @@ -315,36 +198,12 @@ export const fetchData = async (language, issue, pub) => { for (let z = 0; z < allData.length; z++) { const tempObj = allData[z]; - if (tempObj.length > 0) { - for (const src of tempObj) { - const date = src.mwb_week_date || src.w_study_date; - - const prevSrc = data.find((item) => item.mwb_week_date === date || item.w_study_date === date); - - if (prevSrc) { - Object.assign(prevSrc, src); - } - - if (!prevSrc) { - data.push(src); - } - } + if (tempObj) { + data.push(tempObj); } } } } - - for (const src of data) { - if (src.mwb_week_date) { - src.week_date = src.mwb_week_date; - delete src.mwb_week_date; - } - - if (src.w_study_date) { - src.week_date = src.w_study_date; - delete src.w_study_date; - } - } } if (issue && pub) { diff --git a/src/locales/uk-UA/text.json b/src/locales/uk-UA/text.json index 41418486..334328f1 100644 --- a/src/locales/uk-UA/text.json +++ b/src/locales/uk-UA/text.json @@ -6,11 +6,11 @@ "mayVariations": "Травень|травня", "juneVariations": "Червень|червень", "julyVariations": "Липень|липня", - "augustVariations": "Серпень|серпень", + "augustVariations": "Серпень|серпень|серпня", "septemberVariations": "Вересень|вересня", "octoberVariations": "Жовтень|жовтня", "novemberVariations": "Листопад|листопада", - "decemberVariations": "Грудень|грудень", + "decemberVariations": "Грудень|грудень|грудня", "tgwTalk10Variations": "{{ title }} (10 хв)", "tgwBibleReadingVariations": "Біблійне читання (4 хв). {{ source }} (th урок {{ study }})|Читання Біблії (4 хв). {{ source }} (th урок {{ study }})", "initialCallVideoVariations": "Перша розмова. Відео",