# このトピックを「\[ユーザー名欠落\]へのメッセージ送信」としてフラグを立てました。

**URL:** https://meta.discourse.org/t/you-flagged-this-topic-as-send-missing-username-value-a-message/329567
**Category:** Support
**Created:** [2024 年 10 月 6 日午後 5:30 UTC](https://meta.discourse.org/t/you-flagged-this-topic-as-send-missing-username-value-a-message/329567 "2024-10-06T17:30:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![twofoursixeight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twofoursixeight/32/574822_2.png) [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)
#### Post date: [2024 年 10 月 6 日午後 5:30 UTC](https://meta.discourse.org/t/you-flagged-this-topic-as-send-missing-username-value-a-message/329567/1 "2024-10-06T17:30:13Z")

</div>

「このユーザーにメッセージを送信する」として投稿をフラグ付けすると、フラグのテキストがグリッチするのに気づきました。サイトは [https://forum.dark-gaming.com](https://forum.dark-gaming.com) でした。[try.discourse.org](http://try.discourse.org) でも再現しようとしました。このフォーラムでも試しましたが、フラグのテキストは通常でした。  
フォーラムのバージョンが古いせいかもしれませんが、確信はありません。

グリッチしたフラグ：

 ![This image does not provide enough visual information to generate a meaningful description. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/f/5/c/f5c219c5925543893ebdd5cb4075210c162b830a.png)  
デモ：  
 ![image](https://global.discourse-cdn.com/meta/original/4X/5/a/e/5aef5209e9d5444d03f7df591bdcbb9758c824fb.png)

---

<div class="post-metadata">

### Author: ![twofoursixeight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twofoursixeight/32/574822_2.png) [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)
#### Post date: [2024 年 10 月 6 日午後 9:37 UTC](https://meta.discourse.org/t/you-flagged-this-topic-as-send-missing-username-value-a-message/329567/2 "2024-10-06T21:37:09Z")

</div>

これを #Support に移動します。これはサイト管理者がフォーラムに入力したカスタムテキストであり、ウェブサイト管理者の責任である可能性が高いことに気づきました。該当するフォーラムにバグレポートを作成しました。

> **[Forum flag text for "messaging a user" is bugged](https://forum.dark-gaming.com/t/forum-flag-text-for-messaging-a-user-is-bugged/31587)**
>
> PC/Mobile Any web browser. Dimensions or Services it affects Forums How often it happens It occurs when flagging a topic and selecting “Send this user a message” from the flag button, but I believe this is a poor site configuration with the...

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2025 年 3 月 1 日午後 8:30 UTC](https://meta.discourse.org/t/you-flagged-this-topic-as-send-missing-username-value-a-message/329567/3 "2025-03-01T20:30:12Z")

</div>

> [@twofoursixeight](#):
>
> このフォーラムでも試しましたが、フラグのテキストは普通でしたか？

Metaでも同様の問題が発生しています。

* * *

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/f/6/2f65bf4aa84e5a4accd8c18883ab8e185ca7ac2f.png)

---

<div class="post-metadata">

### Author: ![kris.kotlarek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kris.kotlarek/32/176919_2.png) [@kris.kotlarek](https://meta.discourse.org/u/kris.kotlarek)
#### Post date: [2025 年 4 月 10 日午後 11:30 UTC](https://meta.discourse.org/t/you-flagged-this-topic-as-send-missing-username-value-a-message/329567/4 "2025-04-10T23:30:21Z")

</div>

このバグをご報告いただきありがとうございます。インターフェイス言語が「en\_GB」に設定されている場合に発生していました。この修正で対応しました:crossed\_fingers:

> <https://github.com/discourse/discourse/pull/32191>
>
> Currently, this is the order of i18n translate function:
> 1. Translation in requ…ired language;
> 2. Optional \`defaultValue\` provided;
> 3. Fallback to forum default language.
> 
> When admin set language as English GB, translation was not correctly displayed as it went to step 2 and displayed \`defaultValue\` instead of correct translation from default language.
> 
> Before
> \<img width="757" alt="Screenshot 2025-04-07 at 2 43 22 pm" src="https://github.com/user-attachments/assets/71bd9b3f-9bee-40ce-b560-fcbbd6b09b8f" /\>
> 
> After
> \<img width="760" alt="Screenshot 2025-04-07 at 2 42 41 pm" src="https://github.com/user-attachments/assets/6a7d4b81-0f15-4cbd-98ec-d8882aaec1ab" /\>

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2025 年 5 月 10 日午後 11:31 UTC](https://meta.discourse.org/t/you-flagged-this-topic-as-send-missing-username-value-a-message/329567/5 "2025-05-10T23:31:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
