mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3777] Add localization for About Component (#4059)
This commit is contained in:
committed by
Eugenio Romano
parent
220930d27b
commit
0eb9bb2a3e
@@ -1,49 +1,49 @@
|
||||
<div class="adf-about-container">
|
||||
<h3>Server settings</h3>
|
||||
<h3>{{ 'ABOUT.SERVER_SETTINGS.TITLE' | translate }}</h3>
|
||||
<mat-list>
|
||||
<small>The values below are taken from the AppConfigService </small>
|
||||
<small>{{ 'ABOUT.SERVER_SETTINGS.DESCRIPTION' | translate }}</small>
|
||||
<mat-list-item>
|
||||
<h4 matLine> Alfresco Process Services URL: {{ bpmHost }}</h4>
|
||||
<h4 matLine> {{ 'ABOUT.SERVER_SETTINGS.PROCESS_SERVICE_HOST' | translate: { value: bpmHost } }}</h4>
|
||||
</mat-list-item>
|
||||
<mat-divider></mat-divider>
|
||||
<mat-list-item>
|
||||
<h4 matLine>Alfresco Content Services URL: {{ ecmHost }}</h4>
|
||||
<h4 matLine>{{ 'ABOUT.SERVER_SETTINGS.PROCESS_SERVICE_HOST' | translate: { value: ecmHost } }}</h4>
|
||||
</mat-list-item>
|
||||
</mat-list>
|
||||
|
||||
<h3>Product Versions</h3>
|
||||
<div *ngIf="bpmVersion">
|
||||
<h3>BPM</h3>
|
||||
<label> Edition </label> {{ bpmVersion.edition }}
|
||||
<h3>{{ 'ABOUT.VERSIONS.PROCESS_SERVICE' | translate }}</h3>
|
||||
<label> {{ 'ABOUT.VERSIONS.LABELS.EDITION' | translate }} </label> {{ bpmVersion.edition }}
|
||||
<p></p>
|
||||
<label> Version </label> {{ bpmVersion.majorVersion }}.{{ bpmVersion.minorVersion }}.{{ bpmVersion.revisionVersion }}
|
||||
<label> {{ 'ABOUT.VERSIONS.LABELS.VERSION' | translate }} </label> {{ bpmVersion.majorVersion }}.{{ bpmVersion.minorVersion }}.{{ bpmVersion.revisionVersion }}
|
||||
</div>
|
||||
<div *ngIf="ecmVersion">
|
||||
<h3>ECM</h3>
|
||||
<label> Edition </label> {{ ecmVersion.edition }}
|
||||
<h3>{{ 'ABOUT.VERSIONS.CONTENT_SERVICE' | translate }}</h3>
|
||||
<label>{{ 'ABOUT.VERSIONS.LABELS.EDITION' | translate }}</label> {{ ecmVersion.edition }}
|
||||
<p></p>
|
||||
<label> Version </label> {{ ecmVersion.version.display }}
|
||||
<label> {{ 'ABOUT.VERSIONS.LABELS.VERSION' | translate }} </label> {{ ecmVersion.version.display }}
|
||||
<p></p>
|
||||
<h4>License</h4>
|
||||
<h4>{{ 'ABOUT.VERSIONS.LABELS.LICENSE' | translate }}</h4>
|
||||
<adf-datatable [data]="license"></adf-datatable>
|
||||
|
||||
<h4> Status</h4>
|
||||
<h4> {{ 'ABOUT.VERSIONS.LABELS.STATUS' | translate }}</h4>
|
||||
<adf-datatable [data]="status"></adf-datatable>
|
||||
|
||||
<h4>Modules</h4>
|
||||
<h4>{{ 'ABOUT.VERSIONS.LABELS.MODULES' | translate }}</h4>
|
||||
|
||||
<adf-datatable [data]="modules"></adf-datatable>
|
||||
</div>
|
||||
|
||||
<div *ngIf="githubUrlCommitAlpha">
|
||||
<h3>Source code</h3>
|
||||
<small>You are running the project based on the following commit:</small>
|
||||
<h3>{{ 'ABOUT.SOURCE_CODE.TITLE' | translate }}</h3>
|
||||
<small>{{ 'ABOUT.SOURCE_CODE.DESCRIPTION' | translate }}</small>
|
||||
<div>
|
||||
<a [href]="githubUrlCommitAlpha">{{githubUrlCommitAlpha}}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>Packages</h3>
|
||||
<small>Current project is using the following ADF libraries:</small>
|
||||
<h3>{{ 'ABOUT.PACKAGES.TITLE' | translate }}</h3>
|
||||
<small>{{ 'ABOUT.PACKAGES.DESCRIPTION' | translate }}</small>
|
||||
<adf-datatable [data]="data"></adf-datatable>
|
||||
</div>
|
||||
|
@@ -327,5 +327,32 @@
|
||||
"TEXT": "Back to home"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ABOUT": {
|
||||
"SERVER_SETTINGS": {
|
||||
"TITLE": "Server settings",
|
||||
"DESCRIPTION": "The values below are taken from the AppConfigService",
|
||||
"CONTENT_SERVICE_HOST": "Alfresco Content Services URL: {{ value }}",
|
||||
"PROCESS_SERVICE_HOST": "Alfresco Process Services URL: {{ value }}"
|
||||
},
|
||||
"VERSIONS": {
|
||||
"CONTENT_SERVICE": "ECM",
|
||||
"PROCESS_SERVICE": "BPM",
|
||||
"LABELS": {
|
||||
"EDITION": "Edition",
|
||||
"VERSION": "Version",
|
||||
"LICENSE": "License",
|
||||
"STATUS": "Status",
|
||||
"MODULES": "Modules"
|
||||
}
|
||||
},
|
||||
"SOURCE_CODE": {
|
||||
"TITLE": "Source code",
|
||||
"DESCRIPTION": "You are running the project based on the following commit:"
|
||||
},
|
||||
"PACKAGES": {
|
||||
"TITLE": "Packages",
|
||||
"DESCRIPTION": "Current project is using the following ADF libraries:"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user