@@ -107,8 +107,8 @@ export default function ModelCard({ model, provider, modelInfo, price, group, ow
107107 </ Typography >
108108 </ Box >
109109 </ Stack >
110- < Tooltip title = "复制模型标识" >
111- < IconButton size = "small" onClick = { ( ) => copy ( model , '模型标识' ) } sx = { { color : theme . palette . text . secondary } } >
110+ < Tooltip title = { t ( 'modelpricePage.copyModelId' ) } >
111+ < IconButton size = "small" onClick = { ( ) => copy ( model , t ( 'modelpricePage.modelId' ) ) } sx = { { color : theme . palette . text . secondary } } >
112112 < Icon icon = "eva:copy-outline" width = { 18 } height = { 18 } />
113113 </ IconButton >
114114 </ Tooltip >
@@ -143,7 +143,7 @@ export default function ModelCard({ model, provider, modelInfo, price, group, ow
143143 { inputModalities . length > 0 && (
144144 < Box >
145145 < Typography variant = "caption" color = "text.secondary" sx = { { display : 'block' , mb : 0.5 , fontSize : '0.7rem' } } >
146- 输入模态
146+ { t ( 'modelpricePage.inputModality' ) }
147147 </ Typography >
148148 < Stack direction = "row" spacing = { 0.5 } flexWrap = "wrap" useFlexGap >
149149 { inputModalities . map ( ( modality , index ) => (
@@ -164,7 +164,7 @@ export default function ModelCard({ model, provider, modelInfo, price, group, ow
164164 { outputModalities . length > 0 && (
165165 < Box >
166166 < Typography variant = "caption" color = "text.secondary" sx = { { display : 'block' , mb : 0.5 , fontSize : '0.7rem' } } >
167- 输出模态
167+ { t ( 'modelpricePage.outputModality' ) }
168168 </ Typography >
169169 < Stack direction = "row" spacing = { 0.5 } flexWrap = "wrap" useFlexGap >
170170 { outputModalities . map ( ( modality , index ) => (
@@ -185,7 +185,7 @@ export default function ModelCard({ model, provider, modelInfo, price, group, ow
185185 { tags . length > 0 && (
186186 < Box >
187187 < Typography variant = "caption" color = "text.secondary" sx = { { display : 'block' , mb : 0.5 , fontSize : '0.7rem' } } >
188- 标签
188+ { t ( 'modelpricePage.tags' ) }
189189 </ Typography >
190190 < Stack direction = "row" spacing = { 0.5 } flexWrap = "wrap" useFlexGap >
191191 { tags . map ( ( tag , index ) => (
@@ -213,7 +213,7 @@ export default function ModelCard({ model, provider, modelInfo, price, group, ow
213213
214214 < Box >
215215 < Typography variant = "caption" color = "text.secondary" sx = { { display : 'block' , mb : 0.5 , fontSize : '0.7rem' } } >
216- 计费方式
216+ { t ( 'modelpricePage.billingMethod' ) }
217217 </ Typography >
218218 < Stack direction = "row" spacing = { 0.5 } flexWrap = "wrap" useFlexGap >
219219 { type === 'tokens' && (
@@ -238,15 +238,15 @@ export default function ModelCard({ model, provider, modelInfo, price, group, ow
238238 < Stack spacing = { 1 } >
239239 < Stack direction = "row" alignItems = "center" justifyContent = "space-between" >
240240 < Typography variant = "caption" color = "text.secondary" sx = { { fontSize : '0.7rem' } } >
241- 输入价格
241+ { t ( 'modelpricePage.inputMultiplier' ) }
242242 </ Typography >
243243 < Label color = "success" variant = "outlined" sx = { { fontSize : '0.75rem' , py : 0.25 , px : 0.75 , fontWeight : 600 } } >
244244 { formatPrice ( price . input , type ) }
245245 </ Label >
246246 </ Stack >
247247 < Stack direction = "row" alignItems = "center" justifyContent = "space-between" >
248248 < Typography variant = "caption" color = "text.secondary" sx = { { fontSize : '0.7rem' } } >
249- 输出价格
249+ { t ( 'modelpricePage.outputMultiplier' ) }
250250 </ Typography >
251251 < Label color = "warning" variant = "outlined" sx = { { fontSize : '0.75rem' , py : 0.25 , px : 0.75 , fontWeight : 600 } } >
252252 { formatPrice ( price . output , type ) }
@@ -275,7 +275,7 @@ export default function ModelCard({ model, provider, modelInfo, price, group, ow
275275 < Box sx = { { mt : 1.5 } } >
276276 < Stack direction = "row" alignItems = "center" justifyContent = "space-between" >
277277 < Typography variant = "caption" color = "text.secondary" sx = { { fontSize : '0.7rem' } } >
278- 当前用户组
278+ { t ( 'modelpricePage.currentUserGroup' ) }
279279 </ Typography >
280280 < Stack direction = "row" spacing = { 0.5 } alignItems = "center" >
281281 < Label color = "primary" sx = { { fontSize : '0.7rem' , py : 0.25 , px : 0.75 } } >
@@ -308,7 +308,7 @@ export default function ModelCard({ model, provider, modelInfo, price, group, ow
308308 fontWeight : 600
309309 } }
310310 >
311- 查看详情
311+ { t ( 'modelpricePage.viewDetail' ) }
312312 </ Button >
313313 </ Box >
314314 </ CardContent >
0 commit comments