[ReactNative] parse localized JSON files in JS, not in ObjC
This commit is contained in:
parent
2f4430cf51
commit
f2b38bacbf
|
@ -5,9 +5,9 @@
|
|||
|
||||
var NativeModules = {
|
||||
I18n: {
|
||||
translationsDictionary: {
|
||||
translationsDictionary: JSON.stringify({
|
||||
'Good bye, {name}!|Bye message': '¡Adiós {name}!',
|
||||
},
|
||||
}),
|
||||
},
|
||||
Timing: {
|
||||
createTimer: jest.genMockFunction(),
|
||||
|
|
Loading…
Reference in New Issue