Skip to content

Commit 8453438

Browse files
author
Tiago
authored
Update README
ortography fix
1 parent 652ae79 commit 8453438

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ gulp prod
7676
```html
7777
<span>Перевод вашего первого ключа из словаря для текущего языка</span>
7878
<span>Пришла 1 кошечка</span>
79-
<span>Пришли 2 кошечки</span>
80-
<span>Пришло 5 кошечек</span>
79+
<span>Пришли 2 кошечки</span><span>Пришло 5 кошечек</span>
8180
```
8281

8382
### What am I using:
@@ -119,7 +118,7 @@ reducers.i18n = i18nReducer
119118
const store = createStore( combineReducers( reducers ) )
120119

121120
...
122-
// Set dictionaries (simpliest exapmple) -----------------------------------------------------------------------------------------------
121+
// Set dictionaries (simpliest example) -----------------------------------------------------------------------------------------------
123122

124123
// This dictionaries can be supported by Localization team without need to know somth about interface or project,
125124
// and you just can fetch it to your project
@@ -138,9 +137,9 @@ const dictionaries = {
138137
/* Other dictionaries */
139138
}
140139
store.dispatch( i18nActions.setDictionaries( dictionaries ) )
141-
// / Set dictionaries (simpliest exapmple) ---------------------------------------------------------------------------------------------
140+
// / Set dictionaries (simpliest example) ---------------------------------------------------------------------------------------------
142141

143-
// Set languages (simpliest exapmple) --------------------------------------------------------------------------------------------------
142+
// Set languages (simpliest example) --------------------------------------------------------------------------------------------------
144143
const languages = [
145144
{
146145
code: 'ru-RU',
@@ -155,7 +154,7 @@ const languages = [
155154
]
156155

157156
store.dispatch( i18nActions.setLanguages( languages ) )
158-
// / Set languages (simpliest exapmple) ------------------------------------------------------------------------------------------------
157+
// / Set languages (simpliest example) ------------------------------------------------------------------------------------------------
159158

160159
// Set current language code (you can map this action to select component or somth like this)
161160
store.dispatch( i18nActions.setCurrentLanguage( 'ru-RU' ) )

0 commit comments

Comments
 (0)