Initial commit

This commit is contained in:
Mira 2025-01-27 18:37:17 +01:00
commit ea04fd2785
Signed by untrusted user who does not match committer: Xorog
GPG key ID: 983798ED9C3E7C36
25 changed files with 2156 additions and 0 deletions

View file

@ -0,0 +1,23 @@
// Project Makoto
// Copyright (C) 2023 Fortunevale
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY
namespace ProjectMakoto.Plugins.Translation.Entities;
internal sealed class LibreTranslateTranslation
{
public string? translatedText { get; set; }
public DetectedLanguage? detectedLanguage { get; set; }
internal sealed class DetectedLanguage
{
public decimal? confidence { get; set; }
public string? language { get; set; }
}
}