File tree Expand file tree Collapse file tree
app/components/primer/alpha Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ def initialize(
8484
8585 @system_arguments [ :src ] = @src if @src
8686
87- @on_label = on_label || I18n . t ( "label_switch_on " )
88- @off_label = off_label || I18n . t ( "label_switch_off " )
87+ @on_label = on_label || I18n . t ( "toggle_switch.label_on " )
88+ @off_label = off_label || I18n . t ( "toggle_switch.label_off " )
8989 end
9090
9191 def on?
Original file line number Diff line number Diff line change 1515 include_sub_items : " Include sub-items"
1616 no_results_text : " No results"
1717
18+ toggle_switch :
19+ label_on : " On"
20+ label_off : " Off"
21+
1822 label_title : " Title"
1923 label_loading : " Loading..."
2024 label_more : " More"
21- label_switch_on : " On"
22- label_switch_off : " Off"
2325
2426 danger_dialog :
2527 confirmation_live_message_checked : " The button to proceed is now active."
You can’t perform that action at this time.
0 commit comments