Add custom text

parser
Bram 2024-03-29 07:16:36 +01:00
parent d1336a0e23
commit 56c978bcf3
1 changed files with 19 additions and 0 deletions

View File

@ -4,6 +4,7 @@ module Internal.Config.Text exposing
, versionsFoundLocally, versionsReceived, versionsFailedToDecode , versionsFoundLocally, versionsReceived, versionsFailedToDecode
, unsupportedVersionForEndpoint , unsupportedVersionForEndpoint
, decodedDictSize, invalidHashInHashdict, invalidHashInMashdict, leakingValueFound , decodedDictSize, invalidHashInHashdict, invalidHashInMashdict, leakingValueFound
, parses
) )
{-| Throughout the Elm SDK, there are lots of pieces of text being used for {-| Throughout the Elm SDK, there are lots of pieces of text being used for
@ -347,6 +348,24 @@ leakingValueFound leaking_value =
"Found leaking value : " ++ leaking_value "Found leaking value : " ++ leaking_value
parses :
{ reservedIPs :
{ ipv6Toipv4 : String
, multicast : String
, futureUse : String
, unspecified : String
}
}
parses =
{ reservedIPs =
{ ipv6Toipv4 = "Detected a reserved ip address that is formerly used as an IPv6 to IPv4 relay. It is unlikely that this IP Address is real."
, multicast = "Detected a reserved ip address that is used for multicasting. It is unlikely that this IP Address is real."
, futureUse = "Detected a reserves ip address that is reserved for future use. It is unlikely that this IP Address is real if you're running a recent version of the Elm SDK."
, unspecified = "This is an unspecified ip address. It is unlikely that this IP Address is real and someone might try to break something."
}
}
{-| The Matrix homeserver can specify how it wishes to communicate, and the Elm {-| The Matrix homeserver can specify how it wishes to communicate, and the Elm
SDK aims to communicate accordingly. This may fail in some scenarios, however, SDK aims to communicate accordingly. This may fail in some scenarios, however,
in which case it will throw this error. in which case it will throw this error.