From 2d56a1afcb7d9c3ac6cf64730ba351df46af3973 Mon Sep 17 00:00:00 2001 From: milanmajchrak Date: Wed, 27 Dec 2023 19:43:42 +0100 Subject: [PATCH] Added messages and translations. --- .../item-edit-bitstream.component.html | 42 ++++++++++++++----- src/assets/i18n/cs.json5 | 12 ++++++ src/assets/i18n/en.json5 | 10 +++++ 3 files changed, 53 insertions(+), 11 deletions(-) diff --git a/src/app/item-page/edit-item-page/item-bitstreams/item-edit-bitstream/item-edit-bitstream.component.html b/src/app/item-page/edit-item-page/item-bitstreams/item-edit-bitstream/item-edit-bitstream.component.html index cf0e15e6f42..22f7a16344a 100644 --- a/src/app/item-page/edit-item-page/item-bitstreams/item-edit-bitstream/item-edit-bitstream.component.html +++ b/src/app/item-page/edit-item-page/item-bitstreams/item-edit-bitstream/item-edit-bitstream.component.html @@ -55,13 +55,15 @@ |
- -
+
-
DB
-
Algorithm: {{bitstreamChecksum.databaseChecksum.checkSumAlgorithm}}
-
Value: {{ bitstreamChecksum.databaseChecksum.value }}
+
+ {{'item.edit.bitstreams.checksum.database' | translate}} +
+
+ {{'item.edit.bitstreams.checksum.algorithm' | translate}} {{bitstreamChecksum.databaseChecksum.checkSumAlgorithm}} +
+
+ {{'item.edit.bitstreams.checksum.value' | translate}} {{ bitstreamChecksum.databaseChecksum.value }} +
-
Active store
-
Algorithm: {{bitstreamChecksum.activeStore.checkSumAlgorithm}}
-
Value: {{ bitstreamChecksum.activeStore.value }}
+
+ {{'item.edit.bitstreams.checksum.active-store' | translate}} +
+
+ {{'item.edit.bitstreams.checksum.algorithm' | translate}} {{bitstreamChecksum.activeStore.checkSumAlgorithm}} +
+
+ {{'item.edit.bitstreams.checksum.value' | translate}} {{ bitstreamChecksum.activeStore.value }} +
-
Sync store
-
Algorithm: {{bitstreamChecksum.synchronizedStore.checkSumAlgorithm}}
-
Value: {{ bitstreamChecksum.synchronizedStore.value }}
+
+ {{'item.edit.bitstreams.checksum.sync-store' | translate}} +
+
+ {{'item.edit.bitstreams.checksum.algorithm' | translate}} {{bitstreamChecksum.synchronizedStore.checkSumAlgorithm}} +
+
+ {{'item.edit.bitstreams.checksum.value' | translate}} {{ bitstreamChecksum.synchronizedStore.value }} +
diff --git a/src/assets/i18n/cs.json5 b/src/assets/i18n/cs.json5 index 784183489ec..a12aab53fc6 100644 --- a/src/assets/i18n/cs.json5 +++ b/src/assets/i18n/cs.json5 @@ -3270,6 +3270,18 @@ "item.edit.bitstreams.upload-button" : "Nahrát", +// "item.edit.bitstreams.checksum.algorithm": "Algorithm: ", + "item.edit.bitstreams.checksum.algorithm": "Algoritmus: ", + + "item.edit.bitstreams.checksum.value": "Hodnota: ", + + "item.edit.bitstreams.checksum.database": "DB", + + "item.edit.bitstreams.checksum.active-store": "Aktívne úložisko", + + "item.edit.bitstreams.checksum.sync-store": "Sync úložisko", + + // "item.edit.delete.cancel": "Cancel", "item.edit.delete.cancel" : "Zrušit", diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5 index 0dc4cb05a47..1941e6efc9c 100644 --- a/src/assets/i18n/en.json5 +++ b/src/assets/i18n/en.json5 @@ -2216,6 +2216,16 @@ "item.edit.bitstreams.upload-button": "Upload", + "item.edit.bitstreams.checksum.algorithm": "Algorithm: ", + + "item.edit.bitstreams.checksum.value": "Value: ", + + "item.edit.bitstreams.checksum.database": "DB", + + "item.edit.bitstreams.checksum.active-store": "Active store", + + "item.edit.bitstreams.checksum.sync-store": "Sync store", + "item.edit.delete.cancel": "Cancel",