enhance(repo): unify diff stats on commit pages, misc diff tweaks (#39134)

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
tara~ ♡
2026-08-30 22:17:32 +08:00
committed by GitHub
co-authored by silverwind wxiaoguang
parent 8ef7a9e46d
commit 27570ea685
10 changed files with 42 additions and 39 deletions
+10 -5
View File
@@ -2593,16 +2593,21 @@
"repo.diff.whitespace_ignore_at_eol": "Ignore changes in whitespace at EOL",
"repo.diff.stats_desc": "<strong> %d changed files</strong> with <strong>%d additions</strong> and <strong>%d deletions</strong>",
"repo.diff.stats_desc_file": "%d changes: %d additions and %d deletions",
"repo.diff.num_files_changed_1": "%d file changed",
"repo.diff.num_files_changed_n": "%d files changed",
"repo.diff.bin": "BIN",
"repo.diff.bin_not_shown": "Binary file not shown.",
"repo.diff.file_renamed_no_changes": "File renamed without changes.",
"repo.diff.file_mode_changed": "File mode changed.",
"repo.diff.file_whitespace_only_changes": "Whitespace-only changes.",
"repo.diff.view_file": "View File",
"repo.diff.file_before": "Before",
"repo.diff.file_after": "After",
"repo.diff.file_image_width": "Width",
"repo.diff.file_image_height": "Height",
"repo.diff.file_byte_size": "Size",
"repo.diff.file_suppressed": "File diff suppressed because it is too large",
"repo.diff.file_suppressed_line_too_long": "File diff suppressed because one or more lines are too long",
"repo.diff.file_suppressed": "File diff suppressed because it is too large.",
"repo.diff.file_suppressed_line_too_long": "File diff suppressed because one or more lines are too long.",
"repo.diff.too_many_files": "Loaded %[1]d of %[2]d files, more files were not shown because too many files have changed in this diff.",
"repo.diff.show_more": "Show more",
"repo.diff.load": "Load diff",
@@ -2642,9 +2647,9 @@
"repo.diff.all_file_extensions": "All extensions",
"repo.diff.no_files_matched": "No files matched your search",
"repo.diff.show_more_matching": "Show more - %[1]d matching below",
"repo.diff.submodule_added": "Submodule %[1]s added at %[2]s",
"repo.diff.submodule_deleted": "Submodule %[1]s deleted from %[2]s",
"repo.diff.submodule_updated": "Submodule %[1]s updated: %[2]s",
"repo.diff.submodule_added": "Submodule %[1]s added at %[2]s.",
"repo.diff.submodule_deleted": "Submodule %[1]s deleted from %[2]s.",
"repo.diff.submodule_updated": "Submodule %[1]s updated: %[2]s.",
"repo.releases.desc": "Track project versions and downloads.",
"repo.release.releases": "Releases",
"repo.release.detail": "Release details",