-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add support for Japanese subject #107
base: master
Are you sure you want to change the base?
Conversation
FlechaMaker
commented
Jul 2, 2023
- Add Japanese subject format
- Fix citation alert normalization to support the subject with number of citation
- Add test case for Japanese alert (My Google account receives ".com.au" links in Japanese alert, so I also added ".com.au" to the test case.)
} | ||
citations = subjFormat{ | ||
": новые ссылки", "new citations", | ||
": новые ссылки", `^(?:(.+) さん|(自分))の論文からの引用: \d+ 件$`, `^\d+ new citations? to articles by (.+)$`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if the first one also needs to be updated with a regex for a number - I'll check that before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the check! I don't have knowledge and testing environment for the language, so the update will be fine.
Thank you so much for sharing the improvements! 🙇 Overall it looks great, but if you don't mind - I'm going to add the CI first so we could use this to test it. |