Bug #70160
closedTranslation missing for error message "There are 1 reference(s) to this file!"
100%
Description
When trying to delete a file in the File List, which is referenced in the system, following error message gets displayed:
DE:
Sind Sie sicher, dass Sie "beispieldokument.pdf" tatsächlich löschen wollen? (There are 1 reference(s) to this file!) <<
FR:
Etes-vous sûr de vouloir supprimer "beispieldokument.pdf" ? (There are 1 reference(s) to this file!) <<
Files
Updated by Wouter Wolters over 8 years ago
- Status changed from New to Accepted
- Assignee set to Wouter Wolters
sysext/backend/Classes/ClickMenu/ClickMenu.php
782: $conf = 'confirm(' . GeneralUtility::quoteJSvalue(sprintf($this->languageService->sL('LLL:EXT:lang/locallang_core.xlf:mess.delete'), $elInfo0) . BackendUtility::referenceCount($table, $uid, ' (There are %s reference(s) to this record!)') . BackendUtility::translationCount($table, $uid, (' ' . $this->languageService->sL('LLL:EXT:lang/locallang_core.xlf:labels.translationsOfRecord')))) . ')';
1103: $conf = 'confirm(' . GeneralUtility::quoteJSvalue((sprintf($this->languageService->sL('LLL:EXT:lang/locallang_core.xlf:mess.delete'), basename($path)) . BackendUtility::referenceCount('_FILE', $path, ' (There are %s reference(s) to this file!)'))) . ')';
sysext/filelist/Classes/FileList.php
961: $referenceCountText = BackendUtility::referenceCount('_FILE', $identifier, ' (There are %s reference(s) to this folder!)');
963: $referenceCountText = BackendUtility::referenceCount('sys_file', $fileOrFolderObject->getUid(), ' (There are %s reference(s) to this file!)');
Updated by Gerrit Code Review over 8 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43620
Updated by Wouter Wolters over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 306272f14880c4a0db29bbe4a1e46f831acb9cf3.