Skip to content
#

icu

Here are 97 public repositories matching this topic...

pauloborges
pauloborges commented Feb 5, 2021

Describe the bug

Given a message like {input, plural, other {# + #}}, one would expect both # placeholders getting replaced by the plural value. But only the first one is actually replaced.

To Reproduce

import { plural } from "@lingui/macro"

export default function App() {
  const message = plural(5, {
    other: '# + #
  })
  return <p>{message}</p>
}
icu4x
sffc
sffc commented Mar 9, 2021

We should perform data-driven stability testing of data structs. I think the best way to do this would be to introduce JSON Schema declarations for each versioned struct, which would be tested against the serialized form of the structs.

JSON Schema will work for the human-readable form, but we should also think about how we can go about testing the machine-readable (Bincode) form.

Related: #

Improve this page

Add a description, image, and links to the icu topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the icu topic, visit your repo's landing page and select "manage topics."

Learn more