using ClaudeDo.Localization;

namespace ClaudeDo.Installer.Tests;

internal sealed class FakeLocalizer : ILocalizer
{
    public string this[string key] => key;
    public string Get(string key, params object[] args) => key;
    public string CurrentCode { get; private set; } = "en";
    public IReadOnlyList<LanguageOption> AvailableLanguages { get; } = new[] { new LanguageOption("en", "English") };
    public void SetLanguage(string code) => CurrentCode = code;
    public event EventHandler? LanguageChanged;
}
