EOT string in "duplicate-post-strings-450.js" prevent translation
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 53
- Forks
- 38
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
- [ ✓] I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
Translation of "Schedule repulish" button in classic editor's submit box do not work .
To Reproduce
Step-by-step reproduction instructions
- Set Language other than English.
- Duplicate a post with "Rewrite & Republish".
- Set publish time as future date and press OK
Expected results
- "Schedule repulish" button become translated strings.
Actual results
- "Schedule repulish" button do not become translated strings.
Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
Technical info
- If relevant, which editor is affected (or editors):
- Block Editor
- Gutenberg Editor
- [✓ ] Classic Editor
- Other:
- Which browser is affected (or browsers):
- Chrome
- Firefox
- [✓ ] Safari
- Other:
Used versions
- Device you are using:
- Operating system:
- PHP version:
- WordPress version:
- WordPress Theme:
- Yoast Duplicate Post version:
- Gutenberg plugin version:
- Classic Editor plugin version:
- Relevant plugins in case of a bug:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting duplicate-post-strings-450.js, focusing on the EOT string for the “Schedule republish” button and how it is exposed for translation. Reproduce the flow in the Classic Editor with a non-English language and a future publish date; done means the button text is translated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100