Skip to content
#

translation

Here are 3,471 public repositories matching this topic...

muhammadkholidb
muhammadkholidb commented Oct 1, 2019

Package version eg. v8, v9:

v9

Issue, Question or Enhancement:

Is it possible to use oneof validation with values containing space character? Tried with single quote but it did not seem to work.

Code sample, to showcase or reproduce:

type Data struct {
    Status string `json:"status" validate:"required,oneof='Awaiting Verification' 'Verified' 'Failed Veri
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>
}

Improve this page

Add a description, image, and links to the translation 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 translation topic, visit your repo's landing page and select "manage topics."

Learn more