"Submit for review" button translation (#4381)

* "Submit for review" button translation

* Fix invitation message in the code

* Run web:fix

* Run intl:extract

---------

Co-authored-by: Calum H. <contact@cal.engineer>
This commit is contained in:
Jerozgen
2025-09-25 12:31:41 +03:00
committed by GitHub
parent e6edf07eae
commit 5c00cb06f1
3 changed files with 11 additions and 3 deletions

View File

@@ -87,7 +87,8 @@ const messages = defineMessages({
}, },
invitationWithRole: { invitationWithRole: {
id: 'project-member-header.invitation-with-role', id: 'project-member-header.invitation-with-role',
defaultMessage: "You've been invited be a member of this project with the role of '{role}'.", defaultMessage:
"You've been invited to be a member of this project with the role of ''{role}''.",
}, },
invitationNoRole: { invitationNoRole: {
id: 'project-member-header.invitation-no-role', id: 'project-member-header.invitation-no-role',

View File

@@ -69,7 +69,7 @@
:disabled="!canSubmitForReview" :disabled="!canSubmitForReview"
> >
<SendIcon /> <SendIcon />
{{ getFormattedMessage(messages.submitForReview) }} {{ getFormattedMessage(messages.submitForReviewButton) }}
</button> </button>
</ButtonStyled> </ButtonStyled>
</div> </div>
@@ -128,6 +128,10 @@ const messages = defineMessages({
defaultMessage: defaultMessage:
'Your project is only viewable by members of the project. It must be reviewed by moderators in order to be published.', 'Your project is only viewable by members of the project. It must be reviewed by moderators in order to be published.',
}, },
submitForReviewButton: {
id: 'project-moderation-nags.submit-for-review-button',
defaultMessage: 'Submit for review',
},
resubmitForReview: { resubmitForReview: {
id: 'project-moderation-nags.resubmit-for-review', id: 'project-moderation-nags.resubmit-for-review',
defaultMessage: 'Resubmit for review', defaultMessage: 'Resubmit for review',

View File

@@ -1026,7 +1026,7 @@
"message": "Invitation to join project" "message": "Invitation to join project"
}, },
"project-member-header.invitation-with-role": { "project-member-header.invitation-with-role": {
"message": "You've been invited be a member of this project with the role of '{role}'." "message": "You've been invited to be a member of this project with the role of ''{role}''."
}, },
"project-member-header.success": { "project-member-header.success": {
"message": "Success" "message": "Success"
@@ -1055,6 +1055,9 @@
"project-moderation-nags.submit-for-review": { "project-moderation-nags.submit-for-review": {
"message": "Submit for review" "message": "Submit for review"
}, },
"project-moderation-nags.submit-for-review-button": {
"message": "Submit for review"
},
"project-moderation-nags.submit-for-review-desc": { "project-moderation-nags.submit-for-review-desc": {
"message": "Your project is only viewable by members of the project. It must be reviewed by moderators in order to be published." "message": "Your project is only viewable by members of the project. It must be reviewed by moderators in order to be published."
}, },