mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:33:27 +00:00
Translations for the new link-sharin (token access) feature
This commit is contained in:
parent
490ccc6051
commit
ee29cb45d2
1 changed files with 11 additions and 10 deletions
|
@ -12,29 +12,30 @@ script(type='text/ng-template', id='shareProjectModalTemplate')
|
|||
//- Private
|
||||
.row.public-access-level(ng-show="project.publicAccesLevel == 'private'")
|
||||
.col-xs-12.text-center
|
||||
| Link-sharing is off, only invited users can view this project.
|
||||
| #{translate('link_sharing_is_off')}.
|
||||
|
|
||||
a(
|
||||
href
|
||||
ng-click="openMakeTokenBasedModal()"
|
||||
) Turn on link-sharing
|
||||
) #{translate('turn_on_link_sharing')}
|
||||
|
||||
//- Token-based access
|
||||
.row.public-access-level(ng-show="project.publicAccesLevel == 'tokenBased'")
|
||||
.col-xs-12.text-center
|
||||
strong
|
||||
| Link-sharing is on.
|
||||
| #{translate('link_sharing_is_on')}.
|
||||
|
|
||||
a(
|
||||
href
|
||||
ng-click="openMakePrivateModal()"
|
||||
) Turn off link-sharing
|
||||
) #{translate('turn_off_link_sharing')}
|
||||
|
||||
.col-xs-12.access-token-display-area
|
||||
div.access-token-wrapper
|
||||
strong Anyone with this link can edit this project
|
||||
strong #{translate('anyone_with_link_can_edit')}
|
||||
pre.access-token {{ getReadAndWriteTokenLink() }}
|
||||
div.access-token-wrapper
|
||||
strong Anyone with this link can access this project
|
||||
strong #{translate('anyone_with_link_can_view')}
|
||||
pre.access-token {{ getReadOnlyTokenLink() }}
|
||||
|
||||
//- legacy public-access
|
||||
|
@ -212,14 +213,14 @@ script(type="text/ng-template", id="makeTokenBasedModalTemplate")
|
|||
) ×
|
||||
h3 Enable link-sharing?
|
||||
.modal-body.modal-body-share
|
||||
p When link-sharing is enabled, anyone with the relevant link will be able to access this project
|
||||
p #{translate('turn_on_link_sharing_consequences')}
|
||||
.modal-footer
|
||||
button.btn.btn-default(
|
||||
ng-click="cancel()"
|
||||
) #{translate("cancel")}
|
||||
button.btn.btn-info(
|
||||
ng-click="makeTokenBased()"
|
||||
) Enable Link-Sharing
|
||||
) #{translate('turn_on_link_sharing')}
|
||||
|
||||
script(type="text/ng-template", id="makePrivateModalTemplate")
|
||||
.modal-header
|
||||
|
@ -230,14 +231,14 @@ script(type="text/ng-template", id="makePrivateModalTemplate")
|
|||
) ×
|
||||
h3 #{translate("make_project_private")}?
|
||||
.modal-body.modal-body-share
|
||||
p #{translate("make_project_private_consequences")}
|
||||
p #{translate('turn_off_link_sharing_consequences')}
|
||||
.modal-footer
|
||||
button.btn.btn-default(
|
||||
ng-click="cancel()"
|
||||
) #{translate("cancel")}
|
||||
button.btn.btn-info(
|
||||
ng-click="makePrivate()"
|
||||
) #{translate("make_private")}
|
||||
) #{translate("turn_off_link_sharing")}
|
||||
|
||||
script(type="text/ng-template", id="shareTagTemplate")
|
||||
.tag-template
|
||||
|
|
Loading…
Reference in a new issue