mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	add translation for buttons: revisions_button.js
This commit is contained in:
		
							parent
							
								
									9320a548f4
								
							
						
					
					
						commit
						e2d43b4538
					
				| @ -1,3 +1,4 @@ | ||||
| import { t } from "../../services/i18n.js"; | ||||
| import CommandButtonWidget from "./command_button.js"; | ||||
| 
 | ||||
| export default class RevisionsButton extends CommandButtonWidget { | ||||
| @ -5,7 +6,7 @@ export default class RevisionsButton extends CommandButtonWidget { | ||||
|         super(); | ||||
| 
 | ||||
|         this.icon('bx-history') | ||||
|             .title("Note Revisions") | ||||
|             .title(t("revisions_button.note_revisions")) | ||||
|             .command("showRevisions") | ||||
|             .titlePlacement("bottom") | ||||
|             .class("icon-action"); | ||||
|  | ||||
| @ -615,5 +615,8 @@ | ||||
|     "protected_session_status": { | ||||
|         "active": "受保护的会话已激活。点击退出受保护的会话。", | ||||
|         "inactive": "点击进入受保护的会话" | ||||
|     }, | ||||
|     "revisions_button": { | ||||
|         "note_revisions": "笔记修改历史" | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -616,5 +616,8 @@ | ||||
|     "protected_session_status": { | ||||
|         "active": "Protected session is active. Click to leave protected session.", | ||||
|         "inactive": "Click to enter protected session" | ||||
|     }, | ||||
|     "revisions_button": { | ||||
|         "note_revisions": "Note Revisions" | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nriver
						Nriver