1
0
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:
Kyle Spearrin 2020-06-09 10:25:37 -04:00 committed by GitHub
parent cad7cf0200
commit a7d7736806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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);
}
}