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
@@ -2,7 +2,6 @@ import "./storage.scss";
|
||||
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { Trans } from "@lingui/macro";
|
||||
import { TabLayout, TabLayoutRoute } from "../layout/tab-layout";
|
||||
import { PersistentVolumes, volumesRoute, volumesURL } from "../+storage-volumes";
|
||||
import { StorageClasses, storageClassesRoute, storageClassesURL } from "../+storage-classes";
|
||||
@@ -18,7 +17,7 @@ export class Storage extends React.Component {
|
||||
|
||||
if (isAllowedResource("persistentvolumeclaims")) {
|
||||
tabRoutes.push({
|
||||
title: <Trans>Persistent Volume Claims</Trans>,
|
||||
title: "Persistent Volume Claims",
|
||||
component: PersistentVolumeClaims,
|
||||
url: volumeClaimsURL({ query }),
|
||||
routePath: volumeClaimsRoute.path.toString(),
|
||||
@@ -27,7 +26,7 @@ export class Storage extends React.Component {
|
||||
|
||||
if (isAllowedResource("persistentvolumes")) {
|
||||
tabRoutes.push({
|
||||
title: <Trans>Persistent Volumes</Trans>,
|
||||
title: "Persistent Volumes",
|
||||
component: PersistentVolumes,
|
||||
url: volumesURL(),
|
||||
routePath: volumesRoute.path.toString(),
|
||||
@@ -36,7 +35,7 @@ export class Storage extends React.Component {
|
||||
|
||||
if (isAllowedResource("storageclasses")) {
|
||||
tabRoutes.push({
|
||||
title: <Trans>Storage Classes</Trans>,
|
||||
title: "Storage Classes",
|
||||
component: StorageClasses,
|
||||
url: storageClassesURL(),
|
||||
routePath: storageClassesRoute.path.toString(),
|
||||
|
||||
Reference in new issue
Block a user