From af20189967889fc57944dcb5d80bc042c72ea731 Mon Sep 17 00:00:00 2001 From: yangdx Date: Fri, 28 Mar 2025 14:22:39 +0800 Subject: [PATCH] Add i18n translation --- lightrag_webui/src/locales/ar.json | 2 ++ lightrag_webui/src/locales/en.json | 2 ++ lightrag_webui/src/locales/fr.json | 2 ++ lightrag_webui/src/locales/zh.json | 2 ++ 4 files changed, 8 insertions(+) diff --git a/lightrag_webui/src/locales/ar.json b/lightrag_webui/src/locales/ar.json index 1e7a85d4..1775b1c5 100644 --- a/lightrag_webui/src/locales/ar.json +++ b/lightrag_webui/src/locales/ar.json @@ -65,6 +65,8 @@ "singleFileLimit": "لا يمكن رفع أكثر من ملف واحد في المرة الواحدة", "maxFilesLimit": "لا يمكن رفع أكثر من {{count}} ملفات", "fileRejected": "تم رفض الملف {{name}}", + "unsupportedType": "نوع الملف غير مدعوم", + "fileTooLarge": "حجم الملف كبير جدًا، الحد الأقصى {{maxSize}}", "dropHere": "أفلت الملفات هنا", "dragAndDrop": "اسحب وأفلت الملفات هنا، أو انقر للاختيار", "removeFile": "إزالة الملف", diff --git a/lightrag_webui/src/locales/en.json b/lightrag_webui/src/locales/en.json index 4d10558e..7d89f040 100644 --- a/lightrag_webui/src/locales/en.json +++ b/lightrag_webui/src/locales/en.json @@ -65,6 +65,8 @@ "singleFileLimit": "Cannot upload more than 1 file at a time", "maxFilesLimit": "Cannot upload more than {{count}} files", "fileRejected": "File {{name}} was rejected", + "unsupportedType": "Unsupported file type", + "fileTooLarge": "File too large, maximum size is {{maxSize}}", "dropHere": "Drop the files here", "dragAndDrop": "Drag and drop files here, or click to select files", "removeFile": "Remove file", diff --git a/lightrag_webui/src/locales/fr.json b/lightrag_webui/src/locales/fr.json index 65dd91a9..0c56f524 100644 --- a/lightrag_webui/src/locales/fr.json +++ b/lightrag_webui/src/locales/fr.json @@ -65,6 +65,8 @@ "singleFileLimit": "Impossible de télécharger plus d'un fichier à la fois", "maxFilesLimit": "Impossible de télécharger plus de {{count}} fichiers", "fileRejected": "Le fichier {{name}} a été rejeté", + "unsupportedType": "Type de fichier non pris en charge", + "fileTooLarge": "Fichier trop volumineux, taille maximale {{maxSize}}", "dropHere": "Déposez les fichiers ici", "dragAndDrop": "Glissez et déposez les fichiers ici, ou cliquez pour sélectionner", "removeFile": "Supprimer le fichier", diff --git a/lightrag_webui/src/locales/zh.json b/lightrag_webui/src/locales/zh.json index 07e6faa9..23389f47 100644 --- a/lightrag_webui/src/locales/zh.json +++ b/lightrag_webui/src/locales/zh.json @@ -65,6 +65,8 @@ "singleFileLimit": "一次只能上传一个文件", "maxFilesLimit": "最多只能上传 {{count}} 个文件", "fileRejected": "文件 {{name}} 被拒绝", + "unsupportedType": "不支持的文件类型", + "fileTooLarge": "文件过大,最大允许 {{maxSize}}", "dropHere": "将文件拖放到此处", "dragAndDrop": "拖放文件到此处,或点击选择文件", "removeFile": "移除文件",