chore(cpu_dialog): simplify the dialog

This commit is contained in:
Elian Doran 2025-06-12 22:30:33 +03:00
parent a635131f47
commit 2c032d54c1
No known key found for this signature in database
2 changed files with 4 additions and 10 deletions

View File

@ -1920,9 +1920,8 @@
"color-scheme": "Color scheme" "color-scheme": "Color scheme"
}, },
"cpu_arch_warning": { "cpu_arch_warning": {
"title": "Performance Warning: Running Under Rosetta 2", "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.", "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.",
"performance_impact": "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.", "recommendation": "For the best experience, please download the native Apple Silicon (ARM64) version of TriliumNext from our releases page.",
"download_link": "Download Native Version", "download_link": "Download Native Version",
"continue_anyway": "Continue Anyway", "continue_anyway": "Continue Anyway",

View File

@ -15,14 +15,9 @@ const TPL = /*html*/`
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="alert alert-warning mb-3"> <p>${t("cpu_arch_warning.message")}</p>
<strong> ${t("cpu_arch_warning.performance_impact")}</strong><br>
${t("cpu_arch_warning.message")}
</div>
<p class="mb-3"> <p>${t("cpu_arch_warning.recommendation")}</p>
<strong>Recommendation:</strong> ${t("cpu_arch_warning.recommendation")}
</p>
</div> </div>
<div class="modal-footer d-flex justify-content-between align-items-center"> <div class="modal-footer d-flex justify-content-between align-items-center">
<div> <div>