File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
app/components/primer/open_project Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @openproject/primer-view-components ' : patch
3+ ---
4+
5+ add localized default label to close button in Subheader filter input
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ class SubHeader < Primer::Component
8686 system_arguments [ :leading_visual ] ||= { icon : :search }
8787 system_arguments [ :visually_hide_label ] ||= true
8888 system_arguments [ :input_width ] ||= :medium
89+ system_arguments [ :clear_button_label ] ||= I18n . t ( :button_clear )
8990
9091 system_arguments [ :data ] ||= { }
9192 system_arguments [ :data ] = merge_data (
Original file line number Diff line number Diff line change 11en :
22 button_back : " Back"
33 button_cancel : " Cancel"
4+ button_clear : " Clear"
45 button_close : " Close"
56 button_delete : " Delete"
67 button_delete_permanently : " Delete permanently"
You can’t perform that action at this time.
0 commit comments