Skip to content

Fix: addresses review issues from PR #360 (translation improvements) - #398

Open
Aquive wants to merge 9 commits into
SnowdogApps:developfrom
Aquive:feature/translations-improvements
Open

Fix: addresses review issues from PR #360 (translation improvements)#398
Aquive wants to merge 9 commits into
SnowdogApps:developfrom
Aquive:feature/translations-improvements

Conversation

@Aquive

@Aquive Aquive commented Mar 12, 2026

Copy link
Copy Markdown

Fixes review issues raised in #360:

  • Use existing getStoreViews() instead of duplicate store view lookup in Nodes.php
  • Wrap nodeTranslationRepository->save() in try-catch with logging in TranslationProcessor
  • Remove unused getIdByCode() method and StoreManagerInterface dependency from Store
  • Add missing constants and method declarations to NodeTranslationInterface
  • Remove unused getValue() / setValue() from NodeTranslation
  • Remove unused NodeTranslationInterface import in AfterSave

@EmilsM EmilsM mentioned this pull request Mar 13, 2026
@Aquive Aquive changed the title Fix: address review issues from PR #360 Fix: addresses review issues from PR #360 (translation improvements) Jul 2, 2026
Aquive added a commit to AquiveMedia/magento2-menu that referenced this pull request Jul 2, 2026
Aquive added a commit to AquiveMedia/magento2-menu that referenced this pull request Jul 2, 2026
The addTranslation translation key was added without a trailing comma
before hideIfEmpty, producing invalid JSON in the x-magento-init block.
This broke the menu admin (JSON.parse SyntaxError) when opening/creating a menu.
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.

2 participants