diff --git a/client/src/MassiveDecks/States/Config.elm b/client/src/MassiveDecks/States/Config.elm index d3c3cd6..93f6ace 100644 --- a/client/src/MassiveDecks/States/Config.elm +++ b/client/src/MassiveDecks/States/Config.elm @@ -129,7 +129,7 @@ update action global data = case action of addDeckErrorHandler : API.AddDeckError -> Action addDeckErrorHandler error = case error of - API.DeckNotFound -> SetInputError "deckId" (Just "The given deck doesn't exist, check the id is correct.") + API.DeckNotFound -> SetInputError "deckId" (Just "The given deck doesn't exist, check the play code is correct.") API.CardCastTimeout -> SetInputError "deckId" (Just "We couldn't get a response from CardCast. Try again later.") diff --git a/client/src/MassiveDecks/States/Config/UI.elm b/client/src/MassiveDecks/States/Config/UI.elm index 8517026..e736042 100644 --- a/client/src/MassiveDecks/States/Config/UI.elm +++ b/client/src/MassiveDecks/States/Config/UI.elm @@ -64,7 +64,7 @@ deckIdInput address deckIdValue error = [ div [ class "mui-textfield" ] [ input [ type' "text" - , placeholder "Deck Id" + , placeholder "Play Code" , on "input" targetValue (\deckId -> Signal.message address (UpdateInputValue "deckId" deckId)) , onKeyUp address (\key -> case key of 13 -> AddDeck {- Return key. -} @@ -73,7 +73,7 @@ deckIdInput address deckIdValue error = , label [] [ icon "info-circle" , text " A " , a [ href "https://www.cardcastgame.com/browse", target "_blank" ] [ text "CardCast" ] - , text " Deck Id" + , text " Play Code" ] ] , addDeckButton address (not (String.isEmpty deckIdValue))