Skip to content
Playground(another site)

bynk.messages.multiple_reference

Error A message bundle has more than one @reference block.

A message bundle is checked against one reference locale, which is also the fallback when a requested locale is not declared. With two blocks marked @reference there are two answers, so exactly one per commons may carry the mark. Keep @reference on the locale your strings are written in first and take it off the others. No block marked at all is bynk.messages.missing_reference.

Example

messages "en" @reference { … }
messages "fr" @reference { … } // ✗ a second reference
messages "fr" { … } // ✓

In the Book

See also

  • Every code in its category, Message bundles, on the diagnostic index.
  • bynk explain bynk.messages.multiple_reference shows the same from the installed toolchain, without a network.