mirror of
https://github.com/bitwarden/server.git
synced 2025-05-23 20:41:04 -05: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…
x
Reference in New Issue
Block a user