Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

fix: missing translations for share roles - #10695

Merged
JammingBen merged 1 commit into
masterfrom
share-role-translations
Apr 2, 2024
Merged

JammingBen merged 1 commit into
masterfrom
share-role-translations

Conversation

@JammingBen

Copy link
Copy Markdown
Contributor

Description

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 (as least for now until we have a better way of handling this).

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

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.
@JammingBen JammingBen self-assigned this Apr 2, 2024
@update-docs

update-docs Bot commented Apr 2, 2024

Copy link
Copy Markdown

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.

@JammingBen JammingBen mentioned this pull request Apr 2, 2024
30 of 40 tasks
@sonarqubecloud

sonarqubecloud Bot commented Apr 2, 2024

Copy link
Copy Markdown

@JammingBen
JammingBen requested a review from kulmann April 2, 2024 12:19

@kulmann kulmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@JammingBen

Copy link
Copy Markdown
Contributor Author

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.'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@JammingBen
JammingBen merged commit 48f75d7 into master Apr 2, 2024
@delete-merged-branch
delete-merged-branch Bot deleted the share-role-translations branch April 2, 2024 14:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants