BUG:拉取请求的“建议更改” UI 不翻译

オープン
#582 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github, javascript

調査の方向性

Inspect the translation rules for pull request suggestion controls in the userscript. Compare the reported HTML for an unaccepted suggestion with the accepted example, then locate how the visible button text is matched. Update the translation for “Sign off and commit suggestion” and verify it on an open suggestion such as pull request #581.

索引モデルが issue の本文から書いたものです。

説明

bug

感谢您提交议题!请补充以下内容,以便我们能更好地协助您:
提交议题前确保您已阅读常见问题(FAQ)

问题/建议的具体描述

“建议更改”相关 UI 不翻译

操作步骤或重现方式(如有带上测试链接)

打开带有未接受的”建议更改“拉取请求即可,例如:#581

若该建议更改已接受,则正常翻译,示例页面:https://github.com/rust-lang/www.rust-lang.org/pull/2228

注:这是截取的网页源码:

未接受的:

<summary data-hydro-click="{&quot;event_type&quot;:&quot;suggested_changes.target.click&quot;,&quot;payload&quot;:{&quot;user_id&quot;:88823709,&quot;target_type&quot;:&quot;apply_suggestion&quot;,&quot;pull_request_id&quot;:null,&quot;relationship_to_suggestion&quot;:null,&quot;originating_url&quot;:&quot;https://github.com/maboloshi/github-chinese/pull/581&quot;}}" data-hydro-click-hmac="6c17587907a934ca911c20dd20e947c8bfb37bec3077639e4d7924a9dae10e7e" data-ga-click="Markdown Toolbar, click, insert code suggestion" data-view-component="true" class="js-apply-suggestion-button btn-sm btn width-full width-sm-auto ml-0 ml-sm-2 mb-2 mb-sm-1">    Sign off and commit suggestion<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-triangle-down ml-2 mr-n1">
    <path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path>
</svg>
</summary>

已接受:

<button data-pull-is-open="false" type="button" disabled="disabled" data-view-component="true" class="js-disabled-apply-suggestion-button tooltipped tooltipped-multiline tooltipped-n btn-sm btn mb-2 mb-sm-1 width-full width-sm-auto" aria-label="该建议已被应用或标记为已解决。">    提交更改<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-triangle-down ml-2 mr-n1">
    <path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path>
</svg>
</button>
预期行为与实际表现
相关截图或附件(如有)

未接受更改

Image

已接受更改

Image
您使用的浏览器类型、脚本管理器及插件版本(不再接受 1.9.2 版本反馈)
  • 浏览器类型:Chrome 129
  • 脚本管理器及插件版本:篡改猴,1.9.3-2025-11-23
主要言語
JavaScript
スター
35.1k
フォーク
2k
平均マージ
2日 1時間
マージ済み PR(30日)
9

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

maboloshi/github-chinese のほかの issue

maboloshi/github-chinese の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。