mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 03:23:25 +08:00 
			
		
		
		
	chore(cpu_dialog): simplify the dialog
This commit is contained in:
		
							parent
							
								
									a635131f47
								
							
						
					
					
						commit
						2c032d54c1
					
				| @ -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", | ||||||
|  | |||||||
| @ -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> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran