Convert en_US to en-US for i18n.js

This commit is contained in:
Alexander Zaytsev 2015-07-09 11:03:49 +07:00
parent 7e5222cf60
commit 898f5cbff1

View File

@ -3,6 +3,6 @@
var I18n = require('./vendor/i18n'); var I18n = require('./vendor/i18n');
var { RNI18n } = require('react-native').NativeModules; var { RNI18n } = require('react-native').NativeModules;
I18n.locale = RNI18n.locale; I18n.locale = RNI18n.locale.replace(/_/, '-');
module.exports = I18n; module.exports = I18n;