mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:06:30 +00:00
add loader and versioning
This commit is contained in:
@@ -122,7 +122,16 @@ public partial class Annotator
|
||||
{ "uploading", "Будь ласка зачекайте, йде зберігання" },
|
||||
{ "enabled", "AI готовий для розпізнавання" }
|
||||
};
|
||||
StatusHelp.Text = messagesDict!.GetValueOrDefault(command.Message, aiDisabledText);
|
||||
|
||||
if (command.Message?.StartsWith("Error") ?? false)
|
||||
{
|
||||
_logger.LogError(command.Message);
|
||||
StatusHelp.Text = command.Message;
|
||||
}
|
||||
|
||||
else
|
||||
StatusHelp.Text = messagesDict!.GetValueOrDefault(command.Message, aiDisabledText);
|
||||
|
||||
if (aiEnabled)
|
||||
StatusHelp.Foreground = aiEnabled ? Brushes.White : Brushes.Red;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user