Skip to content

Commit a375546

Browse files
Gummibeeractions-user
authored andcommitted
Prettified Code!
1 parent 3adf03d commit a375546

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,13 @@ echo $post->translate('fr')->title; // Mon premier post
7171
#### Filling multiple translations wrapped
7272

7373
You may define a wrapper property when creating new translations. Set the `translations_wrapper` property in translatable config file:
74+
7475
```php
7576
'translations_wrapper' => 'translations',
7677
```
7778

7879
Then just wrap multiple locales using that property:
80+
7981
```php
8082
$data = [
8183
'author' => 'Gummibeer',

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,13 @@ echo $post->translate('fr')->title; // Mon premier post
6060
#### Filling multiple translations wrapped
6161

6262
You may define a wrapper property when creating new translations. Set the `translations_wrapper` property in translatable config file:
63+
6364
```php
6465
'translations_wrapper' => 'translations',
6566
```
6667

6768
Then just wrap multiple locales using that property:
69+
6870
```php
6971
$data = [
7072
'author' => 'Gummibeer',

0 commit comments

Comments
 (0)