Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(cpu_dialog): simplify the dialog
Elian Doran2c032d54c11e
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex e9cb43fd00..e0974312d2 100644--- a/apps/client/src/translations/en/translation.json+++ b/apps/client/src/translations/en/translation.json@@ -1920,9 +1920,8 @@"color-scheme": "Color scheme"},"cpu_arch_warning": {- "title": "Performance Warning: Running Under Rosetta 2",- "message": "TriliumNext is currently running under Rosetta 2 translation, which means you're using the Intel (x64) version on an Apple Silicon Mac.",- "performance_impact": "This will significantly impact performance and battery life.",+ "title": "Performance warning",+ "message": "TriliumNext is currently running under Rosetta 2 translation, which means you're using the Intel (x64) version on an Apple Silicon Mac. This will significantly impact performance and battery life.","recommendation": "For the best experience, please download the native Apple Silicon (ARM64) version of TriliumNext from our releases page.","download_link": "Download Native Version","continue_anyway": "Continue Anyway",diff --git a/apps/client/src/widgets/dialogs/incorrect_cpu_arch.ts b/apps/client/src/widgets/dialogs/incorrect_cpu_arch.tsindex 624de4501d..5a74336e1a 100644--- a/apps/client/src/widgets/dialogs/incorrect_cpu_arch.ts+++ b/apps/client/src/widgets/dialogs/incorrect_cpu_arch.ts@@ -15,14 +15,9 @@ const TPL = /*html*/`<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body">- <div class="alert alert-warning mb-3">- <strong>⚠️ ${t("cpu_arch_warning.performance_impact")}</strong><br>- ${t("cpu_arch_warning.message")}- </div>+ <p>${t("cpu_arch_warning.message")}</p>- <p class="mb-3">- <strong>Recommendation:</strong> ${t("cpu_arch_warning.recommendation")}- </p>+ <p>${t("cpu_arch_warning.recommendation")}</p></div><div class="modal-footer d-flex justify-content-between align-items-center"><div>