mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	add translation for buttons: close pane button
This commit is contained in:
		
							parent
							
								
									b99510ad4f
								
							
						
					
					
						commit
						38a9ad6a46
					
				| @ -1,3 +1,4 @@ | ||||
| import { t } from "../../services/i18n.js"; | ||||
| import OnClickButtonWidget from "./onclick_button.js"; | ||||
| 
 | ||||
| export default class ClosePaneButton extends OnClickButtonWidget { | ||||
| @ -15,7 +16,7 @@ export default class ClosePaneButton extends OnClickButtonWidget { | ||||
|         super(); | ||||
| 
 | ||||
|         this.icon("bx-x") | ||||
|             .title("Close this pane") | ||||
|             .title(t("close_pane_button.close_this_pane")) | ||||
|             .titlePlacement("bottom") | ||||
|             .onClick((widget, e) => { | ||||
|                 // to avoid split pane container detecting click within the pane which would try to activate this
 | ||||
|  | ||||
| @ -549,5 +549,8 @@ | ||||
|         "october": "十月", | ||||
|         "november": "十一月", | ||||
|         "december": "十二月" | ||||
|     }, | ||||
|     "close_pane_button": { | ||||
|         "close_this_pane": "关闭此面板" | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -550,5 +550,8 @@ | ||||
|         "october": "October", | ||||
|         "november": "November", | ||||
|         "december": "December" | ||||
|     }, | ||||
|     "close_pane_button": { | ||||
|         "close_this_pane": "Close this pane" | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nriver
						Nriver