Use externalized strings for edit label

This commit is contained in:
Eike Kettner
2021-04-14 00:11:10 +02:00
parent 9070f69c93
commit 9d6e26efb4
19 changed files with 59 additions and 58 deletions

View File

@ -65,15 +65,15 @@ view2 texts _ items =
]
]
, tbody []
(List.map viewItem2 items)
(List.map (viewItem2 texts) items)
]
]
viewItem2 : NotificationSettings -> Html Msg
viewItem2 item =
viewItem2 : Texts -> NotificationSettings -> Html Msg
viewItem2 texts item =
tr []
[ B.editLinkTableCell (EditSettings item)
[ B.editLinkTableCell texts.basics.edit (EditSettings item)
, td [ class "w-px whitespace-nowrap px-2 text-center" ]
[ Util.Html.checkbox2 item.enabled
]