@@ -79,7 +79,7 @@ export const CardsBatchBar: React.FC<CardsBatchBarProps> = ({
7979 snackbar . success (
8080 t ( "components.Toolbar.Batch.deleteSuccess" , {
8181 count : selectedCount ,
82- defaultValue : ` 已删除 ${ selectedCount } 个游戏` ,
82+ defaultValue : " 已删除 {{count}} 个游戏" ,
8383 } ) ,
8484 ) ;
8585 } catch ( error ) {
@@ -99,7 +99,7 @@ export const CardsBatchBar: React.FC<CardsBatchBarProps> = ({
9999 snackbar . success (
100100 t ( "components.Toolbar.Batch.removeFromCategorySuccess" , {
101101 count : selectedCount ,
102- defaultValue : ` 已从当前分类移除 ${ selectedCount } 个游戏` ,
102+ defaultValue : " 已从当前分类移除 {{count}} 个游戏" ,
103103 } ) ,
104104 ) ;
105105 } catch ( error ) {
@@ -151,7 +151,7 @@ export const CardsBatchBar: React.FC<CardsBatchBarProps> = ({
151151 < Typography variant = "body2" color = "text.secondary" >
152152 { t ( "components.Toolbar.Batch.selectedCount" , {
153153 count : selectedCount ,
154- defaultValue : ` 已选 ${ selectedCount } ` ,
154+ defaultValue : " 已选 {{count}}" ,
155155 } ) }
156156 </ Typography >
157157 </ >
@@ -215,7 +215,7 @@ export const CardsBatchBar: React.FC<CardsBatchBarProps> = ({
215215 title = { t ( "components.Toolbar.Batch.deleteTitle" , "批量删除游戏" ) }
216216 message = { t ( "components.Toolbar.Batch.deleteMessage" , {
217217 count : selectedCount ,
218- defaultValue : ` 确定要删除选中的 ${ selectedCount } 个游戏吗?此操作无法撤销。` ,
218+ defaultValue : " 确定要删除选中的 {{count}} 个游戏吗?此操作无法撤销。" ,
219219 } ) }
220220 />
221221
0 commit comments