Skip to content

Commit 7d31f55

Browse files
committed
chore: upgrade lingui to v5, switch to SWC plugin
1 parent de951cb commit 7d31f55

115 files changed

Lines changed: 560 additions & 441 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/babel.config.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/browse/ui/dataset-preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Trans } from "@lingui/macro";
1+
import { Trans } from "@lingui/react/macro";
22
import { Box, Paper, Theme, Typography } from "@mui/material";
33
import { makeStyles } from "@mui/styles";
44
import Head from "next/head";

app/browse/ui/dataset-result.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Trans } from "@lingui/macro";
1+
import { Trans } from "@lingui/react/macro";
22
import { Box, CardProps, Stack, Theme, Typography } from "@mui/material";
33
import { makeStyles } from "@mui/styles";
44
import clsx from "clsx";

app/browse/ui/dataset-results.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Trans } from "@lingui/macro";
1+
import { Trans } from "@lingui/react/macro";
22
import { Typography } from "@mui/material";
33
import { ComponentProps } from "react";
44
import { CombinedError } from "urql";

app/browse/ui/first-ten-rows-caption.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Trans } from "@lingui/macro";
1+
import { Trans } from "@lingui/react/macro";
22
import { Typography } from "@mui/material";
33

44
export const FirstTenRowsCaption = () => {

app/browse/ui/navigation-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Trans } from "@lingui/macro";
1+
import { Trans } from "@lingui/react/macro";
22
import { Button } from "@mui/material";
33
import { Reorder } from "framer-motion";
44
import orderBy from "lodash/orderBy";

app/browse/ui/search-dataset-drafts-control.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { t } from "@lingui/macro";
1+
import { t } from "@lingui/core/macro";
22

33
import { Checkbox } from "@/components/form";
44

app/browse/ui/search-dataset-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { t } from "@lingui/macro";
1+
import { t } from "@lingui/core/macro";
22
import { KeyboardEvent, useState } from "react";
33

44
import { BrowseState } from "@/browse/model/context";

app/browse/ui/search-dataset-results-count.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Plural } from "@lingui/macro";
1+
import { Plural } from "@lingui/react/macro";
22
import { Typography } from "@mui/material";
33

44
import { SearchCubeResult } from "@/graphql/query-hooks";

app/browse/ui/search-dataset-sort-control.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { t, Trans } from "@lingui/macro";
1+
import { Trans } from "@lingui/react/macro";
2+
import { t } from "@lingui/core/macro";
23
import { Typography } from "@mui/material";
34
import { useMemo } from "react";
45

0 commit comments

Comments
 (0)