@@ -116,7 +116,7 @@ function useTabs() {
116116 } ,
117117 icon : IcRoundRefresh ,
118118 key : 'reload' ,
119- text : '重新加载' ,
119+ text : $t ( 'preferences.tabbar.context-menu.reload' ) ,
120120 } ,
121121 {
122122 disabled : ! ! affixTab || disabled ,
@@ -125,7 +125,7 @@ function useTabs() {
125125 } ,
126126 icon : IcRoundClose ,
127127 key : 'close' ,
128- text : '关闭标签页' ,
128+ text : $t ( 'preferences.tabbar.context-menu.close' ) ,
129129 } ,
130130 {
131131 handler : async ( ) => {
@@ -136,7 +136,9 @@ function useTabs() {
136136 icon : affixTab ? MdiPinOff : MdiPin ,
137137 key : 'affix' ,
138138 separator : true ,
139- text : affixTab ? '取消固定标签页' : '固定标签页' ,
139+ text : affixTab
140+ ? $t ( 'preferences.tabbar.context-menu.unpin' )
141+ : $t ( 'preferences.tabbar.context-menu.pin' ) ,
140142 } ,
141143 {
142144 disabled : closeLeftDisabled ,
@@ -145,7 +147,7 @@ function useTabs() {
145147 } ,
146148 icon : MdiFormatHorizontalAlignLeft ,
147149 key : 'close-left' ,
148- text : '关闭左侧标签页' ,
150+ text : $t ( 'preferences.tabbar.context-menu.close-left' ) ,
149151 } ,
150152 {
151153 disabled : closeRightDisabled ,
@@ -155,7 +157,7 @@ function useTabs() {
155157 icon : MdiFormatHorizontalAlignRight ,
156158 key : 'close-right' ,
157159 separator : true ,
158- text : '关闭右侧标签页' ,
160+ text : $t ( 'preferences.tabbar.context-menu.close-right' ) ,
159161 } ,
160162 {
161163 disabled : closeOtherDisabled ,
@@ -164,7 +166,7 @@ function useTabs() {
164166 } ,
165167 icon : MdiArrowExpandHorizontal ,
166168 key : 'close-other' ,
167- text : '关闭其他标签页' ,
169+ text : $t ( 'preferences.tabbar.context-menu.close-other' ) ,
168170 } ,
169171 {
170172 disabled,
@@ -173,7 +175,7 @@ function useTabs() {
173175 } ,
174176 icon : IcRoundMultipleStop ,
175177 key : 'close-all' ,
176- text : '关闭全部标签页' ,
178+ text : $t ( 'preferences.tabbar.context-menu.close-all' ) ,
177179 } ,
178180 // {
179181 // icon: 'icon-[material-symbols--back-to-tab-sharp]',
0 commit comments