The current implementation doesn't seem to add the #, java-format flag as documented here:
https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html#The-Format-of-PO-Files
Tools like Poedit understand this flag and displays it to translators:

Translation tools may also use this to validate that all placeholders are used in the translation, and that they are syntactically well formed.