Skip to content

Commit e17eff8

Browse files
Translation - fix
1 parent 08d48a6 commit e17eff8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wniemiec-component-reactnative/weekday-selector",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Component that lets you select days of the week",
55
"main": "index.js",
66
"repository": {

src/locales/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const getLanguageByDevice = () => {
1717
}
1818

1919
I18n.translations = {
20-
'en_US': en,
21-
'pt_BR': pt,
20+
'en_US': {...I18n.translations['en_US'], ...en},
21+
'pt_BR': {...I18n.translations['pt_BR'], ...pt},
2222
}
2323

2424
const setLanguageToI18n = () => {

0 commit comments

Comments
 (0)