mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 17:26:05 +01:00
17 lines
450 B
C#
17 lines
450 B
C#
using BTCPayServer.Services;
|
|
|
|
namespace BTCPayServer.Models.ServerViewModels;
|
|
|
|
public class EditDictionaryViewModel
|
|
{
|
|
public string Translations { get; set; }
|
|
public int Lines { get; set; }
|
|
public string Command { get; set; }
|
|
|
|
internal EditDictionaryViewModel SetTranslations(Translations translations)
|
|
{
|
|
Translations = translations.ToJsonFormat();
|
|
Lines = translations.Records.Count;
|
|
return this;
|
|
}
|
|
}
|