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

- Add missing translations to account/users & signin routes #300

Merged
merged 2 commits into from
Apr 27, 2024

Conversation

bjarneo
Copy link
Member

@bjarneo bjarneo commented Apr 27, 2024

Thank you, @ltguillaume
This PR includes commits from this: #299

Copilot

This pull request primarily focuses on internationalization (i18n) improvements in the client/routes/account/users.jsx and client/routes/signin/index.jsx files, and the corresponding translations in public/locales/en/translation.json and public/locales/nl/translation.json. The changes involve replacing hard-coded strings with calls to the translation function t(), which will allow for easier localization of the application in different languages.

Internationalization improvements:

  • client/routes/account/users.jsx: Replaced hard-coded strings in the Users function with calls to the translation function t(). This includes strings in the openDeleteModal, error message, input labels and placeholders, and table headers. [1] [2] [3] [4]
  • client/routes/signin/index.jsx: Replaced the hard-coded error message in the SignIn function with a call to the translation function t().

Translation changes:

Copy link

sonarcloud bot commented Apr 27, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@bjarneo bjarneo merged commit 787bc40 into main Apr 27, 2024
6 checks passed
@bjarneo bjarneo deleted the translations branch April 27, 2024 07:09
bjarneo added a commit that referenced this pull request Jun 8, 2024
* - Add missing translations to account/users & signin routes
- Fix signin.signin in English & Dutch

* chore: make things work as expected

---------

Co-authored-by: ltguillaume <ltguillaume@users.noreply.github.com>
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