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

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