Extracted strings and fixes on localization support
Language chooser in the UI
This commit is contained in:
parent
9f449c0a2f
commit
dc7789c17b
126 changed files with 2919 additions and 2028 deletions
6
client/src/lib/bootstrap-components.js
vendored
6
client/src/lib/bootstrap-components.js
vendored
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue