mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-04 12:30:12 +00:00 
			
		
		
		
	Externalize strings in UiSettings page
This commit is contained in:
		@@ -3,7 +3,6 @@ module Data.Fields exposing
 | 
			
		||||
    , all
 | 
			
		||||
    , fromList
 | 
			
		||||
    , fromString
 | 
			
		||||
    , label
 | 
			
		||||
    , sort
 | 
			
		||||
    , toString
 | 
			
		||||
    )
 | 
			
		||||
@@ -130,46 +129,6 @@ toString field =
 | 
			
		||||
            "sourcename"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
label : Field -> String
 | 
			
		||||
label field =
 | 
			
		||||
    case field of
 | 
			
		||||
        Tag ->
 | 
			
		||||
            "Tag"
 | 
			
		||||
 | 
			
		||||
        Folder ->
 | 
			
		||||
            "Folder"
 | 
			
		||||
 | 
			
		||||
        CorrOrg ->
 | 
			
		||||
            "Correspondent Organization"
 | 
			
		||||
 | 
			
		||||
        CorrPerson ->
 | 
			
		||||
            "Correspondent Person"
 | 
			
		||||
 | 
			
		||||
        ConcPerson ->
 | 
			
		||||
            "Concerning Person"
 | 
			
		||||
 | 
			
		||||
        ConcEquip ->
 | 
			
		||||
            "Concerned Equipment"
 | 
			
		||||
 | 
			
		||||
        Date ->
 | 
			
		||||
            "Date"
 | 
			
		||||
 | 
			
		||||
        DueDate ->
 | 
			
		||||
            "Due Date"
 | 
			
		||||
 | 
			
		||||
        Direction ->
 | 
			
		||||
            "Direction"
 | 
			
		||||
 | 
			
		||||
        PreviewImage ->
 | 
			
		||||
            "Preview Image"
 | 
			
		||||
 | 
			
		||||
        CustomFields ->
 | 
			
		||||
            "Custom Fields"
 | 
			
		||||
 | 
			
		||||
        SourceName ->
 | 
			
		||||
            "Item Source"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
fromList : List String -> List Field
 | 
			
		||||
fromList strings =
 | 
			
		||||
    List.filterMap fromString strings
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user