Non-translatable message in rename UI

Created on 2 December 2024, 2 days ago

Problem/Motivation

The following message displayed in the rename UI is not translatable:

This page opened in a new tab.
After you save this form, return to your original tab to make sure you save any changes you made there.

Steps to reproduce

Just click on the 'Replace' link of any image field form to open the Rename UI in a separate tab. You will see the message in question there.

Proposed resolution

In 'src/Form/FileRenameForm.php', change...

 $form['info'] = [
      '#markup' => '<p>This page opened in a new tab.<br>After you save this form, <b>return to your original tab</b> to make sure you save any changes you made there.</p>',
    ];

...to:

$form['info'] = [
  '#markup' => t('<p>This page opened in a new tab.<br>After you save this form, <b>return to your original tab</b> to make sure you save any changes you made there.</p>'),
];
🐛 Bug report
Status

Active

Version

1.0

Component

User interface

Created by

🇯🇵Japan ilfelice

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024