From 33f91fbf74b5d21cf7363f5e1a901572c14a866b Mon Sep 17 00:00:00 2001 From: lobsam Date: Wed, 12 Feb 2025 10:58:44 +0530 Subject: [PATCH] added localization --- static/img/translation.svg | 31 ++++++++++++++++--- static/js/LayoutButtons.jsx | 2 +- static/js/Misc.jsx | 2 +- static/js/SourceTranslationsButtons.jsx | 7 +++-- .../sefaria/localizationLanguage/chinese.json | 3 ++ .../sefaria/localizationLanguage/english.json | 3 ++ .../sefaria/localizationLanguage/tibetan.json | 3 ++ 7 files changed, 42 insertions(+), 9 deletions(-) diff --git a/static/img/translation.svg b/static/img/translation.svg index d543bfec55..8d2ab66e60 100644 --- a/static/img/translation.svg +++ b/static/img/translation.svg @@ -1,4 +1,27 @@ - - - - + + + + diff --git a/static/js/LayoutButtons.jsx b/static/js/LayoutButtons.jsx index 01820de740..acd070c7e2 100644 --- a/static/js/LayoutButtons.jsx +++ b/static/js/LayoutButtons.jsx @@ -54,7 +54,7 @@ const LayoutButtons = () => { const layoutState = calculateLayoutState(language, textsData, panelMode); return (
- Layout + text.reader_option_menu.layout
{layoutOptions[layoutState].map((option, index) => { > - Font Size + text.reader_option_menu.font_size