mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	add translation for buttons: create pane button
This commit is contained in:
		
							parent
							
								
									38a9ad6a46
								
							
						
					
					
						commit
						75e8a6cdc0
					
				@ -1,3 +1,4 @@
 | 
			
		||||
import { t } from "../../services/i18n.js";
 | 
			
		||||
import OnClickButtonWidget from "./onclick_button.js";
 | 
			
		||||
 | 
			
		||||
export default class CreatePaneButton extends OnClickButtonWidget {
 | 
			
		||||
@ -5,7 +6,7 @@ export default class CreatePaneButton extends OnClickButtonWidget {
 | 
			
		||||
        super();
 | 
			
		||||
 | 
			
		||||
        this.icon("bx-dock-right")
 | 
			
		||||
            .title("Create new split")
 | 
			
		||||
            .title(t("create_pane_button.create_new_split"))
 | 
			
		||||
            .titlePlacement("bottom")
 | 
			
		||||
            .onClick(widget => widget.triggerCommand("openNewNoteSplit", { ntxId: widget.getClosestNtxId() }))
 | 
			
		||||
            .class("icon-action");
 | 
			
		||||
 | 
			
		||||
@ -552,5 +552,8 @@
 | 
			
		||||
    },
 | 
			
		||||
    "close_pane_button": {
 | 
			
		||||
        "close_this_pane": "关闭此面板"
 | 
			
		||||
    },
 | 
			
		||||
    "create_pane_button": {
 | 
			
		||||
        "create_new_split": "拆分面板"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -553,5 +553,8 @@
 | 
			
		||||
    },
 | 
			
		||||
    "close_pane_button": {
 | 
			
		||||
        "close_this_pane": "Close this pane"
 | 
			
		||||
    },
 | 
			
		||||
    "create_pane_button": {
 | 
			
		||||
        "create_new_split": "Create new split"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user