From 84a4e7e1c64e2f5b8f3c5458f4e23be0260911d7 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Fri, 28 Feb 2025 12:40:19 -0500 Subject: [PATCH] internationalize "Select Path" (#4176) Internationalize "Select Path" and add this to other locales. --- .../batch_connect/session_contexts/_path_selector.html.erb | 2 +- apps/dashboard/app/views/projects/_form.html.erb | 2 +- apps/dashboard/app/views/shared/_path_selector_table.html.erb | 4 ++-- apps/dashboard/config/locales/en.yml | 1 + apps/dashboard/config/locales/ja_JP.yml | 1 + apps/dashboard/config/locales/zh-CN.yml | 1 + 6 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/dashboard/app/views/batch_connect/session_contexts/_path_selector.html.erb b/apps/dashboard/app/views/batch_connect/session_contexts/_path_selector.html.erb index 748fd34ec..38ea3067e 100644 --- a/apps/dashboard/app/views/batch_connect/session_contexts/_path_selector.html.erb +++ b/apps/dashboard/app/views/batch_connect/session_contexts/_path_selector.html.erb @@ -21,7 +21,7 @@ <%= form.text_field(attrib.id, class: 'form-control', **options) %> <%= render(partial: 'shared/path_selector_table', locals: locals ) %> diff --git a/apps/dashboard/app/views/projects/_form.html.erb b/apps/dashboard/app/views/projects/_form.html.erb index 04433c0c7..71cf12874 100644 --- a/apps/dashboard/app/views/projects/_form.html.erb +++ b/apps/dashboard/app/views/projects/_form.html.erb @@ -40,7 +40,7 @@ data: { 'path-selector': true })%> <%= render(partial: 'shared/path_selector_table', locals: path_selector_locals ) %> diff --git a/apps/dashboard/app/views/shared/_path_selector_table.html.erb b/apps/dashboard/app/views/shared/_path_selector_table.html.erb index f87c76ee8..0968579ae 100644 --- a/apps/dashboard/app/views/shared/_path_selector_table.html.erb +++ b/apps/dashboard/app/views/shared/_path_selector_table.html.erb @@ -66,8 +66,8 @@ diff --git a/apps/dashboard/config/locales/en.yml b/apps/dashboard/config/locales/en.yml index 9bb12c056..48aa30c64 100644 --- a/apps/dashboard/config/locales/en.yml +++ b/apps/dashboard/config/locales/en.yml @@ -212,6 +212,7 @@ en: If it doesn't please, click: restart web server. save: Save saved_settings_title: Saved Settings + select_path: Select Path settings_invalid_request: Invalid settings submitted settings_updated: Settings updated shared_apps_caption: Shared by %{owner_title} (%{owner}) diff --git a/apps/dashboard/config/locales/ja_JP.yml b/apps/dashboard/config/locales/ja_JP.yml index 224800146..d47c2fc76 100644 --- a/apps/dashboard/config/locales/ja_JP.yml +++ b/apps/dashboard/config/locales/ja_JP.yml @@ -212,6 +212,7 @@ ja_JP: If it doesn't please, click: restart web server. save: 溜める saved_settings_title: Saved Settings + select_path: Select Path settings_invalid_request: Invalid settings submitted settings_updated: Settings updated shared_apps_caption: Shared by %{owner_title} (%{owner}) diff --git a/apps/dashboard/config/locales/zh-CN.yml b/apps/dashboard/config/locales/zh-CN.yml index e8e081904..e9e02073c 100644 --- a/apps/dashboard/config/locales/zh-CN.yml +++ b/apps/dashboard/config/locales/zh-CN.yml @@ -208,6 +208,7 @@ zh-CN: 如果没有重启,请点击 来重启网页服务器. save: Save saved_settings_title: Saved Settings + select_path: Select Path settings_invalid_request: Invalid settings submitted settings_updated: Settings updated shared_apps_caption: Shared by %{owner_title} (%{owner})