Externalize strings in other of components

This commit is contained in:
Eike Kettner
2021-04-09 22:39:44 +02:00
parent 2f678aca17
commit fa2c5750dd
53 changed files with 490 additions and 223 deletions

View File

@ -249,7 +249,10 @@ viewTable2 texts model =
, rootClasses = "mb-4"
}
, Html.map TableMsg (Comp.SourceTable.view2 texts.sourceTable model.sources)
, B.loadingDimmer model.loading
, B.loadingDimmer
{ active = model.loading
, label = texts.basics.loading
}
]
@ -386,7 +389,9 @@ viewForm2 texts flags settings model =
model.formModel.source.source.id == ""
dimmerSettings =
Comp.YesNoDimmer.defaultSettings2 texts.reallyDeleteSource
Comp.YesNoDimmer.defaultSettings texts.reallyDeleteSource
texts.basics.yes
texts.basics.no
in
[ if newSource then
h3 [ class S.header2 ]
@ -449,6 +454,9 @@ viewForm2 texts flags settings model =
dimmerSettings
model.deleteConfirm
)
, B.loadingDimmer model.loading
, B.loadingDimmer
{ active = model.loading
, label = texts.basics.loading
}
]
]