mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Use externalized strings for edit label
This commit is contained in:
@ -60,12 +60,12 @@ view2 texts model =
|
||||
]
|
||||
]
|
||||
, tbody []
|
||||
(List.map (renderLine2 model) model.emailSettings)
|
||||
(List.map (renderLine2 texts model) model.emailSettings)
|
||||
]
|
||||
|
||||
|
||||
renderLine2 : Model -> EmailSettings -> Html Msg
|
||||
renderLine2 _ ems =
|
||||
renderLine2 : Texts -> Model -> EmailSettings -> Html Msg
|
||||
renderLine2 texts _ ems =
|
||||
let
|
||||
hostport =
|
||||
case ems.smtpPort of
|
||||
@ -77,7 +77,7 @@ renderLine2 _ ems =
|
||||
in
|
||||
tr
|
||||
[ class S.tableRow ]
|
||||
[ B.editLinkTableCell (Select ems)
|
||||
[ B.editLinkTableCell texts.basics.edit (Select ems)
|
||||
, td [ class "text-left mr-2" ]
|
||||
[ text ems.name
|
||||
]
|
||||
|
Reference in New Issue
Block a user