1
0

index.js 307 B

1234567891011121314
  1. import Messages from './message.csv';
  2. import UI from './ui.csv';
  3. import Errors from './error.csv'
  4. const i18n_data = {};
  5. for(const key in UI) {
  6. const data = {};
  7. data['error'] = Errors[key];
  8. data['message'] = Messages[key];
  9. data['ui'] = UI[key];
  10. i18n_data[key] = data;
  11. }
  12. export default i18n_data;