Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linebyline translations in Russian #2381

Open
o28o opened this issue Apr 9, 2023 · 9 comments
Open

Linebyline translations in Russian #2381

o28o opened this issue Apr 9, 2023 · 9 comments

Comments

@o28o
Copy link
Collaborator

o28o commented Apr 9, 2023

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

@ccronje
Copy link
Collaborator

ccronje commented Apr 9, 2023

@o28o
Copy link
Collaborator Author

o28o commented Apr 11, 2023

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"

@sujato
Copy link
Contributor

sujato commented Apr 11, 2023

Added with this commit:

ce429d7

@o28o
Copy link
Collaborator Author

o28o commented Apr 11, 2023

That's so great. Thank you🙏🤗🙏

@o28o
Copy link
Collaborator Author

o28o commented Apr 21, 2023

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

@sujato
Copy link
Contributor

sujato commented Apr 27, 2023

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

@o28o
Copy link
Collaborator Author

o28o commented Apr 28, 2023

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
Copy link
Collaborator Author

o28o commented May 1, 2023

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

@ccronje
Copy link
Collaborator

ccronje commented May 4, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants