mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #677] [Bug]: Image prompt review modal renders raw localization keys in Noodle and Slurp #349
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#349
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gunterlie on GitHub (Sep 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/677
Summary
Every text string in the image prompt review modal renders as a raw localization key. Ten keys used by
ImagePromptReviewModalare referenced by the shippedclient.jsof both Noodle and Slurp but exist in neither package's locale catalog.This is the "all of the text strings are broken" report. It is not Slurp-specific:
ImagePromptReviewModalis a shared Engine component (components/ui/ImagePromptReviewModal) that both packages bundle, so Noodle's review modal is broken identically.Evidence
Scanning the built bundle for
ui.*key references and diffing against the package catalog:The largest cluster by far is the review modal — all ten of its strings:
Note the
ui.ui.double segment. Every other namespace in the catalog isui.<area>.<component>. This one isui.ui.<component>, because the component sits incomponents/ui/rather than a feature folder — a naming collision the extractor did not handle.Secondary defect in the same modal
The body sentence is assembled from six separate lookups with a pluralisation hack, visible in the compiled bundle:
ui.noodle.stageprofileview.sis literally"s". An English sentence has been chopped into fragments and pluralised by concatenating a borrowed letter. Even with the keys restored this is unlocalisable — word order and plural rules differ per language. The fragments should be collapsed into one or two keys with proper{{count}}interpolation.The other 14 missing keys
Same class of bug, smaller blast radius, also shared Engine components:
Root cause
The package build vendors Engine UI components into
client.jsbut does not pull those components' catalog entries into the package locale file. Anything the packages render fromcomponents/ui/,components/chat/,components/panels/orcomponents/characters/ships with no strings.Suggested fix
packages/*/src/engine/packages/client/src/localization/locales/en.json, or better, make the build fail when a bundledui.*key has no catalog entry. The check is cheap — extract"ui.*"literals from the built bundle and diff against the catalog. That is exactly how these were found, and it would have caught all 24 at build time.{{count}}.Reproduction
Enable Review image prompts before sending, generate a post with an image, in either Noodle or Slurp. The modal shows key names instead of text.
Affects
Both packages, all recent versions. Reported against Slurp; confirmed present in Noodle from the same evidence.
@Gunterlie commented on GitHub (Sep 1, 2026):
Fix opened as draft #683.