Skip to content

Commit fc61395

Browse files
authored
Merge branch 'TriliumNext:main' into external-blobs
2 parents 3ed64d4 + 5a4fc2c commit fc61395

File tree

23 files changed

+254
-142
lines changed

23 files changed

+254
-142
lines changed

apps/client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@triliumnext/client",
3-
"version": "0.97.2",
3+
"version": "0.98.0",
44
"description": "JQuery-based client for TriliumNext, used for both web and desktop (via Electron)",
55
"private": true,
66
"license": "AGPL-3.0-only",
@@ -48,7 +48,7 @@
4848
"mark.js": "8.11.1",
4949
"marked": "16.1.2",
5050
"mermaid": "11.9.0",
51-
"mind-elixir": "5.0.5",
51+
"mind-elixir": "5.0.6",
5252
"normalize.css": "8.0.1",
5353
"panzoom": "9.4.3",
5454
"preact": "10.27.0",

apps/client/src/translations/cn/translation.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,9 +1992,6 @@
19921992
"help_title": "显示关于此画面的更多信息"
19931993
},
19941994
"call_to_action": {
1995-
"next_theme_title": "新的 Trilium 主题已进入稳定版",
1996-
"next_theme_message": "有一段时间,我们一直在设计新的主题,为了让应用程序看起来更加现代。",
1997-
"next_theme_button": "切换至新的 Trilium 主题",
19981995
"background_effects_title": "背景效果现已推出稳定版本",
19991996
"background_effects_message": "在 Windows 装置上,背景效果现在已完全稳定。背景效果通过模糊背后的背景,为使用者界面增添一抹色彩。此技术也用于其他应用程序,例如 Windows 资源管理器。",
20001997
"background_effects_button": "启用背景效果"

apps/client/src/translations/en/translation.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1994,11 +1994,12 @@
19941994
"help_title": "Display more information about this screen"
19951995
},
19961996
"call_to_action": {
1997-
"next_theme_title": "The new Trilium theme is now stable",
1998-
"next_theme_message": "For a while now, we've been working on a new theme to give the application a more modern look.",
1999-
"next_theme_button": "Switch to the new Trilium theme",
1997+
"next_theme_title": "Try the new Trilium theme",
1998+
"next_theme_message": "You are currently using the legacy theme, would you like to try the new theme?",
1999+
"next_theme_button": "Try the new theme",
20002000
"background_effects_title": "Background effects are now stable",
20012001
"background_effects_message": "On Windows devices, background effects are now fully stable. The background effects adds a touch of color to the user interface by blurring the background behind it. This technique is also used in other applications such as Windows Explorer.",
2002-
"background_effects_button": "Enable background effects"
2002+
"background_effects_button": "Enable background effects",
2003+
"dismiss": "Dismiss"
20032004
}
20042005
}

apps/client/src/translations/fa/translation.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
"about": {
33
"title": "درباره Trilium Notes",
44
"homepage": "صفحه اصلی:",
5-
"app_version": "نسخه برنامه:"
5+
"app_version": "نسخه برنامه:",
6+
"db_version": "نسخه پایگاه داده:",
7+
"sync_version": "نسخه منطبق:",
8+
"build_date": "تاریخ ساخت:",
9+
"build_revision": "نسخه بازنگری شده:",
10+
"data_directory": "دایرکتوری داده:"
11+
},
12+
"toast": {
13+
"critical-error": {
14+
"title": "خطای بحرانی",
15+
"message": "خطای بحرانی رخ داده که مانع از اجرای برنامه می شود\n\n {{message}}\n\nبه احتمال زیاد ناشی از خطای غیرمنتظره در اجرای ناموفق یک اسکریپت است. برنامه را در مد ایمن اجرا کنید و خطا را بررسی نمایید."
16+
}
17+
},
18+
"add_link": {
19+
"add_link": "افزودن لینک",
20+
"note": "یادداشت"
621
}
722
}

apps/client/src/translations/ja/translation.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,8 @@
818818
"code_auto_read_only_size": {
819819
"title": "自動読み取り専用のサイズ",
820820
"description": "自動読み取り専用のノートサイズは、ノートが読み取り専用モード(パフォーマンス上の理由)で表示されるようになるサイズです。",
821-
"unit": "文字"
821+
"unit": "文字",
822+
"label": "自動読み取り専用のサイズ(コードノート)"
822823
},
823824
"custom_date_time_format": {
824825
"title": "日付/時刻フォーマットのカスタム",
@@ -1334,5 +1335,8 @@
13341335
"checking_integrity": "データベースの整合性をチェックしています...",
13351336
"integrity_check_succeeded": "整合性チェックに成功 - 問題は見つかりませんでした。",
13361337
"integrity_check_failed": "整合性チェックに失敗: {{results}}"
1338+
},
1339+
"code-editor-options": {
1340+
"title": "エディター"
13371341
}
13381342
}

apps/client/src/translations/ro/translation.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,9 +1996,6 @@
19961996
"help_title": "Afișează mai multe informații despre acest ecran"
19971997
},
19981998
"call_to_action": {
1999-
"next_theme_title": "Noua tema Trilium este stabilă",
2000-
"next_theme_message": "Lucrăm de ceva timp la o nouă temă, cu un aspect modern.",
2001-
"next_theme_button": "Testează noua temă Trilium",
20021999
"background_effects_title": "Efectele de fundal sunt acum stabile",
20032000
"background_effects_message": "Pe dispozitive cu Windows, efectele de fundal sunt complet stabile. Acestea adaugă un strop de culoare interfeței grafice prin estomparea fundalului din spatele ferestrei. Această tehnică este folosită și în alte aplicații precum Windows Explorer.",
20042001
"background_effects_button": "Activează efectele de fundal"

apps/client/src/translations/tw/translation.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,9 +1992,6 @@
19921992
"help_title": "顯示關於此畫面的更多資訊"
19931993
},
19941994
"call_to_action": {
1995-
"next_theme_title": "新的 Trilium 主題已推出穩定版本",
1996-
"next_theme_message": "有一段時間,我們一直在設計新的主題,為了讓應用程式看起來更現代。",
1997-
"next_theme_button": "切換至新的 Trilium 主題",
19981995
"background_effects_title": "背景特效已推出穩定版本",
19991996
"background_effects_message": "在 Windows 裝置上,背景特效現在已完全穩定。背景特效透過模糊背後的背景,為使用者介面增添一抹色彩。此技術也用於其他應用程式,例如 Windows 檔案總管。",
20001997
"background_effects_button": "啟用背景特效"

apps/client/src/widgets/dialogs/call_to_action.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Button from "../react/Button";
33
import Modal from "../react/Modal";
44
import ReactBasicWidget from "../react/ReactBasicWidget";
55
import { CallToAction, dismissCallToAction, getCallToActions } from "./call_to_action_definitions";
6+
import { t } from "../../services/i18n";
67

78
function CallToActionDialogComponent({ activeCallToActions }: { activeCallToActions: CallToAction[] }) {
89
if (!activeCallToActions.length) {
@@ -25,12 +26,12 @@ function CallToActionDialogComponent({ activeCallToActions }: { activeCallToActi
2526
<Modal
2627
className="call-to-action"
2728
size="md"
28-
title="New features"
29+
title={activeItem.title}
2930
show={shown}
3031
onHidden={() => setShown(false)}
3132
footerAlignment="between"
3233
footer={<>
33-
<Button text="Dismiss" onClick={async () => {
34+
<Button text={t("call_to_action.dismiss")} onClick={async () => {
3435
await dismissCallToAction(activeItem.id);
3536
goToNext();
3637
}} />
@@ -43,7 +44,6 @@ function CallToActionDialogComponent({ activeCallToActions }: { activeCallToActi
4344
)}
4445
</>}
4546
>
46-
<h4>{activeItem.title}</h4>
4747
<p>{activeItem.message}</p>
4848
</Modal>
4949
)

apps/client/src/widgets/dialogs/call_to_action_definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const CALL_TO_ACTIONS: CallToAction[] = [
6565
id: "background_effects",
6666
title: t("call_to_action.background_effects_title"),
6767
message: t("call_to_action.background_effects_message"),
68-
enabled: () => utils.isElectron() && window.glob.platform === "win32" && isNextTheme() && !options.is("backgroundEffects"),
68+
enabled: () => false,
6969
buttons: [
7070
{
7171
text: t("call_to_action.background_effects_button"),

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@triliumnext/desktop",
3-
"version": "0.97.2",
3+
"version": "0.98.0",
44
"description": "Build your personal knowledge base with Trilium Notes",
55
"private": true,
66
"main": "main.cjs",

0 commit comments

Comments
 (0)