-
Notifications
You must be signed in to change notification settings - Fork 13
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 the localize
function for the type UI.
#27
Conversation
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.
Thanks for the patch!
It looks good, my comments are just some minor nits. Also, please clang-format the patch so it passes CI, and then it should be good to merge.
Finish. Thanks for your careful review. |
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.
Thanks!
Maybe we need to release a new version so that we can install it for vscode-clangd and coc-clangd? |
Yes, makes sense. Please feel free to create a PR which bumps the version in package.json. |
I am implementing l10n support in vscode-clangd. However, I discovered that we are unable to localize the messages sent by node-clang. Thanks to @HighCommander4 suggestion, I have now add the "localize" function for the type UI. This function allows us to localize the messages sent by node-clang.
I will add the localize impl for coc-clangd, after the npm package is published,
Refer: clangd/vscode-clangd#560 (comment)