Skip to content

Commit

Permalink
Merge branch 'dev' into chore/csp-strict-dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther authored Feb 26, 2025
2 parents e739238 + 3559ee8 commit 426a58f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/colors/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= f.text_field :name, required: true, container_class: "-slim" %>
</div>
<div class="form--field -required">
<label class="form--label"><%= t("activerecord.attributes.color.hexcode") %></label>
<label class="form--label"><%= Color.human_attribute_name(:hexcode) %></label>
<span class="form--field-container">
<span class="form--text-field-container -xslim">
<%= text_field_tag "color_hexcode",
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -949,8 +949,6 @@ en:
resource: "Resource"
oauth_client:
client: "Client ID"
planning_element_type_color:
hexcode: Hex code
project:
active_value:
true: "unarchived"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
) do |form|
flex_layout do |oauth_client_row|
oauth_client_row.with_row(mb: 3) do
render(Primer::Beta::Text.new(font_weight: :bold)) { I18n.t("storages.file_storage_view.#{storage}_oauth") }
render(Primer::Beta::Text.new(font_weight: :bold)) do
I18n.t("storages.file_storage_view.#{storage}_oauth", default: t("storages.file_storage_view.storage_oauth"))
end
end

oauth_client_row.with_row(mb: 3) do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
concat(
render(
Primer::Beta::Text.new(font_weight: :bold, mr: 1, test_selector: "storage-oauth-client-label")
) { I18n.t("storages.file_storage_view.#{storage}_oauth") }
) { I18n.t("storages.file_storage_view.#{storage}_oauth", default: t("storages.file_storage_view.storage_oauth")) }
)
concat(configuration_check_label_for(:storage_oauth_client_configured))
end
Expand Down

0 comments on commit 426a58f

Please sign in to comment.