Skip to content

Commit e132b60

Browse files
committed
Updated readme
1 parent 0f5e834 commit e132b60

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.vscode/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"spellright.language": [
3-
"en"
3+
"English (American)"
44
],
55
"spellright.documentTypes": [
6-
"markdown",
76
"latex",
8-
"plaintext"
7+
"plaintext",
8+
"markdown"
99
]
1010
}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ React hook that returns the t function
8181

8282
Params | Type | Description | Required
8383
---- | ---- | ---- | ----
84-
basePath | string | translation basepath used to identify all the next requested translations | no
84+
basePath | string | translation base path used to identify all the next requested translations | no
8585

8686
### withTranslation(component, basePath)
8787

@@ -90,7 +90,7 @@ HOC that injects the translation function into the component
9090
Params | Type | Description | Required
9191
---- | ---- | ---- | ----
9292
component | React Component | React component that requires the translation function | yes
93-
basePath | string | translation basepath used to identify all the next requested translations | no
93+
basePath | string | translation base path used to identify all the next requested translations | no
9494

9595
## Translation Method
9696

@@ -101,7 +101,7 @@ Returns the translation for the requested path
101101
Params | Type | Description | Required
102102
---- | ---- | ---- | ----
103103
path | string | translation path that identifies the text | yes
104-
params | object | {'param': 'value', ...} each param will be set on the string in its correct location | no
104+
params | object | {'param': 'value', ...} each parameter will be set on the string in its correct location | no
105105

106106
## Exported Methods
107107

@@ -150,4 +150,4 @@ Returns the translation for the requested path
150150
Params | Type | Description | Required
151151
---- | ---- | ---- | ----
152152
path | string | translation path that identifies the text | yes
153-
params | object | {'param': 'value', ...} each param will be set on the string in its correct location | no
153+
params | object | {'param': 'value', ...} each parameter will be set on the string in its correct location | no

0 commit comments

Comments
 (0)