Skip to content

Commit 6cb3fb3

Browse files
[LM-46] Added translation of label on hover
1 parent 7a9477e commit 6cb3fb3

30 files changed

Lines changed: 1787 additions & 58 deletions

src/app/admin/admin-sidebar/admin-sidebar-section/admin-sidebar-section.component.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ describe('AdminSidebarSectionComponent', () => {
2020
describe('when not disabled', () => {
2121

2222
beforeEach(waitForAsync(() => {
23-
2423
TestBed.configureTestingModule({
2524
imports: [NoopAnimationsModule, RouterTestingModule, TranslateModule.forRoot()],
2625
declarations: [AdminSidebarSectionComponent, TestComponent],

src/app/admin/admin-sidebar/admin-sidebar-section/admin-sidebar-section.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class AdminSidebarSectionComponent extends MenuSectionComponent implement
4949
navigate(event: any): void {
5050
event.preventDefault();
5151
if (!this.isDisabled) {
52-
this.router.navigateByUrl(this.itemModel.link);
52+
this.router.navigate(this.itemModel.link);
5353
}
5454
}
5555
}

src/assets/i18n/ar.json5

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7997,9 +7997,13 @@
79977997
// TODO New key - Add a translation
79987998
"menu.section.workflow": "Administer Workflow",
79997999

8000-
// "menu.section.loginmiur_dlexporter_url": "DLExporter",
8000+
// "menu.section.icon.loginmiur_dlexporter_url": "DLExporter",
80018001
// TODO New key - Add a translation
8002-
"menu.section.loginmiur_dlexporter_url": "DLExporter",
8002+
"menu.section.icon.loginmiur_dlexporter_url": "DLExporter",
8003+
8004+
// "menu.section.loginmiur_dlexporter": "DLExporter",
8005+
// TODO New key - Add a translation
8006+
"menu.section.loginmiur_dlexporter": "DLExporter",
80038007

80048008
// "metadata-export-search.tooltip": "Export search results as CSV",
80058009
// TODO New key - Add a translation
@@ -11372,6 +11376,54 @@
1137211376
// TODO New key - Add a translation
1137311377
"statistics.reports.title": "Reports",
1137411378

11379+
// "submission.dropdown.hint.open": "Open data means the data files you submit will be openly accessible and downloadable without any restrictions.",
11380+
// TODO New key - Add a translation
11381+
"submission.dropdown.hint.open": "Open data means the data files you submit will be openly accessible and downloadable without any restrictions.",
11382+
11383+
// "submission.dropdown.hint.embargoed": " Apply an Embargo if you have to hold your data back for a specific time period, e.g. due to a non-disclosure-agreement. Specify the embargo end date manually. If you want to permit individuals to request access before the embargo ends, you can include a Data Transfer Agreement (DTA).",
11384+
// TODO New key - Add a translation
11385+
"submission.dropdown.hint.embargoed": " Apply an Embargo if you have to hold your data back for a specific time period, e.g. due to a non-disclosure-agreement. Specify the embargo end date manually. If you want to permit individuals to request access before the embargo ends, you can include a Data Transfer Agreement (DTA).",
11386+
11387+
// "submission.dropdown.hint.restricted": "Restricted means that data are uploaded to the repository, but users cannot download data without your permission. They have to request access. Then please include a Data Transfer Agreement (DTA), specifying data sharing conditions, in the submission step “Upload” Select this option if you want to upload anonymized data that need special protection, e.g. in medical research. Be aware that your funder might request to publish your data openly (Data Availability type: Open) if it was fully anonymized. If you still would like to restrict your anonymised data and nonetheless permit individual users to gain access to it, you may upload a Data Transfer Agreement (DTA) under “Upload”, specifying your data sharing conditions. We also recommend to upload a supplemental material under “Supplement Upload” to document your data.",
11388+
// TODO New key - Add a translation
11389+
"submission.dropdown.hint.restricted": "Restricted means that data are uploaded to the repository, but users cannot download data without your permission. They have to request access. Then please include a Data Transfer Agreement (DTA), specifying data sharing conditions, in the submission step “Upload” Select this option if you want to upload anonymized data that need special protection, e.g. in medical research. Be aware that your funder might request to publish your data openly (Data Availability type: Open) if it was fully anonymized. If you still would like to restrict your anonymised data and nonetheless permit individual users to gain access to it, you may upload a Data Transfer Agreement (DTA) under “Upload”, specifying your data sharing conditions. We also recommend to upload a supplemental material under “Supplement Upload” to document your data.",
11390+
11391+
// "submission.dropdown.hint.closed": "Closed means that NO DATA will be uploaded. Metadata can be entered.Choose this option if your data cannot be shared via the repository.If you want to grant access to users, you can include a Data Transfer Agreement (DTA) in the submission step “Upload”.",
11392+
// TODO New key - Add a translation
11393+
"submission.dropdown.hint.closed": "Closed means that NO DATA will be uploaded. Metadata can be entered.Choose this option if your data cannot be shared via the repository.If you want to grant access to users, you can include a Data Transfer Agreement (DTA) in the submission step “Upload”.",
11394+
11395+
// "submission.dropdown.hint.metadataOnly": "Metadata Only means that no data will be uploaded, but metadata will be entered. Choose this option if your data has been shared elsewhere, and provide details about this location below (External Resource).",
11396+
// TODO New key - Add a translation
11397+
"submission.dropdown.hint.metadataOnly": "Metadata Only means that no data will be uploaded, but metadata will be entered. Choose this option if your data has been shared elsewhere, and provide details about this location below (External Resource).",
11398+
11399+
// "submission.dropdown.hint.DataCollector": "Person responsible for maintaining final dataset.",
11400+
// TODO New key - Add a translation
11401+
"submission.dropdown.hint.DataCollector": "Person responsible for maintaining final dataset.",
11402+
11403+
// "submission.dropdown.hint.DataCurator": "Person tasked with reviewing, enhancing, cleaning, or standardizing data.",
11404+
// TODO New key - Add a translation
11405+
"submission.dropdown.hint.DataCurator": "Person tasked with reviewing, enhancing, cleaning, or standardizing data.",
11406+
11407+
// "submission.dropdown.hint.DataManger": "Person responsible for maintaining final dataset.",
11408+
// TODO New key - Add a translation
11409+
"submission.dropdown.hint.DataManger": "Person responsible for maintaining final dataset.",
11410+
11411+
// "submission.dropdown.hint.ProjectLeader": "Leader of a research project, Principal Investigator (PI).",
11412+
// TODO New key - Add a translation
11413+
"submission.dropdown.hint.ProjectLeader": "Leader of a research project, Principal Investigator (PI).",
11414+
11415+
// "submission.dropdown.hint.ProjectManager": "Person who manages a research project",
11416+
// TODO New key - Add a translation
11417+
"submission.dropdown.hint.ProjectManager": "Person who manages a research project",
11418+
11419+
// "submission.dropdown.hint.ProjectMember": "Research fellow, collaborator or other person who works in a research project. ",
11420+
// TODO New key - Add a translation
11421+
"submission.dropdown.hint.ProjectMember": "Research fellow, collaborator or other person who works in a research project. ",
11422+
11423+
// "submission.dropdown.hint.Supervisor": "",
11424+
// TODO New key - Add a translation
11425+
"submission.dropdown.hint.Supervisor": "",
11426+
1137511427
// "submission.edit.breadcrumbs": "Edit Submission",
1137611428
// TODO New key - Add a translation
1137711429
"submission.edit.breadcrumbs": "Edit Submission",
@@ -13170,6 +13222,18 @@
1317013222
// TODO New key - Add a translation
1317113223
"submission.workspace.generic.view-help": "Select this option to view the item's metadata",
1317213224

13225+
// "submission.product.roles.info": "<div class='my-2'><b>1. Project Leader:</b><br/> Leader of a research project, Principal Investigator (PI).</div><br/><div class='my-2'><b>2. Project Member:</b><br/> Research fellow, collaborator or other person who works in a research project.</div><br/><div class='my-2'><b>3. Research Group Leader</b></div><br/><div class='my-2'><b>4. Project Manager:</b><br/> Person who manages a research project.</div><br/><div class='my-2'><b>5. Data Manager:</b><br/> Person responsible for maintaining final dataset.</div><br/><div class='my-2'><b>6. Data Collector:</b><br/> Person responsible for finding, gathering, collecting, or otherwise generating data.</div><br/><div class='my-2'><b>7. Data Curator:</b><br/> Person tasked with reviewing, enhancing, cleaning, or standardizing data.</div>",
13226+
// TODO New key - Add a translation
13227+
"submission.product.roles.info": "<div class='my-2'><b>1. Project Leader:</b><br/> Leader of a research project, Principal Investigator (PI).</div><br/><div class='my-2'><b>2. Project Member:</b><br/> Research fellow, collaborator or other person who works in a research project.</div><br/><div class='my-2'><b>3. Research Group Leader</b></div><br/><div class='my-2'><b>4. Project Manager:</b><br/> Person who manages a research project.</div><br/><div class='my-2'><b>5. Data Manager:</b><br/> Person responsible for maintaining final dataset.</div><br/><div class='my-2'><b>6. Data Collector:</b><br/> Person responsible for finding, gathering, collecting, or otherwise generating data.</div><br/><div class='my-2'><b>7. Data Curator:</b><br/> Person tasked with reviewing, enhancing, cleaning, or standardizing data.</div>",
13228+
13229+
// "submission.product.dataavailability.info": "<div class='my-2'><b>Open</b><br/> - Open data means the data files you submit will be openly accessible and downloadable without any restrictions.</div> <br/><div class='my-2'><b>Embargoed</b><br/> - Apply an Embargo if you have to hold your data back for a specific time period, e.g. due to a non-disclosure-agreement. Specify the embargo end date manually. If you want to permit individuals to request access before the embargo ends, you can include a Data Transfer Agreement (DTA).</div><br/><div class='my-2'><b>Restricted</b><br/> - Restricted means that data are uploaded to the repository, but users cannot download data without your permission. They have to request access. Then please include a Data Transfer Agreement (DTA), specifying data sharing conditions, in the submission step “Upload” Select this option if you want to upload anonymized data that need special protection, e.g. in medical research.<br/>Be aware that your funder might request to publish your data openly (Data Availability type: Open) if it was fully anonymized. If you still would like to restrict your anonymised data and nonetheless permit individual users to gain access to it, you may upload a Data Transfer Agreement (DTA) under “Upload”, specifying your data sharing conditions. We also recommend to upload a supplemental material under “Supplement Upload” to document your data.</div><br/><div class='my-2'><b>Closed</b><br/> - Closed means that NO DATA will be uploaded. Metadata can be entered.Choose this option if your data cannot be shared via the repository.If you want to grant access to users, you can include a Data Transfer Agreement (DTA) in the submission step “Upload”</div>.<br/><div class='my-2'><b>Metadata Only</b><br/> - Metadata Only means that no data will be uploaded, but metadata will be entered. Choose this option if your data has been shared elsewhere, and provide details about this location below (External Resource).</div>",
13230+
// TODO New key - Add a translation
13231+
"submission.product.dataavailability.info": "<div class='my-2'><b>Open</b><br/> - Open data means the data files you submit will be openly accessible and downloadable without any restrictions.</div> <br/><div class='my-2'><b>Embargoed</b><br/> - Apply an Embargo if you have to hold your data back for a specific time period, e.g. due to a non-disclosure-agreement. Specify the embargo end date manually. If you want to permit individuals to request access before the embargo ends, you can include a Data Transfer Agreement (DTA).</div><br/><div class='my-2'><b>Restricted</b><br/> - Restricted means that data are uploaded to the repository, but users cannot download data without your permission. They have to request access. Then please include a Data Transfer Agreement (DTA), specifying data sharing conditions, in the submission step “Upload” Select this option if you want to upload anonymized data that need special protection, e.g. in medical research.<br/>Be aware that your funder might request to publish your data openly (Data Availability type: Open) if it was fully anonymized. If you still would like to restrict your anonymised data and nonetheless permit individual users to gain access to it, you may upload a Data Transfer Agreement (DTA) under “Upload”, specifying your data sharing conditions. We also recommend to upload a supplemental material under “Supplement Upload” to document your data.</div><br/><div class='my-2'><b>Closed</b><br/> - Closed means that NO DATA will be uploaded. Metadata can be entered.Choose this option if your data cannot be shared via the repository.If you want to grant access to users, you can include a Data Transfer Agreement (DTA) in the submission step “Upload”</div>.<br/><div class='my-2'><b>Metadata Only</b><br/> - Metadata Only means that no data will be uploaded, but metadata will be entered. Choose this option if your data has been shared elsewhere, and provide details about this location below (External Resource).</div>",
13232+
13233+
// "submission.roles.modal.open": "Roles Info",
13234+
// TODO New key - Add a translation
13235+
"submission.roles.modal.open": "Roles Info",
13236+
1317313237
// "submitter.empty": "N/A",
1317413238
// TODO New key - Add a translation
1317513239
"submitter.empty": "N/A",

0 commit comments

Comments
 (0)