יחידה:על התורה

ווערסיע פון 00:40, 4 סעפטעמבער 2023 דורך תנא קמא (שמועס | ביישטייערונגען) (בס"ד)
(חילוק) → עלטערע ווערסיע | איצטיגע ווערסיע (חילוק) | נייערע ווערסיע ← (חילוק)

מען קען שאפן דאקומענטאציע פאר דעם מאדול ביי יחידה:על התורה/דאק

-- גמרא
local names = {                                 
["ברכות"] ="Berakhot",  
["שבת"]  = "Shabbat",  
["ערובין"] = "Eiruvin", 
["עירובין"] = "Eiruvin",  
["פסחים"] = "Pesachim",  
["ראש השנה"] = "Rosh%20HaShanah",
["יומא"] = "Yoma",  
["סוכה"]  = "Sukkah", 
["ביצה"]  = "Beitzah",  
["תענית"] = "Taanit",  
["מגילה"] = "Megillah",  
["מועד קטן"] = "Moed%20Katan",  
["חגיגה"]  = "Chagigah",  
["יבמות"] = "Yevamot",  
["כתובות"] = "Ketubot",  
["נדרים"]  = "Nedarim",  
["נזיר"]   = "Nazir",  
["סוטה"]    = "Sotah",  
["גיטין"]  = "Gittin",  
["קידושין"]  = "Kiddushin",  
["בבא קמא"]   = "Bava%20Kamma",  
["בבא מציעא"] = "Bava%20Metzia", 
["בבא בתרא"]  = "Bava%20Batra",  
["סנהדרין"]   = "Sanhedrin",  
["מכות"]      = "Makkot",  
["שבועות"]    = "Shevuot",  
["עבודה זרה"] = "Avodah%20Zarah",
["הוריות"]    = "Horayot",  
["זבחים"]     = "Zevachim",  
["מנחות"]     = "Menachot",  
["חולין"]     = "Chulin",  
["בכורות"]    = "Bekhorot",  
["ערכין"]     = "Arakhin",  
["תמורה"]     = "Temurah",  
["כריתות"]    = "Keritot",  
["מעילה"]     = "Meilah",  
["תמיד"]      = "Tamid",  
["נדה"]       = "Niddah",                                  
["נידה"]       = "Niddah",                                  
} 

local names1 = {                                 
["א"] ="a",
["ב"]  = "b",
}

local mishna = {
["ברכות"] ="Berakhot",
["פאה"] ="Peah",
["פיאה"]="Peah", 
["דמאי"] ="Demai",
["כלאים"] ="Kilayim",
["כלאיים"]="Kilayim", 
["שביעית"] ="Sheviit",
["תרומות"] ="Terumot",
["מעשרות"] ="Maasrot",
["מעשר שני"] ="Maaser_Sheni",
['מע"ש']="Maaser_Sheni", 
["חלה"] ="Challah",
["ערלה"] ="Orlah",
["עורלה"]="Orlah",
["בכורים"] ="Bikkurim",
["ביכורים"]="Bikkurim",
["שבת"] ="Shabbat",
["עירובין"] ="Eiruvin",
["ערובין"]="Eiruvin", 
["פסחים"] ="Pesachim",
["שקלים"] ="Shekalim",
["ראש השנה"] ="Rosh_HaShanah",
['ר"ה']="Rosh_HaShanah", 
["יומא"] ="Yoma",
["סוכה"] ="Sukkah",
["ביצה"] ="Beitzah",
["תענית"] ="Taanit",
["מגילה"] ="Megillah",
["מועד קטן"] ="Moed_Katan",
['מו"ק']="Moed_Katan", 
['מ"ק']="Moed_Katan", 
["חגיגה"] ="Chagigah",
["יבמות"] ="Yevamot",
["כתובות"] ="Ketubot",
["נדרים"] ="Nedarim",
["נזיר"] ="Nazir",
["סוטה"] ="Sotah",
["גיטין"] ="Gittin",
["קידושין"] ="Kiddushin",
["קדושין"]="Kiddushin", 
["בבא קמא"] ="Bava_Kamma",
['ב"ק']="Bava_Kamma", 
["בבא מציעא"] ="Bava_Metzia",
['ב"מ']="Bava_Metzia", 
["בבא בתרא"] ="Bava_Batra",
['ב"ב']="Bava_Batra", 
["סנהדרין"] ="Sanhedrin",
["מכות"] ="Makkot",
["שבועות"] ="Shevuot",
["עדיות"] ="Eiduyot",
["עדויות"]="Eiduyot", 
["עבודה זרה"] ="Avodah_Zarah",
['ע"ז']="Avodah_Zarah", 
["אבות"] ="Avot",
["הוריות"] ="Horayot",
["זבחים"] ="Zevachim",
["מנחות"] ="Menachot",
["חולין"] ="Chulin",
["בכורות"] ="Bekhorot",
["ערכין"] ="Arakhin",
["תמורה"] ="Temurah",
["כריתות"] ="Keritot",
["מעילה"] ="Meilah",
["תמיד"] ="Tamid",
["מדות"] ="Middot",
["מידות"]="Middot", 
["קנים"] ="Kinnim",
["כלים"] ="Keilim",
["אהלות"] ="Oholot",
["אוהלות"]="Oholot", 
["נגעים"] ="Negaim",
["פרה"] ="Parah",
["טהרות"] ="Tahorot",
["מקואות"] ="Mikvaot",
["מקוואות"]="Mikvaot", 
["נידה"] ="Niddah",
["נדה"]="Niddah", 
["מכשירין"] ="Makhshirin",
["מכשירים"]="Makhshirin", 
["זבים"] ="Zavim",
["זבין"]="Zavim", 
["טבול יום"] ="Tevul_Yom",
['טבו"י']="Tevul_Yom", 
["ידים"] ="Yadayim",
["ידיים"]="Yadayim",
["עוקצין"] ="Uktzin",
["עוקצים"]="Uktzin", 
}

local Shulchan_Arukh = {                                 
["אורח חיים"] =",_Orach_Chayyim",  
["יורה דעה"]  = ",_Yoreh_Deah", 
["אבן העזר"]  = ",_Even_HaEzer", 
["חושן משפט"] =",_Choshen_Mishpat",  
} 

local tanach = {
['בראשית']  = "Bereshit",
['שמות']  = "Shemot",
['ויקרא']  ="Vayikra",
['במדבר']  = "Bemidbar",
['דברים']  = "Devarim",
['יהושע'] ="Yehoshua",  
['שופטים']  = "Shofetim", 
['שמואל א'] ="Shemuel I",  
['שמואל ב']  = "Shemuel II",
['מלכים א'] ="Melakhim I",  
['מלכים ב']  = "Melakhim II", 
['ישעיהו'] ="Yeshayahu",  
['ירמיהו']  = "Yirmeyahu",
['יחזקאל'] ="Yechezkel",  
['הושע']  = "Hoshea", 
['יואל'] ="Yoel",  
['עמוס']  = "Amos",
['עובדיה'] ="Ovadyah",  
['יונה']  = "Yonah", 
['מיכה'] ="Mikhah",  
['נחום']  = "Nachum",
['חבקוק'] ="Chavakkuk",  
['צפניה']  = "Zephanyah", 
['חגי'] ="Chaggai",  
['זכריה']  = "Zekharyah",
['מלאכי'] ="Zekharyah",  
['תהילים']  = "Tehillim",
['משלי']  = "Mishlei", 
['איוב'] ="Iyyov",  
['שיר השירים']  = "Shir_HaShirim",
['רות'] ="Rut",  
['איכה']  = "Eikhah", 
['קהלת'] ="Kohelet",  
['אסתר']  = "Esther",
['דניאל'] ="Daniel",  
['עזרא']  = "Ezra", 
['נחמיה'] ="Nechemyah",  
['דברי הימים א']  = "Divrei_HaYamim_I",
['דברי הימים ב'] ="Divrei_HaYamim_II",  
['תהלים']  = "Tehillim",
['קוהלת']  ="Kohelet",
['ירמיה']  = "Yirmeyahu",
['ישעיה']  = "Yeshayahu",
} 


local function translateMasechet(p)
	return names[p]
end
local function translateMasechet1(p)
	return names1[p]
end
local function translateMishna(p)
	return mishna[p]
end
local function translateShulchanArukh(p)
	return Shulchan_Arukh[p]
end
local function translateTanach(p)
	return tanach[p]
end
return
{   
	translateMasechet= translateMasechet,
    translateMasechet1= translateMasechet1,
    translateMishna= translateMishna,
    translateShulchanArukh=translateShulchanArukh,
    translateTanach=translateTanach,
     
    ['מסכת'] = function(namefrom) 
        return translateMasechet(namefrom.args[1])
    end,
    ['עמוד'] = function(namefrom1) 
        return translateMasechet1(namefrom1.args[1])
    end,
    ['משנה'] = function(namefromMishna) 
        return translateMishna(namefromMishna.args[1])
    end,
    ['חלק'] = function(namefromShulchanArukh) 
        return translateShulchanArukh(namefromShulchanArukh.args[1])
    end,
    ['ספר'] = function(namefromTanach) 
        return translateTanach(namefromTanach.args[1])
    end
    
    
}