Use a placeholder string for all dropdowns

This commit is contained in:
Eike Kettner
2021-04-11 20:37:16 +02:00
parent bbda4e84d7
commit 7b1cbe6435
31 changed files with 66 additions and 32 deletions

View File

@ -15,6 +15,7 @@ type alias Texts =
, back : String
, backToList : String
, searchPlaceholder : String
, selectPlaceholder : String
, id : String
, ok : String
, yes : String
@ -49,6 +50,7 @@ gb =
, back = "Back"
, backToList = "Back to list"
, searchPlaceholder = "Search"
, selectPlaceholder = "Select"
, id = "Id"
, ok = "Ok"
, yes = "Yes"

View File

@ -1,10 +1,12 @@
module Messages.Comp.ClassifierSettingsForm exposing (Texts, gb)
import Messages.Basics
import Messages.Comp.CalEventInput
type alias Texts =
{ calEventInput : Messages.Comp.CalEventInput.Texts
{ basics : Messages.Basics.Texts
, calEventInput : Messages.Comp.CalEventInput.Texts
, autoTaggingText : String
, blacklistOrWhitelist : String
, whitelistLabel : String
@ -17,7 +19,8 @@ type alias Texts =
gb : Texts
gb =
{ calEventInput = Messages.Comp.CalEventInput.gb
{ basics = Messages.Basics.gb
, calEventInput = Messages.Comp.CalEventInput.gb
, autoTaggingText =
"""

View File

@ -1,12 +1,14 @@
module Messages.Comp.CollectiveSettingsForm exposing (Texts, gb)
import Data.Language exposing (Language)
import Messages.Basics
import Messages.Comp.ClassifierSettingsForm
import Messages.Data.Language
type alias Texts =
{ classifierSettingsForm : Messages.Comp.ClassifierSettingsForm.Texts
{ basics : Messages.Basics.Texts
, classifierSettingsForm : Messages.Comp.ClassifierSettingsForm.Texts
, save : String
, saveSettings : String
, documentLanguage : String
@ -25,7 +27,8 @@ type alias Texts =
gb : Texts
gb =
{ classifierSettingsForm = Messages.Comp.ClassifierSettingsForm.gb
{ basics = Messages.Basics.gb
, classifierSettingsForm = Messages.Comp.ClassifierSettingsForm.gb
, save = "Save"
, saveSettings = "Save Settings"
, documentLanguage = "Document Language"

View File

@ -1,19 +1,21 @@
module Messages.Comp.Dropzone exposing (Texts, gb)
import Messages.Basics
type alias Texts =
{ dropFilesHere : String
{ basics : Messages.Basics.Texts
, dropFilesHere : String
, or : String
, select : String
, selectInfo : String
}
gb : Texts
gb =
{ dropFilesHere = "Drop files here"
{ basics = Messages.Basics.gb
, dropFilesHere = "Drop files here"
, or = "Or"
, select = "Select ..."
, selectInfo =
"Choose document files (pdf, docx, txt, html, ). "
++ "Archives (zip and eml) are extracted."

View File

@ -9,7 +9,6 @@ type alias Texts =
, customFieldInput : Messages.Comp.CustomFieldMultiInput.Texts
, createNewCustomField : String
, chooseDirection : String
, selectPlaceholder : String
, folderNotOwnerWarning : String
, dueDateTab : String
, addNewOrg : String
@ -31,7 +30,6 @@ gb =
, customFieldInput = Messages.Comp.CustomFieldMultiInput.gb
, createNewCustomField = "Create new custom field"
, chooseDirection = "Choose a direction"
, selectPlaceholder = "Select"
, folderNotOwnerWarning =
"""
You are **not a member** of this folder. This item will be **hidden**

View File

@ -10,7 +10,6 @@ type alias Texts =
, tagModeAddInfo : String
, tagModeRemoveInfo : String
, tagModeReplaceInfo : String
, selectPlaceholder : String
, chooseDirection : String
, confirmUnconfirm : String
, confirm : String
@ -28,7 +27,6 @@ gb =
, tagModeAddInfo = "Tags chosen here are *added* to all selected items."
, tagModeRemoveInfo = "Tags chosen here are *removed* from all selected items."
, tagModeReplaceInfo = "Tags chosen here *replace* those on selected items."
, selectPlaceholder = "Select"
, chooseDirection = "Choose a direction"
, confirmUnconfirm = "Confirm/Unconfirm item metadata"
, confirm = "Confirm"

View File

@ -21,7 +21,6 @@ type alias Texts =
, language : String
, languageInfo : String
, languageLabel : Language -> String
, selectPlaceholder : String
}
@ -59,5 +58,4 @@ Specify a file glob to filter files when uploading archives
"Used for text extraction and analysis. The collective's "
++ "default language is used if not specified here."
, languageLabel = Messages.Data.Language.gb
, selectPlaceholder = "Select"
}

View File

@ -2,12 +2,14 @@ module Messages.Comp.UiSettingsForm exposing (Texts, gb)
import Data.Color exposing (Color)
import Data.Fields exposing (Field)
import Messages.Basics
import Messages.Data.Color
import Messages.Data.Fields
type alias Texts =
{ general : String
{ basics : Messages.Basics.Texts
, general : String
, showSideMenuByDefault : String
, uiLanguage : String
, itemSearch : String
@ -45,7 +47,8 @@ type alias Texts =
gb : Texts
gb =
{ general = "General"
{ basics = Messages.Basics.gb
, general = "General"
, showSideMenuByDefault = "Show side menu by default"
, uiLanguage = "UI Language"
, itemSearch = "Item Search"

View File

@ -1,8 +1,11 @@
module Messages.Comp.UserForm exposing (Texts, gb)
import Messages.Basics
type alias Texts =
{ login : String
{ basics : Messages.Basics.Texts
, login : String
, state : String
, email : String
, password : String
@ -11,7 +14,8 @@ type alias Texts =
gb : Texts
gb =
{ login = "Login"
{ basics = Messages.Basics.gb
, login = "Login"
, state = "State"
, email = "E-Mail"
, password = "Password"