Skip to content

Commit 306029c

Browse files
Merge remote-tracking branch 'gitHub/main' into task/main/DURACOM-426
2 parents a9ee4e5 + 2d5a4a8 commit 306029c

10 files changed

Lines changed: 10440 additions & 10886 deletions

File tree

config/config.example.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ languages:
322322
- code: sv
323323
label: Svenska
324324
active: true
325+
- code: ta
326+
label: தமிழ்
327+
active: true
325328
- code: tr
326329
label: Türkçe
327330
active: true

scripts/merge-i18n-files.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ parseCliInput();
1919
* This script uses the i18n files found in a source directory to override settings in files with the same
2020
* name in a destination directory. Only the i18n labels to be overridden need be in the source files.
2121
*
22-
* Execution (using custom theme):
22+
* Example execution (using custom theme):
2323
* ```
24-
* yarn merge-i18n -s src/themes/custom/assets/i18n
24+
* npm run merge-i18n -- -s src/themes/custom/assets/i18n
2525
* ```
2626
*
2727
* Input parameters:
@@ -42,21 +42,25 @@ function parseCliInput() {
4242
.usage('(-s <source-dir> [-d <output-dir>])')
4343
.parse(process.argv);
4444

45-
if (program.outputDir && program.sourceDir) {
46-
if (!fs.existsSync(program.outputDir) && !fs.lstatSync(program.outputDir).isDirectory() ) {
45+
const source = program.opts().sourceDir;
46+
const destination = program.opts().outputDir;
47+
48+
if (destination && source) {
49+
if (!fs.existsSync(destination) || !fs.lstatSync(destination).isDirectory() ) {
4750
console.error('Output does not exist or is not a directory.');
4851
console.log(program.outputHelp());
4952
process.exit(1);
5053
}
51-
if (!fs.existsSync(program.sourceDir) && !fs.lstatSync(program.sourceDir).isDirectory() ) {
54+
if (!fs.existsSync(source) || !fs.lstatSync(source).isDirectory() ) {
5255
console.error('Source does not exist or is not a directory.');
5356
console.log(program.outputHelp());
5457
process.exit(1);
5558
}
56-
fs.readdirSync(projectRoot(program.sourceDir)).forEach(file => {
57-
if (fs.existsSync(program.outputDir + '/' + file) ) {
58-
console.log('Merging: ' + program.outputDir + '/' + file + ' with ' + program.sourceDir + '/' + file);
59-
mergeFileWithSource(program.sourceDir + '/' + file, program.outputDir + '/' + file);
59+
60+
fs.readdirSync(projectRoot(source)).forEach(file => {
61+
if (fs.existsSync(destination + '/' + file) ) {
62+
console.log('Merging: ' + destination + '/' + file + ' with ' + source + '/' + file);
63+
mergeFileWithSource(source + '/' + file, destination + '/' + file);
6064
}
6165
});
6266
} else {

src/app/shared/resource-policies/form/resource-policy-form.model.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ const policyActionList: DynamicFormOptionConfig<any>[] = [
3939
label: ActionType.WRITE.toString(),
4040
value: ActionType.WRITE,
4141
},
42+
{
43+
label: ActionType.ADD.toString(),
44+
value: ActionType.ADD,
45+
},
4246
{
4347
label: ActionType.REMOVE.toString(),
4448
value: ActionType.REMOVE,

src/assets/i18n/bn.json5

Lines changed: 1769 additions & 7305 deletions
Large diffs are not rendered by default.

src/assets/i18n/cs.json5

Lines changed: 1144 additions & 2287 deletions
Large diffs are not rendered by default.

src/assets/i18n/fa.json5

Lines changed: 443 additions & 1212 deletions
Large diffs are not rendered by default.

src/assets/i18n/hu.json5

Lines changed: 20 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -459,20 +459,16 @@
459459
"admin.access-control.epeople.table.edit.buttons.remove": "\"{{name}}\" törlése", // "Törlés \"{{name}}\"" -> "\"{{name}}\" törlése",
460460

461461
// "admin.access-control.epeople.table.edit.buttons.remove.modal.header": "Delete Group \"{{ dsoName }}\"",
462-
// TODO New key - Add a translation
463-
"admin.access-control.epeople.table.edit.buttons.remove.modal.header": "Delete Group \"{{ dsoName }}\"",
462+
"admin.access-control.epeople.table.edit.buttons.remove.modal.header": "\"{{ dsoName }}\" csoport törlése",
464463

465464
// "admin.access-control.epeople.table.edit.buttons.remove.modal.info": "Are you sure you want to delete Group \"{{ dsoName }}\" and all its associated policies?",
466-
// TODO New key - Add a translation
467-
"admin.access-control.epeople.table.edit.buttons.remove.modal.info": "Are you sure you want to delete Group \"{{ dsoName }}\" and all its associated policies?",
465+
"admin.access-control.epeople.table.edit.buttons.remove.modal.info": "Biztos benne, hogy törli a(z) \"{{ dsoName }}\" csoportot és a hozzá rendelt házirendeket?",
468466

469467
// "admin.access-control.epeople.table.edit.buttons.remove.modal.cancel": "Cancel",
470-
// TODO New key - Add a translation
471-
"admin.access-control.epeople.table.edit.buttons.remove.modal.cancel": "Cancel",
468+
"admin.access-control.epeople.table.edit.buttons.remove.modal.cancel": "Mégsem",
472469

473470
// "admin.access-control.epeople.table.edit.buttons.remove.modal.confirm": "Delete",
474-
// TODO New key - Add a translation
475-
"admin.access-control.epeople.table.edit.buttons.remove.modal.confirm": "Delete",
471+
"admin.access-control.epeople.table.edit.buttons.remove.modal.confirm": "Töröl",
476472

477473
// "admin.access-control.epeople.no-items": "No EPeople to show.",
478474
"admin.access-control.epeople.no-items": "Nincsenek megjeleníthető felhasználók.", // "Nincs elérhető ESzemély." -> "Nincsenek megjeleníthető felhasználók.",
@@ -1693,11 +1689,9 @@
16931689
"browse.taxonomy.button": "Böngészés",
16941690

16951691
// "browse.title": "Browsing by {{ field }}{{ startsWith }} {{ value }}",
1696-
// TODO Source message changed - Revise the translation
16971692
"browse.title": "Böngészés: {{ field }} {{ startsWith }} {{ value }}", // "Böngészés - {{ field }} {{ value }} szerint" -> "Böngészés: {{ field }} {{ startsWith }} {{ value }}" (startsWith beépítve),
16981693

16991694
// "browse.title.page": "Browsing by {{ field }} {{ value }}",
1700-
// TODO Source message changed - Revise the translation
17011695
"browse.title.page": "Böngészés: {{ field }} {{ value }}",
17021696

17031697
// "search.browse.item-back": "Back to Results",
@@ -2304,20 +2298,16 @@
23042298
"comcol-role.edit.delete.error.title": "Nem sikerült törölni a(z) '{{ role }}' szerepkör csoportját.", // "Failed to delete the '{{ role }}' role's group" -> "Nem sikerült törölni a(z) '{{ role }}' szerepkör csoportját.",
23052299

23062300
// "comcol-role.edit.delete.modal.header": "Delete Group \"{{ dsoName }}\"",
2307-
// TODO New key - Add a translation
2308-
"comcol-role.edit.delete.modal.header": "Delete Group \"{{ dsoName }}\"",
2301+
"comcol-role.edit.delete.modal.header": "\"{{ dsoName }}\" csoport törlése",
23092302

23102303
// "comcol-role.edit.delete.modal.info": "Are you sure you want to delete Group \"{{ dsoName }}\" and all its associated policies?",
2311-
// TODO New key - Add a translation
2312-
"comcol-role.edit.delete.modal.info": "Are you sure you want to delete Group \"{{ dsoName }}\" and all its associated policies?",
2304+
"comcol-role.edit.delete.modal.info": "Biztos bene, hogy töröli szeretné a(z) \"{{ dsoName }}\" csoportot és a hozzá rendelt háziredeket?",
23132305

23142306
// "comcol-role.edit.delete.modal.cancel": "Cancel",
2315-
// TODO New key - Add a translation
2316-
"comcol-role.edit.delete.modal.cancel": "Cancel",
2307+
"comcol-role.edit.delete.modal.cancel": "Mégsem",
23172308

23182309
// "comcol-role.edit.delete.modal.confirm": "Delete",
2319-
// TODO New key - Add a translation
2320-
"comcol-role.edit.delete.modal.confirm": "Delete",
2310+
"comcol-role.edit.delete.modal.confirm": "Töröl",
23212311

23222312
// "comcol-role.edit.community-admin.name": "Administrators",
23232313
"comcol-role.edit.community-admin.name": "Adminisztrátorok",
@@ -2895,25 +2885,12 @@
28952885
// "error.top-level-communities": "Error fetching top-level communities",
28962886
"error.top-level-communities": "Hiba a legfelső szintű közösségek lekérésekor.", // "Hiba a legfelső szintű közösségek megjelenítésekor" -> "Hiba a legfelső szintű közösségek lekérésekor.",
28972887

2898-
// "error.validation.license.required": "You must grant this license to complete your submission. If you are unable to grant this license at this time you may save your work and return later or remove the submission.",
2899-
// TODO New key - Add a translation
2900-
"error.validation.license.required": "You must grant this license to complete your submission. If you are unable to grant this license at this time you may save your work and return later or remove the submission.",
2888+
// "error.validation.license.notgranted": "You must grant this license to complete your submission. If you are unable to grant this license at this time you may save your work and return later or remove the submission.",
2889+
"error.validation.license.notgranted": "A beküldés befejezéséhez el kell fogadnia ezt a licencet.\nHa jelenleg nem tudja elfogadni ezt a licencet, elmentheti munkáját és később visszatérhet, vagy eltávolíthatja a beküldést.",
29012890

29022891
// "error.validation.cclicense.required": "You must grant this cclicense to complete your submission. If you are unable to grant the cclicense at this time, you may save your work and return later or remove the submission.",
29032892
"error.validation.cclicense.required": "A Creative Commons licenc elfogadása kötelező a beküldés befejezéséhez.\nHa jelenleg nem tudja elfogadni a CC licencet, elmentheti munkáját és később visszatérhet, vagy eltávolíthatja a beküldést.",
29042893

2905-
// "error.validation.custom-url.conflict": "The custom url has been already used, please try with a new one.",
2906-
// TODO New key - Add a translation
2907-
"error.validation.custom-url.conflict": "The custom url has been already used, please try with a new one.",
2908-
2909-
// "error.validation.custom-url.empty": "The custom url is required and cannot be empty.",
2910-
// TODO New key - Add a translation
2911-
"error.validation.custom-url.empty": "The custom url is required and cannot be empty.",
2912-
2913-
// "error.validation.custom-url.invalid-characters": "The custom url contains invalid characters.",
2914-
// TODO New key - Add a translation
2915-
"error.validation.custom-url.invalid-characters": "The custom url contains invalid characters.",
2916-
29172894
// "error.validation.pattern": "This input is restricted by the current pattern: {{ pattern }}.",
29182895
"error.validation.pattern": "Ezt a bevitelt a jelenlegi minta korlátozza: {{ pattern }}.", // "A megadott érték nem felel meg a következő mintának: {{ pattern }}." -> "Ezt a bevitelt a jelenlegi minta korlátozza: {{ pattern }}.",
29192896

@@ -3479,8 +3456,7 @@
34793456
"info.coar-notify-support.title": "COAR Notify Támogatás",
34803457

34813458
// "info.coar-notify-support.breadcrumbs": "COAR Notify Support",
3482-
// TODO New key - Add a translation
3483-
"info.coar-notify-support.breadcrumbs": "COAR Notify Support",
3459+
"info.coar-notify-support.breadcrumbs": "COAR Notify Támogatás",
34843460

34853461
// "item.alerts.private": "This item is non-discoverable",
34863462
"item.alerts.private": "Ez a tétel nem kereshető.", // "Ez az elem privát" -> "Ez a tétel nem kereshető." (non-discoverable),
@@ -4542,8 +4518,7 @@
45424518
"item.preview.dc.rights": "Jogok", // "Jogkezelés" -> "Jogok",
45434519

45444520
// "item.preview.dc.identifier.other": "Other Identifier",
4545-
// TODO Source message changed - Revise the translation
4546-
"item.preview.dc.identifier.other": "Egyéb azonosító:",
4521+
"item.preview.dc.identifier.other": "Egyéb azonosító",
45474522

45484523
// "item.preview.dc.relation.issn": "ISSN",
45494524
"item.preview.dc.relation.issn": "ISSN",
@@ -4633,8 +4608,7 @@
46334608
"item.preview.dc.identifier.openalex": "OpenAlex azonosító",
46344609

46354610
// "item.preview.dc.description": "Description",
4636-
// TODO Source message changed - Revise the translation
4637-
"item.preview.dc.description": "Leírás:",
4611+
"item.preview.dc.description": "Leírás",
46384612

46394613
// "item.select.confirm": "Confirm selected",
46404614
"item.select.confirm": "Kiválasztottak megerősítése",
@@ -4772,12 +4746,10 @@
47724746
"item.version.create.modal.form.summary.label": "Összefoglaló",
47734747

47744748
// "qa-withdrawn.create.modal.form.summary.label": "You are requesting to withdraw this item",
4775-
// TODO New key - Add a translation
4776-
"qa-withdrawn.create.modal.form.summary.label": "You are requesting to withdraw this item",
4749+
"qa-withdrawn.create.modal.form.summary.label": "Kérelmezte a tétel visszavonását",
47774750

47784751
// "qa-withdrawn.create.modal.form.summary2.label": "Please enter the reason for the withdrawal",
4779-
// TODO New key - Add a translation
4780-
"qa-withdrawn.create.modal.form.summary2.label": "Please enter the reason for the withdrawal",
4752+
"qa-withdrawn.create.modal.form.summary2.label": "Írja be a tétel visszavonásának okát",
47814753

47824754
// "qa-reinstate.create.modal.form.summary.label": "You are requesting to reinstate this item",
47834755
"qa-reinstate.create.modal.form.summary.label": "E tétel visszaállítását kéri.", // "Ezen elem visszaállításának kérvényezése" -> "E tétel visszaállítását kéri.",
@@ -5617,8 +5589,7 @@
56175589
"nav.user.description": "Felhasználói profilsáv", // Eredeti: "User profile bar" -> Javított: "Felhasználói profilsáv",
56185590

56195591
// "listelement.badge.dso-type": "Item type:",
5620-
// TODO New key - Add a translation
5621-
"listelement.badge.dso-type": "Item type:",
5592+
"listelement.badge.dso-type": "Tétel típusa:",
56225593

56235594
// "none.listelement.badge": "Item",
56245595
"none.listelement.badge": "Tétel", // Eredeti: "Tárgy" -> Javított: "Tétel",
@@ -8197,7 +8168,6 @@
81978168
"submission.sections.describe.relationship-lookup.selection-tab.title.openaireTitle": "Keresési eredmények",
81988169

81998170
// "submission.sections.describe.relationship-lookup.selection-tab.title.openaireFundin": "Search Results",
8200-
// TODO Source message changed - Revise the translation
82018171
"submission.sections.describe.relationship-lookup.selection-tab.title.openaireFunding": "Keresési eredmények", // Javítva "openaireFunding"-ra,
82028172

82038173
// "submission.sections.describe.relationship-lookup.selection-tab.title.lcname": "Search Results",
@@ -8347,10 +8317,6 @@
83478317
// "submission.sections.submit.progressbar.CClicense": "Creative commons license",
83488318
"submission.sections.submit.progressbar.CClicense": "Creative Commons licenc",
83498319

8350-
// "submission.sections.submit.progressbar.CustomUrlStep": "Custom Url",
8351-
// TODO New key - Add a translation
8352-
"submission.sections.submit.progressbar.CustomUrlStep": "Custom Url",
8353-
83548320
// "submission.sections.submit.progressbar.describe.recycle": "Recycle",
83558321
"submission.sections.submit.progressbar.describe.recycle": "Újrahasznosítás", // Eredeti: "Újrafelhasznál" -> Javított,
83568322

@@ -8516,18 +8482,6 @@
85168482
// "submission.sections.upload.upload-successful": "Upload successful",
85178483
"submission.sections.upload.upload-successful": "Sikeres feltöltés",
85188484

8519-
// "submission.sections.custom-url.label.previous-urls": "Previous Urls",
8520-
// TODO New key - Add a translation
8521-
"submission.sections.custom-url.label.previous-urls": "Previous Urls",
8522-
8523-
// "submission.sections.custom-url.alert.info": "Define here a custom URL which will be used to reach the item instead of using an internal randomly generated UUID identifier. ",
8524-
// TODO New key - Add a translation
8525-
"submission.sections.custom-url.alert.info": "Define here a custom URL which will be used to reach the item instead of using an internal randomly generated UUID identifier. ",
8526-
8527-
// "submission.sections.custom-url.url.placeholder": "Custom URL",
8528-
// TODO New key - Add a translation
8529-
"submission.sections.custom-url.url.placeholder": "Custom URL",
8530-
85318485
// "submission.sections.accesses.form.discoverable-description": "When checked, this item will be discoverable in search/browse. When unchecked, the item will only be available via a direct link and will never appear in search/browse.",
85328486
"submission.sections.accesses.form.discoverable-description": "Ha be van jelölve, ez a tétel kereshető/böngészhető lesz.\nHa nincs bejelölve, a tétel csak közvetlen hivatkozással lesz elérhető, és soha nem jelenik meg a keresésben/böngészésben.",
85338487

@@ -8742,8 +8696,7 @@
87428696
"submission.workflow.tasks.claimed.reject.submit": "Elutasítás",
87438697

87448698
// "submission.workflow.tasks.claimed.reject_help": "If you have reviewed the item and found it is <strong>not</strong> suitable for inclusion in the collection, select \"Reject\". You will then be asked to enter a message indicating why the item is unsuitable, and whether the submitter should change something and resubmit.",
8745-
// TODO Source message changed - Revise the translation
8746-
"submission.workflow.tasks.claimed.reject_help": "Ha áttekintette a tételt, és úgy találta, hogy <strong>nem</strong> alkalmas a gyűjteménybe való felvételre, válassza az \"Elutasítás\" lehetőséget.\nEzután meg kell adnia egy üzenetet, amelyben jelzi, miért nem megfelelő a tétel, és hogy a beküldőnek módosítania kell-e valamit és újra be kell-e küldenie.",
8699+
"submission.workflow.tasks.claimed.reject_help": "Ha áttekintette a tételt, és úgy találta, hogy <strong>nem</strong> alkalmas a gyűjteménybe való felvételre, válassza az \"Elutasítás\" lehetőséget. Ezután meg kell adnia egy üzenetet, amelyben jelzi, miért nem megfelelő a tétel, és hogy a beküldőnek módosítania kell-e valamit és újra be kell-e küldenie.",
87478700

87488701
// "submission.workflow.tasks.claimed.return": "Return to pool",
87498702
"submission.workflow.tasks.claimed.return": "Vissza a feladatlistába",
@@ -10917,16 +10870,13 @@
1091710870
"file-download-link.request-copy": "Másolat kérése ",
1091810871

1091910872
// "item.preview.organization.url": "URL",
10920-
// TODO New key - Add a translation
1092110873
"item.preview.organization.url": "URL",
1092210874

1092310875
// "item.preview.organization.address.addressLocality": "City",
10924-
// TODO New key - Add a translation
10925-
"item.preview.organization.address.addressLocality": "City",
10876+
"item.preview.organization.address.addressLocality": "Város",
1092610877

1092710878
// "item.preview.organization.alternateName": "Alternative name",
10928-
// TODO New key - Add a translation
10929-
"item.preview.organization.alternateName": "Alternative name",
10879+
"item.preview.organization.alternateName": "Alternatív név",
1093010880

1093110881

10932-
}
10882+
}

0 commit comments

Comments
 (0)