* ui-react-app -> ui-app
* CopyButton, Input & Password components
* Convert all to use ui-app/{Input, Label}
* Change to PureComponent where we have onChange listeners
* Cleanup layouts
* Swap dropdown components, remove uselexx constructors
* Allow address/account forget
* Bump
* Searching with headers operational
* flex grow/shrink for icon + account add
* Fix balance & transaction display (account/address management)
* Adjust balance layout
* Equalise padding
29 lines
634 B
JavaScript
29 lines
634 B
JavaScript
// Copyright 2017-2018 Jaco Greeff
|
|
// This software may be modified and distributed under the terms
|
|
// of the ISC license. See the LICENSE file for details.
|
|
// @flow
|
|
|
|
import i18n from 'i18next';
|
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
import Backend from 'i18next-xhr-backend';
|
|
import { reactI18nextModule } from 'react-i18next';
|
|
|
|
i18n
|
|
.use(Backend)
|
|
.use(LanguageDetector)
|
|
.use(reactI18nextModule)
|
|
.init({
|
|
fallbackLng: 'en',
|
|
ns: ['ui'],
|
|
defaultNS: 'ui',
|
|
debug: false,
|
|
interpolation: {
|
|
escapeValue: false
|
|
},
|
|
react: {
|
|
wait: true
|
|
}
|
|
});
|
|
|
|
export default i18n;
|