mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09: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() {
|
||||
this._super();
|
||||
|
||||
let page = this.get('page');
|
||||
let config = {};
|
||||
let self = this;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
{{ui/ui-button
|
||||
color=constants.Color.Yellow
|
||||
light=true
|
||||
label="IMPORT CSV"
|
||||
label=(localize 'section_tabular_import_csv')
|
||||
onClick=(action "onShowImportModal")}}
|
||||
</div>
|
||||
|
||||
|
@ -26,18 +26,18 @@
|
|||
<div id={{modalId}} class="modal" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<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">
|
||||
<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">
|
||||
<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"}}
|
||||
<small class="form-text text-muted">Common delimiters are supported</small>
|
||||
<small class="form-text text-muted">{{localize 'section_tabaular_format'}}</small>
|
||||
</div>
|
||||
<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))}}
|
||||
<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 class="modal-footer">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{layout/logo-heading
|
||||
title="Trello"
|
||||
desc="Trello is the visual way to manage your projects and organize anything (https://trello.com)"
|
||||
title=(localize 'section_trello')
|
||||
desc=(localize 'section_trello_explain')
|
||||
icon=constants.Icon.Integrations}}
|
||||
|
||||
{{#section/base-editor document=document folder=folder page=page busy=busy
|
||||
|
@ -9,14 +9,14 @@
|
|||
{{#if trelloConfigured}}
|
||||
{{#if authenticated}}
|
||||
{{#if noBoards}}
|
||||
<p>You have no team boards to share - personal boards are never shown</p>
|
||||
<p>{{localize 'section_trello_none'}}</p>
|
||||
{{else}}
|
||||
<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}}
|
||||
</div>
|
||||
<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-title">{{config.board.name}}</div>
|
||||
{{#each config.lists as |list|}}
|
||||
|
@ -45,7 +45,7 @@
|
|||
|
||||
{{/link-to}}
|
||||
{{else}}
|
||||
<p>Your Documize administrator needs to configure Trello before usage.</p>
|
||||
<p>{{localize 'section_trello_admin'}}</p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
|
|
|
@ -345,6 +345,19 @@
|
|||
"section_plantuml_type_activity2": "Activity (new syntax)",
|
||||
"section_plantuml_type_component": "Component",
|
||||
"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_cass_error": "CAS authentication failure",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue