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

Support for Ruby Characters #147

Open
ditmarvisser opened this issue Jul 17, 2023 · 2 comments
Open

Support for Ruby Characters #147

ditmarvisser opened this issue Jul 17, 2023 · 2 comments
Labels
kind/enhancement New feature or request

Comments

@ditmarvisser
Copy link

In asian scripts like Japanese or Chinese there is a concept of Ruby Characters, annotative characters which accompany complex characters. In Japanese these are known as Furigana, and in Chinese as Bopomofo.

Vocascan could benefit from displaying these characters in the right way. Modern browsers all support Ruby Characters, and if they don't there is a fallback available.

I have made the functionality already for the Vocab Cards.
image

I do not have permission to make a branch right now. If I can be given that permission then I will share my code.

The Ruby Characters need to be entered in the database in a standard format. Use [] to enclose the base characters, and {} to encase the Ruby characters.
image

This is then parsed to create the appropriate HTML tags.
image

@Tracer1337
Copy link
Member

Dear ditmarvisser,

Thank you for bringing up the concept of Ruby Characters in Asian scripts and how it could benefit Vocascan. We appreciate your effort in developing the functionality for Vocab Cards.

To contribute your code, we recommend following the standard procedure of creating a Pull Request (PR) via forking the repository. By forking the repository, you can make changes to your own copy of the code and then propose those changes to be merged into the original repository.

Here's a step-by-step guide to submitting a Pull Request:

  1. Fork the repository to your own GitHub account.
  2. Clone the forked repository to your local machine.
  3. Create a new branch in your forked repository to work on the feature or enhancement.
  4. Implement your changes, including the functionality for displaying Ruby Characters.
  5. Commit and push your changes to the branch in your forked repository.
  6. Visit the original repository and navigate to the "Pull Requests" tab.
  7. Click on "New pull request" and select your forked repository and branch.
  8. Provide a clear and descriptive title and description for your pull request, outlining the changes you've made.
  9. Submit the pull request.

Once your Pull Request is submitted, the repository maintainers will review your changes and provide feedback or merge them into the main repository if they are deemed appropriate.

We look forward to reviewing your code contribution and appreciate your interest in improving Vocascan.

Best regards,
Merlin

@luwol03 luwol03 added the kind/enhancement New feature or request label Jul 17, 2023
@ditmarvisser
Copy link
Author

The PR is available with a couple questions: #148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants