Project

General

Profile

Actions

Bug #70160

closed

Translation missing for error message "There are 1 reference(s) to this file!"

Added by Zsofia Gugan over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Localization
Target version:
-
Start date:
2015-09-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

error_message.png (34.3 KB) error_message.png Zsofia Gugan, 2015-09-28 16:23
Actions #1

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!)');

Actions #2

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

Actions #3

Updated by Wouter Wolters over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF