Repository navigation
fix: missing translations for share roles - #10695
Conversation
Share role labels and descriptions are now coming from the server, hence we need to wrap them manually via `gettext` in our additional translations for them to appear in Transifex.
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
|
kulmann
left a comment
There was a problem hiding this comment.
Why are those not translated by the backend already? We're sending the Accept-Language header... so I'd expect the translations to be in place in the first iteration already. Maybe just not translated in transifex, yet?
There haven't been talks yet about how we want to handle translations, currently the server just sends those strings in English. I already added this to the list of open questions in #10418. For now we need this solution I'm afraid. |
| shareRoleDescriptionFileEditor: $gettext('View, download and edit.'), | ||
| shareRoleDescriptionUploader: $gettext('View, download and upload.'), | ||
| shareRoleDescriptionManager: $gettext( | ||
| 'View, download, upload, edit, add, delete and manage members.' |
There was a problem hiding this comment.
This one sounds like a list of things you can do regarding space members. 😆 but I guess this is not the place to discuss wording.



Description
Share role labels and descriptions are now coming from the server, hence we need to wrap them manually via
gettextin our additional translations for them to appear in Transifex (as least for now until we have a better way of handling this).Related Issue
Types of changes