bilara-data icon indicating copy to clipboard operation
bilara-data copied to clipboard

Linebyline translations in Russian

Open o28o opened this issue 1 year ago • 9 comments

Good day once again venerable @sujato

Unfortunately github doesn't allow to attach json format files.

But here is a link to these files in fdg repo

https://github.com/o28o/fdg/tree/main/assets/texts/sutta/mn

o28o avatar Apr 09 '23 01:04 o28o

Reference: https://discourse.suttacentral.net/t/line-by-line-translations-in-russian/28757

ccronje avatar Apr 09 '23 05:04 ccronje

Good day.

I got confirmation from Russian translator. That they are aware about cc0 and line by line translations can be published.

If it is possible can you show translators name not like "SV" but "SV theravada.ru"

o28o avatar Apr 11 '23 05:04 o28o

Added with this commit:

https://github.com/suttacentral/bilara-data/commit/ce429d776e43e790341316add2f54618fe1151b6

sujato avatar Apr 11 '23 07:04 sujato

That's so great. Thank you🙏🤗🙏

o28o avatar Apr 11 '23 07:04 o28o

Good day venerable @sujato and @ccronje

We have some more suttas from mn ready.

Can I try to upload them myself of we need to do like the last time?

Updates are here https://github.com/o28o/fdg/tree/main/assets%2Ftexts%2Fsutta%2Fmn

o28o avatar Apr 21 '23 23:04 o28o

You have write access to the Bilara-data repo, so you can simply add the texts as they become ready.

We basically have two branches, unpublished and published. Normally we work with unpublished on Bilara, then push to published, which will make them available for the website. In fact, it seems I forgot to do this, hence the delay in making them live. I have done it now, so they should update within a few days.

For adding texts manually to bilara-data, here's what to do. We will add files to both branches so that they stay in sync.

I assume you have git installed locally? If not, let me know! The following should work, hopefully.

  • cd bilara-data
  • git checkout unpublished
  • git pull
  • add files locally
  • git commit -a -m "such and such files added"
  • git push
  • git checkout published
  • git pull
  • EITHER add files locally OR git checkout unpublished translation/ru/sv/sutta/mn (adjust path as needed)
  • git commit -a -m "such and such files added"
  • git push

sujato avatar Apr 27 '23 22:04 sujato

Good day venerable @sujato and @ccronje

Great. Thank you so much. Waiting when 1st portion will appear online and I'll figure out how to add new.

By the way I use sc-data as a master but i saw that its depreciated should I switch to bilara-data instead? (Only Pali, English, Thai and Russian html involved in my case) and I still get updates e.g. SV mn translation in sc-data

o28o avatar Apr 28 '23 01:04 o28o

Good day venerable @sujato and @ccronje

Hope you're doing well.

I've tried to upload new mn suttas via command line and via github web.

In both cases I get an error that my user is not authorized to push to this branch. I have only one user o28o ([email protected]). Could you please check do it really has access?

.../sutta/mn $ git push
Enumerating objects: 26, done.
Counting objects: 100% (26/26), done.
Delta compression using up to 8 threads
Compressing objects: 100% (18/18), done.
Writing objects: 100% (20/20), 57.91 KiB | 651.00 KiB/s, done.
Total 20 (delta 2), reused 0 (delta 0), pack-reused 0

remote: Resolving deltas: 100% (2/2), completed with 2 local objects
remote: error: GH006: Protected branch update failed for refs/heads/unpublished.
**remote: error: You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information.
To github.com:suttacentral/bilara-data
 ! [remote rejected]         unpublished -> unpublished (protected branch hook declined)**
error: failed to push some refs to 'github.com:suttacentral/bilara-data'

Small update. I've tried the same against the published branch. Same result. Unauthorized

o28o avatar May 01 '23 02:05 o28o

Thread continued https://discourse.suttacentral.net/t/re-line-by-line-russian-translations/28815/12

ccronje avatar May 04 '23 21:05 ccronje