Skip to content

fix(TranslationsTrait): add afterSaveTranslationsTrait method for tim…#346

Open
celikerde wants to merge 1 commit intodevfrom
bugfix/correct-last-updated-column-in-package-features
Open

fix(TranslationsTrait): add afterSaveTranslationsTrait method for tim…#346
celikerde wants to merge 1 commit intodevfrom
bugfix/correct-last-updated-column-in-package-features

Conversation

@celikerde
Copy link
Copy Markdown
Collaborator

@celikerde celikerde commented Apr 9, 2026

…estamp management

  • Introduced afterSaveTranslationsTrait method to re-enable timestamps and touch the parent model only when meaningful changes occur in translation rows, ignoring auto-timestamp columns. This enhances the handling of translation updates in the model.

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Types of changes

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, etc)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to our CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit

Description

Related Issue

…estamp management

- Introduced afterSaveTranslationsTrait method to re-enable timestamps and touch the parent model only when meaningful changes occur in translation rows, ignoring auto-timestamp columns. This enhances the handling of translation updates in the model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant