Adds Translate

This commit is contained in:
apapachristou 2019-06-07 18:17:57 +03:00
parent 5b2b5aaf31
commit b502868c62
6 changed files with 20 additions and 8 deletions

View File

@ -87,7 +87,7 @@
<div class="title">
<h4> {{'DASHBOARD.DATA-MANAGEMENT-PLANS' | translate}} </h4>
<div class="info">
<p class="subtitle">{{ dashboardStatisticsData?.totalDataManagementPlanCount }} Public Dmps</p>
<p class="subtitle">{{ dashboardStatisticsData?.totalDataManagementPlanCount }} {{'HOME.DMPS' | translate}}</p>
<p class="view-all" (click)=viewAllPublicDmpsClicked()>{{ 'GENERAL.ACTIONS.VIEW-ALL' | translate }}</p>
</div>
</div>
@ -101,7 +101,7 @@
<div class="col-12 title">
<h4> DATASETS </h4>
<div class="info">
<p class="subtitle">{{ dashboardStatisticsData?.totalDataSetCount }} Public Datasets</p>
<p class="subtitle">{{ dashboardStatisticsData?.totalDataSetCount }} {{'HOME.DATASETS' | translate}}</p>
<p class="view-all" (click)=viewAllPublicDatasetsClicked()>{{ 'GENERAL.ACTIONS.VIEW-ALL' | translate }}</p>
</div>
</div>

View File

@ -25,7 +25,7 @@
</div>
<hr>
<div class="date">
<p>Published {{dataset.created | date: "shortDate"}}</p>
<p>{{'DATASET-LISTING.PUBLISHED' | translate}} {{dataset.created | date: "shortDate"}}</p>
</div>
</div>
</div>

View File

@ -26,7 +26,7 @@
</div>
<hr>
<div class="date">
<p>Published {{dmp.creationTime | date: "shortDate"}}</p>
<p>{{'DMP-PROFILE-LISTING.COLUMNS.PUBLISHED' | translate}} {{dmp.creationTime | date: "shortDate"}}</p>
</div>
</div>
</div>

View File

@ -101,7 +101,7 @@
</a>
</div>
<div class="researchers">
<h6 class="researchers-title">Researchers</h6>
<h6 class="researchers-title">{{'DMP-OVERVIEW.RESEARCHERS' | translate}}</h6>
<div *ngFor="let researcher of dmp.researchers">
<div matTooltip="{{ researcher.name }}" class="avatar">{{ researcher.name }}</div>
</div>

View File

@ -1,7 +1,7 @@
<div class="header-image">
<div class="header-text-container">
<h3>Welcome to OpenDMP</h3>
<h4>Lorem ipsum dolor sit amet concectetum lorem ipsum</h4>
<h3>{{ 'ABOUT.WELCOME' | translate }}</h3>
<h4>{{ 'ABOUT.WELCOME-MESSAGE' | translate }}</h4>
</div>
</div>
<div class="explore-dmp-content">

View File

@ -49,6 +49,10 @@
"LOG-IN": "Log in"
}
},
"HOME": {
"DMPS": "Dmps",
"DATASETS": "Datasets"
},
"NAV-BAR": {
"BREADCRUMB-ROOT": "Dashboard",
"TITLE": "OpenDMP",
@ -57,6 +61,7 @@
"DMP": "Dmp",
"DMPS": "DMPs",
"MY-DMPS": "MY DMPs",
"MY-PUBLIC-DMPS": "My Public DMPs",
"DATASETS": "Datasets",
"DATASET": "Dataset",
"PUBLIC-DATASETS": "Explore OpenDMP",
@ -268,7 +273,10 @@
}
},
"DMP-PUBLIC-LISTING": {
"TITLE": "Published Dataset Managment Plans"
"TITLE": "Published Dataset Managment Plans",
"OWNER": "Owner",
"MEMBER": "Member",
"VIEW-ONLY": "View Only"
},
"DMP-UPLOAD": {
"TITLE": "Import Data Managment Plan",
@ -329,6 +337,9 @@
"ERROR-MESSAGE": "Selected DMP does not contain this Dataset Profile"
}
},
"DMP-OVERVIEW": {
"RESEARCHERS": "Researchers"
},
"DATASET-LISTING": {
"TITLE": "Datasets",
"COLUMNS": {
@ -644,6 +655,7 @@
},
"EXTERNAL-DATASET-TYPE": {
"SOURCE": "Source",
"SOURCES": "Sources",
"OUTPUT": "Output"
},
"DMP": {