WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 6 months ago

#51112 closed defect (bug) (invalid)

Bug in post.js that is overwritting Button values from translated to English lang

Reported by: dragy Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.5
Component: Editor Keywords: has-screenshots
Focuses: ui, javascript Cc:

Description

Hi

I believe thanks to www/wp-admin/js/post.min.js we have an issue where buttons labels (value=) is changed, when I click on a OK button in the id="submitdiv" class="postbox div.

https://i2.wp.com/i.ibb.co/nsp3pzQ/error1.png

https://i2.wp.com/i.ibb.co/prMZPTC/error2.png

thanks.

Change History (6)

#1 @ocean90
6 months ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hello @dragy, thanks for the report.

This happens because the Czech translation is not yet completed. You can view the current status at https://translate.wordpress.org/locale/cs/default/wp/dev/. Can you help to get it to 100%?

Closing as invalid since this isn't an issue in WordPress core.

#2 @SergeyBiryukov
6 months ago

Possibly related: #51118

#3 @dragy
6 months ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

#4 @dragy
6 months ago

Hi guys

sorry but this is not related to the translation. For example the text "Publish" was translated since year 2010, it is referenced to wp-admin/js/post.js:761, but on that line the text is in english, and when I translate it manually in the post.min.js, then I see it translated.
Please check screenshots, thanks.

https://i.ibb.co/rbT696d/Sn-mka.png

https://i.ibb.co/tZVQQX9/Sn-mka1.png

#5 @dragy
6 months ago

this bug is still present in v5.5.1

#6 @ocean90
6 months ago

  • Resolution set to invalid
  • Status changed from reopened to closed

Hi, as mentioned above, the locale is not at 100% thus no new language pack with the new translations has been built for WordPress 5.5.

Note: See TracTickets for help on using tickets.