@@ -5,7 +5,7 @@ import * as PackageManagerIcons from '@node-core/ui-components/Icons/PackageMana
55import  type  {  ElementType  }  from  'react' ; 
66import  satisfies  from  'semver/functions/satisfies' ; 
77
8- import  type  {  NodeReleaseStatus  }  from  '#site/types' ; 
8+ import  type  {  IntlMessageKeys ,   NodeReleaseStatus  }  from  '#site/types' ; 
99import  type  *  as  Types  from  '#site/types/release' ; 
1010import  type  {  UserOS ,  UserPlatform  }  from  '#site/types/userOS' ; 
1111
@@ -33,10 +33,10 @@ type DownloadCompatibility = {
3333} ; 
3434
3535type  DownloadDropdownItem < T  extends  string >  =  { 
36-   label : string ; 
36+   label : IntlMessageKeys ; 
3737  recommended ?: boolean ; 
3838  url ?: string ; 
39-   info ?: string ; 
39+   info ?: IntlMessageKeys ; 
4040  compatibility : DownloadCompatibility ; 
4141}  &  Omit < SelectValue < T > ,  'label' > ; 
4242
@@ -102,7 +102,7 @@ type ActualSystems = Omit<typeof systems, 'OTHER' | 'LOADING'>;
102102export  const  OPERATING_SYSTEMS  =  Object . entries ( systems  as  ActualSystems ) 
103103  . filter ( ( [ key ] )  =>  key  !==  'LOADING'  &&  key  !==  'OTHER' ) 
104104  . map ( ( [ key ,  data ] )  =>  ( { 
105-     label : data . name , 
105+     label : data . name   as   IntlMessageKeys , 
106106    value : key  as  UserOS , 
107107    compatibility : data . compatibility , 
108108    iconImage : createIcon ( OSIcons ,  data . icon ) , 
@@ -112,11 +112,11 @@ export const OPERATING_SYSTEMS = Object.entries(systems as ActualSystems)
112112export  const  INSTALL_METHODS  =  installMethods . map ( method  =>  ( { 
113113  key : method . id , 
114114  value : method . id  as  Types . InstallationMethod , 
115-   label : method . name , 
115+   label : method . name   as   IntlMessageKeys , 
116116  iconImage : createIcon ( InstallMethodIcons ,  method . icon ) , 
117117  recommended : method . recommended , 
118118  url : method . url , 
119-   info : method . info , 
119+   info : method . info   as   IntlMessageKeys , 
120120  compatibility : { 
121121    ...method . compatibility , 
122122    os : method . compatibility ?. os ?. map ( os  =>  os  as  UserOS ) , 
@@ -130,7 +130,7 @@ export const INSTALL_METHODS = installMethods.map(method => ({
130130export  const  PACKAGE_MANAGERS  =  packageManagers . map ( manager  =>  ( { 
131131  key : manager . id , 
132132  value : manager . id  as  Types . PackageManager , 
133-   label : manager . name , 
133+   label : manager . name   as   IntlMessageKeys , 
134134  iconImage : createIcon ( PackageManagerIcons ,  manager . id ) , 
135135  compatibility : { 
136136    ...manager . compatibility , 
0 commit comments