Skip to content

Commit a202e63

Browse files
akabiruHDinger
andcommitted
Make the (lazy) action menu spinner aria label translatable and reduce it's size to small
https://community.openproject.org/wp/68046 Co-authored-by: Henriette Darge <h.darge@openproject.com>
1 parent 3e2780d commit a202e63

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.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)