mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	chore(client): use translations
This commit is contained in:
		
							parent
							
								
									612566d9d2
								
							
						
					
					
						commit
						426549a189
					
				| @ -36,6 +36,7 @@ export async function formatCodeBlocks($container: JQuery<HTMLElement>) { | |||||||
| export function applyCopyToClipboardButton($codeBlock: JQuery<HTMLElement>) { | export function applyCopyToClipboardButton($codeBlock: JQuery<HTMLElement>) { | ||||||
|     const $copyButton = $("<button>") |     const $copyButton = $("<button>") | ||||||
|         .addClass("bx component btn tn-tool-button bx-copy copy-button") |         .addClass("bx component btn tn-tool-button bx-copy copy-button") | ||||||
|  |         .attr("title", t("code_block.copy_title")) | ||||||
|         .on("click", () => { |         .on("click", () => { | ||||||
|             const text = $codeBlock.text(); |             const text = $codeBlock.text(); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1832,7 +1832,8 @@ | |||||||
|     "theme_group_light": "Light themes", |     "theme_group_light": "Light themes", | ||||||
|     "theme_group_dark": "Dark themes", |     "theme_group_dark": "Dark themes", | ||||||
|     "copy_success": "The code block was copied to clipboard.", |     "copy_success": "The code block was copied to clipboard.", | ||||||
|     "copy_failed": "The code block could not be copied to the clipboard due to lack of permissions." |     "copy_failed": "The code block could not be copied to the clipboard due to lack of permissions.", | ||||||
|  |     "copy_title": "Copy to clipboard" | ||||||
|   }, |   }, | ||||||
|   "classic_editor_toolbar": { |   "classic_editor_toolbar": { | ||||||
|     "title": "Formatting" |     "title": "Formatting" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran