Skip to content

fix(Engine): shorten Status Attributes editor prompts to fit the UI - #1963

Merged
alexwarren merged 1 commit into
mainfrom
fix/status-attributes-editor-prompts
Jul 30, 2026
Merged

fix(Engine): shorten Status Attributes editor prompts to fit the UI#1963
alexwarren merged 1 commit into
mainfrom
fix/status-attributes-editor-prompts

Conversation

@alexwarren

Copy link
Copy Markdown
Contributor

Summary

  • Shortens the keyprompt/valueprompt text for the game and object Status Attributes editors (EditorGameAttributesPleaseenter[2] / EditorObjectAttributesPleaseenter[2]) across English, German, and Spanish — PR #1957 recently started rendering these as actual input placeholders in AppShell's PropertyEditor.svelte, and the old full-sentence prompts ("Please enter the attribute name" / "Please enter the format string (blank for default)") didn't fit the narrow key field or read well as placeholders.
  • English: "Attribute" / "Format string (optional)"
  • German: "Attributname" / "Formatstring (optional)"
  • Spanish: "Atributo" / "Cadena de formato (opcional)"
  • Also normalizes EditorEspanol.aslx from UTF-16LE to UTF-8+BOM, matching every other .aslx file under Core/Languages — it was the only UTF-16 file in that directory, which made git/GitHub treat any change to it as a binary diff.

Test plan

  • dotnet build src/WasmEditor/WasmEditor.csproj succeeds
  • dotnet test tests/EngineTests --configuration Release — 279/279 passed
  • Verified in the running AppShell editor (game Attributes tab, Player tab, object Attributes tab) that both prompts now render fully inside their fields instead of being clipped
  • Confirmed the Spanish file's content is byte-identical aside from the two changed template lines (re-encoding verified via diff against the decoded original)

The stringdictionary keyprompt/valueprompt templates for the game and
object Status Attributes editors were full sentences ("Please enter
the attribute name" / "Please enter the format string (blank for
default)") written for a different UI. AppShell now renders them as
placeholder text in a narrow key field and a value field, where the
long sentences don't fit or read well. Shortened across all three
editor languages that define them (English/German/Spanish).

Also normalizes EditorEspanol.aslx from UTF-16LE to UTF-8+BOM to match
every other .aslx file in Core/Languages — the odd encoding made git
treat any change to that file as a binary diff.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@alexwarren
alexwarren enabled auto-merge (squash) July 30, 2026 07:28
@alexwarren
alexwarren merged commit 62c3f82 into main Jul 30, 2026
7 checks passed
@alexwarren
alexwarren deleted the fix/status-attributes-editor-prompts branch July 30, 2026 07:30
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