Skip to content

Commit af264e8

Browse files
authored
Merge pull request #369 from opf/code-maintenance/68046-action-menu-refinements
Make the (lazy) action menu spinner aria label translatable and reduce it's size to small
2 parents 3e2780d + a202e63 commit af264e8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/eleven-terms-see.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openproject/primer-view-components': patch
3+
---
4+
5+
Make the (lazy) action menu spinner aria label translatable and reduce it's size to small

app/components/primer/alpha/action_menu/menu.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
autofocus: true
1414
}
1515
) do %>
16-
<%= render Primer::Beta::Spinner.new(aria: { label: "Loading content..." }) %>
16+
<%= render Primer::Beta::Spinner.new(aria: { label: I18n.t(:label_loading) }, size: :small) %>
1717
<% end %>
1818
<% end %>
1919
<% end %>

0 commit comments

Comments
 (0)