Extracted strings and fixes on localization support

Language chooser in the UI
This commit is contained in:
Tomas Bures 2018-11-18 21:31:22 +01:00
parent 9f449c0a2f
commit dc7789c17b
126 changed files with 2919 additions and 2028 deletions

View file

@ -1,11 +1,11 @@
'use strict';
import React, { Component } from 'react';
import { translate } from 'react-i18next';
import { withTranslation } from './i18n';
import PropTypes from 'prop-types';
import { withErrorHandling, withAsyncErrorHandler } from './error-handling';
@translate()
@withTranslation()
@withErrorHandling
class DismissibleAlert extends Component {
static propTypes = {
@ -192,7 +192,7 @@ class ActionLink extends Component {
}
@translate()
@withTranslation()
@withErrorHandling
class ModalDialog extends Component {
constructor(props) {