h5p / h5p-wordpress-plugin

Adds support for H5P Content in WordPress.
https://wordpress.org/plugins/h5p/
71 stars 74 forks source link

Fixes PHP Fatal error due to wrong translations %s without "s" #180

Open RubenMartins opened 7 months ago

RubenMartins commented 7 months ago

It was missing the "s" from the "%s" in multiple translated content in pt_PT leading to breaking the site upon activation with an error like: PHP Fatal error: Uncaught ValueError: Unknown format specifier " "

otacke commented 7 months ago

Now the variable is fine, but what's the change now? If you compare the current .po file with your proposed version, then the only difference is the change of revision date, last author and the version number. The .mo file should always reflect what's in the .po file, so I am not sure what the issue is. But this is not mine to handle, just came across this :-)