mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
Add i18nservice abstraction (#770)
This commit is contained in:
parent
cad7cf0200
commit
a7d7736806
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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user