fix(locales): Replace hardcoded strings (#37788)

The Workflow Dependencies graph in the Actions run details view had
hard-coded English strings.
Also in projects view and contributors view I found some hard-coded
strings.
  
The other items in the issue #37787 (Summary / All jobs / Run Details /
Workflow file / Triggered via / Total duration) were already wired
through ctx.Locale.Tr; their translations just need to land in the
non-English locale_*.json files via the translation pipeline.



Fixes #37787

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (Opus 4.8) <noreply@anthropic.com>
This commit is contained in:
Nicolas
2026-05-29 23:50:55 +00:00
committed by GitHub
co-authored by silverwind Claude
parent d07a42e777
commit a342206a21
11 changed files with 74 additions and 20 deletions
+11
View File
@@ -2725,6 +2725,7 @@
"graphs.code_frequency.what": "code frequency",
"graphs.contributors.what": "contributions",
"graphs.recent_commits.what": "recent commits",
"graphs.chart_zoom_hint": "drag: zoom, shift+drag: pan, double click: reset zoom",
"org.org_name_holder": "Organization Name",
"org.org_full_name_holder": "Organization Full Name",
"org.org_name_helper": "Organization names should be short and memorable.",
@@ -3797,6 +3798,16 @@
"actions.runs.latest_attempt": "Latest attempt",
"actions.runs.triggered_via": "Triggered via %s",
"actions.runs.total_duration": "Total duration:",
"actions.runs.workflow_dependencies": "Workflow Dependencies",
"actions.runs.graph_jobs_count_1": "%d job",
"actions.runs.graph_jobs_count_n": "%d jobs",
"actions.runs.graph_dependencies_count_1": "%d dependency",
"actions.runs.graph_dependencies_count_n": "%d dependencies",
"actions.runs.graph_success_rate": "%s success",
"actions.runs.graph_zoom_in": "Zoom in (Ctrl/Cmd + scroll on graph)",
"actions.runs.graph_zoom_max": "Already at 100% zoom",
"actions.runs.graph_zoom_out": "Zoom out (Ctrl/Cmd + scroll on graph)",
"actions.runs.graph_reset_view": "Reset view",
"actions.workflow.disable": "Disable Workflow",
"actions.workflow.disable_success": "Workflow '%s' disabled successfully.",
"actions.workflow.enable": "Enable Workflow",