@@ -40,17 +40,15 @@ const ScriptListItem = React.memo(
4040 < Typography . Title heading = { 6 } style = { { color : "rgb(var(--blue-5))" } } >
4141 { item . script ?. script ?. name || item . error || t ( "unknown" ) }
4242 </ Typography . Title >
43+ < span className = "text-sm color-gray-5" > { `${ t ( "author" ) } : ${ item . script ?. script ?. metadata . author ?. [ 0 ] } ` } </ span >
4344 < span className = "text-sm color-gray-5" >
44- { t ( "author " ) } : { item . script ?. script ?. metadata . author ?. [ 0 ] }
45+ { ` ${ t ( "description " ) } : $ {item . script ?. script ?. metadata . description ?. [ 0 ] } ` }
4546 </ span >
4647 < span className = "text-sm color-gray-5" >
47- { t ( "description " ) } : { item . script ?. script ?. metadata . description ?. [ 0 ] }
48+ { ` ${ t ( "source " ) } : $ {item . options ?. meta . file_url || t ( "local_creation" ) } ` }
4849 </ span >
4950 < span className = "text-sm color-gray-5" >
50- { t ( "source" ) } : { item . options ?. meta . file_url || t ( "local_creation" ) }
51- </ span >
52- < span className = "text-sm color-gray-5" >
53- { t ( "operation" ) } :{ " " }
51+ { `${ t ( "operation" ) } : ` }
5452 { ( item . install && ( item . script ?. oldScript ? t ( "update" ) : t ( "add_new" ) ) ) ||
5553 ( item . error
5654 ? `${ t ( "error" ) } : ${ item . options ?. meta . name } - ${ item . options ?. meta . uuid } `
@@ -281,20 +279,20 @@ function App() {
281279 </ Button >
282280 </ Space >
283281 < Typography . Text >
284- { t ( "select_scripts_to_import" ) } :{ " " }
282+ { ` ${ t ( "select_scripts_to_import" ) } : ` }
285283 < Checkbox checked = { selectAll [ 0 ] } onChange = { handleSelectAllScripts } >
286284 { t ( "select_all" ) }
287285 </ Checkbox >
288286 < Divider type = "vertical" />
289- { t ( "script_import_progress" ) } : { installNum [ 0 ] } /{ scripts . length }
287+ { ` ${ t ( "script_import_progress" ) } : $ {installNum [ 0 ] } /$ {scripts . length } ` }
290288 </ Typography . Text >
291289 < Typography . Text >
292- { t ( "select_subscribes_to_import" ) } :{ " " }
290+ { ` ${ t ( "select_subscribes_to_import" ) } : ` }
293291 < Checkbox checked = { selectAll [ 1 ] } onChange = { handleSelectAllSubscribes } >
294292 { t ( "select_all" ) }
295293 </ Checkbox >
296294 < Divider type = "vertical" />
297- { t ( "subscribe_import_progress" ) } : { installNum [ 1 ] } /{ subscribes . length }
295+ { ` ${ t ( "subscribe_import_progress" ) } : $ {installNum [ 1 ] } /$ {subscribes . length } ` }
298296 </ Typography . Text >
299297 { scripts . length > 0 && (
300298 < List
0 commit comments