diff --git a/apps/dashboard/app/assets/stylesheets/projects.scss b/apps/dashboard/app/assets/stylesheets/projects.scss index fb045daa9d..f1c68188ee 100644 --- a/apps/dashboard/app/assets/stylesheets/projects.scss +++ b/apps/dashboard/app/assets/stylesheets/projects.scss @@ -39,6 +39,11 @@ float: right; } +.launcher-title { + font-size: 1em; + font-weight: bold; +} + .launcher-button { color: white; width: 100%; diff --git a/apps/dashboard/app/views/projects/_launcher_buttons.html.erb b/apps/dashboard/app/views/projects/_launcher_buttons.html.erb index ddf9df30cd..380bf89db6 100644 --- a/apps/dashboard/app/views/projects/_launcher_buttons.html.erb +++ b/apps/dashboard/app/views/projects/_launcher_buttons.html.erb @@ -16,7 +16,7 @@ id: "launch_#{launcher.id}" ) do %> - Launch + <%= I18n.t('dashboard.launch') %> <%- end %> @@ -27,7 +27,7 @@ id: "show_#{launcher.id}" ) do %> - Options + <%= I18n.t('dashboard.show') %> <%- end -%> @@ -40,7 +40,7 @@ id: "edit_#{launcher.id}", title: edit_title) do %> - Edit + <%= I18n.t('dashboard.edit') %> <%- end %> @@ -53,7 +53,7 @@ data: { confirm: I18n.t('dashboard.jobs_scripts_delete_script_confirmation') }, method: :delete) do %> - Delete + <%= I18n.t('dashboard.delete') %> <%- end -%> \ No newline at end of file diff --git a/apps/dashboard/app/views/projects/show.html.erb b/apps/dashboard/app/views/projects/show.html.erb index e0a113b6dc..b82b1a81e3 100644 --- a/apps/dashboard/app/views/projects/show.html.erb +++ b/apps/dashboard/app/views/projects/show.html.erb @@ -43,7 +43,7 @@ <%- @scripts.each do |launcher| -%>
-
+
<%= launcher.title %>
diff --git a/apps/dashboard/config/locales/ja_JP.yml b/apps/dashboard/config/locales/ja_JP.yml index 65b42fe4bb..24626a51b5 100644 --- a/apps/dashboard/config/locales/ja_JP.yml +++ b/apps/dashboard/config/locales/ja_JP.yml @@ -9,5 +9,6 @@ ja_JP: delete: "消す" edit: "編集する" show: "見せる" + launch: "起動する" # project: "Project" # directory: "Directory" diff --git a/apps/dashboard/config/locales/zh-CN.yml b/apps/dashboard/config/locales/zh-CN.yml index 59e305c35d..0dd8aac02e 100644 --- a/apps/dashboard/config/locales/zh-CN.yml +++ b/apps/dashboard/config/locales/zh-CN.yml @@ -145,6 +145,8 @@ zh-CN: # all_apps_table_sub_category_column: "Sub Category" # unknown: "Unknown" - save: "保存" - + delete: "删除" + edit: "编辑" + show: "显示" + launch: "启动" # development_apps_caption: "Sandbox App"