1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-23 23:21:05 +01:00

fix: useEffect re-render param; right-pane add ctrl+v info

This commit is contained in:
abhishek-gaonkar 2024-10-05 16:29:45 +05:30
parent bf06416134
commit ebe8751c38
8 changed files with 15 additions and 7 deletions

View File

@ -260,7 +260,7 @@ const MainContent = ({
return () => {
window.removeEventListener("paste", handlePasteEvent);
};
}, []);
}, [t]);
return (
<div

View File

@ -19,6 +19,8 @@ function InstructionsCard({ version, batchMode }) {
) : (
<p className="w-full pb-5 text-center text-base-content/80 md:w-96">
{t("APP.RIGHT_PANE_INFO.SELECT_IMAGES_DESCRIPTION")}
<br />
{t("APP.RIGHT_PANE_INFO.PASTE_IMAGE_DESCRIPTION")}
</p>
)}
<p className="badge badge-primary text-sm">Upscayl v{version}</p>

View File

@ -147,7 +147,8 @@
"SELECT_FOLDER": "Select a Folder to Upscayl",
"SELECT_IMAGE": "Select an Image to Upscayl",
"SELECT_FOLDER_DESCRIPTION": "Make sure that the folder doesn't contain anything except PNG, JPG, JPEG & WEBP images.",
"SELECT_IMAGES_DESCRIPTION": "Select or drag and drop a PNG, JPG, JPEG or WEBP image."
"SELECT_IMAGES_DESCRIPTION": "Select or drag and drop a PNG, JPG, JPEG or WEBP image.",
"PASTE_IMAGE_DESCRIPTION": "Hit Ctrl + V or Cmd + V to Paste image from Clipboard"
},
"PROGRESS": {
"PROCESSING_TITLE": "Processing the image...",

View File

@ -147,7 +147,8 @@
"SELECT_FOLDER": "Selecciona una carpeta para aumentar",
"SELECT_IMAGE": "Selecciona una imagen para aumentar",
"SELECT_FOLDER_DESCRIPTION": "Asegúrate de que la carpeta no contenga nada excepto imágenes PNG, JPG, JPEG y WEBP.",
"SELECT_IMAGES_DESCRIPTION": "Selecciona o arrastra y suelta una imagen PNG, JPG, JPEG o WEBP."
"SELECT_IMAGES_DESCRIPTION": "Selecciona o arrastra y suelta una imagen PNG, JPG, JPEG o WEBP.",
"PASTE_IMAGE_DESCRIPTION": "Presiona Ctrl + V o Cmd + V para pegar la imagen desde el portapapeles"
},
"PROGRESS": {
"PROCESSING_TITLE": "Procesando la imagen...",

View File

@ -147,7 +147,8 @@
"SELECT_FOLDER": "Sélectionnez un dossier à suréchantillonner",
"SELECT_IMAGE": "Sélectionnez une image à suréchantillonner",
"SELECT_FOLDER_DESCRIPTION": "Assurez-vous que le dossier ne contient rien d'autre que des images PNG, JPG, JPEG et WEBP.",
"SELECT_IMAGES_DESCRIPTION": "Sélectionnez ou glissez-déposez une image PNG, JPG, JPEG ou WEBP."
"SELECT_IMAGES_DESCRIPTION": "Sélectionnez ou glissez-déposez une image PNG, JPG, JPEG ou WEBP.",
"PASTE_IMAGE_DESCRIPTION": "Appuyez sur Ctrl + V ou Cmd + V pour coller l'image depuis le presse-papiers"
},
"PROGRESS": {
"PROCESSING_TITLE": "Traitement de l'image...",

View File

@ -147,7 +147,8 @@
"SELECT_FOLDER": "Upscaylするフォルダを選択",
"SELECT_IMAGE": "Upscaylする画像を選択",
"SELECT_FOLDER_DESCRIPTION": "フォルダにはPNG、JPG、JPEG、WEBPの画像以外のものが含まれていないことを確認してください。",
"SELECT_IMAGES_DESCRIPTION": "PNG、JPG、JPEG、またはWEBP画像を選択するか、ドラッグアンドドロップしてください。"
"SELECT_IMAGES_DESCRIPTION": "PNG、JPG、JPEG、またはWEBP画像を選択するか、ドラッグアンドドロップしてください。",
"PASTE_IMAGE_DESCRIPTION": "Ctrl + V または Cmd + V を押してクリップボードから画像を貼り付けます"
},
"PROGRESS": {
"PROCESSING_TITLE": "画像を処理中...",

View File

@ -147,7 +147,8 @@
"SELECT_FOLDER": "Выберите папку для увеличения",
"SELECT_IMAGE": "Выберите изображение для увеличения",
"SELECT_FOLDER_DESCRIPTION": "Убедитесь, что в папке нет ничего, кроме изображений PNG, JPG, JPEG и WEBP.",
"SELECT_IMAGES_DESCRIPTION": "Выберите или перетащите изображение в формате PNG, JPG, JPEG или WEBP."
"SELECT_IMAGES_DESCRIPTION": "Выберите или перетащите изображение в формате PNG, JPG, JPEG или WEBP.",
"PASTE_IMAGE_DESCRIPTION": "Нажмите Ctrl + V или Cmd + V, чтобы вставить изображение из буфера обмена"
},
"PROGRESS": {
"PROCESSING_TITLE": "Обработка изображения...",

View File

@ -147,7 +147,8 @@
"SELECT_FOLDER": "选择要增强的文件夹",
"SELECT_IMAGE": "选择要增强的图片",
"SELECT_FOLDER_DESCRIPTION": "文件夹中只支持 PNG、JPG、JPEG 和 WEBP 图片。",
"SELECT_IMAGES_DESCRIPTION": "选择或拖放 PNG、JPG、JPEG 或 WEBP 图片。"
"SELECT_IMAGES_DESCRIPTION": "选择或拖放 PNG、JPG、JPEG 或 WEBP 图片。",
"PASTE_IMAGE_DESCRIPTION": "按 Ctrl + V 或 Cmd + V 以從剪貼簿貼上圖像"
},
"PROGRESS": {
"PROCESSING_TITLE": "正在处理图片...",