WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#52583 closed defect (bug) (fixed)

Extranous space character in wp-admin/export-personal-data.php

Reported by: tobifjellner Owned by: SergeyBiryukov
Milestone: 5.7 Priority: normal
Severity: normal Version: 5.7
Component: Privacy Keywords:
Focuses: Cc:

Description

Hi,

I started translate the new strings for WordPress 5.7.
The following string at https://build.trac.wordpress.org/browser/trunk/wp-admin/export-personal-data.php?marks=55#L55 contains a space character too much just before the word "learn":

Plugin authors can <a href="https://developer.wordpress.org/plugins/privacy/adding-the-personal-data-exporter-to-your-plugin/" target=_blank"> learn more about how to add the Personal Data Exporter to a plugin here</a>.

Change History (5)

#1 @tobifjellner
7 months ago

Another string ends in a space character (line 38):

'<strong>Comments</strong> &mdash; For any comments made by the user, Email Address, IP Address, User Agent (Browser/OS), Date/Time, Comment Content, and Content URL. '

Either make a longer string or add a translators comment about the space at the end.

#2 @SergeyBiryukov
7 months ago

  • Milestone changed from Awaiting Review to 5.7
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @SergeyBiryukov
7 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 50398:

I18N: Remove extra spaces from translatable strings in Privacy help tabs.

Follow-up to [50147].

Props tobifjellner.
Fixes #52583.

#4 @tobifjellner
7 months ago

Did you see line 55, too?
Plugin authors can <a href="https://developer.wordpress.org/plugins/privacy/adding-the-personal-data-eraser-to-your-plugin/" target=_blank"> learn more about how to add support for the Personal Data Eraser to a plugin here</a>.

#5 @tobifjellner
7 months ago

Just checked the commit. Yes, you did :)

Note: See TracTickets for help on using tickets.