mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix translation
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
[required]="true" [showDefaultOption]="false"></dropdown-widget>
|
[required]="true" [showDefaultOption]="false"></dropdown-widget>
|
||||||
</div>
|
</div>
|
||||||
<div *ngSwitchDefault>
|
<div *ngSwitchDefault>
|
||||||
<span>UNKNOWN WIDGET TYPE: {{field.type}}</span>
|
<span>{{'ANALYTICS.MESSAGES.UNKNOWN-WIDGET-TYPE' | translate}}: {{field.type}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
<div [ngSwitch]="report.type">
|
<div [ngSwitch]="report.type">
|
||||||
<div *ngSwitchCase="'pie'">
|
<div *ngSwitchCase="'pie'">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div *ngIf="!report.hasData()">No data found</div>
|
<div *ngIf="!report.hasData()">{{'ANALYTICS.MESSAGES.NO-DATA-FOUND' | translate}}</div>
|
||||||
<base-chart *ngIf="report.hasData()" class="chart"
|
<base-chart *ngIf="report.hasData()" class="chart"
|
||||||
[data]="report.data"
|
[data]="report.data"
|
||||||
[labels]="report.labels"
|
[labels]="report.labels"
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngSwitchCase="'table'">
|
<div *ngSwitchCase="'table'">
|
||||||
<div *ngIf="!report.hasDatasets()">No data found</div>
|
<div *ngIf="!report.hasDatasets()">{{'ANALYTICS.MESSAGES.NO-DATA-FOUND' | translate}}</div>
|
||||||
<div [attr.id]="'chart-table-' + report.id" *ngIf="report.hasDatasets()">
|
<div [attr.id]="'chart-table-' + report.id" *ngIf="report.hasDatasets()">
|
||||||
<table class="table table-responsive table-condensed" style="width: 100%">
|
<table class="table table-responsive table-condensed" style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngSwitchCase="'masterDetailTable'">
|
<div *ngSwitchCase="'masterDetailTable'">
|
||||||
<div *ngIf="!report.hasDatasets()">No data found</div>
|
<div *ngIf="!report.hasDatasets()">{{'ANALYTICS.MESSAGES.NO-DATA-FOUND' | translate}}</div>
|
||||||
<div [attr.id]="'chart-master-detail-table-' + report.id" *ngIf="report.hasDatasets()">
|
<div [attr.id]="'chart-master-detail-table-' + report.id" *ngIf="report.hasDatasets()">
|
||||||
<table class="table table-responsive table-condensed" style="width: 100%">
|
<table class="table table-responsive table-condensed" style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div *ngSwitchCase="'bar'">
|
<div *ngSwitchCase="'bar'">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div *ngIf="!report.hasDatasets()">No data found</div>
|
<div *ngIf="!report.hasDatasets()">{{'ANALYTICS.MESSAGES.NO-DATA-FOUND' | translate}}</div>
|
||||||
<base-chart *ngIf="report.hasDatasets()" class="chart"
|
<base-chart *ngIf="report.hasDatasets()" class="chart"
|
||||||
[datasets]="report.datasets"
|
[datasets]="report.datasets"
|
||||||
[labels]="report.labels"
|
[labels]="report.labels"
|
||||||
@@ -52,11 +52,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngSwitchDefault>
|
<div *ngSwitchDefault>
|
||||||
<span>UNKNOWN WIDGET TYPE: {{report.type}}</span>
|
<span>{{'ANALYTICS.MESSAGES.UNKNOWN-WIDGET-TYPE' | translate}}: {{report.type}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br><br><br>
|
<br><br><br>
|
||||||
<div *ngIf="!reports">Fill in the parameters to generate your report</div>
|
<div *ngIf="!reports">{{'ANALYTICS.MESSAGES.FILL-PARAMETER' | translate}}</div>
|
||||||
</div>
|
</div>
|
@@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
"ANALYTICS": {
|
"ANALYTICS": {
|
||||||
"TTILE": "ANALYTICS"
|
"TTILE": "ANALYTICS",
|
||||||
|
"MESSAGES": {
|
||||||
|
"UNKNOWN-WIDGET-TYPE": "UNKNOWN WIDGET TYPE",
|
||||||
|
"FILL-PARAMETER": "Fill in the parameters to generate your report",
|
||||||
|
"NO-DATA-FOUND": "No data found"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"__KEY_REPORTING": {
|
"__KEY_REPORTING": {
|
||||||
"DEFAULT-REPORTS": {
|
"DEFAULT-REPORTS": {
|
||||||
|
Reference in New Issue
Block a user