mirror of
https://github.com/bitwarden/server
synced 2025-12-24 04:03:25 +00: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