mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
More Translations (#6318)
* Store selector * Footer * Notifications * Checkout Appearance * Users list * Forms * Emails * Pay Button * Edit Dictionary * Remove newlines, fix typos * Forms * Pull payments and payouts * Various pages * Use local docs link * Fix * Even more translations * Fixes #6325 * Account pages * Notifications * Placeholders * Various pages and components * Add more
This commit is contained in:
@@ -107,18 +107,5 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
GreaterThan,
|
||||
LessThan
|
||||
}
|
||||
public static string ToString(CriteriaType type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case CriteriaType.GreaterThan:
|
||||
return "Greater than";
|
||||
case CriteriaType.LessThan:
|
||||
return "Less than";
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException(nameof(type), type, null);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
[Required]
|
||||
[MaxLength(50)]
|
||||
[MinLength(1)]
|
||||
[Display(Name = "Name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Required]
|
||||
|
||||
@@ -15,6 +15,8 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public string CryptoCode { get; set; }
|
||||
public bool CanUseInternalNode { get; set; }
|
||||
public bool SkipPortTest { get; set; }
|
||||
|
||||
[Display(Name = "Enabled")]
|
||||
public bool Enabled { get; set; } = true;
|
||||
|
||||
[Display(Name = "Connection string")]
|
||||
|
||||
@@ -9,12 +9,15 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public WalletId WalletId { get; set; }
|
||||
public string StoreId { get; set; }
|
||||
public bool IsHotWallet { get; set; }
|
||||
|
||||
[Display(Name = "Enabled")]
|
||||
public bool Enabled { get; set; }
|
||||
public bool CanUsePayJoin { get; set; }
|
||||
|
||||
[Display(Name = "Enable Payjoin/P2EP")]
|
||||
public bool PayJoinEnabled { get; set; }
|
||||
|
||||
[Display(Name = "Label")]
|
||||
public string Label { get; set; }
|
||||
|
||||
public string DerivationSchemeInput { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user