feat(i18n): make admin and catalog components fully translatable
This commit is contained in:
1 parent
03774bb411
commit
91e649398c
29 files changed
+39288
-369
No files matched your search
@@ -237,7 +237,7 @@ export function NitroEditorDialog({
|
||||
}
|
||||
})();
|
||||
return () => controller.abort();
|
||||
}, [open, classname]);
|
||||
}, [open, classname, t]);
|
||||
|
||||
const handleTabChange = (newTab: string) => {
|
||||
if (activeTab === "json" && newTab !== "json") {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { useTranslations } from "next-intl";
|
||||
import { AlertCircle, Check, Loader2, Upload } from "lucide-react";
|
||||
import { useTranslations } from "next-intl";
|
||||
import { useRef, useState } from "react";
|
||||
import { toast } from "sonner";
|
||||
import { ImportErrorBanner } from "@/components/admin/import-error-banner";
|
||||
|
||||
@@ -10,8 +10,8 @@ import {
|
||||
Trash2,
|
||||
Upload,
|
||||
} from "lucide-react";
|
||||
import { useTranslations } from "next-intl";
|
||||
import { useRouter } from "next/navigation";
|
||||
import { useTranslations } from "next-intl";
|
||||
import { useMemo, useRef, useState } from "react";
|
||||
import { toast } from "sonner";
|
||||
import { deleteSoundtrack, updateSoundtrack } from "@/actions/soundtracks";
|
||||
|
||||
Reference in new issue
Block a user