Skip to content

Commit

Permalink
fix: update key for storage purpose-deletion in doc view modal
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsofshiva committed Feb 7, 2025
1 parent a5f74fb commit 27cd240
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/baseObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ export class BaseViewElement extends ScopedElementsMixin(DBPLitElement) {
${viewElements.stringElement(this._i18n.t('doc-modal-subject-of'), baseData.subjectOf || '')}
${viewElements.stringElement(this._i18n.t('doc-modal-study-field'), this.getStudyFieldNameForKey(baseData.studyField))}
${viewElements.stringElement(this._i18n.t('doc-modal-semester'), baseData.semester || '')}
${viewElements.enumElement(this._i18n.t('doc-modal-speicherzweck-löschfristen'), baseData.isPartOf, BaseFormElement.getIsPartOfItems())}
${viewElements.enumElement(this._i18n.t('doc-modal-storage-purpose-deletion'), baseData.isPartOf, BaseFormElement.getIsPartOfItems())}
${viewElements.stringElement(this._i18n.t('doc-modal-comment'), baseData.comment || '')}
${baseData.deleteAtTimestamp ? '' :
viewElements.dateElement(this._i18n.t('doc-modal-recommended-deletion'), baseData.recommendedDeletionTimestamp === 0 ? '' : new Date(baseData.recommendedDeletionTimestamp * 1000))}
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,6 @@
"doc-modal-study-field":"Studienfach",
"doc-modal-semester":"Semester",
"doc-modal-comment":"Kommentar",
"doc-modal-speicherzweck-löschfristen":"Speicherzweck",
"doc-modal-storage-purpose-deletion":"Speicherzweck",
"doc-modal-recommended-deletion":"Empfohlene Löschfrist"
}
2 changes: 1 addition & 1 deletion src/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,6 @@
"doc-modal-study-field":"Study field",
"doc-modal-semester":"Semester",
"doc-modal-comment":"Comment",
"doc-modal-speicherzweck-löschfristen":"Purpose of storage",
"doc-modal-storage-purpose-deletion":"Purpose of storage",
"doc-modal-recommended-deletion":"Recommended deletion"
}

0 comments on commit 27cd240

Please sign in to comment.