1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

i18n continuation

This commit is contained in:
McMatts 2022-03-14 12:01:46 -04:00
parent 3d3d50762e
commit 5db5f4d63b
4 changed files with 49 additions and 25 deletions

View file

@ -19,7 +19,7 @@
{{/if}}
{{/if}}
{{#ui/ui-toolbar-dropdown label="Content" arrow=true}}
{{#ui/ui-toolbar-dropdown label=(localize 'content') arrow=true}}
{{#attach-popover class="ember-attacher-popper" hideOn="click clickout" showOn="click" isShown=false}}
<ul class="menu">
{{#if pinState.isPinned}}
@ -49,7 +49,7 @@
{{/ui/ui-toolbar-dropdown}}
{{#if (or showActivity showRevisions)}}
{{#ui/ui-toolbar-dropdown label="History" arrow=true}}
{{#ui/ui-toolbar-dropdown label=(localize 'history') arrow=true}}
{{#attach-popover class="ember-attacher-popper" hideOn="click clickout" showOn="click" isShown=false}}
<ul class="menu">
{{#if showActivity}}
@ -77,7 +77,6 @@
<div class="form-group">
<label for="new-template-name">{{localize 'name'}}</label>
{{input id="new-template-name" value=saveTemplate.name type="text" class="form-control mousetrap" placeholder=""}}
<small class="form-text text-muted">Good template name conveys document type</small>
</div>
<div class="form-group">
<label for="new-template-desc">{{localize 'description'}}</label>

View file

@ -1,12 +1,12 @@
{{layout/logo-heading
title="Space Meta"
desc="Set space visibility, icon and label"
title=(localize 'space')
desc=(localize 'settings')
icon=constants.Icon.Settings}}
<form role="form">
<div class="form-group">
<label>{{localize 'name'}}</label>
{{focus-input id="space-name" type="text" value=spaceName class=(if hasNameError "form-control is-invalid" "form-control") placeholder="Space name" autocomplete="off"}}
{{focus-input id="space-name" type="text" value=spaceName class=(if hasNameError "form-control is-invalid" "form-control") placeholder="" autocomplete="off"}}
</div>
<div class="form-group">
@ -35,7 +35,7 @@
</div>
<div class="form-group">
<label>Label</label>
<label>{{localize 'label'}}</label>
<ul class="space-label-picker">
<li class="label none {{if (eq spaceLabel "") "selected"}}" {{action "onSetLabel" ""}} role="button" tabindex="0">{{localize 'none'}}</li>
{{#each labels as |label|}}
@ -55,9 +55,9 @@
{{#if allowLikes}}
<div class="form-group">
<label>Feedback Prompt</label>
{{input type="text" id="space-likes-prompt" class="form-control" placeholder=(localize 'feedback_prompt_hint') value=likes}}
<small class="form-text text-muted">{{localize 'feedback_prompt_explain'}}</small>
<label>{{localize 'feedback_prompt'}}</label>
{{input type="text" id="space-likes-prompt" class="form-control" placeholder=(localize 'feedback_prompt_hint') value=likes}}
<small class="form-text text-muted">{{localize 'feedback_prompt_explain'}}</small>
</div>
{{/if}}
</form>