Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Translation fix (#21194)

NeatGuyCoding9835730278ec
diff --git a/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py b/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py
index c6cf0d2b27b..7a8efb4068f 100644
--- a/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py
+++ b/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py
@@ -45,7 +45,8 @@ class WeaviateVector(BaseVector):
# by changing the connection timeout to pypi.org from 1 second to 0.001 seconds.
# TODO: This can be removed once weaviate-client is updated to 3.26.7 or higher,
# which does not contain the deprecation check.
- weaviate.connect.connection.PYPI_TIMEOUT = 0.001
+ if hasattr(weaviate.connect.connection, "PYPI_TIMEOUT"):
+ weaviate.connect.connection.PYPI_TIMEOUT = 0.001
try:
client = weaviate.Client(
diff --git a/web/i18n/de-DE/plugin.ts b/web/i18n/de-DE/plugin.ts
index ffa7543ac53..05988dedf14 100644
--- a/web/i18n/de-DE/plugin.ts
+++ b/web/i18n/de-DE/plugin.ts
@@ -137,6 +137,7 @@ const translation = {
readyToInstall: 'Über die Installation des folgenden Plugins',
dropPluginToInstall: 'Legen Sie das Plugin-Paket hier ab, um es zu installieren',
next: 'Nächster',
+ installWarning: 'Dieses Plugin darf nicht installiert werden.',
},
installFromGitHub: {
selectPackagePlaceholder: 'Bitte wählen Sie ein Paket aus',
@@ -173,7 +174,7 @@ const translation = {
recentlyUpdated: 'Kürzlich aktualisiert',
},
viewMore: 'Mehr anzeigen',
- sortBy: 'Schwarze Stadt',
+ sortBy: 'Sortieren nach',
discover: 'Entdecken',
noPluginFound: 'Kein Plugin gefunden',
difyMarketplace: 'Dify Marktplatz',
diff --git a/web/i18n/es-ES/plugin.ts b/web/i18n/es-ES/plugin.ts
index f96b29f2d72..d8250c6b41f 100644
--- a/web/i18n/es-ES/plugin.ts
+++ b/web/i18n/es-ES/plugin.ts
@@ -137,6 +137,7 @@ const translation = {
dropPluginToInstall: 'Suelte el paquete del complemento aquí para instalarlo',
readyToInstallPackage: 'A punto de instalar el siguiente plugin',
installedSuccessfully: 'Instalación exitosa',
+ installWarning: 'Este plugin no está permitido para instalar.',
},
installFromGitHub: {
uploadFailed: 'Error de carga',
@@ -175,7 +176,7 @@ const translation = {
empower: 'Potencie su desarrollo de IA',
moreFrom: 'Más de Marketplace',
viewMore: 'Ver más',
- sortBy: 'Ciudad negra',
+ sortBy: 'Ordenar por',
noPluginFound: 'No se ha encontrado ningún plugin',
pluginsResult: '{{num}} resultados',
discover: 'Descubrir',
diff --git a/web/i18n/fr-FR/plugin.ts b/web/i18n/fr-FR/plugin.ts
index 12e35c4e57c..35d36b425a4 100644
--- a/web/i18n/fr-FR/plugin.ts
+++ b/web/i18n/fr-FR/plugin.ts
@@ -137,6 +137,7 @@ const translation = {
next: 'Prochain',
installPlugin: 'Installer le plugin',
installFailedDesc: 'L’installation du plug-in a échoué.',
+ installWarning: 'Ce plugin n’est pas autorisé à être installé.',
},
installFromGitHub: {
installFailed: 'Échec de l’installation',
diff --git a/web/i18n/it-IT/plugin.ts b/web/i18n/it-IT/plugin.ts
index f1ef0b9d53e..5f2a6d9dc7e 100644
--- a/web/i18n/it-IT/plugin.ts
+++ b/web/i18n/it-IT/plugin.ts
@@ -137,6 +137,7 @@ const translation = {
installing: 'Installazione...',
install: 'Installare',
readyToInstallPackages: 'Sto per installare i seguenti plugin {{num}}',
+ installWarning: 'Questo plugin non è consentito essere installato.',
},
installFromGitHub: {
installedSuccessfully: 'Installazione riuscita',
@@ -178,7 +179,7 @@ const translation = {
pluginsResult: '{{num}} risultati',
noPluginFound: 'Nessun plug-in trovato',
empower: 'Potenzia lo sviluppo dell\'intelligenza artificiale',
- sortBy: 'Città nera',
+ sortBy: 'Ordina per',
and: 'e',
viewMore: 'Vedi di più',
verifiedTip: 'Verificato da Dify',
diff --git a/web/i18n/pt-BR/plugin.ts b/web/i18n/pt-BR/plugin.ts
index 77defcfcecc..8f6501ec936 100644
--- a/web/i18n/pt-BR/plugin.ts
+++ b/web/i18n/pt-BR/plugin.ts
@@ -137,6 +137,7 @@ const translation = {
installing: 'Instalar...',
uploadingPackage: 'Carregando {{packageName}} ...',
dropPluginToInstall: 'Solte o pacote de plug-in aqui para instalar',
+ installWarning: 'Este plugin não é permitido ser instalado.',
},
installFromGitHub: {
selectVersionPlaceholder: 'Selecione uma versão',
@@ -172,7 +173,7 @@ const translation = {
recentlyUpdated: 'Atualizado recentemente',
newlyReleased: 'Recém-lançado',
},
- sortBy: 'Cidade negra',
+ sortBy: 'Ordenar por',
viewMore: 'Ver mais',
and: 'e',
pluginsResult: '{{num}} resultados',
diff --git a/web/i18n/ro-RO/plugin.ts b/web/i18n/ro-RO/plugin.ts
index c3b85e1ffe3..a88a841e515 100644
--- a/web/i18n/ro-RO/plugin.ts
+++ b/web/i18n/ro-RO/plugin.ts
@@ -137,6 +137,7 @@ const translation = {
pluginLoadErrorDesc: 'Acest plugin nu va fi instalat',
installedSuccessfullyDesc: 'Pluginul a fost instalat cu succes.',
readyToInstall: 'Despre instalarea următorului plugin',
+ installWarning: 'Acest plugin nu este permis să fie instalat.',
},
installFromGitHub: {
installFailed: 'Instalarea a eșuat',
@@ -173,7 +174,7 @@ const translation = {
firstReleased: 'Prima lansare',
},
noPluginFound: 'Nu s-a găsit niciun plugin',
- sortBy: 'Orașul negru',
+ sortBy: 'Sortează după',
discover: 'Descoperi',
empower: 'Îmbunătățește-ți dezvoltarea AI',
pluginsResult: '{{num}} rezultate',
diff --git a/web/i18n/zh-Hant/app-log.ts b/web/i18n/zh-Hant/app-log.ts
index fcedbbe53d9..0d3a499fe1d 100644
--- a/web/i18n/zh-Hant/app-log.ts
+++ b/web/i18n/zh-Hant/app-log.ts
@@ -71,7 +71,7 @@ const translation = {
annotated: '已標註改進({{count}} 項)',
not_annotated: '未標註',
},
- sortBy: '排序方式:',
+ sortBy: '排序:',
descending: '降序',
ascending: '升序',
},
diff --git a/web/i18n/zh-Hant/plugin.ts b/web/i18n/zh-Hant/plugin.ts
index 286f4d40c9f..6b4c76495d6 100644
--- a/web/i18n/zh-Hant/plugin.ts
+++ b/web/i18n/zh-Hant/plugin.ts
@@ -137,6 +137,7 @@ const translation = {
cancel: '取消',
installPlugin: '安裝插件',
installing: '安裝。。。',
+ installWarning: '此插件不允許安裝。',
},
installFromGitHub: {
gitHubRepo: 'GitHub 儲存庫',
@@ -177,7 +178,7 @@ const translation = {
empower: '為您的 AI 開發提供支援',
moreFrom: '來自 Marketplace 的更多內容',
and: '和',
- sortBy: '黑城',
+ sortBy: '排序方式',
viewMore: '查看更多',
difyMarketplace: 'Dify 市場',
pluginsResult: '{{num}} 個結果',