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

[ENG-6950] Update withdraw modal language #2474

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/preprints/-components/withdrawal-preprint/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,28 +89,28 @@ export default class WithdrawalComponent extends Component<WithdrawalModalArgs>
) {
return this.intl.t('preprints.submit.action-flow.pre-moderation-notice-pending',
{
singularPreprintWord: this.args.provider.documentType.singularCapitalized,
singularPreprintWord: this.args.provider.documentType.singular,
htmlSafe: true,
}) as SafeString;
} else if (this.args.provider.reviewsWorkflow === PreprintProviderReviewsWorkFlow.PRE_MODERATION
) {
return this.intl.t('preprints.submit.action-flow.pre-moderation-notice-accepted',
{
singularPreprintWord: this.args.provider.documentType.singularCapitalized,
singularPreprintWord: this.args.provider.documentType.singular,
pluralCapitalizedPreprintWord: this.args.provider.documentType.pluralCapitalized,
htmlSafe: true,
}) as SafeString;
} else if (this.args.provider.reviewsWorkflow === PreprintProviderReviewsWorkFlow.POST_MODERATION) {
return this.intl.t('preprints.submit.action-flow.post-moderation-notice',
{
singularPreprintWord: this.args.provider.documentType.singularCapitalized,
singularPreprintWord: this.args.provider.documentType.singular,
pluralCapitalizedPreprintWord: this.args.provider.documentType.pluralCapitalized,
htmlSafe: true,
}) as SafeString;
} else {
return this.intl.t('preprints.submit.action-flow.no-moderation-notice',
{
singularPreprintWord: this.args.provider.documentType.singularCapitalized,
singularPreprintWord: this.args.provider.documentType.singular,
pluralCapitalizedPreprintWord: this.args.provider.documentType.pluralCapitalized,
supportEmail,
htmlSafe: true,
Expand Down
7 changes: 6 additions & 1 deletion app/preprints/-components/withdrawal-preprint/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
data-test-dialog-body
>
<div local-class='explanation-container'>
{{this.modalExplanation}}
<p>
{{t 'preprints.submit.action-flow.withdrawal-explanation' [email protected]}}
</p>
<p>
{{this.modalExplanation}}
</p>
</div>
<div local-class='form-container'>
<FormControls
Expand Down
10 changes: 5 additions & 5 deletions translations/en-us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1398,11 +1398,11 @@ preprints:
error-withdrawal: 'Error withdrawing the {singularPreprintWord}.'
next: 'Next'
next-disabled-tooltip: 'Fill in "Required *" fields to continue'
no-moderation-notice: '<strong>{pluralCapitalizedPreprintWord} are a permanent part of the scholarly record. Withdrawal requests are subject to this service’s policy on {singularPreprintWord} removal and at the discretion of the moderators.</strong><br>This request will be submitted to
<a href="mailto:{supportEmail}" target="_blank">{supportEmail}</a> for review and removal. If the request is approved, this {singularPreprintWord} will be replaced by a tombstone page with metadata and the reason for withdrawal. This {singularPreprintWord} will still be searchable by other users after removal.'
post-moderation-notice: '<strong>{pluralCapitalizedPreprintWord} are a permanent part of the scholarly record. Withdrawal requests are subject to this service’s policy on {singularPreprintWord} removal and at the discretion of the moderators.</strong><br>This service uses post-moderation. This request will be submitted to service moderators for review. If the request is approved, this {singularPreprintWord} will be replaced by a tombstone page with metadata and the reason for withdrawal. This {singularPreprintWord} will still be searchable by other users after removal.'
pre-moderation-notice-accepted: '<strong>{pluralCapitalizedPreprintWord} are a permanent part of the scholarly record. Withdrawal requests are subject to this service’s policy on {singularPreprintWord} removal and at the discretion of the moderators.</strong><br>This service uses pre-moderation. This request will be submitted to service moderators for review. If the request is approved, this {singularPreprintWord} will be replaced by a tombstone page with metadata and the reason for withdrawal. This {singularPreprintWord} will still be searchable by other users after removal.'
pre-moderation-notice-pending: 'Your {singularPreprintWord} is still pending approval and thus private, but can be withdrawn immediately. If you wish to provide a reason for withdrawal, it will be displayed only to service moderators. Once withdrawn, your preprint will never be made public.'
withdrawal-explanation: 'You are about to withdraw this version of your {singularPreprintWord}. Withdrawing a version will remove it from public view but will not affect other versions of this {singularPreprintWord}, if available.'
no-moderation-notice: '<strong>{pluralCapitalizedPreprintWord} are a permanent part of the scholarly record. Withdrawal requests are subject to this service’s policy on {singularPreprintWord} version removal and at the discretion of the moderators.</strong><br>This request will be submitted to <a href="mailto:{supportEmail}" target="_blank">{supportEmail}</a> for review and removal. If the request is approved, this {singularPreprintWord} version will be replaced by a tombstone page with metadata and the reason for withdrawal. This {singularPreprintWord} version will still be searchable by other users after removal.'
post-moderation-notice: '<strong>{pluralCapitalizedPreprintWord} are a permanent part of the scholarly record. Withdrawal requests are subject to this service’s policy on {singularPreprintWord} version removal and at the discretion of the moderators.</strong><br>This service uses post-moderation. This request will be submitted to service moderators for review. If the request is approved, this {singularPreprintWord} version will be replaced by a tombstone page with metadata and the reason for withdrawal. This {singularPreprintWord} version will still be searchable by other users after removal.'
pre-moderation-notice-accepted: '<strong>{pluralCapitalizedPreprintWord} are a permanent part of the scholarly record. Withdrawal requests are subject to this service’s policy on {singularPreprintWord} version removal and at the discretion of the moderators.</strong><br>This service uses pre-moderation. This request will be submitted to service moderators for review. If the request is approved, this {singularPreprintWord} version will be replaced by a tombstone page with metadata and the reason for withdrawal. This {singularPreprintWord} version will still be searchable by other users after removal.'
pre-moderation-notice-pending: 'Since this version is still pending approval and private, it can be withdrawn immediately. The reason of withdrawal will be visible to service moderators. Once withdrawn, the {singularPreprintWord} will remain private and never be made public.'
save-before-exit: 'Unsaved changes present. Are you sure you want to leave this page?'
success: '{singularPreprintWord} saved.'
success-withdrawal: 'Your {singularCapitalizedPreprintWord} has been successfully withdrawn.'
Expand Down
Loading