namespace SingularityGroup.HotReload.Editor.Localization {
    internal static partial class Translations {
        public static class License {
            // License & Authentication
            public static string TitleHotReloadLimited;
            public static string TitleHotReloadLicense;
            public static string MessageTrialLicense;
            public static string MessageIndieLicenseActive;
            public static string MessageBusinessLicenseActive;
            public static string MessageLicenseWillRenew;
            public static string MessagePromoCodeActivated;
            public static string PromoCodesTitle;
            
            // License Error Descriptions
            public static string LicenseErrorDeviceInUse;
            public static string LicenseErrorDeviceBlacklisted;
            public static string LicenseErrorIncorrectClock;
            public static string LicenseErrorActivation;
            public static string LicenseErrorDeleted;
            public static string LicenseErrorDisabled;
            public static string LicenseErrorExpired;
            public static string LicenseErrorInactive;
            public static string LicenseErrorCorrupted;
            public static string LicenseErrorNetwork;
            public static string LicenseErrorTrialExpired;
            public static string LicenseErrorInvalidCredentials;
            public static string LicenseErrorIncompatible;
            public static string LicenseErrorDefault;
            public static string LicenseErrorAssetStorePro;
            public static string LicenseErrorUnityPlusIndie;
            
            // License Button Labels
            public static string LicenseButtonGetLicense;
            public static string LicenseButtonContactSupport;
            public static string LicenseButtonUpgradeLicense;
            public static string LicenseButtonManageLicense;

            public static string ResetLicenseRemotely;
            
            public static void LoadEnglish() {
                // License & Authentication
                TitleHotReloadLimited = "Hot Reload Limited";
                TitleHotReloadLicense = "Hot Reload License";
                MessageTrialLicense = "Using Trial license, valid until {0}";
                MessageIndieLicenseActive = " Indie license active";
                MessageBusinessLicenseActive = " Business license active";
                MessageLicenseWillRenew = "License will renew on {0}.";
                MessagePromoCodeActivated = "Your promo code has been successfully activated. Free trial has been extended by 3 months.";
                PromoCodesTitle = "Promo Codes";
                
                // License Error Descriptions
                LicenseErrorDeviceInUse = "Another device is using your license. Please reach out to customer support for assistance.";
                LicenseErrorDeviceBlacklisted = "You device has been blacklisted.";
                LicenseErrorIncorrectClock = "Your license is not working because your computer's clock is incorrect. Please set the clock to the correct time to restore your license.";
                LicenseErrorActivation = "An error has occured while activating your license. Please contact customer support for assistance.";
                LicenseErrorDeleted = "Your license has been deleted. Please contact customer support for assistance.";
                LicenseErrorDisabled = "Your license has been disabled. Please contact customer support for assistance.";
                LicenseErrorExpired = "Your license has expired. Please renew your license subscription using the 'Upgrade License' button below and login with your email/password to activate your license.";
                LicenseErrorInactive = "Your license is currenty inactive. Please login with your email/password to activate your license.";
                LicenseErrorCorrupted = "Your license file was damaged or corrupted. Please login with your email/password to refresh your license file.";
                LicenseErrorNetwork = "There is an issue connecting to our servers. Please check your internet connection or contact customer support if the issue persists.";
                LicenseErrorTrialExpired = "Your trial has expired. Activate a license with unlimited usage or continue using the Free version. View available plans on our website.";
                LicenseErrorInvalidCredentials = "Incorrect email/password. You can find your initial password in the sign-up email.";
                LicenseErrorIncompatible = "Please upgrade your license to continue using hotreload with Unity Pro.";
                LicenseErrorDefault = "We apologize, an error happened while verifying your license. Please reach out to customer support for assistance.";
                LicenseErrorAssetStorePro = "Unity Pro/Enterprise users from company with your number of employees require a Business license. Please upgrade your license on our website.";
                LicenseErrorUnityPlusIndie = "Unity Plus users require an Indie license. Please upgrade your license on our website.";
                
                // License Button Labels
                LicenseButtonGetLicense = "Get License";
                LicenseButtonContactSupport = "Contact Support";
                LicenseButtonUpgradeLicense = "Upgrade License";
                LicenseButtonManageLicense = "Manage License";
                
                ResetLicenseRemotely = " Reset license remotely";
            }
            
            public static void LoadSimplifiedChinese() {
                // License & Authentication
                TitleHotReloadLimited = "Hot Reload 有限";
                TitleHotReloadLicense = "Hot Reload 许可证";
                MessageTrialLicense = "正在使用试用许可证，有效期至 {0}";
                MessageIndieLicenseActive = " 独立开发者许可证已激活";
                MessageBusinessLicenseActive = " 商业许可证已激活";
                MessageLicenseWillRenew = "许可证将于 {0} 续订。";
                MessagePromoCodeActivated = "您的促销代码已成功激活。免费试用期已延长3个月。";
                PromoCodesTitle = "促销代码";

                // License Error Descriptions
                LicenseErrorDeviceInUse = "另一台设备正在使用您的许可证。请联系客户支持寻求帮助。";
                LicenseErrorDeviceBlacklisted = "您的设备已被列入黑名单。";
                LicenseErrorIncorrectClock = "您的许可证无法工作，因为您的计算机时钟不正确。请将时钟设置为正确的时间以恢复您的许可证。";
                LicenseErrorActivation = "激活您的许可证时发生错误。请联系客户支持寻求帮助。";
                LicenseErrorDeleted = "您的许可证已被删除。请联系客户支持寻求帮助。";
                LicenseErrorDisabled = "您的许可证已被禁用。请联系客户支持寻求帮助。";
                LicenseErrorExpired = "您的许可证已过期。请使用下方的“升级许可证”按钮续订您的许可证订阅，并使用您的电子邮件/密码登录以激活您的许可证。";
                LicenseErrorInactive = "您的许可证当前未激活。请使用您的电子邮件/密码登录以激活您的许可证。";
                LicenseErrorCorrupted = "您的许可证文件已损坏或损坏。请使用您的电子邮件/密码登录以刷新您的许可证文件。";
                LicenseErrorNetwork = "连接到我们的服务器时出现问题。请检查您的网络连接，如果问题仍然存在，请联系客户支持。";
                LicenseErrorTrialExpired = "您的试用已过期。激活具有无限使用权的许可证或继续使用免费版本。在我们网站上查看可用计划。";
                LicenseErrorInvalidCredentials = "电子邮件/密码不正确。您可以在注册电子邮件中找到您的初始密码。";
                LicenseErrorIncompatible = "请升级您的许可证以继续在 Unity Pro 中使用 hotreload。";
                LicenseErrorDefault = "我们深表歉意，验证您的许可证时发生错误。请联系客户支持寻求帮助。";
                LicenseErrorAssetStorePro = "拥有您员工数量的公司中的 Unity Pro/Enterprise 用户需要商业许可证。请在我们的网站上升级您的许可证。";
                LicenseErrorUnityPlusIndie = "Unity Plus 用户需要独立开发者许可证。请在我们的网站上升级您的许可证。";

                // License Button Labels
                LicenseButtonGetLicense = "获取许可证";
                LicenseButtonContactSupport = "联系支持";
                LicenseButtonUpgradeLicense = "升级许可证";
                LicenseButtonManageLicense = "管理许可证";
                
                ResetLicenseRemotely = " 远程重置许可证";
            }
        }
    }
}

