Skip to content

Commit

Permalink
Merge pull request #26 from OpenPecha/feat/localization-bo
Browse files Browse the repository at this point in the history
Feat/localization bo
  • Loading branch information
Lungsangg authored Jan 31, 2024
2 parents 69732c7 + 5107786 commit 2d23191
Show file tree
Hide file tree
Showing 9 changed files with 1,664 additions and 1,127 deletions.
Binary file modified locale/he/LC_MESSAGES/django.mo
Binary file not shown.
1,122 changes: 520 additions & 602 deletions locale/he/LC_MESSAGES/django.po

Large diffs are not rendered by default.

20 changes: 16 additions & 4 deletions static/css/s2.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,25 @@ a, a:hover {
src: url('/static/fonts/Cardo-Regular.ttf');
unicode-range: U+0300-036F, U+0370-03FF, U+1D00-1D7F, U+1DBF, U+1F00-1FFF, U+2126, U+AB65, U+10140-1018F, U+101A0, U+1D200-1D24F;
}
@font-face {
/*Tibetan | Snow Lotus*/
font-family: 'Snow Lotus';
src: url('/static/fonts/Snow Lotus.ttf');
unicode-range: U+0F00-0FFF, U+10300-1032F, U+10380-1039F, U+0FCF, U+0FD0, U+0FD1, U+0FD2, U+0FD3, U+0FD4;
}
@font-face {
/*Tibetan | JhomoLangma Sarchen*/
font-family: 'JhomoLangma Sarchen';
src: url('/static/fonts/JhomoLangma Sarchen.ttf');
unicode-range: U+0F00-0FFF, U+10300-1032F, U+10380-1039F, U+0FCF, U+0FD0, U+0FD1, U+0FD2, U+0FD3, U+0FD4;
}
:root {
/* font stacks */
--english-sans-serif-font-family: "Roboto", "Helvetica Neue", "Helvetica", sans-serif;
--hebrew-sans-serif-font-family: "Heebo", "Roboto", sans-serif;
--hebrew-sans-serif-font-family: "JhomoLangma Sarchen", "Heebo", "Roboto", sans-serif;

--english-serif-font-family: "Cardo", "Meltho", "HebrewInEnglish Serif Font", "adobe-garamond-pro", "Crimson Text", Georgia, "Times New Roman", serif, "Noto Sans Samaritan";
--hebrew-serif-font-family: "Noto Color Emoji", "EnglishInHebrew Serif Font", "Cardo", "Taamey Frank", "adobe-garamond-pro", "Crimson Text", "Times New Roman", serif;
--hebrew-serif-font-family: "Snow Lotus", "Noto Color Emoji", "EnglishInHebrew Serif Font", "Cardo", "Taamey Frank", "adobe-garamond-pro", "Crimson Text", "Times New Roman", serif;

--serif-h1-font-size: 48px;
--serif-h2-font-size: 30px;
Expand Down Expand Up @@ -3013,7 +3025,7 @@ display: none;
font-style: normal;
}
.readerNavMenu .dedication .int-he {
font-family: "Heebo", sans-serif;
font-family: "Snow Lotus", "Heebo", sans-serif;
font-size: 18px;
}
.readerNavMenu .dedication .int-en {
Expand Down Expand Up @@ -9224,7 +9236,7 @@ body #keyboardInputMaster tbody tr td table tbody tr td.pressed{
text-decoration: underline;
}
#footer a#siteLanguageHebrew {
font-family: "Heebo", sans-serif;
font-family: "Snow Lotus Regular", "Heebo", sans-serif;
}
.gemarra-regular, .gemarra-italic {
font-weight: bold;
Expand Down
Binary file added static/fonts/JhomoLangma Sarchen.ttf
Binary file not shown.
Binary file added static/fonts/Snow Lotus.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion static/js/CommunityPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const CommunityPage = ({multiPanel, toggleSignUpModal, initialWidth}) => {
<div className="sidebarLayout">
<div className="contentInner mainColumn">

<h1><InterfaceText>Today on Sefaria</InterfaceText></h1>
<h1><InterfaceText>Today on Pecha</InterfaceText></h1>

{featuredContent}

Expand Down
16 changes: 8 additions & 8 deletions static/js/NavSidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,22 +94,22 @@ const Promo = () =>
const AboutSefaria = ({hideTitle}) => (
<Module>
{!hideTitle ?
<ModuleTitle h1={true}>A Living Library of Torah</ModuleTitle> : null }
<ModuleTitle h1={true}>A Living Library of Buddhist Text</ModuleTitle> : null }
<InterfaceText>
<EnglishText>
Sefaria is home to 3,000 years of Jewish texts. We are a nonprofit organization offering free access to texts, translations,
and commentaries so that everyone can participate in the ongoing process of studying, interpreting, and creating Torah.
Pecha is home to 2500 years of Buddhist texts. We are offering free access to texts, translations,
and commentaries so that everyone can participate in the ongoing process of studying, interpreting,
and creating Buddhist text library.
</EnglishText>
<HebrewText>
ספריא היא ביתם של 3,000 שנות ספרות יהודית.
אנו ארגון ללא מטרות רווח המציע גישה חופשית למקורות יהודיים, לתרגומים ולפרשנויות,
ומטרתנו לאפשר לכל אחד ואחת להשתתף בתהליך המתמשך של לימוד וחידוש בתורה.
དཔེ་ཆ་དྲ་ཚིགས་ནི་ལོ་ངོ་ཉིས་སྟོང་ལྔ་བརྒྱ་ལྷག་གི་ལོ་རྒྱུས་ལྡན་པའི་ནང་བསྟན་གསུང་རབ་རྣམས་ཀྱི་མཛོད་ཁང་ལྟ་བུ་ཞིག་ཡིན། ང་ཚོས་ཆ་རྐྱེན་གང་ཡང་མི་དགོས་པར་ནང་པའི་གསུང་རབ་ཁག་དང་འགྱུར་མ། གཞུང་འགྲེལ་བཅས་ལ་ཐུན་མོང་གིས་མཇལ་ཐུབ་པའི་གོ་སྐབས་སྤྲོད་ཀྱི་ཡོད།
བྱེད་ཐབས་འདི་བརྒྱུད་ནས་སྐྱེས་བུ་སུ་ཞིག་ཡིན་རུང་ནང་བསྟན་གསུང་རབ་ལ་སློབ་གཉེར་དང་གཞུང་འགྲེལ་བྱེད་པ། ནང་བསྟན་གྱི་དཔེ་ཚོགས་ཀུན་འཛོམས་ཀྱི་དཔེ་མཛོད་འདི་ཇེ་ལེགས་ཇེ་རྒྱས་སུ་གཏོང་བའི་ལས་རིམ་ལ་ཞུགས་ཐུབ་ཀྱི་ཡོད།
</HebrewText>
</InterfaceText>
<a href="/about" className="inTextLink">
<InterfaceText>
<EnglishText>Learn More ›</EnglishText>
<HebrewText>לקריאה נוספת</HebrewText>
<HebrewText> མུ་མཐུད་གཟིགས།</HebrewText>
</InterfaceText>
</a>
{!hideTitle && <InterfaceText>
Expand Down Expand Up @@ -154,7 +154,7 @@ const AboutTranslatedText = ({translationsSlug}) => {
return (
<Module>
<ModuleTitle h1={true}>{translationLookup[translationsSlug] ?
translationLookup[translationsSlug]["title"] : "A Living Library of Torah"}</ModuleTitle>
translationLookup[translationsSlug]["title"] : "A Living Library of Buddhist Text"}</ModuleTitle>
{ translationLookup[translationsSlug] ?
translationLookup[translationsSlug]["body"] :
<InterfaceText>
Expand Down
Loading

0 comments on commit 2d23191

Please sign in to comment.