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,9 +1,7 @@
|
||||
import "./drawer-param-toggler.scss";
|
||||
import React from "react";
|
||||
import { t } from "@lingui/macro";
|
||||
import { Icon } from "../icon";
|
||||
import { cssNames } from "../../utils";
|
||||
import { _i18n } from "../../i18n";
|
||||
|
||||
export interface DrawerParamTogglerProps {
|
||||
label: string | number;
|
||||
@@ -23,7 +21,7 @@ export class DrawerParamToggler extends React.Component<DrawerParamTogglerProps,
|
||||
const { label, children } = this.props;
|
||||
const { open } = this.state;
|
||||
const icon = `arrow_drop_${open ? "up" : "down"}`;
|
||||
const link = open ? _i18n._(t`Hide`) : _i18n._(t`Show`);
|
||||
const link = open ? `Hide` : `Show`;
|
||||
|
||||
return (
|
||||
<div className="DrawerParamToggler">
|
||||
@@ -38,4 +36,4 @@ export class DrawerParamToggler extends React.Component<DrawerParamTogglerProps,
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user