Sefaria / Sefaria-Mobile

Sefaria for iOS and Android
http://www.sefaria.org
32 stars 20 forks source link

Translations #112

Closed YishaiGlasner closed 5 months ago

YishaiGlasner commented 6 months ago

Make version choosing more compatible to web:

  1. functions for offline and online getting translations from api-v3.
  2. In the AboutBox: show alternate source versions, show versions details similar web.
  3. In the translations box: show only translations, show the content of the translation rather than its versionTitle, show versions details similar web - that's done with a new component VersionBlockWithPreview.
  4. In VersionBlock.js: New component VersionBlockHeader, VersionMetadata, and LinkWithKey for the use of both old VersionBlock and new VersionBlockWithPreview. New functions useVersionTitle and useTextAlign.
  5. Refactor openActionSheet and tempOpenRef from TextList to Misc.js so VersionBlock can use it.
  6. Garbage cleanup.