Yep
This commit is contained in:
parent
1b3e7fca9a
commit
975ff782e4
|
@ -3,8 +3,6 @@ title: Rails i18n
|
|||
layout: default
|
||||
---
|
||||
|
||||
### Basics
|
||||
|
||||
```rb
|
||||
t('my.messages.hello')
|
||||
|
||||
|
@ -16,6 +14,13 @@ t('my.messages.hello', default: "Hello")
|
|||
```
|
||||
{:.light}
|
||||
|
||||
```yml
|
||||
en:
|
||||
my:
|
||||
messages:
|
||||
hello: "Hello"
|
||||
```
|
||||
|
||||
### Interpolation
|
||||
|
||||
```rb
|
||||
|
|
Loading…
Reference in New Issue