- Issue created by @Nelo_Drup
- Assigned to sakthi_dev
- 🇮🇳India sakthi_dev
Hi, Could you please share more information by providing screenshot and steps?
- Merge request !14Issue-3352197 : Update unlock button text with configuration value. → (Open) created by sakthi_dev
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 4:11pm 5 April 2023 - 🇮🇳India sakthi_dev
Added a configurable field in admin/config/content/content_lock. By default or no text is added or if the field is empty "Unlock" will be the button text. Attached Screenshots. Please review.
- Status changed to RTBC
over 1 year ago 9:12am 26 July 2023 - 🇯🇵Japan tyler36 Osaka
Confirmed working on Drupal
10.1
## Test
- Install module and enable
- Configure content lock: "/admin/config/content/content_lock"
- Protected entity types: Content
- Set to "Disable lock for selected form operations" with nothing selected (always applies)
- Create content
- Edit new content and check button text- Configure content lock: "/admin/config/content/content_lock"
- Set "Unlock Button Text": "Free me"
- Edit new content and check button text - Status changed to Needs work
9 months ago 1:40am 20 March 2024 - 🇬🇧United Kingdom alexpott 🇪🇺🌍
Added a comment on the MR about changing the approach slightly so that it works with translation and config properly.
Great, all this should now be included as a module configuration option.
- Status changed to Postponed: needs info
9 months ago 2:51pm 26 March 2024 - 🇺🇸United States smustgrave
Wonder if this should be closed and moved over to ✨ Rename drupal messages Needs work like the other tickets about changing text.
- Status changed to Closed: duplicate
9 months ago 8:55pm 27 March 2024 - 🇺🇸United States smustgrave
Talking to @alexpott in slack and seems the desired approach is to use stringoverrides. Will update ✨ Rename drupal messages Needs work
- 🇯🇵Japan tyler36 Osaka
@smustgrave
I'm confused. This issue is for a config option to change button text.
You marked it as a duplicate of Update README For how to override strings ✨ Rename drupal messages Needs work which is "shortening messages"? - 🇺🇸United States smustgrave
From talking with @alexpott sounds like he wants to avoid configuration settings around string changes.
- Status changed to Closed: works as designed
9 months ago 2:28am 28 March 2024 - 🇯🇵Japan tyler36 Osaka
Sounds like a "works as designed" (don't want to add the feature).
The issue linked has a different scope, at least at the time of writing and without the fully context of the conversion you and @alexpott had.