mirror of
				https://github.com/siyuan-note/plugin-sample-vite-svelte.git
				synced 2025-11-03 21:30:51 +00:00 
			
		
		
		
	add per device condition
This commit is contained in:
		
							parent
							
								
									953d15c661
								
							
						
					
					
						commit
						5b73589267
					
				
					 4 changed files with 171 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -15,6 +15,16 @@
 | 
			
		|||
    "hello": {
 | 
			
		||||
        "makesure": "Before using this template, please read the <a href=\"https://github.com/siyuan-note/plugin-sample\">offical sample</a>, make sure that you've known about the pipeline for plugin developing."
 | 
			
		||||
    },
 | 
			
		||||
    "onlyEnableListedDevices": "Enable Only on Listed Devices",
 | 
			
		||||
    "onlyEnableListedDevicesDesc": "When the switch is on, this plugin enabled only on the devices listed in the list. When the switch is off, this plugin enabled on all devices.",
 | 
			
		||||
    "enableDeviceList": "List of Enabled Devices",
 | 
			
		||||
    "enableDeviceListDesc": "Devices listed in the table will enable this plugin function when the switch is on. Please avoid manual editing of this table as much as possible.",
 | 
			
		||||
    "addCurrentDeviceIntoList": "Add Current Device to List",
 | 
			
		||||
    "addCurrentDeviceIntoListDesc": "Add the current device to the table.",
 | 
			
		||||
    "addCurrentDeviceIntoListLabel": "Add",
 | 
			
		||||
    "removeCurrentDeviceFromList": "Remove Current Device from List",
 | 
			
		||||
    "removeCurrentDeviceFromListDesc": "Remove the current device from the table.",
 | 
			
		||||
    "removeCurrentDeviceFromListLabel": "Remove",
 | 
			
		||||
    "hintTitle":"About",
 | 
			
		||||
    "hintDesc":"<a href='https://github.com/siyuan-note/plugin-sample-vite-svelte'>plugin-sample-vite-svelte</a><br>@frostime<br>@88250<br>@zxkmm"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -15,6 +15,16 @@
 | 
			
		|||
    "hello": {
 | 
			
		||||
        "makesure": "使用这个模板之前,请阅读<a href=\"https://github.com/siyuan-note/plugin-sample\">官方教程</a>, 确保自己已经理解了插件的基本开发流程。"
 | 
			
		||||
    },
 | 
			
		||||
    "onlyEnableListedDevices": "只在以下设备上启用",
 | 
			
		||||
    "onlyEnableListedDevicesDesc": "当打开开关时,只在表中列出的设备上启用该插件功能。当关闭开关时,在所有设备上启用该插件功能。",
 | 
			
		||||
    "enableDeviceList": "启用的设备的列表",
 | 
			
		||||
    "enableDeviceListDesc": "表中列出的设备会在开关打开时启用该插件功能。请尽量避免手动编辑此表",
 | 
			
		||||
    "addCurrentDeviceIntoList": "添加当前设备",
 | 
			
		||||
    "addCurrentDeviceIntoListDesc": "把当前设备添加到表中",
 | 
			
		||||
    "addCurrentDeviceIntoListLabel": "添加",
 | 
			
		||||
    "removeCurrentDeviceFromList": "移除当前设备",
 | 
			
		||||
    "removeCurrentDeviceFromListDesc": "把当前设备从表中移除",
 | 
			
		||||
    "removeCurrentDeviceFromListLabel": "移除",
 | 
			
		||||
    "hintTitle":"关于",
 | 
			
		||||
    "hintDesc":"<a href='https://github.com/siyuan-note/plugin-sample-vite-svelte'>🔗 plugin-sample-vite-svelte</a><br>💻 @frostime<br>💻 @88250<br>💻 @zxkmm"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue