mirror of
https://github.com/documize/community.git
synced 2025-08-03 04:25:25 +02:00
i18n admin strings
This commit is contained in:
parent
479d03ba70
commit
29447a2784
4 changed files with 73 additions and 47 deletions
|
@ -1,5 +1,5 @@
|
|||
{{#if spaces}}
|
||||
{{ui/ui-button color=constants.Color.Yellow light=true icon=constants.Icon.Export label="Export All Content" onClick=(action "onExport")}}
|
||||
{{ui/ui-button color=constants.Color.Yellow light=true icon=constants.Icon.Export label=(localize 'space_admin_export') onClick=(action "onExport")}}
|
||||
<Ui::UiSpacer @size="300" />
|
||||
|
||||
<div class="view-customize">
|
||||
|
@ -10,22 +10,22 @@
|
|||
{{#link-to "folder.index" space.id space.slug}}
|
||||
<div class="name">
|
||||
{{#if (eq space.spaceType constants.SpaceType.Public)}}
|
||||
<i class={{concat "dicon " constants.Icon.World}} title="Public space" />
|
||||
<i class={{concat "dicon " constants.Icon.World}} title={{localize 'public'}} />
|
||||
{{/if}}
|
||||
{{#if (eq space.spaceType constants.SpaceType.Protected)}}
|
||||
<i class={{concat "dicon " constants.Icon.People}} title="Protected space" />
|
||||
<i class={{concat "dicon " constants.Icon.People}} title={{localize 'protected'}} />
|
||||
{{/if}}
|
||||
{{#if (eq space.spaceType constants.SpaceType.Private)}}
|
||||
<i class={{concat "dicon " constants.Icon.Person}} title="Personal space" />
|
||||
<i class={{concat "dicon " constants.Icon.Person}} title={{localize 'personal'}} />
|
||||
{{/if}}
|
||||
{{space.name}}
|
||||
</div>
|
||||
<div class="desc">Some description that is to be wired up to the backend</div>
|
||||
<div class="desc">{{space.desc}}</div>
|
||||
{{/link-to}}
|
||||
<Ui::UiSpacer @size="200" />
|
||||
{{#ui/ui-toolbar dark=false light=true raised=true large=false bordered=true}}
|
||||
{{ui/ui-toolbar-icon icon=constants.Icon.AddUser color=constants.Color.Green tooltip="Add myself as owner" onClick=(action "onOwner" space.id)}}
|
||||
{{ui/ui-toolbar-icon icon=constants.Icon.Delete color=constants.Color.Red tooltip="Delete space" onClick=(action "onShow" space.id)}}
|
||||
{{ui/ui-toolbar-icon icon=constants.Icon.AddUser color=constants.Color.Green tooltip=(localize 'space_admin_make_owner') onClick=(action "onOwner" space.id)}}
|
||||
{{ui/ui-toolbar-icon icon=constants.Icon.Delete color=constants.Color.Red tooltip=(localize 'space_admin_delete') onClick=(action "onShow" space.id)}}
|
||||
{{/ui/ui-toolbar}}
|
||||
</div>
|
||||
</li>
|
||||
|
@ -36,14 +36,14 @@
|
|||
<div id="space-delete-modal" class="modal" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">Space Deletion</div>
|
||||
<div class="modal-header">{{localize 'space_admin_delete_title'}}</div>
|
||||
<div class="modal-body">
|
||||
<form onsubmit={{action "onDelete"}}>
|
||||
<p>Are you sure you want to delete this space and all documents?</p>
|
||||
<p>{{localize 'space_admin_delete_check'}}</p>
|
||||
<div class="form-group">
|
||||
<label for="delete-space-name">Please type space name to confirm</label>
|
||||
{{input type="text" id="delete-space-name" class="form-control mousetrap" placeholder="Space name" value=deleteSpace.name}}
|
||||
<small class="form-text text-muted">This will delete all documents and templates within this space!</small>
|
||||
<label for="delete-space-name">{{localize 'space_admin_confirm'}}</label>
|
||||
{{input type="text" id="delete-space-name" class="form-control mousetrap" placeholder="" value=deleteSpace.name}}
|
||||
<small class="form-text text-muted">{{localize 'space_admin_confirm_explain'}}</small>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -56,7 +56,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{{else}}
|
||||
<p>There are no shared spaces to manage</p>
|
||||
<p>{{localize 'space_admin_empty'}}</p>
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue