Closed yakushabb closed 6 months ago
@yakushabb
gettext extract the
translatable=no
marked strings as translatable.
I'm on Fedora 39 with gettext 0.22 and AppStream 0.16.1 but haven't seen this. Maybe it's changed in AppStream 1.x?
Anyway, I tested the script or string extraction process
(ninja com.github.ryonakano.konbucase-pot
command) and these strings won't appear in the generated pot files. Also, appstreamcli validate
does not claim any errors, so it's looks good to me.
I saw the issue you opened on the appstream repository and found you're suggesting changes to many projects. Thank you very much for your work!
Some gettext version migt not recognize the "translate" properties and can extract strings.
Like your case.
https://github.com/ryonakano/konbucase/commit/33c409d88fc7a729b3c797e39ce5f9e82898d52d
Yeah…I found that after merging :weary:
It appears that the appstream project no longer supports
translatable=no
properties, and gettext extract thetranslatable=no
marked strings as translatable.I opened an issue to inform about the situation, but
translatable=no
properties are not accepted by developers. You can find the issue here: https://github.com/ximion/appstream/issues/623Please test your script or string extraction process before merging this PR.
Source: https://freedesktop.org/software/appstream/docs/sect-Quickstart-Translation.html