mirror of
https://github.com/documize/community.git
synced 2025-07-19 21:29:42 +02:00
i18n section stings
This commit is contained in:
parent
20c9168140
commit
3d3d50762e
4 changed files with 28 additions and 13 deletions
|
@ -47,6 +47,8 @@ export default Component.extend(SectionMixin, NotifierMixin, {
|
||||||
},
|
},
|
||||||
|
|
||||||
didReceiveAttrs() {
|
didReceiveAttrs() {
|
||||||
|
this._super();
|
||||||
|
|
||||||
let page = this.get('page');
|
let page = this.get('page');
|
||||||
let config = {};
|
let config = {};
|
||||||
let self = this;
|
let self = this;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
{{ui/ui-button
|
{{ui/ui-button
|
||||||
color=constants.Color.Yellow
|
color=constants.Color.Yellow
|
||||||
light=true
|
light=true
|
||||||
label="IMPORT CSV"
|
label=(localize 'section_tabular_import_csv')
|
||||||
onClick=(action "onShowImportModal")}}
|
onClick=(action "onShowImportModal")}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -26,18 +26,18 @@
|
||||||
<div id={{modalId}} class="modal" tabindex="-1" role="dialog">
|
<div id={{modalId}} class="modal" tabindex="-1" role="dialog">
|
||||||
<div class="modal-dialog" role="document">
|
<div class="modal-dialog" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">CSV To Table</div>
|
<div class="modal-header">{{localize 'section_tabular_csv'}}</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p class="color-yellow-700">Note: existing table data will be replaced</p>
|
<p class="color-yellow-700">{{localize 'section_tabular_warn'}}</p>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="csv-data">Paste CSV Data</label>
|
<label for="csv-data">{{localize 'section_tabular_paste'}}</label>
|
||||||
{{textarea id="csv-data" value=importData class="form-control" rows="10"}}
|
{{textarea id="csv-data" value=importData class="form-control" rows="10"}}
|
||||||
<small class="form-text text-muted">Common delimiters are supported</small>
|
<small class="form-text text-muted">{{localize 'section_tabaular_format'}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>First Row Header</label>
|
<label>{{localize 'section_tabular_first_row'}}</label>
|
||||||
{{x-toggle value=importOption.headers size="medium" theme="light" onToggle=(action (mut importOption.headers))}}
|
{{x-toggle value=importOption.headers size="medium" theme="light" onToggle=(action (mut importOption.headers))}}
|
||||||
<small class="form-text text-muted">Enable if first row contains headers</small>
|
<small class="form-text text-muted">{{localize 'section_tabular_first_row_explain'}}</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{layout/logo-heading
|
{{layout/logo-heading
|
||||||
title="Trello"
|
title=(localize 'section_trello')
|
||||||
desc="Trello is the visual way to manage your projects and organize anything (https://trello.com)"
|
desc=(localize 'section_trello_explain')
|
||||||
icon=constants.Icon.Integrations}}
|
icon=constants.Icon.Integrations}}
|
||||||
|
|
||||||
{{#section/base-editor document=document folder=folder page=page busy=busy
|
{{#section/base-editor document=document folder=folder page=page busy=busy
|
||||||
|
@ -9,14 +9,14 @@
|
||||||
{{#if trelloConfigured}}
|
{{#if trelloConfigured}}
|
||||||
{{#if authenticated}}
|
{{#if authenticated}}
|
||||||
{{#if noBoards}}
|
{{#if noBoards}}
|
||||||
<p>You have no team boards to share - personal boards are never shown</p>
|
<p>{{localize 'section_trello_none'}}</p>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Select Board</label>
|
<label>{{localize 'section_trello_board'}}</label>
|
||||||
{{ui/ui-select id="boards-dropdown" content=boards action=(action "onBoardChange") optionValuePath="id" optionLabelPath="name" selection=config.board}}
|
{{ui/ui-select id="boards-dropdown" content=boards action=(action "onBoardChange") optionValuePath="id" optionLabelPath="name" selection=config.board}}
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="airtable-embed-cod">Select Lists</label>
|
<label for="airtable-embed-cod">{{localize 'section_trello_list'}}</label>
|
||||||
<div class="section-trello-board" style= {{boardStyle}}>
|
<div class="section-trello-board" style= {{boardStyle}}>
|
||||||
<div class="section-trello-board-title">{{config.board.name}}</div>
|
<div class="section-trello-board-title">{{config.board.name}}</div>
|
||||||
{{#each config.lists as |list|}}
|
{{#each config.lists as |list|}}
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>Your Documize administrator needs to configure Trello before usage.</p>
|
<p>{{localize 'section_trello_admin'}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
|
@ -345,6 +345,19 @@
|
||||||
"section_plantuml_type_activity2": "Activity (new syntax)",
|
"section_plantuml_type_activity2": "Activity (new syntax)",
|
||||||
"section_plantuml_type_component": "Component",
|
"section_plantuml_type_component": "Component",
|
||||||
"section_plantuml_type_state": "State",
|
"section_plantuml_type_state": "State",
|
||||||
|
"section_tabular_import_csv": "Import CSV",
|
||||||
|
"section_tabular_csv": "CSV To Table",
|
||||||
|
"section_tabular_warn": "Note: existing table data will be replaced",
|
||||||
|
"section_tabular_paste": "Paste CSV Data",
|
||||||
|
"section_tabular_format": "Common delimiters are supported",
|
||||||
|
"section_tabular_first_row": "First Row Header",
|
||||||
|
"section_tabular_first_row_explain": "Enable if first row contains headers",
|
||||||
|
"section_trello": "Trello",
|
||||||
|
"section_trello_explain": "Trello is the visual way to manage your projects and organize anything (https://trello.com)",
|
||||||
|
"section_trello_none": "You have no team boards to share - personal boards are never shown",
|
||||||
|
"section_trello_admin": "Your Documize Community administrator needs to configure Trello before usage.",
|
||||||
|
"section_trello_board": "Board",
|
||||||
|
"section_trello_list": "List",
|
||||||
|
|
||||||
"login_cas": "Authenticating with CAS...",
|
"login_cas": "Authenticating with CAS...",
|
||||||
"login_cass_error": "CAS authentication failure",
|
"login_cass_error": "CAS authentication failure",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue