From 65bbf44e3c0bff83e64193d46e9d6ad302952276 Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Sun, 6 Jul 2025 07:57:21 +0000 Subject: [PATCH 001/251] feat: Translate frontend/src/i18n/en.json in zh_CN 100% translated source file: 'frontend/src/i18n/en.json' on 'zh_CN'. --- frontend/src/i18n/zh-cn.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/i18n/zh-cn.json b/frontend/src/i18n/zh-cn.json index daa45619..fac470e8 100644 --- a/frontend/src/i18n/zh-cn.json +++ b/frontend/src/i18n/zh-cn.json @@ -170,7 +170,7 @@ "commandRunnerHelp": "你可以在此设置在下列事件中执行的命令。每行必须写一条命令。可以在命令中使用环境变量 {0} 和 {1},使 {0} 与 {1} 相关联。关于此功能和可用环境变量的更多信息,请阅读 {2}。", "commandsUpdated": "命令已更新!", "createUserDir": "在添加新用户的同时自动创建用户的主目录", - "minimumPasswordLength": "Minimum password length", + "minimumPasswordLength": "最小密码长度", "tusUploads": "分块上传", "tusUploadsHelp": "File Browser 支持分块上传,在不佳的网络下也可进行高效、可靠、可续的文件上传", "tusUploadsChunkSize": "分块上传大小,例如 10MB 或 1GB", From e423395ef0bcd106ddc7d460c055b95b5208415e Mon Sep 17 00:00:00 2001 From: jagadam97 Date: Sun, 6 Jul 2025 16:52:26 +0530 Subject: [PATCH 002/251] fix: Upload progress size calculation --- frontend/src/stores/upload.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/stores/upload.ts b/frontend/src/stores/upload.ts index 3ea93037..d9698255 100644 --- a/frontend/src/stores/upload.ts +++ b/frontend/src/stores/upload.ts @@ -74,7 +74,12 @@ export const useUploadStore = defineStore("upload", { if (state.progress.length === 0 || state.sizes.length === 0) { return "0 Bytes"; } - const sum = state.progress.reduce((acc, val) => +acc + +val, 0) as number; + const sum = state.progress.reduce( + (sum, p, i) => + (sum as number) + + (typeof p === "number" ? p : p ? state.sizes[i] : 0), + 0 + ) as number; return formatSize(sum); }, getTotalSize: (state) => { From 1e96fd9035d5185dc80970a2826ccb573b5f000e Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Sun, 6 Jul 2025 16:46:44 +0000 Subject: [PATCH 003/251] feat: Translate frontend/src/i18n/en.json in zh_TW 99% of minimum 50% translated source file: 'frontend/src/i18n/en.json' on 'zh_TW'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format --- frontend/src/i18n/zh-tw.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/i18n/zh-tw.json b/frontend/src/i18n/zh-tw.json index 7566675d..9bc1adb6 100644 --- a/frontend/src/i18n/zh-tw.json +++ b/frontend/src/i18n/zh-tw.json @@ -170,7 +170,7 @@ "commandRunnerHelp": "在這裡你可以設定在下面的事件中執行的命令。每行必須寫一條命令。可以在命令中使用環境變數 {0} 和 {1}。關於此功能和可用環境變數的更多資訊,請閱讀{2}.", "commandsUpdated": "命令已更新!", "createUserDir": "在新增新使用者的同時自動建立使用者的個人目錄", - "minimumPasswordLength": "Minimum password length", + "minimumPasswordLength": "密碼最短長度", "tusUploads": "分塊上傳", "tusUploadsHelp": "File Browser 支援分塊上傳,在不佳的網絡環境下也可進行高效、可靠、可續的檔案上傳", "tusUploadsChunkSize": "分塊上傳大小,例如 10MB 或 1GB", From b28952cb2582bd4eb44e91d0676e2803c458cf31 Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Sun, 6 Jul 2025 16:51:07 +0000 Subject: [PATCH 004/251] feat: Translate frontend/src/i18n/en.json in zh_TW 100% translated source file: 'frontend/src/i18n/en.json' on 'zh_TW'. --- frontend/src/i18n/zh-tw.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/i18n/zh-tw.json b/frontend/src/i18n/zh-tw.json index 9bc1adb6..966cb14e 100644 --- a/frontend/src/i18n/zh-tw.json +++ b/frontend/src/i18n/zh-tw.json @@ -24,7 +24,7 @@ "ok": "確認", "permalink": "獲取永久連結", "previous": "上一個", - "preview": "Preview", + "preview": "預覽", "publish": "發佈", "rename": "重新命名", "replace": "更換", From bf73e4dea3b27c01c8f6e60fb2048e1a2122a70e Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 8 Jul 2025 07:29:13 +0200 Subject: [PATCH 005/251] fix: preview PDF is correctly displayed --- frontend/src/views/files/Preview.vue | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/frontend/src/views/files/Preview.vue b/frontend/src/views/files/Preview.vue index 7170e3da..1f12cadd 100644 --- a/frontend/src/views/files/Preview.vue +++ b/frontend/src/views/files/Preview.vue @@ -60,7 +60,7 @@
+