From 39b1062c202a6db82c67e96820471813dff48b4f Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 11 May 2026 10:59:07 +0800 Subject: [PATCH] chore: remove more learning templates and templates copywrite --- web/app/components/explore/app-list/__tests__/index.spec.tsx | 2 +- web/app/components/explore/learn-dify/index.tsx | 4 ---- web/i18n/ar-TN/explore.json | 2 +- web/i18n/de-DE/explore.json | 2 +- web/i18n/en-US/explore.json | 2 +- web/i18n/es-ES/explore.json | 2 +- web/i18n/fa-IR/explore.json | 2 +- web/i18n/fr-FR/explore.json | 2 +- web/i18n/hi-IN/explore.json | 2 +- web/i18n/id-ID/explore.json | 2 +- web/i18n/it-IT/explore.json | 2 +- web/i18n/ja-JP/explore.json | 2 +- web/i18n/ko-KR/explore.json | 2 +- web/i18n/nl-NL/explore.json | 2 +- web/i18n/pl-PL/explore.json | 2 +- web/i18n/pt-BR/explore.json | 2 +- web/i18n/ro-RO/explore.json | 2 +- web/i18n/ru-RU/explore.json | 2 +- web/i18n/sl-SI/explore.json | 2 +- web/i18n/th-TH/explore.json | 2 +- web/i18n/tr-TR/explore.json | 2 +- web/i18n/uk-UA/explore.json | 2 +- web/i18n/vi-VN/explore.json | 2 +- web/i18n/zh-Hans/explore.json | 2 +- web/i18n/zh-Hant/explore.json | 2 +- 25 files changed, 24 insertions(+), 28 deletions(-) diff --git a/web/app/components/explore/app-list/__tests__/index.spec.tsx b/web/app/components/explore/app-list/__tests__/index.spec.tsx index dd1b5e3dce..f619b532ac 100644 --- a/web/app/components/explore/app-list/__tests__/index.spec.tsx +++ b/web/app/components/explore/app-list/__tests__/index.spec.tsx @@ -230,7 +230,7 @@ describe('AppList', () => { expect(screen.getByRole('heading', { name: 'explore.learnDify.title' })).toBeInTheDocument() expect(screen.getByText('Your first Workflow - say hello to AI')).toBeInTheDocument() expect(screen.getByText('Build a working Agent with Workflow')).toBeInTheDocument() - expect(screen.getByRole('link', { name: 'explore.learnDify.moreTemplates' })).toHaveAttribute('href', '/explore/apps') + expect(screen.queryByRole('link', { name: 'explore.learnDify.moreTemplates' })).not.toBeInTheDocument() expect(screen.queryByText('Run this first')).not.toBeInTheDocument() expect(screen.queryByText('Then try this')).not.toBeInTheDocument() expect(screen.queryByText('workflow')).not.toBeInTheDocument() diff --git a/web/app/components/explore/learn-dify/index.tsx b/web/app/components/explore/learn-dify/index.tsx index e30a1703d4..3c6c8347cd 100644 --- a/web/app/components/explore/learn-dify/index.tsx +++ b/web/app/components/explore/learn-dify/index.tsx @@ -4,7 +4,6 @@ import { cn } from '@langgenius/dify-ui/cn' import * as React from 'react' import { useEffect, useRef, useState } from 'react' import { useTranslation } from 'react-i18next' -import Link from '@/next/link' import { learnDifyItems } from './data' import LearnDifyItem from './item' import { useLearnDifyHiddenState } from './storage' @@ -80,9 +79,6 @@ const LearnDify = ({

{t('learnDify.description', { ns: 'explore' })}

- - {t('learnDify.moreTemplates', { ns: 'explore' })} - diff --git a/web/i18n/ar-TN/explore.json b/web/i18n/ar-TN/explore.json index fa22f30e59..07b9176086 100644 --- a/web/i18n/ar-TN/explore.json +++ b/web/i18n/ar-TN/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "موصى به", "apps.resetFilter": "مسح الفلتر", "apps.resultNum": "{{num}} نتائج", - "apps.title": "استكشاف التطبيقات", + "apps.title": "قوالب", "banner.viewMore": "عرض المزيد", "category.Agent": "وكيل", "category.Assistant": "مساعد", diff --git a/web/i18n/de-DE/explore.json b/web/i18n/de-DE/explore.json index 7eb5efce2d..9a51daa3b3 100644 --- a/web/i18n/de-DE/explore.json +++ b/web/i18n/de-DE/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Alle", "apps.resetFilter": "Filter löschen", "apps.resultNum": "{{num}} Ergebnisse", - "apps.title": "Probieren Sie die kuratierten Apps von Dify aus, um KI-Lösungen für Ihr Unternehmen zu finden", + "apps.title": "Vorlagen", "banner.viewMore": "MEHR ANZEIGEN", "category.Agent": "Agent", "category.Assistant": "Assistent", diff --git a/web/i18n/en-US/explore.json b/web/i18n/en-US/explore.json index 58c63413cd..257084323c 100644 --- a/web/i18n/en-US/explore.json +++ b/web/i18n/en-US/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "All", "apps.resetFilter": "Clear filter", "apps.resultNum": "{{num}} results", - "apps.title": "Try Dify's curated apps to find AI solutions for your business", + "apps.title": "Templates", "banner.greeting": "Welcome back, {{name}} 👋", "banner.tagline": "What if… this is where your next idea begins.", "banner.viewMore": "VIEW MORE", diff --git a/web/i18n/es-ES/explore.json b/web/i18n/es-ES/explore.json index 85159e13db..367bb61356 100644 --- a/web/i18n/es-ES/explore.json +++ b/web/i18n/es-ES/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Todos", "apps.resetFilter": "Limpiar filtro", "apps.resultNum": "{{num}} resultados", - "apps.title": "Prueba las aplicaciones seleccionadas de Dify para encontrar soluciones de IA para tu negocio", + "apps.title": "Plantillas", "banner.viewMore": "VER MÁS", "category.Agent": "Agente", "category.Assistant": "Asistente", diff --git a/web/i18n/fa-IR/explore.json b/web/i18n/fa-IR/explore.json index eb59085871..760ffe76b4 100644 --- a/web/i18n/fa-IR/explore.json +++ b/web/i18n/fa-IR/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "همه", "apps.resetFilter": "پاک کردن فیلتر", "apps.resultNum": "{{num}} نتیجه", - "apps.title": "برنامه‌های منتخب Dify را امتحان کنید تا راه‌حل‌های هوش مصنوعی را برای کسب‌وکار خود پیدا کنید", + "apps.title": "الگوها", "banner.viewMore": "مشاهده بیشتر", "category.Agent": "عامل", "category.Assistant": "دستیار", diff --git a/web/i18n/fr-FR/explore.json b/web/i18n/fr-FR/explore.json index 79940baf49..dab38e34f9 100644 --- a/web/i18n/fr-FR/explore.json +++ b/web/i18n/fr-FR/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Tous", "apps.resetFilter": "Effacer le filtre", "apps.resultNum": "{{num}} résultats", - "apps.title": "Essayez les applications sélectionnées de Dify pour trouver des solutions d'IA pour votre entreprise", + "apps.title": "Modèles", "banner.viewMore": "VOIR PLUS", "category.Agent": "Agent", "category.Assistant": "Assistant", diff --git a/web/i18n/hi-IN/explore.json b/web/i18n/hi-IN/explore.json index e4278fc812..b9786162f0 100644 --- a/web/i18n/hi-IN/explore.json +++ b/web/i18n/hi-IN/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "सभी", "apps.resetFilter": "फ़िल्टर साफ़ करें", "apps.resultNum": "{{num}} परिणाम", - "apps.title": "अपने व्यवसाय के लिए AI समाधान खोजने के लिए Dify के चुनिंदा ऐप्स आज़माएं", + "apps.title": "टेम्पलेट", "banner.viewMore": "और देखें", "category.Agent": "आढ़तिया", "category.Assistant": "सहायक", diff --git a/web/i18n/id-ID/explore.json b/web/i18n/id-ID/explore.json index 61a7dd7ad4..de88970c9e 100644 --- a/web/i18n/id-ID/explore.json +++ b/web/i18n/id-ID/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Semua", "apps.resetFilter": "Hapus filter", "apps.resultNum": "{{num}} hasil", - "apps.title": "Coba aplikasi pilihan Dify untuk menemukan solusi AI untuk bisnis Anda", + "apps.title": "Templat", "banner.viewMore": "LIHAT LEBIH BANYAK", "category.Agent": "Agen", "category.Assistant": "Asisten", diff --git a/web/i18n/it-IT/explore.json b/web/i18n/it-IT/explore.json index be815058cd..add6278f7f 100644 --- a/web/i18n/it-IT/explore.json +++ b/web/i18n/it-IT/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Tutti", "apps.resetFilter": "Cancella filtro", "apps.resultNum": "{{num}} risultati", - "apps.title": "Prova le app selezionate di Dify per trovare soluzioni AI per la tua attività", + "apps.title": "Modelli", "banner.viewMore": "VEDI ALTRO", "category.Agent": "Agente", "category.Assistant": "Assistente", diff --git a/web/i18n/ja-JP/explore.json b/web/i18n/ja-JP/explore.json index 661f1e87d0..bdcb72c544 100644 --- a/web/i18n/ja-JP/explore.json +++ b/web/i18n/ja-JP/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "全て", "apps.resetFilter": "クリア", "apps.resultNum": "{{num}}件の結果", - "apps.title": "Difyの厳選アプリを試して、ビジネス向けのAIソリューションを見つけましょう", + "apps.title": "テンプレート", "banner.viewMore": "もっと見る", "category.Agent": "エージェント", "category.Assistant": "アシスタント", diff --git a/web/i18n/ko-KR/explore.json b/web/i18n/ko-KR/explore.json index daca6bf29b..428a168b98 100644 --- a/web/i18n/ko-KR/explore.json +++ b/web/i18n/ko-KR/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "전체", "apps.resetFilter": "필터 지우기", "apps.resultNum": "{{num}}개 결과", - "apps.title": "Dify의 엄선된 앱을 사용해 비즈니스를 위한 AI 솔루션을 찾아보세요", + "apps.title": "템플릿", "banner.viewMore": "더 보기", "category.Agent": "에이전트", "category.Assistant": "어시스턴트", diff --git a/web/i18n/nl-NL/explore.json b/web/i18n/nl-NL/explore.json index 68b8b30b0f..d5980781c4 100644 --- a/web/i18n/nl-NL/explore.json +++ b/web/i18n/nl-NL/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "All", "apps.resetFilter": "Clear filter", "apps.resultNum": "{{num}} results", - "apps.title": "Try Dify's curated apps to find AI solutions for your business", + "apps.title": "Sjablonen", "banner.viewMore": "VIEW MORE", "category.Agent": "Agent", "category.Assistant": "Assistant", diff --git a/web/i18n/pl-PL/explore.json b/web/i18n/pl-PL/explore.json index 28e885723a..7ed5ff861e 100644 --- a/web/i18n/pl-PL/explore.json +++ b/web/i18n/pl-PL/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Wszystkie", "apps.resetFilter": "Wyczyść filtr", "apps.resultNum": "{{num}} wyników", - "apps.title": "Wypróbuj wyselekcjonowane aplikacje Dify, aby znaleźć rozwiązania AI dla Twojej firmy", + "apps.title": "Szablony", "banner.viewMore": "ZOBACZ WIĘCEJ", "category.Agent": "Agent", "category.Assistant": "Asystent", diff --git a/web/i18n/pt-BR/explore.json b/web/i18n/pt-BR/explore.json index 4ecd0dd3aa..2bf6546020 100644 --- a/web/i18n/pt-BR/explore.json +++ b/web/i18n/pt-BR/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Todos", "apps.resetFilter": "Limpar filtro", "apps.resultNum": "{{num}} resultados", - "apps.title": "Experimente os aplicativos selecionados do Dify para encontrar soluções de IA para o seu negócio", + "apps.title": "Modelos", "banner.viewMore": "VER MAIS", "category.Agent": "Agente", "category.Assistant": "Assistente", diff --git a/web/i18n/ro-RO/explore.json b/web/i18n/ro-RO/explore.json index b81f5ff8ad..5d994e30e2 100644 --- a/web/i18n/ro-RO/explore.json +++ b/web/i18n/ro-RO/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Toate", "apps.resetFilter": "Șterge filtrul", "apps.resultNum": "{{num}} rezultate", - "apps.title": "Încercați aplicațiile selectate de Dify pentru a găsi soluții AI pentru afacerea dvs.", + "apps.title": "Șabloane", "banner.viewMore": "VEDEȚI MAI MULTE", "category.Agent": "Agent", "category.Assistant": "Asistent", diff --git a/web/i18n/ru-RU/explore.json b/web/i18n/ru-RU/explore.json index f0230680bf..6cc325e2fd 100644 --- a/web/i18n/ru-RU/explore.json +++ b/web/i18n/ru-RU/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Все", "apps.resetFilter": "Очистить фильтр", "apps.resultNum": "{{num}} результатов", - "apps.title": "Попробуйте отобранные приложения Dify, чтобы найти AI-решения для вашего бизнеса", + "apps.title": "Шаблоны", "banner.viewMore": "ПОКАЗАТЬ ЕЩЁ", "category.Agent": "Агент", "category.Assistant": "Ассистент", diff --git a/web/i18n/sl-SI/explore.json b/web/i18n/sl-SI/explore.json index 0c8e6a866f..3b6023b5a5 100644 --- a/web/i18n/sl-SI/explore.json +++ b/web/i18n/sl-SI/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Vse", "apps.resetFilter": "Počisti filter", "apps.resultNum": "{{num}} rezultatov", - "apps.title": "Preizkusite izbrane aplikacije Dify, da najdete rešitve AI za vaše podjetje", + "apps.title": "Predloge", "banner.viewMore": "POGLEJ VEČ", "category.Agent": "Agent", "category.Assistant": "Pomočnik", diff --git a/web/i18n/th-TH/explore.json b/web/i18n/th-TH/explore.json index f5694d5bd2..9f158eae72 100644 --- a/web/i18n/th-TH/explore.json +++ b/web/i18n/th-TH/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "ทั้งหมด", "apps.resetFilter": "ล้างตัวกรอง", "apps.resultNum": "{{num}} ผลลัพธ์", - "apps.title": "ลองใช้แอปที่คัดสรรของ Dify เพื่อค้นหาโซลูชัน AI สำหรับธุรกิจของคุณ", + "apps.title": "เทมเพลต", "banner.viewMore": "ดูเพิ่มเติม", "category.Agent": "ตัวแทน", "category.Assistant": "ผู้ช่วย", diff --git a/web/i18n/tr-TR/explore.json b/web/i18n/tr-TR/explore.json index 02545c56b8..8ef7abeb34 100644 --- a/web/i18n/tr-TR/explore.json +++ b/web/i18n/tr-TR/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Tümü", "apps.resetFilter": "Filtreyi temizle", "apps.resultNum": "{{num}} sonuç", - "apps.title": "İşletmeniz için AI çözümleri bulmak üzere Dify'ın seçilmiş uygulamalarını deneyin", + "apps.title": "Şablonlar", "banner.viewMore": "DAHA FAZLA GÖSTER", "category.Agent": "Aracı", "category.Assistant": "Asistan", diff --git a/web/i18n/uk-UA/explore.json b/web/i18n/uk-UA/explore.json index e40d620f64..d057007384 100644 --- a/web/i18n/uk-UA/explore.json +++ b/web/i18n/uk-UA/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Всі", "apps.resetFilter": "Очистити фільтр", "apps.resultNum": "{{num}} результатів", - "apps.title": "Спробуйте відібрані додатки Dify, щоб знайти рішення AI для вашого бізнесу", + "apps.title": "Шаблони", "banner.viewMore": "ПЕРЕГЛЯНУТИ БІЛЬШЕ", "category.Agent": "Агент", "category.Assistant": "Помічник", diff --git a/web/i18n/vi-VN/explore.json b/web/i18n/vi-VN/explore.json index b359eb36e2..76226bd256 100644 --- a/web/i18n/vi-VN/explore.json +++ b/web/i18n/vi-VN/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "Tất cả", "apps.resetFilter": "Xóa bộ lọc", "apps.resultNum": "{{num}} kết quả", - "apps.title": "Dùng thử các ứng dụng được tuyển chọn của Dify để tìm giải pháp AI cho doanh nghiệp của bạn", + "apps.title": "Mẫu", "banner.viewMore": "XEM THÊM", "category.Agent": "Người đại lý", "category.Assistant": "Trợ lý", diff --git a/web/i18n/zh-Hans/explore.json b/web/i18n/zh-Hans/explore.json index 23695939cd..99354ebee6 100644 --- a/web/i18n/zh-Hans/explore.json +++ b/web/i18n/zh-Hans/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "所有", "apps.resetFilter": "清除筛选", "apps.resultNum": "{{num}} 个结果", - "apps.title": "试用 Dify 精选示例应用,为您的业务寻找 AI 解决方案", + "apps.title": "模板", "banner.greeting": "欢迎回来,{{name}} 👋", "banner.tagline": "如果……你的下一个想法从这里开始。", "banner.viewMore": "查看更多", diff --git a/web/i18n/zh-Hant/explore.json b/web/i18n/zh-Hant/explore.json index 167f226f2b..cae667e88e 100644 --- a/web/i18n/zh-Hant/explore.json +++ b/web/i18n/zh-Hant/explore.json @@ -7,7 +7,7 @@ "apps.allCategories": "全部", "apps.resetFilter": "清除篩選", "apps.resultNum": "{{num}} 個結果", - "apps.title": "試用 Dify 精選應用程式,為您的業務尋找 AI 解決方案", + "apps.title": "範本", "banner.viewMore": "查看更多", "category.Agent": "代理", "category.Assistant": "助手",