Hi,
to reproduce:
- Create a rule
- Translate it
- Create a feature with this rule
- Change rule (e.g. set to inactive)
- Revert the feature settings (rules component)
On revert rules config is deleted, and hook_rules_config_delete invokes translation delete (i18n_string_object_remove)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | rules_i18n-deleted_translation_on_revert-2478571-1.patch | 611 bytes | szato |
Comments
Comment #1
szato commentedCreated a patch:
delete translations only on real delete, not on revert.
Comment #2
ptmkenny commentedThanks, this issue was causing me a lot of trouble-- I kept losing translations and I couldn't figure out why.
I can confirm that rules translations that are lost upon reverting a feature containing rules are no longer lost after the patch is applied.
Comment #3
weri commentedWe had the same problem an this patch fixes it. thanks!!
Comment #5
fagothx, committed.