refactor: standardize translation usage across components and pages by removing specific namespace references

This commit is contained in:
Mauricio Siu
2025-03-15 21:38:49 -06:00
parent 0bc2734925
commit 7f2ebab66c
84 changed files with 1533 additions and 1548 deletions
@@ -52,7 +52,7 @@ interface Props {
}
const LocalServerConfig = ({ onSave }: Props) => {
const { t } = useTranslation("settings");
const { t } = useTranslation();
const form = useForm<Schema>({
defaultValues: getLocalServerData(),
@@ -54,7 +54,7 @@ const TraefikPortsSchema = z.object({
type TraefikPortsForm = z.infer<typeof TraefikPortsSchema>;
export const ManageTraefikPorts = ({ children, serverId }: Props) => {
const { t } = useTranslation("settings");
const { t } = useTranslation();
const [open, setOpen] = useState(false);
const form = useForm<TraefikPortsForm>({