diff --git a/public/locales/en-US.json b/public/locales/en-US.json
index cfa87117..b6230bf6 100644
--- a/public/locales/en-US.json
+++ b/public/locales/en-US.json
@@ -173,11 +173,6 @@
"label": "Screenshot format",
"title": "The format to save the screenshot in"
},
- "format": {
- "png": "PNG",
- "jpeg": "JPEG",
- "webp": "WebP"
- },
"saveAs": {
"file": "File",
"clipboard": "Clipboard"
diff --git a/public/locales/en-US.json.d.ts b/public/locales/en-US.json.d.ts
index 05957ae0..292a19e4 100644
--- a/public/locales/en-US.json.d.ts
+++ b/public/locales/en-US.json.d.ts
@@ -111,7 +111,6 @@ interface EnUS {
label: "Enable screenshot button";
title: "Adds a button to the player to take a screenshot of the video";
};
- format: { jpeg: "JPEG"; png: "PNG"; webp: "WebP" };
saveAs: { clipboard: "Clipboard"; file: "File" };
selectFormat: { label: "Screenshot format"; title: "The format to save the screenshot in" };
selectSaveAs: { label: "Screenshot save type"; title: "The screenshot save type" };
diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx
index 43794a73..78940adb 100644
--- a/src/components/Settings/Settings.tsx
+++ b/src/components/Settings/Settings.tsx
@@ -1,12 +1,12 @@
-import type { configuration, configurationKeys } from "@/src/@types";
+import type { configuration, configurationKeys } from "@/src/types";
import type EnUS from "public/locales/en-US.json";
import type { ChangeEvent, Dispatch, SetStateAction } from "react";
import "@/assets/styles/tailwind.css";
import "@/components/Settings/Settings.css";
import { useNotifications } from "@/hooks";
-import { youtubePlayerSpeedRate } from "@/src/@types";
import { availableLocales, type i18nInstanceType } from "@/src/i18n";
+import { youtubePlayerSpeedRate } from "@/src/types";
import { configurationImportSchema } from "@/src/utils/constants";
import { cn, settingsAreDefault } from "@/src/utils/utilities";
import React, { Suspense, useEffect, useState } from "react";
@@ -52,7 +52,7 @@ function LanguageOptions({
({ label: rate.toString(), value: rate.toString() }));
const ScreenshotFormatOptions: SelectOption[] = [
- { label: png, value: "png" },
- { label: jpeg, value: "jpeg" },
- { label: webp, value: "webp" }
+ { label: "PNG", value: "png" },
+ { label: "JPEG", value: "jpeg" },
+ { label: "WebP", value: "webp" }
];
const ScreenshotSaveAsOptions: SelectOption[] = [
{ label: file, value: "file" },
@@ -419,7 +418,7 @@ export default function Settings({
/>