-
Notifications
You must be signed in to change notification settings - Fork 142
docs: add Language section #205
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
base: main
Are you sure you want to change the base?
Conversation
| // main.ts | ||
| import { t } from './i18n.ts'; | ||
|
|
||
| new Notice(t('some.key')); |
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.
one thing we need to check for this, who actually wrote this code first and what's the license
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 think this is too ubiquitous to fall under any license, doing a quick code search reveals hundreds of other repositories, all using a similar implementation - it is reasonable to assume that some were independently written: https://sourcegraph.com/search?q=context:global+%22export+function+t%28%22&patternType=keyword&sm=0
No description provided.