mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 14:43:38 +08:00
28e8ae553d
This happened only for languages other than "en" and when `I18n.t` was called without any interpolation keys. The lib still tried to interpolate keys because it interpreted the `overrides` option as interpolation key.
22 lines
411 B
YAML
22 lines
411 B
YAML
en:
|
|
got: "winter"
|
|
foo: "Foo in :en"
|
|
bar: "Bar in :en"
|
|
foo_with_variable: "Foo in :en with %{variable}"
|
|
wat: "Hello %{count}"
|
|
world: "Hello %{world}"
|
|
items:
|
|
one: "one item"
|
|
other: "%{count} items"
|
|
keys:
|
|
magic:
|
|
one: "one magic key"
|
|
other: "%{count} magic keys"
|
|
throne: "%{title} is the new king"
|
|
fish: "original fish"
|
|
|
|
js:
|
|
foo: "foo"
|
|
admin_js:
|
|
beep: "beep"
|