בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,538
רעדאגירונגען
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 31: | שורה 31: | ||
// Define the mapping between Sefaria and AlHaTorah book names | // Define the mapping between Sefaria and AlHaTorah book names | ||
const bookNameMapping = { | const bookNameMapping = { | ||
'Genesis': 'Bereshit', | |||
'Exodus': 'Shemot', | |||
'Leviticus': 'Vayikra', | |||
'Numbers': 'Bemidbar', | |||
'Deuteronomy': 'Devarim', | |||
'Joshua': 'Yehoshua', | |||
'Judges': 'Shofetim', | |||
'Samuel I': 'Shemuel I', | |||
'Samuel II': 'Shemuel II', | |||
'Kings I': 'Melakhim I', | |||
'Kings II': 'Melakhim II', | |||
'Isaiah': 'Yeshayahu', | |||
'Jeremiah': 'Yirmeyahu', | |||
'Ezekiel': 'Yechezkel', | |||
'Hosea': 'Hoshea', | |||
'Joel': 'Yoel', | |||
'Amos': 'Amos', | |||
'Obadiah': 'Ovadyah', | |||
'Jonah': 'Yonah', | |||
'Micah': 'Mikhah', | |||
'Nahum': 'Nachum', | |||
'Habakkuk': 'Chavakkuk', | |||
'Zephaniah': 'Zephanyah', | |||
'Haggai': 'Chaggai', | |||
'Zechariah': 'Zekharyah', | |||
'Malachi': 'Malakhi', | |||
'Psalms': 'Tehillim', | |||
'Proverbs': 'Mishlei', | |||
'Job': 'Iyyov', | |||
'Song of Songs': 'Shir HaShirim', | |||
'Ruth': 'Rut', | |||
'Lamentations': 'Eikhah', | |||
'Ecclesiastes': 'Kohelet', | |||
'Esther': 'Esther', | |||
'Daniel': 'Daniel', | |||
'Ezra': 'Ezra', | |||
'Nehemiah': 'Nechemyah', | |||
'Chronicles I': 'Divrei HaYamim I', | |||
'Chronicles II': 'Divrei HaYamim II' | |||
}; | }; | ||
| שורה 80: | שורה 83: | ||
if (alHaTorahSefer) { | if (alHaTorahSefer) { | ||
// Construct AlHaTorah URL | // Construct AlHaTorah URL | ||
var alHaTorahUrl = 'https://mg.alhatorah.org/ | var alHaTorahUrl = 'https://mg.alhatorah.org/Full/' + encodeURIComponent(alHaTorahSefer) + | ||
' | '/' + encodeURIComponent(perek) + | ||
' | '.' + encodeURIComponent(pasuk); | ||
// Create the AlHaTorah icon link | // Create the AlHaTorah icon link | ||
רעדאגירונגען