diff --git a/src/data/BibleVersionCollection.ts b/src/data/BibleVersionCollection.ts index 1aad4a3..2c1b52e 100644 --- a/src/data/BibleVersionCollection.ts +++ b/src/data/BibleVersionCollection.ts @@ -1,26 +1,21 @@ import { IBibleVersion } from '../interfaces/IBibleVersion' import { BibleAPISourceCollection } from './BibleApiSourceCollection' -/** - * Please note to support the abbreviation of the translation - * "code" need to be added - * And the Abbreviation source need to be updated too See this repo. https://github.com/AntiochTechnology/bible-reference-toolkit/tree/master/packages/bible-book-names-intl - */ -export const BibleVersionCollection: IBibleVersion[] = [ - // bible api + +export const BibleVersionCollectionEnglish = [ { - key: 'web', - versionName: 'World English Bible', + key: 'bbe', + versionName: 'Bible in Basic English', language: 'English', code: 'en', apiSource: BibleAPISourceCollection.bibleApi, }, { - key: 'clementine', - versionName: 'Clementine Latin Vulgate', - language: 'Latin', - code: 'la', - apiSource: BibleAPISourceCollection.bibleApi, + key: 'esv', + versionName: 'English Standard Version', + language: 'English', + code: 'en', + apiSource: BibleAPISourceCollection.bollsLife, }, { key: 'kjv', @@ -30,62 +25,33 @@ export const BibleVersionCollection: IBibleVersion[] = [ apiSource: BibleAPISourceCollection.bibleApi, }, { - key: 'bbe', - versionName: 'Bible in Basic English', + key: 'lsb', + versionName: 'Legacy Standard Bible', language: 'English', code: 'en', - apiSource: BibleAPISourceCollection.bibleApi, + apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'oeb-us', - versionName: 'Open English Bible, US Edition', + key: 'mev', + versionName: 'Modern English Version', language: 'English', code: 'en', - apiSource: BibleAPISourceCollection.bibleApi, - }, - { - key: 'almeida', - versionName: 'João Ferreira de Almeida', - language: 'Portuguese', - code: 'pt', - apiSource: BibleAPISourceCollection.bibleApi, - }, - { - key: 'rccv', - versionName: 'Romanian Corrected Cornilescu Version', - language: 'Romanian', - code: 'ro', - apiSource: BibleAPISourceCollection.bibleApi, - }, - { - key: 'cherokee', - versionName: 'Cherokee New Testament', - language: 'Cherokee', - code: 'cu', - apiSource: BibleAPISourceCollection.bibleApi, - }, - { - key: 'oeb-cw', - versionName: 'Open English Bible, Commonwealth Edition', - language: 'English (UK)', - code: 'en', - apiSource: BibleAPISourceCollection.bibleApi, + apiSource: BibleAPISourceCollection.bollsLife, + infoUrl: 'https://wikipedia.org/wiki/Modern_English_Version', }, { - key: 'webbe', - versionName: 'World English Bible, British Edition', - language: 'English (UK)', + key: 'nasb', + versionName: 'New American Standard Bible (1995)', + language: 'English', code: 'en', - apiSource: BibleAPISourceCollection.bibleApi, + apiSource: BibleAPISourceCollection.bollsLife, }, - // bolls life { - key: 'mev', - versionName: 'Modern English Version', + key: 'niv', + versionName: 'New International Version, 1984', language: 'English', code: 'en', apiSource: BibleAPISourceCollection.bollsLife, - infoUrl: 'https://wikipedia.org/wiki/Modern_English_Version', }, { key: 'nkjv', @@ -96,8 +62,8 @@ export const BibleVersionCollection: IBibleVersion[] = [ infoUrl: 'https://wikipedia.org/wiki/New_King_James_Version', }, { - key: 'niv', - versionName: 'New International Version, 1984', + key: 'nlt', + versionName: 'New Living Translation (NLT), 2015', language: 'English', code: 'en', apiSource: BibleAPISourceCollection.bollsLife, @@ -110,26 +76,79 @@ export const BibleVersionCollection: IBibleVersion[] = [ apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'esv', - versionName: 'English Standard Version', + key: 'oeb-us', + versionName: 'Open English Bible, US Edition', language: 'English', code: 'en', - apiSource: BibleAPISourceCollection.bollsLife, + apiSource: BibleAPISourceCollection.bibleApi, }, { - key: 'nasb', - versionName: 'New American Standard Bible (1995)', + key: 'web', + versionName: 'World English Bible', language: 'English', code: 'en', - apiSource: BibleAPISourceCollection.bollsLife, + apiSource: BibleAPISourceCollection.bibleApi, + }, +] + +export const BibleVersionCollectionLatin = [ + { + key: 'clementine', + versionName: 'Clementine Latin Vulgate', + language: 'Latin', + code: 'la', + apiSource: BibleAPISourceCollection.bibleApi, }, +] + +export const BibleVersionCollectionPortuguese = [ { - key: 'lsb', - versionName: 'Legacy Standard Bible', - language: 'English', + key: 'almeida', + versionName: 'João Ferreira de Almeida', + language: 'Portuguese', + code: 'pt', + apiSource: BibleAPISourceCollection.bibleApi, + }, +] + +export const BibleVersionCollectionRomanian = [ + { + key: 'rccv', + versionName: 'Romanian Corrected Cornilescu Version', + language: 'Romanian', + code: 'ro', + apiSource: BibleAPISourceCollection.bibleApi, + }, +] + +export const BibleVersionCollectionCherokee = [ + { + key: 'cherokee', + versionName: 'Cherokee New Testament', + language: 'Cherokee', + code: 'cu', + apiSource: BibleAPISourceCollection.bibleApi, + }, +] + +export const BibleVersionCollectionEnglishUK = [ + { + key: 'oeb-cw', + versionName: 'Open English Bible, Commonwealth Edition', + language: 'English (UK)', code: 'en', - apiSource: BibleAPISourceCollection.bollsLife, + apiSource: BibleAPISourceCollection.bibleApi, + }, + { + key: 'webbe', + versionName: 'World English Bible, British Edition', + language: 'English (UK)', + code: 'en', + apiSource: BibleAPISourceCollection.bibleApi, }, +] + +export const BibleVersionCollectionGerman = [ { key: 'elb', versionName: 'Elberfelder Bibel (1871)', @@ -145,19 +164,28 @@ export const BibleVersionCollection: IBibleVersion[] = [ apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'sch', - versionName: 'Schlachter (1951)', + key: 'mb', + versionName: 'Menge-Bibel', language: 'German Deutsch', code: 'de', apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'mb', - versionName: 'Menge-Bibel', + key: 'sch', + versionName: 'Schlachter (1951)', language: 'German Deutsch', code: 'de', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionGreek = [ + { + key: 'lxx', + versionName: 'Septuagint', + language: 'Greek Ελληνικά', + apiSource: BibleAPISourceCollection.bollsLife, + }, { key: 'ntgt', versionName: 'Greek NT: Tischendorf 8th Ed.', @@ -170,10 +198,15 @@ export const BibleVersionCollection: IBibleVersion[] = [ language: 'Greek Ελληνικά', apiSource: BibleAPISourceCollection.bollsLife, }, + +] + +export const BibleVersionCollectionHebrew = [ + { - key: 'lxx', - versionName: 'Septuagint', - language: 'Greek Ελληνικά', + key: 'dhnt', + versionName: 'Delitzsch\'s Hebrew New Testament 1877, 1998 (with Vowels)', + language: 'Hebrew עברית', apiSource: BibleAPISourceCollection.bollsLife, }, { @@ -182,33 +215,33 @@ export const BibleVersionCollection: IBibleVersion[] = [ language: 'Hebrew עברית', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionChinese = [ { - key: 'dhnt', - versionName: 'Delitzsch\'s Hebrew New Testament 1877, 1998 (with Vowels)', - language: 'Hebrew עברית', - apiSource: BibleAPISourceCollection.bollsLife, - }, - { - key: 'cuv', - versionName: 'Chinese Union Version (Traditional)', + key: 'cunp', + versionName: 'Chinese Union New Punctuation Cross References', language: 'Chinese', code: 'cn', apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'cunp', - versionName: 'Chinese Union New Punctuation Cross References', + key: 'cunps', + versionName: 'Chinese Union New Punctuation (Simplified)', language: 'Chinese', code: 'cn', apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'cunps', - versionName: 'Chinese Union New Punctuation (Simplified)', + key: 'cuv', + versionName: 'Chinese Union Version (Traditional)', language: 'Chinese', code: 'cn', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionItalian = [ { key: 'nr06', versionName: 'Nuova Riveduta, 2006', @@ -216,6 +249,9 @@ export const BibleVersionCollection: IBibleVersion[] = [ code: 'it', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionArabic = [ { key: 'svd', versionName: 'Smith and Van Dyke', @@ -223,6 +259,9 @@ export const BibleVersionCollection: IBibleVersion[] = [ code: 'ar', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionSpanish = [ { key: 'btx3', versionName: 'La Biblia Textual 3ra Edicion', @@ -231,48 +270,51 @@ export const BibleVersionCollection: IBibleVersion[] = [ apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'rv1960', - versionName: 'Reina Valera 1960', + key: 'lbla', + versionName: 'La Biblia de Las Americas, 1997', language: 'Spanish', code: 'sp', apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'rv2004', - versionName: 'Reina Valera Gomez 2004', + key: 'ntv', + versionName: 'Nueva Traduccion Viviente, 2009', language: 'Spanish', code: 'sp', apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'pdt', - versionName: 'Palabra de Dios para Todos', + key: 'nvi', + versionName: 'Nueva Version Internacional', language: 'Spanish', code: 'sp', apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'nvi', - versionName: 'Nueva Version Internacional', + key: 'pdt', + versionName: 'Palabra de Dios para Todos', language: 'Spanish', code: 'sp', apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'ntv', - versionName: 'Nueva Traduccion Viviente, 2009', + key: 'rv1960', + versionName: 'Reina Valera 1960', language: 'Spanish', code: 'sp', apiSource: BibleAPISourceCollection.bollsLife, }, { - key: 'lbla', - versionName: 'La Biblia de Las Americas, 1997', + key: 'rv2004', + versionName: 'Reina Valera Gomez 2004', language: 'Spanish', code: 'sp', apiSource: BibleAPISourceCollection.bollsLife, }, - // todo add langauge code +] + + +export const BibleVersionCollectionPolish = [ { key: 'bg', versionName: 'Biblia gdańska, 1881', @@ -285,30 +327,45 @@ export const BibleVersionCollection: IBibleVersion[] = [ language: 'Polish', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionIndonesian = [ { key: 'tb', versionName: 'Terjemahan Baru', language: 'Indonesian', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionRussian = [ { key: 'bti', versionName: 'Библия под ред. М.П. Кулакова и М.М. Кулакова, 2015', language: 'Russian', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionUkrainian = [ { key: 'utt', versionName: 'Українська Біблія LXX УБТ Рафаїла Турконяка (2011) 77 книг', language: 'Ukrainian', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionFrench = [ { key: 'nbs', versionName: 'Nouvelle Bible Segond, 2002', language: 'French', apiSource: BibleAPISourceCollection.bollsLife, }, +] + +export const BibleVersionCollectionTamil = [ { key: 'tbsi', versionName: 'The Bible Society of India - Tamil - O.V.', @@ -317,6 +374,35 @@ export const BibleVersionCollection: IBibleVersion[] = [ }, ] + +/** + * Please note to support the abbreviation of the translation + * "code" need to be added + * And the Abbreviation source need to be updated too See this repo. https://github.com/AntiochTechnology/bible-reference-toolkit/tree/master/packages/bible-book-names-intl + */ +export const BibleVersionCollection: IBibleVersion[] = + [ + ...BibleVersionCollectionArabic, + ...BibleVersionCollectionCherokee, + ...BibleVersionCollectionChinese, + ...BibleVersionCollectionEnglish, + ...BibleVersionCollectionEnglishUK, + ...BibleVersionCollectionFrench, + ...BibleVersionCollectionGerman, + ...BibleVersionCollectionGreek, + ...BibleVersionCollectionHebrew, + ...BibleVersionCollectionIndonesian, + ...BibleVersionCollectionItalian, + ...BibleVersionCollectionLatin, + ...BibleVersionCollectionPolish, + ...BibleVersionCollectionPortuguese, + ...BibleVersionCollectionRomanian, + ...BibleVersionCollectionRussian, + ...BibleVersionCollectionSpanish, + ...BibleVersionCollectionTamil, + ...BibleVersionCollectionUkrainian, + ] + export const DEFAULT_BIBLE_VERSION = BibleVersionCollection[11] export const getBibleVersion = (key: string): IBibleVersion => {