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

Add support for Japanese subject #107

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

FlechaMaker
Copy link

  • 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 (.+)$`,
Copy link
Owner

@bzz bzz Sep 9, 2023

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.

Copy link
Author

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.

@bzz
Copy link
Owner

bzz commented Sep 9, 2023

Thank you so much for sharing the improvements! 🙇
Apologies for totally missing it due to vacations and work that, recently, involved less research & paper reading.

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.

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

Successfully merging this pull request may close these issues.

2 participants