[wp-trac] [WordPress Trac] #54232: Uunbreakable spaces not escaped
WordPress Trac
noreply at wordpress.org
Thu Oct 7 15:22:32 UTC 2021
#54232: Uunbreakable spaces not escaped
--------------------------+-----------------------------
Reporter: jdy68 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.8
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
Hey there,
I spotted an message that has a bad handling of non-breaking spaces in the
interface of the image editing feature, see screencapture message-
modifications-media.png. The translate of this string is correct.
This message corresponds to the following string
(https://translate.wordpress.org/projects/wp/dev/admin/fr/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=32033&filters%5Btranslation_id%5D=88460924)
located on line 252 of image-edit.php file
(https://build.trac.wordpress.org/browser/trunk/wp-admin/includes/image-
edit.php?marks=252#L252).
See screenshot: message-edit-media.png
For other similar messages, the consideration of non-breaking spaces is
correct, here are two examples:
Example 1:
the string in translate:
https://translate.wordpress.org/projects/wp/dev/admin/fr/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=10187821&filters%5Btranslation_id%5D=84172065
its location: https://build.trac.wordpress.org/browser/trunk/wp-admin/js
/nav-menu.js?marks=1423#L1423
See screenshot: message-delete-menu.png
Example 2:
the string in translate:
https://translate.wordpress.org/projects/wp/dev/admin/fr/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=76269&filters%5Btranslation_id%5D=51383668
its location: https://build.trac.wordpress.org/browser/trunk/wp-
admin/themes.php?marks=226#L226
See screenshot: message-delete-theme.png
Thanks for the fix.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54232>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list