mirror of
https://github.com/bitwarden/server.git
synced 2025-07-08 19:34:09 -05:00
Add i18nservice abstraction (#770)
This commit is contained in:
11
src/Core/Services/II18nService.cs
Normal file
11
src/Core/Services/II18nService.cs
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
using Microsoft.Extensions.Localization;
|
||||||
|
|
||||||
|
namespace Bit.Core.Services
|
||||||
|
{
|
||||||
|
public interface II18nService
|
||||||
|
{
|
||||||
|
LocalizedString GetLocalizedHtmlString(string key);
|
||||||
|
string Translate(string key, params object[] args);
|
||||||
|
string T(string key, params object[] args);
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user