Add project files.

This commit is contained in:
2025-08-20 11:07:36 +03:30
parent 3863c74931
commit 1a308a4069
899 changed files with 85379 additions and 0 deletions
@@ -0,0 +1,22 @@
using Microsoft.Extensions.Localization;
namespace Elsa.Studio.Localization;
/// <summary>
/// Interface for localization.
/// </summary>
public interface ILocalizer
{
/// <summary>
/// Gets the localized string for the given key.
/// </summary>
/// <param name="key">The key for the localized string.</param>
LocalizedString this[string key] { get; }
/// <summary>
/// Gets the localized string for the given key and formats it with the provided arguments.
/// </summary>
/// <param name="key">The key for the localized string.</param>
/// <param name="arguments">The arguments to format the localized string with.</param>
LocalizedString this[string key, params object[] arguments] { get; }
}