From c7d75b759c23cf8ebf8a575a626a748491905aba Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 17 Feb 2025 21:50:59 +0200 Subject: [PATCH] feat(webview): remove disclaimer --- src/public/app/widgets/type_widgets/web_view.ts | 4 ---- src/public/translations/cn/translation.json | 2 -- src/public/translations/de/translation.json | 4 +--- src/public/translations/en/translation.json | 4 +--- src/public/translations/es/translation.json | 4 +--- src/public/translations/fr/translation.json | 4 +--- src/public/translations/ro/translation.json | 2 -- src/public/translations/tw/translation.json | 4 +--- 8 files changed, 5 insertions(+), 23 deletions(-) diff --git a/src/public/app/widgets/type_widgets/web_view.ts b/src/public/app/widgets/type_widgets/web_view.ts index 3e57bce03..a5aeef534 100644 --- a/src/public/app/widgets/type_widgets/web_view.ts +++ b/src/public/app/widgets/type_widgets/web_view.ts @@ -13,10 +13,6 @@ const TPL = `

${t("web_view.embed_websites")}

${t("web_view.create_label")}

- -

${t("web_view.disclaimer")}

- -

${t("web_view.experimental_note")}

${buildElement()} diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.json index 54a94928f..2fdd2bf8c 100644 --- a/src/public/translations/cn/translation.json +++ b/src/public/translations/cn/translation.json @@ -989,8 +989,6 @@ "web_view": "网页视图", "embed_websites": "网页视图类型的笔记允许您将网站嵌入到 Trilium 中。", "create_label": "首先,请创建一个带有您要嵌入的 URL 地址的标签,例如 #webViewSrc=\"https://www.bing.com\"", - "disclaimer": "实验性功能免责声明", - "experimental_note": "网页视图是一种实验性的笔记类型,将来可能会被移除或大幅更改。" }, "backend_log": { "refresh": "刷新" diff --git a/src/public/translations/de/translation.json b/src/public/translations/de/translation.json index 76f3bc74a..02962f1e1 100644 --- a/src/public/translations/de/translation.json +++ b/src/public/translations/de/translation.json @@ -965,9 +965,7 @@ "web_view": { "web_view": "Webansicht", "embed_websites": "Hinweis vom Typ Web View ermöglicht das Einbetten von Websites in Trilium.", - "create_label": "To start, please create a label with a URL address you want to embed, e.g. #webViewSrc=\"https://www.google.com\"", - "disclaimer": "Haftungsausschluss zum experimentellen Status", - "experimental_note": "Web View ist ein experimenteller Notiztyp und könnte in Zukunft entfernt oder grundlegend geändert werden." + "create_label": "To start, please create a label with a URL address you want to embed, e.g. #webViewSrc=\"https://www.google.com\"" }, "backend_log": { "refresh": "Aktualisieren" diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index 37cc5c4fc..a79be955c 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1005,9 +1005,7 @@ "web_view": { "web_view": "Web View", "embed_websites": "Note of type Web View allows you to embed websites into Trilium.", - "create_label": "To start, please create a label with a URL address you want to embed, e.g. #webViewSrc=\"https://www.google.com\"", - "disclaimer": "Disclaimer on the experimental status", - "experimental_note": "Web View is an experimental note type, and it might be removed or substantially changed in the future." + "create_label": "To start, please create a label with a URL address you want to embed, e.g. #webViewSrc=\"https://www.google.com\"" }, "backend_log": { "refresh": "Refresh" diff --git a/src/public/translations/es/translation.json b/src/public/translations/es/translation.json index ac2e1ddaa..42508f205 100644 --- a/src/public/translations/es/translation.json +++ b/src/public/translations/es/translation.json @@ -1003,9 +1003,7 @@ "web_view": { "web_view": "Vista web", "embed_websites": "La nota de tipo Web View le permite insertar sitios web en Trilium.", - "create_label": "To start, please create a label with a URL address you want to embed, e.g. #webViewSrc=\"https://www.google.com\"", - "disclaimer": "Descargo de responsabilidad sobre el estado experimental", - "experimental_note": "Web View es un tipo de nota experimental y es posible que se elimine o cambie sustancialmente en el futuro." + "create_label": "To start, please create a label with a URL address you want to embed, e.g. #webViewSrc=\"https://www.google.com\"" }, "backend_log": { "refresh": "Refrescar" diff --git a/src/public/translations/fr/translation.json b/src/public/translations/fr/translation.json index 2a4bc3386..30b2769fb 100644 --- a/src/public/translations/fr/translation.json +++ b/src/public/translations/fr/translation.json @@ -966,9 +966,7 @@ "web_view": { "web_view": "Affichage Web", "embed_websites": "Les notes de type Affichage Web vous permet d'intégrer des sites Web dans Trilium.", - "create_label": "Pour commencer, veuillez créer un label avec l'adresse URL que vous souhaitez intégrer, par ex. #webViewSrc=\"https://www.google.com\"", - "disclaimer": "Avertissement sur le statut expérimental", - "experimental_note": "Affichage Web est un type de note expérimental et il pourrait être supprimé ou considérablement modifié à l'avenir." + "create_label": "Pour commencer, veuillez créer un label avec l'adresse URL que vous souhaitez intégrer, par ex. #webViewSrc=\"https://www.google.com\"" }, "backend_log": { "refresh": "Rafraîchir" diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json index 71f804919..89cd4d64a 100644 --- a/src/public/translations/ro/translation.json +++ b/src/public/translations/ro/translation.json @@ -1307,9 +1307,7 @@ }, "web_view": { "create_label": "Pentru a începe, creați o etichetă cu adresa URL de încorporat, e.g. #webViewSrc=\"https://www.google.com\"", - "disclaimer": "Avertisment despre statutul experimental", "embed_websites": "Notițele de tip „Vizualizare web” permit încorporarea site-urilor web în Trilium.", - "experimental_note": "„Vizualizare web” este un tip experimental de notiță, și poate fi înlăturat sau schimbat substanțial în viitor.", "web_view": "Vizualizare web" }, "wrap_lines": { diff --git a/src/public/translations/tw/translation.json b/src/public/translations/tw/translation.json index 02c232a58..cceef17a9 100644 --- a/src/public/translations/tw/translation.json +++ b/src/public/translations/tw/translation.json @@ -970,9 +970,7 @@ "web_view": { "web_view": "網頁視圖", "embed_websites": "網頁視圖類型的筆記允許您將網站嵌入到 Trilium 中。", - "create_label": "首先,請新增一個帶有您要嵌入的 URL 地址的標籤,例如 #webViewSrc=\"https://www.bing.com\"", - "disclaimer": "實驗性功能免責聲明", - "experimental_note": "網頁視圖是一種實驗性的筆記類型,將來可能會被移除或大幅更改。" + "create_label": "首先,請新增一個帶有您要嵌入的 URL 地址的標籤,例如 #webViewSrc=\"https://www.bing.com\"" }, "backend_log": { "refresh": "刷新"