首页搜索框内嵌英文文本未翻译

Author: Neko-aicCreated Sep 12, 2026Updated Sep 12, 2026
Labelsbug

问题/建议

GitHub 主页(https://github.com/dashboard)Copilot 搜索框的aria-label文本没有汉化。 元素:

xml
<textarea id="copilot-chat-textarea"
class="ChatInput-module__input__lPYf_"
autocomplete="off"
autocorrect="off"
aria-label="Ask anything or type @ to add context with Copilot"
aria-multiline="true"
placeholder="Ask anything or type @ to add context"    <--- Here
data-react-autofocus="true">
</textarea>

aria-label 原文:Ask anything or type @ to add context 建议中文翻译:询问任何问题或键入@以添加上下文

步骤

  1. 访问 GitHub 主页:https://github.com/dashboard
  2. 打开开发者工具,定位 Copilot AI 搜索框 textarea 元素
  3. 查看元素 aria-label 属性内容,该文本未被脚本翻译

预期

脚本可翻译该 aria-label 文本为:询问任何问题或键入@以添加上下文

实际

aria-label 内容保持英文,没有汉化。

附件

HTML源代码:

xml
<textarea id="copilot-chat-textarea" class="ChatInput-module__input__lPYf_" autocomplete="off" autocorrect="off" aria-label="Ask anything or type @ to add context with Copilot" aria-multiline="true" placeholder="Ask anything or type @ to add context" data-react-autofocus="true"></textarea>

问题截图: Image Image

浏览器名称

Microsoft Edge

浏览器版本

版本 151.0.4129.101 (正式版本) (64 位)

脚本管理器名称

篡改猴(Tampermonkey)

脚本管理器版本

5.5.6237

插件版本

1.9.4.4-2026-08-25

Source: maboloshi/github-chinese