woocommerce / sensei-certificates

Hi, I'm the Certificates extension for Sensei.
GNU General Public License v2.0
34 stars 23 forks source link

Missing translation texts for Sensei LMS Certificates (Block editor) #359

Open donnapep opened 3 weeks ago

donnapep commented 3 weeks ago

Moved from https://github.com/Automattic/sensei/issues/7693.

Texts used in block editor are missing or not translated after translation CLI run.

Steps to Reproduce

  1. Install Sensei LMS Certificates.
  2. Switch to another language.
  3. Create a new course.
  4. Add "View Certificate" block.
  5. Check translation texts.

Missing from translation file (PO file): "A Buttons block with a View Certificate button." "Enable students to view their course certificate."

Not translated after CLI run: "View Certificate"

PHP / WordPress / Sensei LMS version

PHP version 8.1.17 WordPress version 6.6.2 Sensei LMS Version: 4.24.3 | Sensei Pro Version: 1.24.1 Sensei LMS Certificate version 2.5.2

Screenshot / Video

Image Image

donnapep commented 3 weeks ago

We'll need to add support for translating strings in JS files, as we did for Sensei.