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

docs(frontend): update t() docstring #5510

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

docs(frontend): update t() docstring #5510

wants to merge 3 commits into from

Conversation

Akuukis
Copy link
Contributor

@Akuukis Akuukis commented Feb 11, 2025

💭 Notes

See internal discussion.

@Akuukis Akuukis self-assigned this Feb 11, 2025
@@ -1,4 +1,14 @@
/** Please pass only static strings and don't use concatenating (`+`). */
/**
* Translated text. Please search for duplicates before adding a new text. Examples:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicates are fine as the meaning can change drastically depending on the context

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like this?

For similar source text segments, aim for consistent phrasing to facilitate reuse of existing translations.
Examples:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants