Skip to content

Commit

Permalink
Merge pull request #1082 from Ordisoftware/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Ordisoftware authored Feb 28, 2022
2 parents 7680a3a + d534d59 commit c5984fd
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documents/WebProviders/WebProviders-Bible.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ URL = https://www.chabad.org/library/bible_cdo/aid/%BOOKCHABAD%/jewish/Chapter-%

-

Name = (FR/IW) Torah-Box.org (Avec Rachi)
URL = https://www.torah-box.com/torah-pdf/%BOOKTORAHBOX%/%CHAPTERNUM%.html

Name = (EN/IW) Mechon-Mamre.org
URL = https://www.mechon-mamre.org/p/pt/pt%BOOKMM%%CHAPTERNUM#2%.htm#%VERSENUM%

Expand Down
1 change: 1 addition & 0 deletions Project/Hebrew Calendar (vs2022).csproj
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@
<Compile Include="Source\Common\Hebrew\Entities\BooksBounds.cs" />
<Compile Include="Source\Common\Hebrew\Entities\BooksNames.BibleHub.cs" />
<Compile Include="Source\Common\Hebrew\Entities\BooksNames.Chabad.cs" />
<Compile Include="Source\Common\Hebrew\Entities\BooksNames.TorahBox.cs" />
<Compile Include="Source\Common\Hebrew\Entities\BooksNames.Common.cs" />
<Compile Include="Source\Common\Hebrew\Entities\BooksNames.Djep.cs" />
<Compile Include="Source\Common\Hebrew\Entities\BooksNames.Hebrew.cs" />
Expand Down
1 change: 1 addition & 0 deletions Project/Source/Common/Hebrew/Classes/HebrewTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ static public void OpenBibleProvider(string url, int book, int chapter, int vers
.Replace("%BOOKBIBLEHUB%", BooksNames.BibleHub[(TanakBook)book])
.Replace("%BOOKCHABAD%", ( BooksNames.Chabad[(TanakBook)book] + chapter - 1 ).ToString())
.Replace("%BOOKMM%", BooksNames.MechonMamre[(TanakBook)book])
.Replace("%BOOKTORAHBOX%", BooksNames.TorahBox[(TanakBook)book])
.Replace("%BOOKDJEP%", BooksNames.Djep[(TanakBook)book])
.Replace("%BOOKLE%", BooksNames.LEvangile[(TanakBook)book])
.Replace("%BOOKNUM%", book.ToString())
Expand Down
65 changes: 65 additions & 0 deletions Project/Source/Common/Hebrew/Entities/BooksNames.TorahBox.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/// This file is part of Ordisoftware Hebrew Calendar/Letters/Words.
/// Copyright 2012-2022 Olivier Rogier.
/// See www.ordisoftware.com for more information.
/// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
/// If a copy of the MPL was not distributed with this file, You can obtain one at
/// https://mozilla.org/MPL/2.0/.
/// If it is not possible or desirable to put the notice in a particular file,
/// then You may include the notice in a location(such as a LICENSE file in a
/// relevant directory) where a recipient would be likely to look for such a notice.
/// You may add additional accurate notices of copyright ownership.
/// </license>
/// <created> 2022-02 </created>
/// <edited> 2022-02 </edited>
namespace Ordisoftware.Hebrew;

static partial class BooksNames
{

static public readonly Dictionary<TanakBook, string> TorahBox = new()
{
// Torah
{ TanakBook.Bereshit, "torah/genese" },
{ TanakBook.Shemot, "torah/exode" },
{ TanakBook.Vayiqra, "torah/levitique" },
{ TanakBook.Bamidbar, "torah/nombres" },
{ TanakBook.Devarim, "torah/deuteronome" },
// Nevi'im
{ TanakBook.Yehoshoua, "neviim/josue" },
{ TanakBook.Shoftim, "neviim/juges" },
{ TanakBook.Shemouel_I, "neviim/livre-de-samuel-i" },
{ TanakBook.Shemouel_II, "neviim/livre-de-samuel-ii" },
{ TanakBook.Melakim_I, "neviim/livre-des-rois-i" },
{ TanakBook.Melakim_II, "neviim/livre-des-rois-ii" },
{ TanakBook.Yeshayahou, "neviim/isaie" },
{ TanakBook.Yirmeyahou, "neviim/jeremie" },
{ TanakBook.Yehezqel, "neviim/ezechiel" },
{ TanakBook.Hoshea, "neviim/osee" },
{ TanakBook.Yoel, "neviim/yoel" },
{ TanakBook.Amos, "neviim/amos" },
{ TanakBook.Obadyah, "neviim/obadia" },
{ TanakBook.Yonah, "neviim/jonas" },
{ TanakBook.Mikah, "neviim/michee" },
{ TanakBook.Nahoum, "neviim/nahoum" },
{ TanakBook.Habaqouq, "neviim/habacuc" },
{ TanakBook.Tsephaniah, "neviim/cephania" },
{ TanakBook.Hagai, "neviim/haggai" },
{ TanakBook.Zekaria, "neviim/zacharie" },
{ TanakBook.Malaki, "neviim/malachie" },
// Ketouvim
{ TanakBook.Tehilim, "ketouvim/psaumes" },
{ TanakBook.Mishlei, "ketouvim/proverbes" },
{ TanakBook.Iyov, "ketouvim/job" },
{ TanakBook.Shir_HaShirim, "ketouvim/cantique-des-cantiques" },
{ TanakBook.Ruth, "ketouvim/ruth" },
{ TanakBook.Eikah, "ketouvim/lamentations" },
{ TanakBook.Qohelet, "ketouvim/ecclésiaste" },
{ TanakBook.Esther, "ketouvim/esther" },
{ TanakBook.Daniel, "ketouvim/daniel" },
{ TanakBook.Ezra, "ketouvim/ezra" },
{ TanakBook.Nehemiah, "ketouvim/nehemia" },
{ TanakBook.Divrei_HaYamim_I, "ketouvim/chroniques-i" },
{ TanakBook.Divrei_HaYamim_II, "ketouvim/chroniques-ii" }
};

}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ The generation of parashot relating to Shabatot with the omer of the moon or the
#### 2022.03.01 - Version 9.26

- Fix and improve Tools menu.
- Add read online using Torah-Box.
- Update web links with more resources on hieroglyphs.

#### 2022.02.22 - Version 9.25
Expand Down

0 comments on commit c5984fd

Please sign in to comment.