Skip to content

Commit 025d27a

Browse files
committed
docs: change lang key to camelCase
1 parent 0ba441a commit 025d27a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user_guide_src/source/outgoing/localization.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ You might name it simply: **Errors.php**.
119119

120120
Within the file, you would return an array, where each element in the array has a language key and can have string to return::
121121

122-
'language_key' => 'The actual message to be shown.'
122+
'languageKey' => 'The actual message to be shown.'
123123

124124
It also support nested definition::
125125

126-
'language_key' => [
126+
'languageKey' => [
127127
'nested' => [
128128
'key' => 'The actual message to be shown.',
129129
],

0 commit comments

Comments
 (0)