Skip to content

Commit

Permalink
Use Tazria, not Sazria for Ashkenazic transliterations
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Aug 20, 2023
1 parent c919b9b commit b7c3b6e
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 105 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ require (
github.com/dustin/go-humanize v1.0.0
github.com/hebcal/gematriya v1.0.1
github.com/hebcal/greg v1.0.0
github.com/hebcal/hdate v1.0.0
github.com/hebcal/hdate v1.0.1
github.com/nathan-osman/go-sunrise v1.1.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ github.com/hebcal/gematriya v1.0.1 h1:lktI5tX4lxg2o2OIEQXGYiMWxL9VkbfOXa+/kamjrL
github.com/hebcal/gematriya v1.0.1/go.mod h1:hQJm5ggDgm45RsnaaSrYB387VIBDI0Kcq5wglx7KVpI=
github.com/hebcal/greg v1.0.0 h1:F38VvHeYwhLIBtMQ4tl97jOfQhzeKX53Sa1T63RE31k=
github.com/hebcal/greg v1.0.0/go.mod h1:HhnDLPDm/dgcrANH5WYN9ol0tlkK/6mJVkWDIYhkKJM=
github.com/hebcal/hdate v1.0.0 h1:2SOJDvN3CvFTOuuH84UbOVy+Nt7enIZbnOjNxaMF1jI=
github.com/hebcal/hdate v1.0.0/go.mod h1:EXz7O48tnOqmTHC9wat7JJ2+f7OLZ2c4m+x4gnaiLcQ=
github.com/hebcal/hdate v1.0.1 h1:DkoN1oiOv5yrgXhrKdZCffpNsV5h6enXtiG7Rni28K0=
github.com/hebcal/hdate v1.0.1/go.mod h1:EXz7O48tnOqmTHC9wat7JJ2+f7OLZ2c4m+x4gnaiLcQ=
github.com/nathan-osman/go-sunrise v1.1.0 h1:ZqZmtmtzs8Os/DGQYi0YMHpuUqR/iRoJK+wDO0wTCw8=
github.com/nathan-osman/go-sunrise v1.1.0/go.mod h1:RcWqhT+5ShCZDev79GuWLayetpJp78RSjSWxiDowmlM=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
45 changes: 22 additions & 23 deletions locales/strings_ashkenazi.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
package locales

var dict_ashkenazi = map[string]string{
"Berachot": "Berachos",
"Shabbat": "Shabbos",
"Taanit": "Taanis",
"Yevamot": "Yevamos",
"Ketubot": "Kesubos",
"Baba Batra": "Baba Basra",
"Makkot": "Makkos",
"Shevuot": "Shevuos",
"Horayot": "Horayos",
"Menachot": "Menachos",
"Bechorot": "Bechoros",
"Keritot": "Kerisos",
"Midot": "Midos",
"Achrei Mot": "Achrei Mos",
"Bechukotai": "Bechukosai",
"Beha'alotcha": "Beha'aloscha",
Expand All @@ -26,7 +14,6 @@ var dict_ashkenazi = map[string]string{
"Ki Tisa": "Ki Sisa",
"Matot": "Matos",
"Purim Katan": "Purim Koton",
"Tazria": "Sazria",
"Shabbat Chazon": "Shabbos Chazon",
"Shabbat HaChodesh": "Shabbos HaChodesh",
"Shabbat HaGadol": "Shabbos HaGadol",
Expand Down Expand Up @@ -62,6 +49,28 @@ var dict_ashkenazi = map[string]string{
"Shabbat Shirah": "Shabbos Shirah",
"Tevet": "Teves",
"Asara B'Tevet": "Asara B'Teves",
"Alot HaShachar": "Alos HaShachar",
"Kriat Shema, sof zeman": "Krias Shema, sof zman",
"Tefilah, sof zeman": "Tefilah, sof zman",
"Kriat Shema, sof zeman (MGA)": "Krias Shema, sof zman (MGA)",
"Tefilah, sof zeman (MGA)": "Tefilah, sof zman (MGA)",
"Chatzot HaLailah": "Chatzos HaLailah",
"Chatzot hayom": "Chatzos",
"Tzeit HaKochavim": "Tzeis HaKochavim",
"Birkat Hachamah": "Birkas Hachamah",
"Shushan Purim Katan": "Shushan Purim Koton",
"Berachot": "Berachos",
"Taanit": "Taanis",
"Yevamot": "Yevamos",
"Ketubot": "Kesubos",
"Baba Batra": "Baba Basra",
"Makkot": "Makkos",
"Shevuot": "Shevuos",
"Horayot": "Horayos",
"Menachot": "Menachos",
"Bechorot": "Bechoros",
"Keritot": "Kerisos",
"Midot": "Midos",
"Berakhot": "Berakhos",
"Sheviit": "Sheviis",
"Terumot": "Terumos",
Expand All @@ -73,16 +82,6 @@ var dict_ashkenazi = map[string]string{
"Oholot": "Oholos",
"Tahorot": "Tahoros",
"Mikvaot": "Mikvaos",
"Alot HaShachar": "Alos HaShachar",
"Kriat Shema, sof zeman": "Krias Shema, sof zman",
"Tefilah, sof zeman": "Tefilah, sof zman",
"Kriat Shema, sof zeman (MGA)": "Krias Shema, sof zman (MGA)",
"Tefilah, sof zeman (MGA)": "Tefilah, sof zman (MGA)",
"Chatzot HaLailah": "Chatzos HaLailah",
"Chatzot hayom": "Chatzos",
"Tzeit HaKochavim": "Tzeis HaKochavim",
"Birkat Hachamah": "Birkas Hachamah",
"Shushan Purim Katan": "Shushan Purim Koton",
}

func Lookup_ashkenazi(s string) (string, bool) {
Expand Down
Loading

0 comments on commit b7c3b6e

Please sign in to comment.