From 730af9be5040c70f27e5a280d8deb9d43e74207d Mon Sep 17 00:00:00 2001 From: Jason Song Date: Thu, 5 Jan 2023 17:59:21 +0800 Subject: [PATCH] fix: add missing translations --- options/locale/locale_en-US.ini | 9 +++++++-- templates/shared/actions/runner_edit.tmpl | 10 +++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index e1331b310c..7dbb304b90 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -3255,7 +3255,12 @@ runners.agent_labels = Agent Labels runners.custom_labels = Custom Labels runners.custom_labels_helper = Custom labels are labels that are added manually by an administrator. A comma separates labels, whitespace at the start and end of each label are ignored. runners.runner_title = Runner -runners.task_list = Recent jobs on this runner +runners.task_list = Recent tasks on this runner +runners.task_list.job = Job +runners.task_list.status = Status +runners.task_list.repository = Repository +runners.task_list.commit = Commit +runners.task_list.done_at = Done At runners.edit_runner = Edit Runner runners.update_runner = Update Changes runners.update_runner_success = Runner updated successfully @@ -3264,5 +3269,5 @@ runners.delete_runner = Delete this runner runners.delete_runner_success = Runner deleted successfully runners.delete_runner_failed = Failed to delete runner runners.delete_runner_header = Confirm to delete this runner -runners.delete_runner_notice = If job is running on this runner, it will be terminated and mark as failed. It may break building workflow. +runners.delete_runner_notice = If task is running on this runner, it will be terminated and mark as failed. It may break building workflow. runners.delete_runner_confirm = Delete this runner diff --git a/templates/shared/actions/runner_edit.tmpl b/templates/shared/actions/runner_edit.tmpl index 995e5bdc33..c9b1970b46 100644 --- a/templates/shared/actions/runner_edit.tmpl +++ b/templates/shared/actions/runner_edit.tmpl @@ -59,11 +59,11 @@ - - - - - + + + + +
{{.locale.Tr "runners.task_list.job"}}{{.locale.Tr "runners.task_list.status"}}{{.locale.Tr "runners.task_list.repository"}}{{.locale.Tr "runners.task_list.commit"}}{{.locale.Tr "runners.task_list.finish_at"}}{{.locale.Tr "actions.runners.task_list.job"}}{{.locale.Tr "actions.runners.task_list.status"}}{{.locale.Tr "actions.runners.task_list.repository"}}{{.locale.Tr "actions.runners.task_list.commit"}}{{.locale.Tr "actions.runners.task_list.done_at"}}