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

Find new X expressions when looking for translation functions #6

Merged

Conversation

MadLittleMods
Copy link
Contributor

@MadLittleMods MadLittleMods commented Mar 24, 2023

Find new X expressions when looking for translation functions

Needed for matrix-org/matrix-react-sdk#10440

new UserFriendlyError("This email address is already in use" , { cause: err });

Dev notes

Needed for matrix-org/matrix-react-sdk#10440
```
new UserFriendlyError("This email address is already in use" , { cause: err });
```
@MadLittleMods MadLittleMods requested a review from a team as a code owner March 24, 2023 06:16
@MadLittleMods MadLittleMods changed the title Find new expressions when looking for translation functions Find new X expressions when looking for translation functions Mar 24, 2023
@MadLittleMods MadLittleMods merged commit 8027824 into matrix-org:main Mar 24, 2023
@MadLittleMods
Copy link
Contributor Author

Thanks for the review @t3chguy!

How are releases managed in this project?

@MadLittleMods
Copy link
Contributor Author

https://github.com/matrix-org/matrix-web-i18n/actions/workflows/release.yaml

Thanks for pointing it out! It looks like a manual CI run.

I've done Run workflow -> minor which created https://github.com/matrix-org/matrix-web-i18n/actions/runs/4535122363 after a bit which made v1.4.0 🚀

MadLittleMods added a commit to matrix-org/matrix-react-sdk that referenced this pull request Mar 27, 2023
Includes changes to find `new UserFriendlyError`,
see matrix-org/matrix-web-i18n#6
t3chguy pushed a commit to matrix-org/matrix-react-sdk that referenced this pull request Mar 31, 2023
* Introduce UserFriendlyError

* Replace newTranslatableError with UserFriendlyError

* Remove ITranslatableError

* Fix up some strict lints

* Document when we/why we can remove

* Update matrix-web-i18n

Includes changes to find `new UserFriendlyError`,
see matrix-org/matrix-web-i18n#6

* Include room ID in error

* Translate fallback error

* Translate better

* Update i18n strings

* Better re-use

* Minor comment fixes
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