From 8e007004c29f9f9f12e80b40833c0cf2eacef742 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Tue, 19 Aug 2025 14:41:04 +0800 Subject: [PATCH] perf: Translate label for groups parameter --- .../automations/change_secret/host/windows/manifest.yml | 6 +++++- .../automations/change_secret/host/windows_ad/manifest.yml | 7 ++++++- .../change_secret/host/windows_rdp_verify/manifest.yml | 7 ++++++- .../automations/push_account/host/windows/manifest.yml | 7 ++++++- .../automations/push_account/host/windows_ad/manifest.yml | 7 ++++++- .../push_account/host/windows_rdp_verify/manifest.yml | 7 ++++++- 6 files changed, 35 insertions(+), 6 deletions(-) diff --git a/apps/accounts/automations/change_secret/host/windows/manifest.yml b/apps/accounts/automations/change_secret/host/windows/manifest.yml index 884168974..0e6a204c5 100644 --- a/apps/accounts/automations/change_secret/host/windows/manifest.yml +++ b/apps/accounts/automations/change_secret/host/windows/manifest.yml @@ -8,7 +8,7 @@ type: params: - name: groups type: str - label: '用户组' + label: "{{ 'Params groups label' | trans }}" default: 'Users,Remote Desktop Users' help_text: "{{ 'Params groups help text' | trans }}" @@ -24,3 +24,7 @@ i18n: ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + Params groups label: + zh: '用户组' + ja: 'グループ' + en: 'Groups' diff --git a/apps/accounts/automations/change_secret/host/windows_ad/manifest.yml b/apps/accounts/automations/change_secret/host/windows_ad/manifest.yml index 4c4c66fb6..74e68c3b7 100644 --- a/apps/accounts/automations/change_secret/host/windows_ad/manifest.yml +++ b/apps/accounts/automations/change_secret/host/windows_ad/manifest.yml @@ -9,7 +9,7 @@ type: params: - name: groups type: str - label: '用户组' + label: "{{ 'Params groups label' | trans }}" default: 'Users,Remote Desktop Users' help_text: "{{ 'Params groups help text' | trans }}" @@ -25,3 +25,8 @@ i18n: ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + Params groups label: + zh: '用户组' + ja: 'グループ' + en: 'Groups' + diff --git a/apps/accounts/automations/change_secret/host/windows_rdp_verify/manifest.yml b/apps/accounts/automations/change_secret/host/windows_rdp_verify/manifest.yml index c12112859..7ae432c4f 100644 --- a/apps/accounts/automations/change_secret/host/windows_rdp_verify/manifest.yml +++ b/apps/accounts/automations/change_secret/host/windows_rdp_verify/manifest.yml @@ -9,7 +9,7 @@ priority: 49 params: - name: groups type: str - label: '用户组' + label: "{{ 'Params groups label' | trans }}" default: 'Users,Remote Desktop Users' help_text: "{{ 'Params groups help text' | trans }}" @@ -25,3 +25,8 @@ i18n: ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + Params groups label: + zh: '用户组' + ja: 'グループ' + en: 'Groups' + diff --git a/apps/accounts/automations/push_account/host/windows/manifest.yml b/apps/accounts/automations/push_account/host/windows/manifest.yml index dcbdfe7f8..ba75c825c 100644 --- a/apps/accounts/automations/push_account/host/windows/manifest.yml +++ b/apps/accounts/automations/push_account/host/windows/manifest.yml @@ -8,7 +8,7 @@ type: params: - name: groups type: str - label: '用户组' + label: "{{ 'Params groups label' | trans }}" default: 'Users,Remote Desktop Users' help_text: "{{ 'Params groups help text' | trans }}" @@ -22,3 +22,8 @@ i18n: zh: '请输入用户组,多个用户组使用逗号分隔(需填写已存在的用户组)' ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + + Params groups label: + zh: '用户组' + ja: 'グループ' + en: 'Groups' \ No newline at end of file diff --git a/apps/accounts/automations/push_account/host/windows_ad/manifest.yml b/apps/accounts/automations/push_account/host/windows_ad/manifest.yml index 60f603b5f..94b9eff09 100644 --- a/apps/accounts/automations/push_account/host/windows_ad/manifest.yml +++ b/apps/accounts/automations/push_account/host/windows_ad/manifest.yml @@ -9,7 +9,7 @@ type: params: - name: groups type: str - label: '用户组' + label: "{{ 'Params groups label' | trans }}" default: 'Users,Remote Desktop Users' help_text: "{{ 'Params groups help text' | trans }}" @@ -23,3 +23,8 @@ i18n: zh: '请输入用户组,多个用户组使用逗号分隔(需填写已存在的用户组)' ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + + Params groups label: + zh: '用户组' + ja: 'グループ' + en: 'Groups' diff --git a/apps/accounts/automations/push_account/host/windows_rdp_verify/manifest.yml b/apps/accounts/automations/push_account/host/windows_rdp_verify/manifest.yml index 63b4a0f9c..d6e73267a 100644 --- a/apps/accounts/automations/push_account/host/windows_rdp_verify/manifest.yml +++ b/apps/accounts/automations/push_account/host/windows_rdp_verify/manifest.yml @@ -9,7 +9,7 @@ priority: 49 params: - name: groups type: str - label: '用户组' + label: "{{ 'Params groups label' | trans }}" default: 'Users,Remote Desktop Users' help_text: "{{ 'Params groups help text' | trans }}" @@ -23,3 +23,8 @@ i18n: zh: '请输入用户组,多个用户组使用逗号分隔(需填写已存在的用户组)' ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + + Params groups label: + zh: '用户组' + ja: 'グループ' + en: 'Groups'