mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
1 parent
050603a7b3
commit
a03da3c572
163 files changed
+1140
-12003
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user