# 単数テキスト、複数バリアントのカスタマイズ後に動作せず

**URL:** https://meta.discourse.org/t/singular-text-no-longer-works-after-customizing-plural-variant/365801
**Category:** Bug
**Created:** [2025 年 5 月 12 日午後 9:30 UTC](https://meta.discourse.org/t/singular-text-no-longer-works-after-customizing-plural-variant/365801 "2025-05-12T21:30:37Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025 年 5 月 12 日午後 9:30 UTC](https://meta.discourse.org/t/singular-text-no-longer-works-after-customizing-plural-variant/365801/1 "2025-05-12T21:30:37Z")

</div>

サイトテキストの複数形バージョンを編集すると、単数形バージョンが壊れるようです。

この例で使用したテキストは次のとおりです。

> `admin.site_settings.default_categories.modal_description`

### 準備

サイドバーに1人のユーザーのみが含まれるカテゴリが必要です。新しいカテゴリを作成してサイドバーに追加するか、カテゴリが誰もサイドバーに含まれていないことを確認してください。そのためには、`default navigation menu categories` にカテゴリを追加してから削除し、すべての既存ユーザーに対して削除することを確認します。次に、サイドバーに追加します。  
後者には、問題のモーダルを事前に試すことができるという利点があります。

### 再現手順

1. 管理 \> サイトテキストに移動します
2. `admin.site_settings.default_categories.modal_description` を検索します
3. `admin.site_settings.default_categories.modal_description.other` の横にある 編集 をクリックします
4. テキストを編集します（末尾に「編集」を追加しました）そして変更を保存します
5. 変更を有効にするためにサイトをリロードします  
 ![image](https://global.discourse-cdn.com/meta/original/4X/0/b/b/0bbc8e3a10bc281451c5eb227d72b25ace0519b0.jpeg)
6. 準備ステップのカテゴリを `default navigation menu categories` サイト設定に追加して保存します。これが既存のユーザーに影響するかどうかという質問を拒否します。  
モーダルに編集されたテキストが表示されるはずです。  
 ![image](https://global.discourse-cdn.com/meta/original/4X/4/c/d/4cd5ab91ca23f47aea8a78e453ad0b400dfa0e49.jpeg)
7. 次に、設定からカテゴリを削除します。保存すると、1人のユーザーに変更するかどうかを尋ねるモーダルが表示されます。しかし、テキストは表示されません。  
 ![image](https://global.discourse-cdn.com/meta/original/4X/1/3/e/13e7f894b95cfb152ca6b1a4b0e2934ba1b8ffa3.jpeg)
8. カスタマイズされたテキストをリセットすることを忘れないでください。

---

_[View the full topic](https://meta.discourse.org/t/singular-text-no-longer-works-after-customizing-plural-variant/365801)._
