Skip to content

Commit

Permalink
add privacy statement as param in language files
Browse files Browse the repository at this point in the history
  • Loading branch information
ipula committed Oct 31, 2024
1 parent b285158 commit bb29abc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion public/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ window.pkp = {
'acceptInvitation.modal.message':'Congratulations on your new role in OJS! You might now have access to new options. If you need assistance navigating the system, please click on the “Help” buttons throughout the interface for guidance',
'acceptInvitation.modal.button':'View All Submissions',
'acceptInvitation.privacyStatement.btn':'Privacy Statement',
'acceptInvitation.privacyStatement.label':'Yes, I agree to have my data collected and stored according to the',
'acceptInvitation.privacyStatement.label':'Yes, I agree to have my data collected and stored according to the {$url}',
'invitation.cancel': 'Cancel Invite',
'invitation.inviteToRole.btn': 'Invite to a role',
'invitation.header': 'Invitation',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,9 @@ const {pageUrl} = useUrl('about/privacy');
const options = [
{
value: true,
label:
t('acceptInvitation.privacyStatement.label') +
' <a href=' +
pageUrl.value +
'>' +
t('acceptInvitation.privacyStatement.btn') +
'</a> ',
label: t('acceptInvitation.privacyStatement.label', {
url: `<a href='${pageUrl.value}'>${t('acceptInvitation.privacyStatement.btn')}</a>`,
}),
},
];
const store = useAcceptInvitationPageStore();
Expand Down

0 comments on commit bb29abc

Please sign in to comment.