Remove lingui (#1874)

* remove lingui

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* babelless

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* tweak ts-loader options

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* tweak renderer webpack config

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-12-29 14:53:34 +02:00
1 parent 050603a7b3
commit a03da3c572
163 files changed
+1140 -12003

No files matched your search

@@ -3,8 +3,6 @@ import "./add-namespace-dialog.scss";
import React from "react";
import { observable } from "mobx";
import { observer } from "mobx-react";
import { t, Trans } from "@lingui/macro";
import { _i18n } from "../../i18n";
import { Dialog, DialogProps } from "../dialog";
import { Wizard, WizardStep } from "../wizard";
import { namespaceStore } from "./namespace.store";
@@ -55,7 +53,7 @@ export class AddNamespaceDialog extends React.Component<Props> {
render() {
const { ...dialogProps } = this.props;
const { namespace } = this;
const header = <h5><Trans>Create Namespace</Trans></h5>;
const header = <h5>Create Namespace</h5>;
return (
<Dialog
@@ -68,13 +66,13 @@ export class AddNamespaceDialog extends React.Component<Props> {
<Wizard header={header} done={this.close}>
<WizardStep
contentClass="flex gaps column"
nextLabel={<Trans>Create</Trans>}
nextLabel="Create"
next={this.addNamespace}
>
<Input
required autoFocus
iconLeft="layers"
placeholder={_i18n._(t`Namespace`)}
placeholder={`Namespace`}
validators={systemName}
value={namespace} onChange={v => this.namespace = v.toLowerCase()}
/>