getodk / getodk/central

Remove duplicate i18n messages

Open
#828 0 comments 0 reactions 0 assignees View on GitHub
frontend
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.