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

Remove duplicate i18n messages #828

Open
matthew-white opened this issue Dec 8, 2024 · 0 comments
Open

Remove duplicate i18n messages #828

matthew-white opened this issue Dec 8, 2024 · 0 comments
Labels
frontend Requires a change to the UI i18n Internationalization

Comments

@matthew-white
Copy link
Member

It looks like there are a few i18n messages in Frontend that are pure duplicates: they not only have the same text, but they also appear in similar grammatical and typographical contexts. It'd be good to remove these duplicates, because each will be translated separately in Transifex. That results in more work for translators.

We have a script that lists possible duplicates:

Output from bin/transifex/list-duplicates.js
"Reset Password"
Transifex keys:
- title.resetPassword
- component.UserResetPassword.title

"Give Access"
Transifex keys:
- audit.action.field_key.assignment_create
- audit.action.public_link.assignment_create

"Remove Access"
Transifex keys:
- audit.action.field_key.assignment_delete
- audit.action.public_link.assignment_delete

"Upload Files"
Transifex keys:
- component.FormAttachmentPopups.title
- component.FormAttachmentUploadFiles.title

"The Form “{name}” was deleted."
Transifex keys:
- component.FormDraftStatus.alert.delete
- component.FormSettings.alert.delete

"There are no Forms to show."
Transifex keys:
- component.FormList.emptyTable
- component.ProjectFormAccess.emptyTable

"Basic Details"
Transifex keys:
- component.ProjectEdit.title
- component.UserEditBasicDetails.title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Requires a change to the UI i18n Internationalization
Projects
None yet
Development

No branches or pull requests

1 participant