@@ -61,12 +61,12 @@ const refactorName = "Convert export";
61
61
62
62
const defaultToNamedAction = {
63
63
name : "Convert default export to named export" ,
64
- description : Diagnostics . Convert_default_export_to_named_export . message ,
64
+ description : getLocaleSpecificMessage ( Diagnostics . Convert_default_export_to_named_export ) ,
65
65
kind : "refactor.rewrite.export.named"
66
66
} ;
67
67
const namedToDefaultAction = {
68
68
name : "Convert named export to default export" ,
69
- description : Diagnostics . Convert_named_export_to_default_export . message ,
69
+ description : getLocaleSpecificMessage ( Diagnostics . Convert_named_export_to_default_export ) ,
70
70
kind : "refactor.rewrite.export.default"
71
71
} ;
72
72
@@ -86,7 +86,7 @@ registerRefactor(refactorName, {
86
86
87
87
if ( context . preferences . provideRefactorNotApplicableReason ) {
88
88
return [
89
- { name : refactorName , description : Diagnostics . Convert_default_export_to_named_export . message , actions : [
89
+ { name : refactorName , description : getLocaleSpecificMessage ( Diagnostics . Convert_default_export_to_named_export ) , actions : [
90
90
{ ...defaultToNamedAction , notApplicableReason : info . error } ,
91
91
{ ...namedToDefaultAction , notApplicableReason : info . error } ,
92
92
] }
0 commit comments