chore: add translation for tabbar context menu
							parent
							
								
									fa781633b5
								
							
						
					
					
						commit
						3d45b41a2d
					
				|  | @ -116,7 +116,7 @@ function useTabs() { | |||
|         }, | ||||
|         icon: IcRoundRefresh, | ||||
|         key: 'reload', | ||||
|         text: '重新加载', | ||||
|         text: $t('preferences.tabbar.context-menu.reload'), | ||||
|       }, | ||||
|       { | ||||
|         disabled: !!affixTab || disabled, | ||||
|  | @ -125,7 +125,7 @@ function useTabs() { | |||
|         }, | ||||
|         icon: IcRoundClose, | ||||
|         key: 'close', | ||||
|         text: '关闭标签页', | ||||
|         text: $t('preferences.tabbar.context-menu.close'), | ||||
|       }, | ||||
|       { | ||||
|         handler: async () => { | ||||
|  | @ -136,7 +136,9 @@ function useTabs() { | |||
|         icon: affixTab ? MdiPinOff : MdiPin, | ||||
|         key: 'affix', | ||||
|         separator: true, | ||||
|         text: affixTab ? '取消固定标签页' : '固定标签页', | ||||
|         text: affixTab | ||||
|           ? $t('preferences.tabbar.context-menu.unpin') | ||||
|           : $t('preferences.tabbar.context-menu.pin'), | ||||
|       }, | ||||
|       { | ||||
|         disabled: closeLeftDisabled, | ||||
|  | @ -145,7 +147,7 @@ function useTabs() { | |||
|         }, | ||||
|         icon: MdiFormatHorizontalAlignLeft, | ||||
|         key: 'close-left', | ||||
|         text: '关闭左侧标签页', | ||||
|         text: $t('preferences.tabbar.context-menu.close-left'), | ||||
|       }, | ||||
|       { | ||||
|         disabled: closeRightDisabled, | ||||
|  | @ -155,7 +157,7 @@ function useTabs() { | |||
|         icon: MdiFormatHorizontalAlignRight, | ||||
|         key: 'close-right', | ||||
|         separator: true, | ||||
|         text: '关闭右侧标签页', | ||||
|         text: $t('preferences.tabbar.context-menu.close-right'), | ||||
|       }, | ||||
|       { | ||||
|         disabled: closeOtherDisabled, | ||||
|  | @ -164,7 +166,7 @@ function useTabs() { | |||
|         }, | ||||
|         icon: MdiArrowExpandHorizontal, | ||||
|         key: 'close-other', | ||||
|         text: '关闭其他标签页', | ||||
|         text: $t('preferences.tabbar.context-menu.close-other'), | ||||
|       }, | ||||
|       { | ||||
|         disabled, | ||||
|  | @ -173,7 +175,7 @@ function useTabs() { | |||
|         }, | ||||
|         icon: IcRoundMultipleStop, | ||||
|         key: 'close-all', | ||||
|         text: '关闭全部标签页', | ||||
|         text: $t('preferences.tabbar.context-menu.close-all'), | ||||
|       }, | ||||
|       // {
 | ||||
|       //   icon: 'icon-[material-symbols--back-to-tab-sharp]',
 | ||||
|  |  | |||
|  | @ -178,6 +178,15 @@ preferences: | |||
|     title: Tabbar | ||||
|     enable: Enable Tab Bar | ||||
|     icon: Display Tabbar Icon | ||||
|     context-menu: | ||||
|       reload: Reload | ||||
|       close: Close | ||||
|       pin: Pin | ||||
|       unpin: Unpin | ||||
|       close-left: Close Left | ||||
|       close-right: Close Right | ||||
|       close-other: Close Other | ||||
|       close-all: Close All | ||||
|   navigation-menu: | ||||
|     title: Navigation Menu | ||||
|     style: Navigation menu style | ||||
|  |  | |||
|  | @ -178,6 +178,15 @@ preferences: | |||
|     title: 标签栏 | ||||
|     enable: 启用标签栏 | ||||
|     icon: 显示标签栏图标 | ||||
|     context-menu: | ||||
|       reload: 重新加载 | ||||
|       close: 关闭标签页 | ||||
|       pin: 固定标签页 | ||||
|       unpin: 取消固定标签页 | ||||
|       close-left: 关闭左侧标签页 | ||||
|       close-right: 关闭右侧标签页 | ||||
|       close-other: 关闭其它标签页 | ||||
|       close-all: 关闭全部标签页 | ||||
|   navigation-menu: | ||||
|     title: 导航菜单 | ||||
|     style: 导航菜单风格 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Li Kui
						Li Kui