statamic-rad-pack / runway

Eloquently manage your database models in Statamic.
https://statamic.com/runway
MIT License
107 stars 42 forks source link

Resource editing: Page heading gets unexpectedly localized #531

Closed mynetx closed 4 days ago

mynetx commented 1 week ago

Description

When editing a resource, its primary field will be used in the edit pane's heading. It should only be localized while using the default title, though.

Steps to reproduce

  1. Set your Statamic locale to de.
  2. Create a resource, e.g. "Readers".
  3. Add an element to the resource, e.g. "Max Muster".

You'll see that the title is set to "Maximum", while it should really be just "Max".

image

Environment

Environment Application Name: Statamic Laravel Version: 11.11.1 PHP Version: 8.3.8 Composer Version: 2.7.7 Environment: local Debug Mode: ENABLED URL: website.test Maintenance Mode: OFF Timezone: UTC Locale: de

Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED

Drivers Broadcasting: log Cache: file Database: mysql Logs: stack / single Mail: smtp Queue: sync Session: file

Locales Installed: de, en LaravelLang\Actions\Plugin: 1.8.4 LaravelLang\Attributes\Plugin: 2.10.7 LaravelLang\HttpStatuses\Plugin: 3.8.3 LaravelLang\Lang\Plugin: 15.5.1 Locales Version: 2.9.2 Protected: de, en Publisher Version: 16.4.0

Statamic Addons: 1 Sites: 1 Stache Watcher: Disabled Static Caching: Disabled Version: 5.11.0 Solo

Statamic Addons statamic-rad-pack/runway: 7.5.1

github-actions[bot] commented 4 days ago

Released as part of v7.5.2.