Issue Overview
Language packs are currently only generated on gp_translation_saved which is called on $translation->save() which doesn't cover an original that has been marked as obsolete.
To Reproduce
Steps to reproduce the behavior:
Remove a string from the source
Create a new POT file
Import POT file
See the "1 string obsoleted" message
Expected behavior
A new language pack is triggered.
Issue Overview Language packs are currently only generated on
gp_translation_saved
which is called on$translation->save()
which doesn't cover an original that has been marked as obsolete.To Reproduce Steps to reproduce the behavior:
Expected behavior A new language pack is triggered.
Additional context
gp_originals_imported
: https://github.com/GlotPress/GlotPress-WP/blob/2.3.1/gp-includes/things/original.php#L337-L349