Skip to content

Conversation

@mnaoumov
Copy link
Contributor

No description provided.

// main.ts
import { t } from './i18n.ts';

new Notice(t('some.key'));
Copy link
Contributor

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

Copy link
Contributor

@Fevol Fevol Jan 7, 2026

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

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.

3 participants