1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-01 13:43:23 +01:00
bitwarden-server/src/Core/Services/II18nService.cs
Chad Scharf db7d05b52f
Added PreValidate endpoint on Account controller (#896)
* Added PreValidate endpoint on Account controller

* Fixed IHttpClientFactory implementation

* Core localization and org sproc fix

* Pass culture, fixed sso middleware bug
2020-08-28 12:14:23 -04:00

13 lines
377 B
C#

using Microsoft.Extensions.Localization;
namespace Bit.Core.Services
{
public interface II18nService
{
LocalizedString GetLocalizedHtmlString(string key);
LocalizedString GetLocalizedHtmlString(string key, params object[] args);
string Translate(string key, params object[] args);
string T(string key, params object[] args);
}
}