From 6e2e5d8bb07cd9c8db360c03b80ca47ea2e81fd5 Mon Sep 17 00:00:00 2001 From: hahahahahayesyeseys <95999512+hahahahahayesyeseys@users.noreply.github.com> Date: Sat, 10 Oct 2026 11:50:30 +0800 Subject: [PATCH] fix(frontend): follow configured upload limit in hints (#4110) --- frontend/src/components/empty-knowledge.vue | 7 ++- .../src/components/upload-limit-copy.test.ts | 51 +++++++++++++++++++ frontend/src/components/upload-mask.vue | 7 ++- frontend/src/i18n/locales/en-US.ts | 4 +- frontend/src/i18n/locales/ja-JP.ts | 4 +- frontend/src/i18n/locales/ko-KR.ts | 4 +- frontend/src/i18n/locales/ru-RU.ts | 4 +- frontend/src/i18n/locales/zh-CN.ts | 4 +- frontend/src/i18n/locales/zh-TW.ts | 4 +- 9 files changed, 69 insertions(+), 20 deletions(-) create mode 100644 frontend/src/components/upload-limit-copy.test.ts diff --git a/frontend/src/components/empty-knowledge.vue b/frontend/src/components/empty-knowledge.vue index 1b8ad3464..ebda86d47 100644 --- a/frontend/src/components/empty-knowledge.vue +++ b/frontend/src/components/empty-knowledge.vue @@ -1,13 +1,12 @@