Skip to content

Commit

Permalink
Localization updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
euler-room committed Nov 6, 2024
1 parent 715c62a commit 22a4933
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
5 changes: 5 additions & 0 deletions apps/dashboard/app/assets/stylesheets/projects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
float: right;
}

.launcher-title {
font-size: 1em;
font-weight: bold;
}

.launcher-button {
color: white;
width: 100%;
Expand Down
8 changes: 4 additions & 4 deletions apps/dashboard/app/views/projects/_launcher_buttons.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
id: "launch_#{launcher.id}"
) do
%>
Launch
<%= I18n.t('dashboard.launch') %>
<%- end %>
</div>

Expand All @@ -27,7 +27,7 @@
id: "show_#{launcher.id}"
) do
%>
Options
<%= I18n.t('dashboard.show') %>
<%- end -%>

</div>
Expand All @@ -40,7 +40,7 @@
id: "edit_#{launcher.id}",
title: edit_title) do
%>
Edit
<%= I18n.t('dashboard.edit') %>
<%- end %>
</div>

Expand All @@ -53,7 +53,7 @@
data: { confirm: I18n.t('dashboard.jobs_scripts_delete_script_confirmation') },
method: :delete) do
%>
Delete
<%= I18n.t('dashboard.delete') %>
<%- end -%>
</div>
</div>
2 changes: 1 addition & 1 deletion apps/dashboard/app/views/projects/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<%- @scripts.each do |launcher| -%>
<div class="list-group-item list-group-item-action" id="launcher_<%= launcher.id %>">
<div class="row launcher-item">
<div class="col">
<div class="col launcher-title">
<%= launcher.title %>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/config/locales/ja_JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ ja_JP:
delete: "消す"
edit: "編集する"
show: "見せる"
launch: "起動する"
# project: "Project"
# directory: "Directory"
6 changes: 4 additions & 2 deletions apps/dashboard/config/locales/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 22a4933

Please sign in to comment.