From 913038101c5fb1b5bdfe5b4565cda917e6482827 Mon Sep 17 00:00:00 2001 From: lungsangg Date: Mon, 7 Oct 2024 11:43:59 +0530 Subject: [PATCH 1/6] pwa_manifest_update --- static/manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/manifest.json b/static/manifest.json index 10fcc2c9fa..5fbcb38ce0 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -1,7 +1,7 @@ { - "name": "Pecha.org", - "short_name": "Pecha.org", - "start_url": "base.html", + "name": "Pecha", + "short_name": "Pecha", + "start_url": "https://pecha.org/base.html", "display": "standalone", "background_color": "#fdfdfd", "theme_color": "#db4938", From 90e84a31aa377e6be0dba0a2c6dcf757c457f645 Mon Sep 17 00:00:00 2001 From: lungsangg Date: Mon, 7 Oct 2024 11:59:25 +0530 Subject: [PATCH 2/6] pwa_update --- static/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/manifest.json b/static/manifest.json index 5fbcb38ce0..cda2bd8aa8 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -1,7 +1,7 @@ { "name": "Pecha", "short_name": "Pecha", - "start_url": "https://pecha.org/base.html", + "start_url": "base.html", "display": "standalone", "background_color": "#fdfdfd", "theme_color": "#db4938", From d29b5cebc27f73d21e9595a93fdccaa4580c2497 Mon Sep 17 00:00:00 2001 From: lungsangg Date: Mon, 7 Oct 2024 12:16:28 +0530 Subject: [PATCH 3/6] pwa_start_url_update --- static/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/manifest.json b/static/manifest.json index cda2bd8aa8..3ad07fa8ec 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -1,7 +1,7 @@ { "name": "Pecha", "short_name": "Pecha", - "start_url": "base.html", + "start_url": "/", "display": "standalone", "background_color": "#fdfdfd", "theme_color": "#db4938", From 2396e5bc4fa67fe51b85cad5fdddd1e749cca407 Mon Sep 17 00:00:00 2001 From: lungsangg Date: Mon, 7 Oct 2024 14:29:50 +0530 Subject: [PATCH 4/6] pwa_square_icon_update --- static/screenshots/square-icon.png | Bin 1999 -> 8276 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/static/screenshots/square-icon.png b/static/screenshots/square-icon.png index 636fbd8fcc30daeb58ee8de650c4e982bf10ae4b..1ef8c110e176690857053f4a1781813a20fa2d91 100644 GIT binary patch literal 8276 zcmV-aAgkYrP)PyA07*naRCr$Pn|GKbXLas>Rn=A1adJ)@W;V=D-Y{D2Dko4x)+)0SNXSY^fW^ha z1OqZ4BLrL%BqWRo!Wf|}6woTi&9iC3PR_Y=?&_-Q`&7x?$3b4L65QwU?Z4)k?yjou z{mysJ`@ZM2!2j@<@IQS0{C@!cABccIZ9?uZ@hpGN2yh(N($d!1+J1aPUEQW-)iu>i zs%!I-iKLKBrK3~+h2Y@y#KEqFt-C{*fD$WLntq^frRSBbd=RdNhttb&<|waJW=Nmy@^z`AchAcj_sKC57x5 zIQ;w%?)&+zdxyrmJ}eMEGysk*F0Q`tyz_25?}QVsKJd~@%=I3|naUt05;(IaZc)P2 zH3Uf}V`MQ!iJVI%jzB_|sBCRw_2y&go}Su$-y;v+{L(jn&ZD%n9JkAh;`X465(~*VX+_3SR7Az9mBa*-k|nh`^Ye3yq444TL;Ww__vjNp z+tt%^;JpIzo&mV-!t+nP{-TS&xI`09iH?kkdw1_4779}A^P%QoZgh-XI*mt^ahN7v zuLsrTMDeI7UN?bgnCZD`l8H1+>*}a3t01Qv#KJL>@dT+GrRYwMU9pCsbnJ$^kJD@aKT8hLsSr!0DXJ*rn9ZATI9=@By_>n=QTwxsVIm6xilShMCMhF}Aqn>1 z6%`d!mRGQE_Z}PEu$CoVP(VpjBd1)rh0$2#&CmVgZCC9YnI1S=5Z)C4-@WnXzrNwT zbHDS-Z+=@iy>~axw1#4>R5x%qRT`VtFfcf1FV?!SDmuufG!%zSCY>ec5D{dVtOVuN zHFg;52ux2-u{b^j$rLUGa@p)#Nzx&aQ$^xh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I?3t%nRa~ z)^nhQm_O1w=8XP{)**u?kBxWs!goiJr8t1a;z8Z*F)!Jg$AbCWt;E}7F1T zrt;2Wx$W_=+Mrc=!yb(+lO@7P)hw{BfqjB5Y@xQAQ3U zo|dcYx<2B<>clc8{D1V}a=p2qMu+t-zg_PFacrQ|dRK~N`#pi79|Q(=YA1nVfxr-? zD}gb7S76+1c2X&ED3CZO1lKk%C60qi|9Ui?y{k9d%PFcv7RQ`LQf}MvS!B_2C9=$7 z{ee{MzE0&z=9QdRVNi^w21j?`Os@PjDi$9K#qM%93?N5Uu75yi(gBAA9t3Z7EQMy1 zv8RhqgnQ?uSBxE|lDZTVAkLx5fRi1Dq?%0uF{YH=ExVtp<=bU%pAA*n6cEUv@+M72 zkYyy8NFD0?-s@xg-{t;ODfc@wpqT>!X@9@Wp6+iu|LJ|B)9yYcNW6IA5RAVD z?caL+f_x@e5k=`rIY#Oy68*z`J}h>7T^mVbBi;4x|Kz=`^Eg}gz!pyr-9LSGYy;0000M From c6304aa1503e148574f3dffc0545779b95a48b31 Mon Sep 17 00:00:00 2001 From: lobsam Date: Tue, 8 Oct 2024 11:36:11 +0530 Subject: [PATCH 5/6] signup modal string --- static/js/Header.jsx | 2 +- static/js/Misc.jsx | 14 +- static/js/sefaria/i18n.js | 13 +- .../sefaria/localizationLanguage/chinese.json | 23 ++- .../localizationLanguage/combineSring.js | 6 +- .../sefaria/localizationLanguage/english.json | 26 ++- .../sefaria/localizationLanguage/tibetan.json | 25 ++- static/js/sefaria/signupModalContent.js | 160 +++++------------- 8 files changed, 132 insertions(+), 137 deletions(-) diff --git a/static/js/Header.jsx b/static/js/Header.jsx index 6e5006a364..e64d51516b 100644 --- a/static/js/Header.jsx +++ b/static/js/Header.jsx @@ -590,7 +590,7 @@ const MobileNavMenu = ({onRefClick, showSearch, openTopic, openURL, close, visib - get_help + text.feedback.get_help {Sefaria._uid ? diff --git a/static/js/Misc.jsx b/static/js/Misc.jsx index ee9f646260..7f9329cd80 100644 --- a/static/js/Misc.jsx +++ b/static/js/Misc.jsx @@ -2014,11 +2014,10 @@ LoginPrompt.propTypes = { class SignUpModal extends Component { render() { let modalContent = !this.props.modalContentKind ? generateContentForModal() : generateContentForModal(this.props.modalContentKind); - const innerContent = modalContent.contentList.map(bullet => (
- {bullet.bulletContent.en} - + + {bullet.bulletContent}
)); const nextParam = "?next=" + encodeURIComponent(Sefaria.util.currentPath()); @@ -2030,19 +2029,16 @@ class SignUpModal extends Component {
×

- + {modalContent.h2}

- + {modalContent.h3}

{ innerContent }
- - Sign Up - ཐོ་འགོད་གྱིས། - + common.sign_up
{ Sefaria._("sign_up.already_have_account")}   diff --git a/static/js/sefaria/i18n.js b/static/js/sefaria/i18n.js index 9f2f500dc6..6da194267c 100644 --- a/static/js/sefaria/i18n.js +++ b/static/js/sefaria/i18n.js @@ -4,13 +4,22 @@ import { initReactI18next } from 'react-i18next' import Sefaria from './sefaria' import LanguagesJson from './localizationLanguage/combineSring' +console.log("ang: ", Sefaria.interfaceLang) + +const langs = { + hebrew: "bo", + chinese: "zh", + english: "en" +} + +let current_lang = i18n .use(Languagedetector) .use(initReactI18next) .init({ - lng: Sefaria.interfaceLang, + lng: langs[Sefaria.interfaceLang], fallbackLng: 'en', - debug: true, + debug: false, resources: { ...LanguagesJson} }) diff --git a/static/js/sefaria/localizationLanguage/chinese.json b/static/js/sefaria/localizationLanguage/chinese.json index 90f114858e..4d1059c14e 100644 --- a/static/js/sefaria/localizationLanguage/chinese.json +++ b/static/js/sefaria/localizationLanguage/chinese.json @@ -83,7 +83,28 @@ "feedback.message.error_sending_feedback": "很遗憾,发送反馈时发生错误。请重试或重新加载此页面。", "common.select_type": "选择类型", "sheet.source_sheet.added_by": "由...添加", - "modal.sign_up.love_learning": "热爱学习?", + "modal.sign_up.default.love_learning":"སློབ་གཉེར་ལ་དགའ་བོ་ཡོད་དམ།", + "modal.sign_up.default.sign_up__to_get_more_from_sefaria":"", + "model.sign_up.add_connection.connection_to_another_text": "", + "model.sign_up.add_connection.create_free_account": "", + "model.sign_up.add_connection.content_list.add_interconnection_and_translation": "", + "model.sign_up.add_connection.content_list.build_and_share_source_sheet": "", + "model.sign_up.add_connection.content_list.take_notes": "", + "model.sign_up.add_connection.content_list.get_updates_on_new_texts": "", + "model.sign_up.add_to_sheet.want_to_make_your_own_source_sheet": "", + "model.sign_up.add_to_sheet.create_free_accout_to_join_conversation":"", + "model.sign_up.add_to_sheet.build_share_souce_sheet":"", + "model.sign_up.add_to_sheet.connect_with_other_users":"", + "model.sign_up.add_translation.have_your_own_translation_of_this_text":"", + "model.sign_up.add_translation.create_free_account__to_add_it_to_library":"", + "model.sign_up.follow.want_to_connect_with_other_users":"", + "model.sign_up.follow.follow_your_favorite_creaters":"", + "model.sign_up.follow.send_messages": "", + "model.sign_up.note.dont_lose_that_thought": "", + "model.sign_up.note.take_notes_on_this_text": "", + "model.sign_up.note.get_updates_on_new_features": "", + "model.sign_up.save.want_to_return_to_this_text": "", + "model.sign_up.save.view_your_reading_history": "", "modal.sign_up.signup_to_get_more_from_pecha": "注册以从 Sefaria 获取更多内容", "sheet.make_source_sheet": "创建资源表", "note.take_note": "记笔记", diff --git a/static/js/sefaria/localizationLanguage/combineSring.js b/static/js/sefaria/localizationLanguage/combineSring.js index 85738858a8..9e3c9d9ae2 100644 --- a/static/js/sefaria/localizationLanguage/combineSring.js +++ b/static/js/sefaria/localizationLanguage/combineSring.js @@ -5,9 +5,9 @@ import englishJson from "./english.json"; // combine all languages string const LanguagesJson = { - hebrew: {translation: tibetanJson}, - chinese:{translation: chineseJson}, - english:{translation: englishJson} + en:{translation: englishJson}, + bo: {translation: tibetanJson}, + zh:{translation: chineseJson} }; export default LanguagesJson; \ No newline at end of file diff --git a/static/js/sefaria/localizationLanguage/english.json b/static/js/sefaria/localizationLanguage/english.json index 33ca59e91e..1471d2bfe7 100644 --- a/static/js/sefaria/localizationLanguage/english.json +++ b/static/js/sefaria/localizationLanguage/english.json @@ -81,7 +81,31 @@ "feedback.message.error_sending_feedback":"Unfortunately, there was an error sending this feedback. Please try again or try reloading this page.", "common.select_type":"Select Type", "sheet.source_sheet.added_by":"Added by", - "modal.sign_up.love_learning":"Love Learning?", + + "modal.sign_up.default.love_learning":"Love Learning?", + "modal.sign_up.default.sign_up__to_get_more_from_sefaria":"Sign up to get more from Sefaria", + + "model.sign_up.add_connection.connection_to_another_text": "Want to document a connection to another text?", + "model.sign_up.add_connection.create_free_account": "Create a free account to do more on Sefaria", + "model.sign_up.add_connection.content_list.add_interconnection_and_translation": "Add interconnections & translations", + "model.sign_up.add_connection.content_list.build_and_share_source_sheet": "Build & share source sheets", + "model.sign_up.add_connection.content_list.take_notes": "Take notes", + "model.sign_up.add_connection.content_list.get_updates_on_new_texts": "Get updates on new texts", + "model.sign_up.add_to_sheet.want_to_make_your_own_source_sheet": "Want to make your own source sheet?", + "model.sign_up.add_to_sheet.create_free_accout_to_join_conversation":"Create a free account to join the conversation", + "model.sign_up.add_to_sheet.connect_with_other_users":"Connect with other users", + "model.sign_up.add_translation.have_your_own_translation_of_this_text":"Have your own translation of this text?", + "model.sign_up.add_translation.create_free_account__to_add_it_to_library":"Create a free account to add it to the library & do more on Sefaria", + "model.sign_up.follow.want_to_connect_with_other_users":"Want to connect with other Sefaria users?", + "model.sign_up.follow.follow_your_favorite_creaters":"Follow your favorite creators", + "model.sign_up.follow.send_messages": "Send messages", + "model.sign_up.note.dont_lose_that_thought": "Don’t lose that thought!", + "model.sign_up.note.take_notes_on_this_text": "Take notes on this text", + "model.sign_up.note.get_updates_on_new_features": "Get updates on new features", + "model.sign_up.save.want_to_return_to_this_text": "Want to return to this text?", + "model.sign_up.save.view_your_reading_history": "View your reading history", + + "modal.sign_up.signup_to_get_more_from_pecha":"Sign up to get more from Sefaria", "sheet.make_source_sheet":"Make source sheets", "note.take_note":"Take notes", diff --git a/static/js/sefaria/localizationLanguage/tibetan.json b/static/js/sefaria/localizationLanguage/tibetan.json index b531b65691..924fbbc29e 100644 --- a/static/js/sefaria/localizationLanguage/tibetan.json +++ b/static/js/sefaria/localizationLanguage/tibetan.json @@ -83,7 +83,30 @@ "feedback.message.error_sending_feedback":"སྟབས་མ་ལེགས་པ་ཞིག་ལ་བསམ་འཆར་འདི་གཏོང་བ་ལ་གནད་དོན་ཞིག་བྱུང་སོང་། ཤོག་ངོས་འདི་བསྐྱར་ལེན་ནམ་ཡང་ན་བསྐྱར་དུ་ཚོད་ལྟ་ཞིག་བྱེད་རོགས།", "common.select_type":"རིགས་དབྱེ།", "sheet.source_sheet.added_by":"ཡིས་བསྣན་འདུག", - "modal.sign_up.love_learning":"སློབ་གཉེར་ལ་དགའ་བོ་ཡོད་དམ།", + + "modal.sign_up.default.love_learning":"སློབ་གཉེར་ལ་དགའ་བོ་ཡོད་དམ།", + "modal.sign_up.default.sign_up__to_get_more_from_sefaria":"དཔེ་ཆ་དྲ་ཐོག་དཔེ་མཛོད་ནས་འདི་ལས་མང་བ་ཐོབ་པ་ལ་ཞུགས་ཐོ་གསར་འགོད་བྱོས།", + "model.sign_up.add_connection.connection_to_another_text": "", + "model.sign_up.add_connection.create_free_account": "", + "model.sign_up.add_connection.content_list.add_interconnection_and_translation": "", + "model.sign_up.add_connection.content_list.build_and_share_source_sheet": "", + "model.sign_up.add_connection.content_list.take_notes": "མཆན་བཀོད།", + "model.sign_up.add_connection.content_list.get_updates_on_new_texts": "", + "model.sign_up.add_to_sheet.want_to_make_your_own_source_sheet": "", + "model.sign_up.add_to_sheet.create_free_accout_to_join_conversation":"རིན་མེད་ཁ་བྱང་ཞིག་བཟོས་ཏེ་གླེང་མོལ་ནང་མཉམ་གཞུགས་བྱོས།", + "model.sign_up.add_to_sheet.build_share_souce_sheet":"ཤོག་ངོས་བཟོས་ཏེ་བརྒྱུད་སྐུར་བྱོས།", + "model.sign_up.add_to_sheet.connect_with_other_users":"གཞན་དང་མཉམ་དུ་སྦྲེལ་མཐུད་བྱེད།", + "model.sign_up.add_translation.have_your_own_translation_of_this_text":"", + "model.sign_up.add_translation.create_free_account__to_add_it_to_library":"", + "model.sign_up.follow.want_to_connect_with_other_users":"", + "model.sign_up.follow.follow_your_favorite_creaters":"", + "model.sign_up.follow.send_messages": "", + "model.sign_up.note.dont_lose_that_thought": "ཁྱེད་ཀྱི་གོ་རྟོགས་གསར་པ་དེ་མ་བརླགས་པར་བྱེད་དགོས།", + "model.sign_up.note.take_notes_on_this_text": "", + "model.sign_up.note.get_updates_on_new_features": "", + "model.sign_up.save.want_to_return_to_this_text": "", + "model.sign_up.save.view_your_reading_history": "", + "modal.sign_up.signup_to_get_more_from_pecha":"དཔེ་ཆ་དྲ་ཐོག་དཔེ་མཛོད་ནས་འདི་ལས་མང་བ་ཐོབ་པ་ལ་ཞུགས་ཐོ་གསར་འགོད་བྱོས།", "sheet.make_source_sheet":"མ་ཕྱིའི་ཤོག་ངོས་བཟོས།", "note.take_note":"མཆན་འགོད་པ།", diff --git a/static/js/sefaria/signupModalContent.js b/static/js/sefaria/signupModalContent.js index 261aac494f..d85253ff75 100644 --- a/static/js/sefaria/signupModalContent.js +++ b/static/js/sefaria/signupModalContent.js @@ -10,230 +10,152 @@ export const SignUpModalKind = { const signUpModalContent = { [SignUpModalKind.AddConnection]: { - h2: { - en: "Want to document a connection to another text?", - he: "רוצים לתעד חיבור לטקסט נוסף?", - }, - h3: { - en: "Create a free account to do more on Sefaria", - he: "פתחו חשבון משתמש בחינם - ותוכלו לעשות הרבה יותר עם ספריא", - }, + h2: "model.sign_up.add_connection.connection_to_another_text", + h3: "model.sign_up.add_connection.create_free_account", contentList: [ { icon: "tools-add-connection-white.svg", - bulletContent: { - en: "Add interconnections & translations", - he: "הוסיפו תרגומים וחיבורים בין טקסטים", - }, + bulletContent: "model.sign_up.add_connection.content_list.add_interconnection_and_translation", }, { icon: "sheetsplus-white.svg", - bulletContent: { - en: "Build & share source sheets", - he: "בנו ושתפו דפי מקורות", - }, + bulletContent: "model.sign_up.add_connection.content_list.build_and_share_source_sheet", }, { icon: "note-white.png", - bulletContent: { en: "Take notes", he: "མཆན་བཀོད།" }, + bulletContent: "model.sign_up.add_connection.content_list.take_notes", }, { icon: "email-white.png", - bulletContent: { - en: "Get updates on new texts", - he: "התעדכנו בטקסטים חדשים הנוספים לספרייה", - }, + bulletContent: "model.sign_up.add_connection.content_list.get_updates_on_new_texts", }, ], }, [SignUpModalKind.AddToSheet]: { - h2: { - en: "Want to make your own source sheet?", - he: "ཁྱེད་རང་ཉིད་ཀྱི་ཤོག་ངོས་བཟོ་འདོད་དམ།", - }, - h3: { - en: "Create a free account to join the conversation", - he: "རིན་མེད་ཁ་བྱང་ཞིག་བཟོས་ཏེ་གླེང་མོལ་ནང་མཉམ་གཞུགས་བྱོས།", - }, + h2: "model.sign_up.add_to_sheet.want_to_make_your_own_source_sheet", + h3: "model.sign_up.add_to_sheet.create_free_accout_to_join_conversation", contentList: [ { icon: "sheetsplus-white.svg", - bulletContent: { - en: "Build & share source sheets", - he: "ཤོག་ངོས་བཟོས་ཏེ་བརྒྱུད་སྐུར་བྱོས།", - }, + bulletContent: "model.sign_up.add_to_sheet.build_share_souce_sheet", }, { icon: "star-white.png", - bulletContent: { en: "Save texts", he: "ཟིན་བྲིས་ཉར་ཚགས།"}, + bulletContent: "text.save_text", }, { icon: "note-white.svg", - bulletContent: { en: "Take notes", he: "མཆན་བཀོད།" }, + bulletContent: "note.take_note", }, { icon: "share-icon-white.svg", - bulletContent: { - en: "Connect with other users", - he: "གཞན་དང་མཉམ་དུ་སྦྲེལ་མཐུད་བྱེད།", - }, + bulletContent: "model.sign_up.add_to_sheet.connect_with_other_users", }, ], }, [SignUpModalKind.AddTranslation]: { - h2: { - en: "Have your own translation of this text?", - he: "יש לכם תרגום משלכם לטקסט זה?", - }, - h3: { - en: "Create a free account to add it to the library & do more on Sefaria", - he: "פתחו חשבון משתמש בחינם כדי להוסיף אותו לספרייה - ועוד:", - }, + h2: "model.sign_up.add_translation.have_your_own_translation_of_this_text", + h3: "model.sign_up.add_translation.create_free_account__to_add_it_to_library", contentList: [ { icon: "sheetsplus-white.svg", - bulletContent: { - en: "Build & share source sheets", - he: "בנו ושתפו דפי מקורות", - }, + bulletContent: "model.sign_up.add_connection.content_list.build_and_share_source_sheet", }, { icon: "star-white.png", - bulletContent: { en: "Save texts", he: "ཟིན་བྲིས་ཉར་ཚགས།" }, + bulletContent: "text.save_text", }, { icon: "note-white.svg", - bulletContent: { en: "Take notes", he: "མཆན་བཀོད།" }, + bulletContent: "note.take_note", }, { icon: "share-icon-white.svg", - bulletContent: { - en: "Connect with other users", - he: "התחברו עם משתמשי ספריא אחרים", - }, + bulletContent: "model.sign_up.add_to_sheet.connect_with_other_users", }, ], }, [SignUpModalKind.Follow]: { - h2: { - en: "Want to connect with other Sefaria users?", - he: "רוצים להתחבר עם משתמשים אחרים בספריא?", - }, - h3: { - en: "Create a free account to join the conversation", - he: "פתחו חשבון משתמש בחינם והצטרפו לשיח", - }, + h2: "model.sign_up.follow.want_to_connect_with_other_users", + h3: "model.sign_up.add_to_sheet.create_free_accout_to_join_conversation", contentList: [ { icon: "profile-white.svg", - bulletContent: { - en: "Follow your favorite creators", - he: "עקבו אחרי היוצרים האהובים עליכם", - }, + bulletContent: "model.sign_up.follow.follow_your_favorite_creaters", }, { icon: "sheetsplus-white.svg", - bulletContent: { - en: "Build & share source sheets", - he: "בנו ושתפו דפי מקורות", - }, + bulletContent: "model.sign_up.add_connection.content_list.build_and_share_source_sheet", }, { icon: "note-white.svg", - bulletContent: { en: "Send messages", he: "שלחו הודעות דרך ספריא" }, + bulletContent: "model.sign_up.follow.send_messages", }, ], }, [SignUpModalKind.Notes]: { - h2: { en: "Don’t lose that thought!", he: "ཁྱེད་ཀྱི་གོ་རྟོགས་གསར་པ་དེ་མ་བརླགས་པར་བྱེད་དགོས།" }, - h3: { - en: "Create a free account to do more on Sefaria", - he: "དཔེ་ཆ་དྲ་བའི་ཆ་རྐྱེན་ཚང་མ་སྤྱོད་པ་ལ། རིན་མེད་ཐོག་ནས་ཐོ་འགོད་གྱིས།", - }, + h2: "model.sign_up.note.dont_lose_that_thought", + h3: "model.sign_up.add_connection.create_free_account", contentList: [ { icon: "note-white.svg", - bulletContent: { - en: "Take notes on this text", - he: "ཡིག་ཆ་འདི་ལ་མཆན་རྒྱོབས།", - }, + bulletContent: "model.sign_up.note.take_notes_on_this_text", }, { icon: "sheetsplus-white.svg", - bulletContent: { - en: "Build & share source sheets", - he: "ཟིན་བྲིས་གསར་བཟོ་དང་འགྲེམས་སྤེལ།", - }, + bulletContent: "model.sign_up.add_connection.content_list.build_and_share_source_sheet", }, { icon: "share-icon-white.svg", - bulletContent: { - en: "Connect with other users", - he: "དཔེ་ཀློག་པ་གཞན་དང་གྲོགས་འབྲེལ་བཟོ་བ།", - }, + bulletContent: "model.sign_up.add_to_sheet.connect_with_other_users", }, { icon: "email-white.png", - bulletContent: { - en: "Get updates on new features", - he: "ཁྱད་ཆོས་ཁ་སྣོན་བྱས་པ་སོགས་ལ་ལྟོས།", - }, + bulletContent: "model.sign_up.note.get_updates_on_new_features", }, ], }, [SignUpModalKind.Save]: { - h2: { en: "Want to return to this text?", he: "רוצים לחזור לטקסט הזה?" }, - h3: { - en: "Create a free account to do more on Sefaria", - he: "פתחו חשבון משתמש בחינם כדי לעשות יותר עם ספריא", - }, + h2: "model.sign_up.save.want_to_return_to_this_text", + h3: "model.sign_up.add_connection.create_free_account", contentList: [ { icon: "star-white.png", - bulletContent: { en: "Save texts", he: "ཟིན་བྲིས་ཉར་ཚགས།" }, + bulletContent: "text.save_text", }, { icon: "note-white.svg", - bulletContent: { en: "Take notes", he: "མཆན་བཀོད།" }, + bulletContent: "note.take_note", }, { icon: "clock-white.svg", - bulletContent: { - en: "View your reading history", - he: "צפו בהיסטוריית הקריאה שלכם", - }, + bulletContent: "model.sign_up.save.view_your_reading_history", }, { icon: "sheetsplus-white.svg", - bulletContent: { - en: "Build & share source sheets", - he: "צרו ושתפו דפי מקורות", - }, + bulletContent: "model.sign_up.add_connection.content_list.build_and_share_source_sheet", }, ], }, [SignUpModalKind.Default]: { - h2: { en: "Love Learning?", he: "སློབ་གཉེར་ལ་དགའ་བོ་ཡོད་དམ།" }, - h3: { - en: "Sign up to get more from Sefaria", - he: "དཔེ་ཆ་དྲ་ཐོག་དཔེ་མཛོད་ནས་འདི་ལས་མང་བ་ཐོབ་པ་ལ་ཞུགས་ཐོ་གསར་འགོད་བྱོས།", - }, + h2: "modal.sign_up.default.love_learning", + h3: "modal.sign_up.default.sign_up__to_get_more_from_sefaria", contentList: [ { icon: "star-white.png", - bulletContent: { en: "Save texts", he: "ཟིན་བྲིས་ཉར་ཚགས།" }, + bulletContent: "text.save_text", }, { icon: "sheet-white.png", - bulletContent: { en: "Make source sheets", he: "הכינו דפי מקורות" }, + bulletContent: "sheet.make_source_sheet", }, { icon: "note-white.png", - bulletContent: { en: "Take notes", he: "མཆན་འགོད་པ།" }, + bulletContent: "note.take_note", }, { icon: "email-white.png", - bulletContent: { en: "Stay in the know", he: "ཤེས་བཞིན་དུ་ནི་གནས་པར་གྱིས།" }, + bulletContent: "modal.sign_up.stay_in_the_know", }, ], }, From 079c927440f45b37849fa54b32f98e016092b757 Mon Sep 17 00:00:00 2001 From: lungsangg Date: Tue, 8 Oct 2024 12:08:10 +0530 Subject: [PATCH 6/6] webfont_update --- static/css/s2.css | 1 - 1 file changed, 1 deletion(-) diff --git a/static/css/s2.css b/static/css/s2.css index 51b1c8a400..eed29d0852 100644 --- a/static/css/s2.css +++ b/static/css/s2.css @@ -294,7 +294,6 @@ body, .sans-serif { } body, .en, .int-en { - font-size: 18px; --is-hebrew: initial; /* false */ }