mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +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:
@@ -22,7 +22,9 @@ namespace BTCPayServer.Plugins.PointOfSale.Models
|
||||
[Display(Name = "Display Title")]
|
||||
public string Title { get; set; }
|
||||
[MaxLength(5)]
|
||||
[Display(Name = "Currency")]
|
||||
public string Currency { get; set; }
|
||||
[Display(Name = "Template")]
|
||||
public string Template { get; set; }
|
||||
|
||||
[Display(Name = "Point of Sale Style")]
|
||||
@@ -77,23 +79,11 @@ namespace BTCPayServer.Plugins.PointOfSale.Models
|
||||
public string SearchTerm { get; set; }
|
||||
|
||||
public SelectList RedirectAutomaticallySelectList =>
|
||||
new SelectList(new List<SelectListItem>()
|
||||
new(new List<SelectListItem>
|
||||
{
|
||||
new SelectListItem()
|
||||
{
|
||||
Text = "Yes",
|
||||
Value = "true"
|
||||
},
|
||||
new SelectListItem()
|
||||
{
|
||||
Text = "No",
|
||||
Value = "false"
|
||||
},
|
||||
new SelectListItem()
|
||||
{
|
||||
Text = "Use Store Settings",
|
||||
Value = ""
|
||||
}
|
||||
new() { Text = "Yes", Value = "true" },
|
||||
new() { Text = "No", Value = "false" },
|
||||
new() { Text = "Use Store Settings", Value = "" }
|
||||
}, nameof(SelectListItem.Value), nameof(SelectListItem.Text), RedirectAutomatically);
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user