File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ private static void DeletePythonBinding()
184
184
}
185
185
catch ( Exception e )
186
186
{
187
- API . LogDebug ( ClassName , $ "Failed to delete { binding } in { subDirectory } : { e . Message } ") ;
187
+ PublicApi . Instance . LogDebug ( ClassName , $ "Failed to delete { binding } in { subDirectory } : { e . Message } ") ;
188
188
}
189
189
}
190
190
}
@@ -300,11 +300,8 @@ public static async Task InitializePluginsAsync(IResultUpdateRegister register)
300
300
{
301
301
var failed = string . Join ( "," , _initFailedPlugins . Values . Select ( x => x . Metadata . Name ) ) ;
302
302
PublicApi . Instance . ShowMsg (
303
- PublicApi . Instance . GetTranslation ( "failedToInitializePluginsTitle" ) ,
304
- string . Format (
305
- API . GetTranslation ( "failedToInitializePluginsMessage" ) ,
306
- failed
307
- ) ,
303
+ Localize . failedToInitializePluginsTitle ( ) ,
304
+ Localize . failedToInitializePluginsMessage ( failed ) ,
308
305
"" ,
309
306
false
310
307
) ;
Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ public static void UpdatePluginMetadataTranslation(PluginPair p)
389
389
}
390
390
catch ( Exception e )
391
391
{
392
- API . LogException ( ClassName , $ "Failed for <{ p . Metadata . Name } >", e ) ;
392
+ PublicApi . Instance . LogException ( ClassName , $ "Failed for <{ p . Metadata . Name } >", e ) ;
393
393
}
394
394
}
395
395
You can’t perform that action at this time.
0 commit comments