# 我无法保存对网站文本的编辑

**URL:** <https://meta.discourse.org/t/i-cant-save-edit-on-site-texts/360990>\
**Category:** Bug\
**Created:** [2025年四月9日 01:28 UTC](https://meta.discourse.org/t/i-cant-save-edit-on-site-texts/360990 "2025-04-09T01:28:21Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
**Post date:** [2025年四月11日 02:24 UTC](https://meta.discourse.org/t/i-cant-save-edit-on-site-texts/360990/14 "2025-04-11T02:24:10Z")

</div>

嘿 @songs，感谢你报告这个 bug，一旦这个 PR 合并，它就会被修复：

> <https://github.com/discourse/discourse/pull/32262>
>
> Repro steps:
> 
> 1. Go to \`/admin/customize/site\_texts\`
> 2. Click edit on any tra…nslation
> 3. Go back by clicking on "Back to search"
> 4. Click edit on another translation
> 5. Change the text field in any way
> 
> Expected results:
> 
> The disabled state on the "Save changes" button is removed and you're able to click it
> 
> Actual results:
> 
> The "Save changes" button remains disabled
> 
> This happens because the computed property for the button's disabled state doesn't get re-evaluated when navigating between translation strings because it doesn't include on the \`siteText\` property in its dependent properties, so changing the site text doesn't invalidate the old value for the disabled state and it always stays the same.
> 
> Meta topic: https://meta.discourse.org/t/i-cant-save-edit-on-site-texts/360990?u=osama

---

_[View the full topic](https://meta.discourse.org/t/i-cant-save-edit-on-site-texts/360990)._
