diff --git a/src/homepage.js b/src/homepage.js index ae28c8ef..2dc692da 100644 --- a/src/homepage.js +++ b/src/homepage.js @@ -159,7 +159,7 @@ const chagSameach = { 'Simchat Torah': true, }; -const TZOM_KAL = '✡️ Tzom Kal!  צום קל ✡️'; +const TZOM_KAL = '✡️ Tzom Kal!  צוֹם קַל ✡️'; const SHANA_TOVA = '🍏 🍯 שָׁנָה טוֹבָה וּמְתוּקָה 🍯 🍏'; const SHANA_TOVA2 = 'Shana Tova u\'Metukah! We wish you a happy and healthy New Year'; @@ -198,7 +198,7 @@ function getMastheadGreeting(ctx, hd, il, dateOverride) { const htmlDate = myDateFormat(erevSukkot); const when = (dd === 14) ? 'tonight at sundown' : ` at sundown on ${htmlDate}`; - const blurb = '🌿 🍋 חג סוכות שמח 🍋 🌿'; + const blurb = '🌿 🍋 חַג סוּכּוֹת שָׂמֵחַ 🍋 🌿'; const suffix = il ? '?i=on' : ''; const longText = `Chag Sukkot Sameach! Sukkot @@ -233,14 +233,14 @@ function getMastheadGreeting(ctx, hd, il, dateOverride) { const erevShavuot = dayjs(new HDate(5, months.SIVAN, yy).greg()).locale(locale); const htmlDate = myDateFormat(erevShavuot); const suffix = il ? '?i=on' : ''; - return ['🌸 ⛰️ חג שבועות שמח ⛰️ 🌸', + return ['🌸 ⛰️ חַג שָׁבוּעוֹת שָׂמֵחַ ⛰️ 🌸', `Chag Shavuot Sameach! Shavuot begins at sundown on ${htmlDate}`]; } else if ((isTishrei && dd >= chmStart && dd <= 21) || (isNisan && dd >= chmStart && dd <= 20)) { const holiday = isTishrei ? 'Sukkot' : 'Pesach'; const emoji = isTishrei ? '🌿🍋' : '🫓'; - const blurb = `${emoji} מועדים לשמחה ${emoji}`; + const blurb = `${emoji} מוֹעֲדִים לְשִׂמְחָה ${emoji}`; return [blurb, `Moadim L\'Simcha! We wish you a very happy ${holiday}`]; } else if (mm === months.KISLEV && dd <= 24 && dd >= 2) { // immediately after Rosh Chodesh Kislev, show Chanukah greeting @@ -248,7 +248,7 @@ function getMastheadGreeting(ctx, hd, il, dateOverride) { const dow = erevChanukah.day(); const htmlDate = myDateFormat(erevChanukah); const when = dow == 5 ? 'before sundown' : dow == 6 ? 'at nightfall' : 'at sundown'; - return ['🕎 חנוכה שמח 🕎', + return ['🕎 חֲנוּכָּה שָׂמֵחַ 🕎', `Happy Chanukah! Light the first Chanukah candle ${when} on ${htmlDate}`]; @@ -286,14 +286,14 @@ ${when} on ${htmlDate}`]; } else if (mm == months.IYYAR && dd >= 12 && dd <= 17) { const erevLagBaOmer = dayjs(new HDate(17, months.IYYAR, yy).greg()).locale(locale); const htmlDate = myDateFormat(erevLagBaOmer); - return ['🔥 ל״ג בעומר שמח 🔥', + return ['🔥 ל״ג בָּעוֹמֶר שָׂמֵחַ 🔥', `Lag BaOmer begins at sundown on ${htmlDate}`]; } else if (mm === months.AV && dd >= 23) { // for the last week of Av const erevRHLaBehemot = dayjs(new HDate(30, months.AV, yy).greg()).locale(locale); const htmlDate = myDateFormat(erevRHLaBehemot); - return ['🐑 🐓 ראש השנה לבהמות שמח 🐓 🐑', + return ['🐑 🐓 רֹאשׁ הַשָּׁנָה לבְּהֵמוֹת שָׂמֵחַ 🐓 🐑', `Rosh Hashana LaBehemot (New Year for Tithing Animals) begins at sundown on ${htmlDate}`]; @@ -301,7 +301,7 @@ ${when} on ${htmlDate}`]; // first 2 weeks of Shvat const erevTuBiShvat = dayjs(new HDate(14, months.SHVAT, yy).greg()).locale(locale); const htmlDate = myDateFormat(erevTuBiShvat); - return ['🌳 🌱 ט״ו בשבט שמח 🌱 🌳', + return ['🌳 🌱 ט״ו בִּשְׁבָט שָׂמֵחַ 🌱 🌳', `Tu BiShvat (New Year for Trees) begins at sundown on ${htmlDate}`]; } @@ -311,7 +311,7 @@ ${when} on ${htmlDate}`]; // show Purim greeting 1.5 weeks before const erevPurim = dayjs(new HDate(13, purimMonth, yy).greg()).locale(locale); const htmlDate = myDateFormat(erevPurim); - return ['🎭️ 📜 חג פורים שמח 📜 🎭️', + return ['🎭️ 📜 חַג פּוּרִים שָׂמֵחַ 📜 🎭️', `Chag Purim Sameach! Purim begins at sundown on ${htmlDate}`]; } @@ -319,7 +319,7 @@ ${when} on ${htmlDate}`]; // show Pesach greeting shortly after Purim and ~2 weeks before const erevPesach = dayjs(new HDate(14, months.NISAN, yy).greg()).locale(locale); const htmlDate = myDateFormat(erevPesach); - const blurb = '🫓 🍷 חג כשר ושמח 🍷 🫓'; + const blurb = '🫓 🍷 חַג כָּשֵׁר וְשָׂמֵחַ 🍷 🫓'; const suffix = il ? '?i=on' : ''; return [blurb, `Chag Kasher v\'Sameach! Passover @@ -379,11 +379,11 @@ function getHolidayGreeting(ctx, ev, il, today, dateOverride) { const longText = today ? `We wish you a happy ${title}` : `${title} begins tonight at sundown`; - const blurb = `${emoji} Chag Sameach!  חג שמח ${emoji}`; + const blurb = `${emoji} Chag Sameach!  חַג שָׂמֵחַ ${emoji}`; return [`${blurb}`, longText]; } -const roshChodeshBlurb = '🌒 Chodesh Tov!  חודש טוב 🌒'; +const roshChodeshBlurb = '🌒 Chodesh Tov!  חוֹדֶשׁ טוֹב 🌒'; function getChanukahGreeting(d, ev) { const url = shortenUrl(ev.url()); @@ -392,7 +392,7 @@ function getChanukahGreeting(d, ev) { const candles = typeof ev.chanukahDay === 'number' ? ev.chanukahDay + 1 : 1; const nth = Locale.ordinal(candles, 'en'); const dowStr = d.format('dddd'); - return [`🕎 חג אורים שמח 🕎`, + return [`🕎 חַג אוּרִים שָׂמֵחַ 🕎`, `Happy Chanukah! Light the ${nth} Chanukah candle ${dowStr} evening ${when}`]; }