Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.LanguagePackStringValue
Synopsis
Documentation
data LanguagePackStringValue Source #
Represents the value of a string in a language pack
Constructors
LanguagePackStringValueOrdinary | An ordinary language pack string |
LanguagePackStringValuePluralized | A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more information |
LanguagePackStringValueDeleted | A deleted language pack string, the value must be taken from the built-in English language pack |
Instances
FromJSON LanguagePackStringValue Source # | |
Defined in TD.Data.LanguagePackStringValue Methods parseJSON :: Value -> Parser LanguagePackStringValue # parseJSONList :: Value -> Parser [LanguagePackStringValue] # | |
ToJSON LanguagePackStringValue Source # | |
Defined in TD.Data.LanguagePackStringValue Methods toJSON :: LanguagePackStringValue -> Value # toEncoding :: LanguagePackStringValue -> Encoding # toJSONList :: [LanguagePackStringValue] -> Value # | |
Show LanguagePackStringValue Source # | |
Defined in TD.Data.LanguagePackStringValue Methods showsPrec :: Int -> LanguagePackStringValue -> ShowS # show :: LanguagePackStringValue -> String # showList :: [LanguagePackStringValue] -> ShowS # | |
Eq LanguagePackStringValue Source # | |
Defined in TD.Data.LanguagePackStringValue Methods (==) :: LanguagePackStringValue -> LanguagePackStringValue -> Bool # (/=) :: LanguagePackStringValue -> LanguagePackStringValue -> Bool # | |
ShortShow LanguagePackStringValue Source # | |
Defined in TD.Data.LanguagePackStringValue Methods |