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

+2 -3
View File
@@ -1,6 +1,5 @@
import "./wizard.scss";
import React from "react";
import { Trans } from "@lingui/macro";
import { cssNames, prevDefault } from "../../utils";
import { Button } from "../button";
import { Stepper } from "../stepper";
@@ -206,8 +205,8 @@ export class WizardStep extends React.Component<WizardStepProps, WizardStepState
waiting = (waiting !== undefined) ? waiting : this.state.waiting;
className = cssNames(`WizardStep step${step}`, className);
contentClass = cssNames("step-content", { scrollable }, contentClass);
prevLabel = prevLabel || (isFirst() ? <Trans>Cancel</Trans> : <Trans>Back</Trans>);
nextLabel = nextLabel || (isLast() ? <Trans>Submit</Trans> : <Trans>Next</Trans>);
prevLabel = prevLabel || (isFirst() ? "Cancel" : "Back");
nextLabel = nextLabel || (isLast() ? "Submit" : "Next");
return (
<form className={className}