mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 02:48:26 +00:00
Externalize more strings missed before
This commit is contained in:
@ -90,6 +90,7 @@ update msg model =
|
||||
|
||||
type alias ViewOpts =
|
||||
{ renderItem : ( String, Color ) -> Html Msg
|
||||
, colorLabel : Color -> String
|
||||
, label : String
|
||||
, description : Maybe String
|
||||
}
|
||||
@ -116,6 +117,7 @@ view2 data opts model =
|
||||
)
|
||||
, div [ class "field" ]
|
||||
[ chooseColor2
|
||||
opts.colorLabel
|
||||
(AddPair data)
|
||||
Data.Color.all
|
||||
Nothing
|
||||
@ -169,8 +171,8 @@ renderFormData2 opts data =
|
||||
(List.map valueItem values)
|
||||
|
||||
|
||||
chooseColor2 : (Color -> msg) -> List Color -> Maybe String -> Html msg
|
||||
chooseColor2 tagger colors mtext =
|
||||
chooseColor2 : (Color -> String) -> (Color -> msg) -> List Color -> Maybe String -> Html msg
|
||||
chooseColor2 colorLabel tagger colors mtext =
|
||||
let
|
||||
renderLabel color =
|
||||
a
|
||||
@ -180,7 +182,7 @@ chooseColor2 tagger colors mtext =
|
||||
, onClick (tagger color)
|
||||
]
|
||||
[ Maybe.withDefault
|
||||
(Data.Color.toString color)
|
||||
(colorLabel color)
|
||||
mtext
|
||||
|> text
|
||||
]
|
||||
|
@ -253,7 +253,7 @@ view2 texts viewSettings model =
|
||||
[ class S.inputLabel
|
||||
, for "fieldname"
|
||||
]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
, B.inputRequired
|
||||
]
|
||||
, input
|
||||
|
@ -190,7 +190,7 @@ view2 texts settings model =
|
||||
[ label
|
||||
[ class S.inputLabel
|
||||
]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
, B.inputRequired
|
||||
]
|
||||
, input
|
||||
|
@ -54,7 +54,7 @@ view2 texts model =
|
||||
[ thead []
|
||||
[ tr []
|
||||
[ th [ class "" ] []
|
||||
, th [ class "text-left mr-2" ] [ text texts.name ]
|
||||
, th [ class "text-left mr-2" ] [ text texts.basics.name ]
|
||||
, th [ class "text-left mr-2" ] [ text texts.hostPort ]
|
||||
, th [ class "text-left mr-2 hidden sm:table-cell" ] [ text texts.from ]
|
||||
]
|
||||
|
@ -115,13 +115,13 @@ view2 texts model =
|
||||
[ for "equipname"
|
||||
, class S.inputLabel
|
||||
]
|
||||
[ text "Name"
|
||||
[ text texts.basics.name
|
||||
, B.inputRequired
|
||||
]
|
||||
, input
|
||||
[ type_ "text"
|
||||
, onInput SetName
|
||||
, placeholder "Name"
|
||||
, placeholder texts.basics.name
|
||||
, value model.name
|
||||
, name "equipname"
|
||||
, class S.textInput
|
||||
@ -137,21 +137,21 @@ view2 texts model =
|
||||
[ label
|
||||
[ class S.inputLabel
|
||||
]
|
||||
[ text "Use" ]
|
||||
[ text texts.use ]
|
||||
, Html.map UseDropdownMsg
|
||||
(Comp.FixedDropdown.viewStyled2 equipUseCfg False (Just model.use) model.useModel)
|
||||
, span [ class "opacity-50 text-sm" ]
|
||||
[ case model.use of
|
||||
Data.EquipmentUse.Concerning ->
|
||||
text "Use as concerning equipment"
|
||||
text texts.useAsConcerning
|
||||
|
||||
Data.EquipmentUse.Disabled ->
|
||||
text "Do not use for suggestions."
|
||||
text texts.useNotSuggestions
|
||||
]
|
||||
]
|
||||
, div [ class "mb-4" ]
|
||||
[ h3 [ class S.header3 ]
|
||||
[ text "Notes"
|
||||
[ text texts.notes
|
||||
]
|
||||
, div [ class "" ]
|
||||
[ textarea
|
||||
|
@ -61,7 +61,7 @@ view2 texts model =
|
||||
, th [ class "text-left pr-1 md:px-2 w-20" ]
|
||||
[ text texts.use
|
||||
]
|
||||
, th [ class "text-left" ] [ text texts.name ]
|
||||
, th [ class "text-left" ] [ text texts.basics.name ]
|
||||
]
|
||||
]
|
||||
, tbody []
|
||||
|
@ -321,7 +321,7 @@ view2 texts flags model =
|
||||
[ class S.inputLabel
|
||||
, for "folder-name"
|
||||
]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
, B.inputRequired
|
||||
]
|
||||
, div [ class "flex flex-row space-x-2" ]
|
||||
|
@ -52,7 +52,7 @@ view2 texts _ items =
|
||||
[ tr []
|
||||
[ th [ class "w-px whitespace-nowrap pr-1 md:pr-3" ] []
|
||||
, th [ class "text-left" ]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
]
|
||||
, th [ class "text-left hidden sm:table-cell" ] [ text "Owner" ]
|
||||
, th [ class "text-center" ]
|
||||
|
@ -181,7 +181,7 @@ view2 texts settings model =
|
||||
[ class "grid grid-cols-4 gap-y-4 gap-x-2" ]
|
||||
[ div [ class "col-span-4" ]
|
||||
[ label [ class S.inputLabel ]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
, B.inputRequired
|
||||
]
|
||||
, input
|
||||
|
@ -54,7 +54,7 @@ view2 texts model =
|
||||
[ thead []
|
||||
[ tr []
|
||||
[ th [] []
|
||||
, th [ class "text-left mr-2" ] [ text texts.name ]
|
||||
, th [ class "text-left mr-2" ] [ text texts.basics.name ]
|
||||
, th [ class "text-left mr-2" ] [ text texts.hostPort ]
|
||||
]
|
||||
]
|
||||
|
@ -204,7 +204,7 @@ view2 texts cfg settings model item =
|
||||
, metaDataContent2 texts settings item
|
||||
, notesContent2 settings item
|
||||
, fulltextResultsContent2 item
|
||||
, previewMenu2 settings model item (currentAttachment model item)
|
||||
, previewMenu2 texts settings model item (currentAttachment model item)
|
||||
, selectedDimmer
|
||||
]
|
||||
)
|
||||
@ -234,7 +234,7 @@ metaDataContent2 texts settings item =
|
||||
[ ( "hidden", fieldHidden Data.Fields.Folder )
|
||||
]
|
||||
, class "hover:opacity-60"
|
||||
, title texts.folder
|
||||
, title texts.basics.folder
|
||||
]
|
||||
[ Icons.folderIcon2 "mr-2"
|
||||
, Comp.LinkTarget.makeFolderLink item
|
||||
@ -311,7 +311,7 @@ mainContent2 texts cardAction cardColor isConfirmed settings _ item =
|
||||
&& fieldHidden Data.Fields.CorrPerson
|
||||
)
|
||||
]
|
||||
, title "Correspondent"
|
||||
, title texts.basics.correspondent
|
||||
]
|
||||
(Icons.correspondentIcon2 "mr-2 w-4 text-center"
|
||||
:: Comp.LinkTarget.makeCorrLink item [ ( "hover:opacity-75", True ) ] SetLinkTarget
|
||||
@ -323,7 +323,7 @@ mainContent2 texts cardAction cardColor isConfirmed settings _ item =
|
||||
&& fieldHidden Data.Fields.ConcEquip
|
||||
)
|
||||
]
|
||||
, title "Concerning"
|
||||
, title texts.basics.concerning
|
||||
]
|
||||
(Icons.concernedIcon2 "mr-2 w-4 text-center"
|
||||
:: Comp.LinkTarget.makeConcLink item [ ( "hover:opacity-75", True ) ] SetLinkTarget
|
||||
@ -340,7 +340,7 @@ mainContent2 texts cardAction cardColor isConfirmed settings _ item =
|
||||
, ( cardColor, True )
|
||||
, ( "hidden", isConfirmed )
|
||||
]
|
||||
, title "New"
|
||||
, title texts.new
|
||||
]
|
||||
[ i [ class "ml-2 fa fa-exclamation-circle" ] []
|
||||
]
|
||||
@ -440,8 +440,8 @@ previewImage2 settings cardAction model item =
|
||||
]
|
||||
|
||||
|
||||
previewMenu2 : UiSettings -> Model -> ItemLight -> Maybe AttachmentLight -> Html Msg
|
||||
previewMenu2 settings model item mainAttach =
|
||||
previewMenu2 : Texts -> UiSettings -> Model -> ItemLight -> Maybe AttachmentLight -> Html Msg
|
||||
previewMenu2 texts settings model item mainAttach =
|
||||
let
|
||||
pageCount =
|
||||
Maybe.andThen .pageCount mainAttach
|
||||
@ -478,7 +478,7 @@ previewMenu2 settings model item mainAttach =
|
||||
)
|
||||
]
|
||||
, class "label font-semibold text-sm border-gray-300 dark:border-bluegray-600"
|
||||
, title ("Due on " ++ dueDate)
|
||||
, title (texts.dueOn ++ " " ++ dueDate)
|
||||
]
|
||||
[ Icons.dueDateIcon2 "mr-2"
|
||||
, text (" " ++ dueDate)
|
||||
@ -490,7 +490,7 @@ previewMenu2 settings model item mainAttach =
|
||||
, class "px-2 py-1 border rounded "
|
||||
, href attachUrl
|
||||
, target "_self"
|
||||
, title "Open attachment file"
|
||||
, title texts.openAttachmentFile
|
||||
]
|
||||
[ i [ class "fa fa-eye" ] []
|
||||
]
|
||||
@ -498,7 +498,7 @@ previewMenu2 settings model item mainAttach =
|
||||
[ class S.secondaryBasicButtonPlain
|
||||
, class "px-2 py-1 border rounded ml-2"
|
||||
, Page.href (ItemDetailPage item.id)
|
||||
, title "Go to detail view"
|
||||
, title texts.gotoDetail
|
||||
]
|
||||
[ i [ class "fa fa-edit" ] []
|
||||
]
|
||||
@ -518,7 +518,7 @@ previewMenu2 settings model item mainAttach =
|
||||
[ a
|
||||
[ class S.secondaryBasicButtonPlain
|
||||
, class "px-2 py-1 border rounded-l block"
|
||||
, title "Cycle attachments"
|
||||
, title texts.cycleAttachments
|
||||
, href "#"
|
||||
, onClick (CyclePreview item)
|
||||
]
|
||||
|
@ -147,7 +147,7 @@ formTabs texts flags settings model =
|
||||
}
|
||||
in
|
||||
[ { name = FTabState.tabName TabName
|
||||
, title = texts.nameTab
|
||||
, title = texts.basics.name
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -174,7 +174,7 @@ formTabs texts flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = FTabState.tabName TabDate
|
||||
, title = texts.dateTab
|
||||
, title = texts.basics.date
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -224,7 +224,7 @@ formTabs texts flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = FTabState.tabName TabFolder
|
||||
, title = texts.folderTab
|
||||
, title = texts.basics.folder
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -247,7 +247,7 @@ formTabs texts flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = FTabState.tabName TabCustomFields
|
||||
, title = texts.customFieldsTab
|
||||
, title = texts.basics.customFields
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -288,7 +288,7 @@ formTabs texts flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = FTabState.tabName TabCorrespondent
|
||||
, title = texts.correspondentTab
|
||||
, title = texts.basics.correspondent
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -296,7 +296,7 @@ formTabs texts flags settings model =
|
||||
div [ class "mb-4" ]
|
||||
[ label [ class S.inputLabel ]
|
||||
[ Icons.organizationIcon2 "mr-2"
|
||||
, text texts.organization
|
||||
, text texts.basics.organization
|
||||
, addIconLink texts.addNewOrg StartCorrOrgModal
|
||||
, editIconLink texts.editOrg model.corrOrgModel StartEditCorrOrgModal
|
||||
]
|
||||
@ -312,7 +312,7 @@ formTabs texts flags settings model =
|
||||
div [ class "mb-4" ]
|
||||
[ label [ class S.inputLabel ]
|
||||
[ Icons.personIcon2 "mr-2"
|
||||
, text "Person"
|
||||
, text texts.basics.person
|
||||
, addIconLink texts.addNewCorrespondentPerson StartCorrPersonModal
|
||||
, editIconLink texts.editPerson
|
||||
model.corrPersonModel
|
||||
@ -338,7 +338,7 @@ formTabs texts flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = FTabState.tabName TabConcerning
|
||||
, title = texts.concerningTab
|
||||
, title = texts.basics.concerning
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -346,7 +346,7 @@ formTabs texts flags settings model =
|
||||
div [ class "mb-4" ]
|
||||
[ label [ class S.inputLabel ]
|
||||
[ Icons.personIcon2 "mr-2"
|
||||
, text "Person"
|
||||
, text texts.basics.person
|
||||
, addIconLink texts.addNewConcerningPerson StartConcPersonModal
|
||||
, editIconLink texts.editPerson
|
||||
model.concPersonModel
|
||||
@ -364,7 +364,7 @@ formTabs texts flags settings model =
|
||||
div [ class "mb-4" ]
|
||||
[ label [ class S.inputLabel ]
|
||||
[ Icons.equipmentIcon2 "mr-2"
|
||||
, text "Equipment"
|
||||
, text texts.basics.equipment
|
||||
, addIconLink texts.addNewEquipment StartEquipModal
|
||||
, editIconLink texts.editEquipment
|
||||
model.concEquipModel
|
||||
@ -381,7 +381,7 @@ formTabs texts flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = FTabState.tabName TabDirection
|
||||
, title = texts.directionTab
|
||||
, title = texts.basics.direction
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
|
@ -62,7 +62,7 @@ view texts settings model =
|
||||
corr =
|
||||
( div
|
||||
[ class itemStyle
|
||||
, title texts.correspondent
|
||||
, title texts.basics.correspondent
|
||||
]
|
||||
(Icons.correspondentIcon2 "mr-2"
|
||||
:: Comp.LinkTarget.makeCorrLink model.item
|
||||
@ -76,7 +76,7 @@ view texts settings model =
|
||||
conc =
|
||||
( div
|
||||
[ class itemStyle
|
||||
, title texts.concerning
|
||||
, title texts.basics.concerning
|
||||
]
|
||||
(Icons.concernedIcon2 "mr-2"
|
||||
:: Comp.LinkTarget.makeConcLink model.item
|
||||
@ -90,7 +90,7 @@ view texts settings model =
|
||||
itemfolder =
|
||||
( div
|
||||
[ class itemStyle
|
||||
, title texts.folder
|
||||
, title texts.basics.folder
|
||||
]
|
||||
[ Icons.folderIcon2 "mr-2"
|
||||
, Comp.LinkTarget.makeFolderLink model.item
|
||||
|
@ -753,7 +753,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabFolder
|
||||
, title = texts.folderTab
|
||||
, title = texts.basics.folder
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -769,7 +769,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabCustomFields
|
||||
, title = texts.customFieldsTab
|
||||
, title = texts.basics.customFields
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -782,7 +782,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabDate
|
||||
, title = texts.dateTab
|
||||
, title = texts.basics.date
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -828,7 +828,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabCorrespondent
|
||||
, title = texts.correspondentTab
|
||||
, title = texts.basics.correspondent
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -837,7 +837,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
[ label [ class S.inputLabel ]
|
||||
[ Icons.organizationIcon2 ""
|
||||
, span [ class "ml-2" ]
|
||||
[ text texts.organization
|
||||
[ text texts.basics.organization
|
||||
]
|
||||
]
|
||||
, Html.map OrgDropdownMsg
|
||||
@ -852,7 +852,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
[ label [ class S.inputLabel ]
|
||||
[ Icons.personIcon2 ""
|
||||
, span [ class "ml-2" ]
|
||||
[ text texts.person
|
||||
[ text texts.basics.person
|
||||
]
|
||||
]
|
||||
, Html.map CorrPersonMsg
|
||||
@ -865,7 +865,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabConcerning
|
||||
, title = texts.concerningTab
|
||||
, title = texts.basics.concerning
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -874,7 +874,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
[ label [ class S.inputLabel ]
|
||||
[ Icons.personIcon2 ""
|
||||
, span [ class "ml-2" ]
|
||||
[ text texts.person ]
|
||||
[ text texts.basics.person ]
|
||||
]
|
||||
, Html.map ConcPersonMsg (Comp.Dropdown.view2 idNameCfg settings model.concPersonModel)
|
||||
]
|
||||
@ -883,7 +883,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
[ label [ class S.inputLabel ]
|
||||
[ Icons.equipmentIcon2 ""
|
||||
, span [ class "ml-2" ]
|
||||
[ text texts.equipment ]
|
||||
[ text texts.basics.equipment ]
|
||||
]
|
||||
, Html.map ConcEquipMsg
|
||||
(Comp.Dropdown.view2 idNameCfg
|
||||
@ -894,7 +894,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabDirection
|
||||
, title = texts.directionTab
|
||||
, title = texts.basics.direction
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -902,7 +902,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabName
|
||||
, title = texts.nameTab
|
||||
, title = texts.basics.name
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
|
@ -168,13 +168,13 @@ view2 texts mobile settings model =
|
||||
[ for "orgname"
|
||||
, class S.inputLabel
|
||||
]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
, B.inputRequired
|
||||
]
|
||||
, input
|
||||
[ type_ "text"
|
||||
, onInput SetName
|
||||
, placeholder texts.name
|
||||
, placeholder texts.basics.name
|
||||
, value model.name
|
||||
, name "orgname"
|
||||
, class S.textInput
|
||||
|
@ -64,7 +64,7 @@ view2 texts model =
|
||||
[ text "Use"
|
||||
]
|
||||
, th [ class "text-left" ]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
]
|
||||
, th [ class "text-left hidden md:table-cell" ]
|
||||
[ text texts.address
|
||||
|
@ -201,13 +201,13 @@ view2 texts mobile settings model =
|
||||
[ class S.inputLabel
|
||||
, for "personname"
|
||||
]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
, B.inputRequired
|
||||
]
|
||||
, input
|
||||
[ type_ "text"
|
||||
, onInput SetName
|
||||
, placeholder texts.name
|
||||
, placeholder texts.basics.name
|
||||
, value model.name
|
||||
, class S.textInput
|
||||
, classList
|
||||
@ -244,7 +244,7 @@ view2 texts mobile settings model =
|
||||
[ label
|
||||
[ class S.inputLabel
|
||||
]
|
||||
[ text texts.organization
|
||||
[ text texts.basics.organization
|
||||
]
|
||||
, Html.map OrgDropdownMsg
|
||||
(Comp.Dropdown.view2
|
||||
|
@ -60,11 +60,11 @@ view2 texts model =
|
||||
[ tr []
|
||||
[ th [ class "w-px whitespace-nowrap" ] []
|
||||
, th [ class "text-left pr-1 md:px-2" ]
|
||||
[ text "Use"
|
||||
[ text texts.use
|
||||
]
|
||||
, th [ class "text-left" ] [ text "Name" ]
|
||||
, th [ class "text-left hidden sm:table-cell" ] [ text "Organization" ]
|
||||
, th [ class "text-left hidden md:table-cell" ] [ text "Contact" ]
|
||||
, th [ class "text-left" ] [ text texts.basics.name ]
|
||||
, th [ class "text-left hidden sm:table-cell" ] [ text texts.basics.organization ]
|
||||
, th [ class "text-left hidden md:table-cell" ] [ text texts.contact ]
|
||||
]
|
||||
]
|
||||
, tbody []
|
||||
|
@ -1223,7 +1223,7 @@ searchTabs texts ddd flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabFolder
|
||||
, title = texts.folderTab
|
||||
, title = texts.basics.folder
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -1235,7 +1235,7 @@ searchTabs texts ddd flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabCorrespondent
|
||||
, title = texts.correspondentTab
|
||||
, title = texts.basics.correspondent
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -1244,7 +1244,7 @@ searchTabs texts ddd flags settings model =
|
||||
, classList [ ( "hidden", isHidden Data.Fields.CorrOrg ) ]
|
||||
]
|
||||
[ label [ class S.inputLabel ]
|
||||
[ text texts.organization ]
|
||||
[ text texts.basics.organization ]
|
||||
, Html.map OrgMsg
|
||||
(Comp.Dropdown.view2
|
||||
(Comp.Dropdown.orgFormViewSettings texts.chooseOrganization DS.sidebarStyle)
|
||||
@ -1256,7 +1256,7 @@ searchTabs texts ddd flags settings model =
|
||||
[ class "mb-4"
|
||||
, classList [ ( "hidden", isHidden Data.Fields.CorrPerson ) ]
|
||||
]
|
||||
[ label [ class S.inputLabel ] [ text texts.person ]
|
||||
[ label [ class S.inputLabel ] [ text texts.basics.person ]
|
||||
, Html.map CorrPersonMsg
|
||||
(Comp.Dropdown.view2
|
||||
personCfg
|
||||
@ -1267,7 +1267,7 @@ searchTabs texts ddd flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabConcerning
|
||||
, title = texts.concerningTab
|
||||
, title = texts.basics.concerning
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -1275,7 +1275,7 @@ searchTabs texts ddd flags settings model =
|
||||
[ class "mb-4"
|
||||
, classList [ ( "hidden", isHidden Data.Fields.ConcPerson ) ]
|
||||
]
|
||||
[ label [ class S.inputLabel ] [ text texts.person ]
|
||||
[ label [ class S.inputLabel ] [ text texts.basics.person ]
|
||||
, Html.map ConcPersonMsg
|
||||
(Comp.Dropdown.view2
|
||||
personCfg
|
||||
@ -1287,7 +1287,7 @@ searchTabs texts ddd flags settings model =
|
||||
[ class "mb-4"
|
||||
, classList [ ( "hidden", isHidden Data.Fields.ConcEquip ) ]
|
||||
]
|
||||
[ label [ class S.inputLabel ] [ text texts.equipment ]
|
||||
[ label [ class S.inputLabel ] [ text texts.basics.equipment ]
|
||||
, Html.map ConcEquipmentMsg
|
||||
(Comp.Dropdown.view2
|
||||
concEquipCfg
|
||||
@ -1298,7 +1298,7 @@ searchTabs texts ddd flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabCustomFields
|
||||
, title = texts.customFieldsTab
|
||||
, title = texts.basics.customFields
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -1316,7 +1316,7 @@ searchTabs texts ddd flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabDate
|
||||
, title = texts.dateTab
|
||||
, title = texts.basics.date
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
@ -1418,7 +1418,7 @@ searchTabs texts ddd flags settings model =
|
||||
]
|
||||
}
|
||||
, { name = tabName TabDirection
|
||||
, title = texts.directionTab
|
||||
, title = texts.basics.direction
|
||||
, titleRight = []
|
||||
, info = Nothing
|
||||
, body =
|
||||
|
@ -347,14 +347,14 @@ view2 flags texts settings model =
|
||||
[ for "source-abbrev"
|
||||
, class S.inputLabel
|
||||
]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
, B.inputRequired
|
||||
]
|
||||
, input
|
||||
[ type_ "text"
|
||||
, id "source-abbrev"
|
||||
, onInput SetAbbrev
|
||||
, placeholder texts.name
|
||||
, placeholder texts.basics.name
|
||||
, value model.abbrev
|
||||
, class S.textInput
|
||||
, classList [ ( S.inputErrorBorder, not (isValid model) ) ]
|
||||
@ -424,7 +424,7 @@ view2 flags texts settings model =
|
||||
]
|
||||
, div [ class "mb-4" ]
|
||||
[ label [ class S.inputLabel ]
|
||||
[ text texts.folder
|
||||
[ text texts.basics.folder
|
||||
]
|
||||
, Html.map FolderDropdownMsg
|
||||
(Comp.Dropdown.view2
|
||||
|
@ -136,13 +136,13 @@ view2 texts model =
|
||||
[ for "tagname"
|
||||
, class S.inputLabel
|
||||
]
|
||||
[ text texts.name
|
||||
[ text texts.basics.name
|
||||
, B.inputRequired
|
||||
]
|
||||
, input
|
||||
[ type_ "text"
|
||||
, onInput SetName
|
||||
, placeholder texts.name
|
||||
, placeholder texts.basics.name
|
||||
, value model.name
|
||||
, id "tagname"
|
||||
, class S.textInput
|
||||
|
@ -57,7 +57,7 @@ view2 texts model =
|
||||
[ thead []
|
||||
[ tr []
|
||||
[ th [ class "" ] []
|
||||
, th [ class "text-left" ] [ text texts.name ]
|
||||
, th [ class "text-left" ] [ text texts.basics.name ]
|
||||
, th [ class "text-left" ] [ text texts.category ]
|
||||
]
|
||||
]
|
||||
|
@ -466,6 +466,7 @@ tagColorViewOpts2 texts =
|
||||
\( _, v ) ->
|
||||
span [ class (" label " ++ Data.Color.toString2 v) ]
|
||||
[ text (texts.colorLabel v) ]
|
||||
, colorLabel = texts.colorLabel
|
||||
, label = texts.chooseTagColorLabel
|
||||
, description = Just texts.tagColorDescription
|
||||
}
|
||||
@ -626,7 +627,7 @@ settingFormTabs texts flags _ model =
|
||||
, ( "hidden", not model.showPatternHelp )
|
||||
]
|
||||
]
|
||||
IT.helpMessage
|
||||
texts.templateHelpMessage
|
||||
]
|
||||
}
|
||||
, { name = "search-menu"
|
||||
|
Reference in New Issue
Block a user