Investigate translation of exception message in Update.php

Created on 21 June 2024, 5 months ago
Updated 28 June 2024, 5 months ago

Problem/Motivation

alexpott pointed out that the following line "is highly unlikely to have ever resulted in a translation" This issue to is review the expectation of the string passed to \Drupal\Core\FileTransfer\FileTransferException being translated and change the code as needed.

catch (FileTransferException $e) {
  $message = t($e->getMessage(), $e->arguments);

In core/lib/Drupal/Core/Updater/Updater.php
Follow up from #3123067: Fix 'Drupal.Semantics.FunctionT.NotLiteralString' coding standard

Steps to reproduce

Proposed resolution

TBD

Remaining tasks

Investigate what is being translated here and decide if a change is needed
Review

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component
File system 

Last updated about 3 hours ago

Created by

🇳🇿New Zealand quietone

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024