[ticket/17607] Add missing COULD_NOT_COPY language key by ECYaz · Pull Request #6968 · phpbb/phpbb · GitHub
Skip to content

[ticket/17607] Add missing COULD_NOT_COPY language key#6968

Open
ECYaz wants to merge 1 commit into
phpbb:3.3.xfrom
ECYaz:ticket/17607
Open

[ticket/17607] Add missing COULD_NOT_COPY language key#6968
ECYaz wants to merge 1 commit into
phpbb:3.3.xfrom
ECYaz:ticket/17607

Conversation

@ECYaz

@ECYaz ECYaz commented Jun 22, 2026

Copy link
Copy Markdown

The convertor's copy_file() (includes/functions_convert.php) calls sprintf($user->lang['COULD_NOT_COPY'], ...) when a file copy fails during a board conversion, but the COULD_NOT_COPY key was missing from language/en/install.php, producing a broken/empty error message. This restores it.

Checklist:

  • Correct branch: 3.3.x for fixes
  • Tests pass
  • Code follows coding guidelines
  • Commit follows commit message format

Tracker ticket:

https://tracker.phpbb.com/browse/PHPBB-17607

@github-actions

Copy link
Copy Markdown

Comment thread phpBB/language/en/install.php Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use <br>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, switched to <br>. Thanks for the review!

copy_file() in includes/functions_convert.php references
$user->lang['COULD_NOT_COPY'] when a file copy fails during a board
conversion, but the key was missing from language/en/install.php,
producing a broken/empty error message. Restore it with the
%1$s/%2$s source/target placeholders copy_file() passes.

PHPBB-17607
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants