mirror of
https://github.com/documize/community.git
synced 2025-07-24 23:59:47 +02:00
i18n section strings
This commit is contained in:
parent
f735ae1278
commit
ce9c635fb4
7 changed files with 39 additions and 22 deletions
|
@ -1,12 +1,11 @@
|
|||
{{layout/logo-heading
|
||||
title="IFrame"
|
||||
desc="Embed an IFrame"
|
||||
title=(localize 'section_iframe')
|
||||
desc=(localize 'section_iframe_explain')
|
||||
icon=constants.Icon.Integrations}}
|
||||
|
||||
{{#section/base-editor document=document folder=folder page=page isDirty=(action "isDirty") onCancel=(action "onCancel") onAction=(action "onAction")}}
|
||||
<div class="form-group">
|
||||
<label for="iframe-embed-code">IFrame embed code</label>
|
||||
{{textarea value=data rows="10" id="iframe-embed-code" class="form-control mousetrap" placeholder="Enter code" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"}}
|
||||
<small class="form-text text-muted">Paste the iframe code snippet</small>
|
||||
<label for="iframe-embed-code">{{localize 'section_iframe_code'}}</label>
|
||||
{{textarea value=data rows="10" id="iframe-embed-code" class="form-control mousetrap" placeholder=(localize 'code') autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"}}
|
||||
</div>
|
||||
{{/section/base-editor}}
|
||||
|
|
|
@ -1,32 +1,30 @@
|
|||
{{layout/logo-heading
|
||||
title="Gemini"
|
||||
desc="Gemini enterprise issue and ticketing software (https://www.countersoft.com)"
|
||||
title=(localize 'section_gemini')
|
||||
desc=(localize 'section_gemini_explain')
|
||||
icon=constants.Icon.Integrations}}
|
||||
|
||||
{{#section/base-editor document=document folder=folder page=page busy=waiting isDirty=(action "isDirty") onCancel=(action "onCancel") onAction=(action "onAction")}}
|
||||
<div class="grid-container-5-5">
|
||||
<div class="grid-cell-1">
|
||||
<div class="form-group">
|
||||
<label for="gemini-url">Gemini URL</label>
|
||||
<label for="gemini-url">{{localize 'section_gemini_url'}}</label>
|
||||
{{focus-input id="gemini-url" type="text" value=config.url class="form-control"}}
|
||||
<small class="form-text text-muted">e.g. http://helpdesk.countersoft.com</small>
|
||||
<small class="form-text text-muted">{{localize 'section_gemini_url_explain'}}</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Username</label>
|
||||
<label>{{localize 'username'}}</label>
|
||||
{{input id="gemini-username" type="text" value=config.username class="form-control"}}
|
||||
<small class="form-text text-muted">Gemini Username</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="gemini-apikey">API Key</label>
|
||||
<label for="gemini-apikey">{{localize 'section_gemini_key'}}</label>
|
||||
{{input id="gemini-apikey" type="password" value=config.APIKey class="form-control"}}
|
||||
<small class="form-text text-muted">Gemini user API key (from user profile)</small>
|
||||
</div>
|
||||
{{ui/ui-button color=constants.Color.Green light=true label=(localize 'authenticate') onClick=(action "auth")}}
|
||||
</div>
|
||||
<div class="grid-cell-2">
|
||||
{{#if authenticated}}
|
||||
<div class="form-group">
|
||||
<label>Select Gemini workspace</label>
|
||||
<label>{{localize 'section_gemini_workspace'}}</label>
|
||||
<ul class="section-gemini-workspaces">
|
||||
{{#each workspaces as |card|}}
|
||||
<li class="section-gemini-workspace" id="gemini-workspace-{{card.Id}}" title="{{card.Title}}">
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{{layout/logo-heading
|
||||
title="Jira Software"
|
||||
desc="Jira provides issue tracking and agile software"
|
||||
title=(localize 'section_jira')
|
||||
desc=(localize 'section_jira_explain')
|
||||
icon=constants.Icon.Integrations}}
|
||||
|
||||
{{#section/base-editor document=document folder=folder page=page busy=waiting isDirty=(action "isDirty") onCancel=(action "onCancel") onAction=(action "onAction")}}
|
||||
{{#if session.isAdmin}}
|
||||
{{#link-to "customize.integrations"}}
|
||||
{{ui/ui-button color=constants.Color.Green light=true label="Configure Jira Connector"}}
|
||||
{{ui/ui-button color=constants.Color.Green light=true label=(localize 'configure')}}
|
||||
{{/link-to}}
|
||||
<Ui::UiSpacer @size="300" />
|
||||
{{else}}
|
||||
{{#unless authenticated}}
|
||||
<p class="color-green-600">Your Documize administrator needs to provide Jira connection details before usage.</p>
|
||||
<p class="color-green-600">{{localize 'section_jira_admin'}}</p>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
{{#if authenticated}}
|
||||
|
@ -27,6 +27,6 @@
|
|||
{{{issuesGrid}}}
|
||||
{{else}}
|
||||
<Ui::UiSpacer @size="300" />
|
||||
<p class="color-gray-700">Jira connector not authenticated</p>
|
||||
<p class="color-gray-700">{{localize 'section_jira_no_auth'}}</p>
|
||||
{{/if}}
|
||||
{{/section/base-editor}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue