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:
public/locales/en/translation.json: Added translations for the strings used in client/routes/account/users.jsx and client/routes/signin/index.jsx, and made minor corrections to existing translations. [1][2][3][4]
Thank you, @ltguillaume This PR includes commits from this: https://github.com/HemmeligOrg/Hemmelig.app/pull/299
Copilot
This pull request primarily focuses on internationalization (i18n) improvements in the
client/routes/account/users.jsx
andclient/routes/signin/index.jsx
files, and the corresponding translations inpublic/locales/en/translation.json
andpublic/locales/nl/translation.json
. The changes involve replacing hard-coded strings with calls to the translation functiont()
, which will allow for easier localization of the application in different languages.Internationalization improvements:
client/routes/account/users.jsx
: Replaced hard-coded strings in theUsers
function with calls to the translation functiont()
. This includes strings in theopenDeleteModal
, 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 theSignIn
function with a call to the translation functiont()
.Translation changes:
public/locales/en/translation.json
: Added translations for the strings used inclient/routes/account/users.jsx
andclient/routes/signin/index.jsx
, and made minor corrections to existing translations. [1] [2] [3] [4]public/locales/nl/translation.json
: Made similar changes as in the English translations, and also improved some existing Dutch translations. [1] [2] [3] [4] [5]