mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 06:35:13 +01:00
* Cleanups * Add text entries for dictionary pages * Wording: Keep Clone title consistent with Payment Request cloning * Dictionaries: List used one first; badge for marking In use
332 lines
7.8 KiB
C#
332 lines
7.8 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
|
||
namespace BTCPayServer.Services
|
||
{
|
||
public partial class Translations
|
||
{
|
||
static Translations()
|
||
{
|
||
// Text generated by UpdateDefaultTranslations.
|
||
// Please run it before release.
|
||
var knownTranslations =
|
||
"""
|
||
Access Tokens
|
||
Account
|
||
Account key
|
||
Account key path
|
||
Add additional fee (network fee) to invoice …
|
||
Add Address
|
||
Add Exchange Rate Spread
|
||
Add hop hints for private channels to the Lightning invoice
|
||
Add Role
|
||
Add Service
|
||
Add User
|
||
Add Webhook
|
||
Additional Actions
|
||
Admin API access token
|
||
Admin must approve new users
|
||
Administrator
|
||
Allow anyone to create invoice
|
||
Allow form for public use
|
||
Allow payee to create invoices with custom amounts
|
||
Allow payee to pass a comment
|
||
Allow Stores use the Server's SMTP email settings as their default
|
||
Always include non-witness UTXO if available
|
||
Amazon S3
|
||
Amount
|
||
API Key
|
||
API Keys
|
||
App
|
||
App Name
|
||
App Type
|
||
Application
|
||
Approve
|
||
Archive this store
|
||
Authenticator code
|
||
Auto-detect language on checkout
|
||
Automatically approve claims
|
||
Available Payment Methods
|
||
Azure Blob Storage
|
||
Backend's language
|
||
Batch size
|
||
BIP39 Seed (12/24 word mnemonic phrase) or HD private key (xprv...)
|
||
Brand Color
|
||
Branding
|
||
Buyer Email
|
||
Callback Notification URL
|
||
Can use hot wallet
|
||
Can use RPC import
|
||
Celebrate payment with confetti
|
||
Check releases on GitHub and notify when new BTCPay Server version is available
|
||
Checkout Appearance
|
||
Clone
|
||
Colors to rotate between with animation when a payment is made. One color per line.
|
||
Confirm new password
|
||
Confirm password
|
||
Connection string
|
||
Consider the invoice paid even if the paid amount is … % less than expected
|
||
Consider the invoice settled when the payment transaction …
|
||
Contact URL
|
||
Contact Us
|
||
Contribution Perks Template
|
||
Count all invoices created on the store as part of the goal
|
||
Create
|
||
Create a new app
|
||
Create a new dictionary
|
||
Create Account
|
||
Create Form
|
||
Create Invoice
|
||
Create Pull Payment
|
||
Create Request
|
||
Create Store
|
||
Create Webhook
|
||
Create your account
|
||
Crowdfund
|
||
Currency
|
||
Current password
|
||
Custom CSS
|
||
Custom HTML title to display on Checkout page
|
||
Custom sound file for successful payment
|
||
Custom Theme Extension Type
|
||
Custom Theme File
|
||
Dashboard
|
||
Default currency
|
||
Default language on checkout
|
||
Default payment method on checkout
|
||
Default role for users on a new store
|
||
Delete this store
|
||
Derivation scheme
|
||
Derivation scheme format
|
||
Description
|
||
Description template of the lightning invoice
|
||
Destination Address
|
||
Dictionaries
|
||
Dictionaries enable you to translate the BTCPay Server backend into different languages.
|
||
Dictionary
|
||
Disable public user registration
|
||
Disable stores from using the server's email settings as backup
|
||
Discourage search engines from indexing this site
|
||
Display app on website root
|
||
Display contribution ranking
|
||
Display contribution value
|
||
Display item selection for keypad
|
||
Display Lightning payment amounts in Satoshis
|
||
Display the category list
|
||
Display the search bar
|
||
Display Title
|
||
Disqus Shortname
|
||
Do not allow additional contributions after target has been reached
|
||
Does not extend a BTCPay Server theme, fully custom
|
||
Domain
|
||
Domain name
|
||
Don't create UTXO change
|
||
Email
|
||
Email address
|
||
Email confirmation required
|
||
Email confirmed?
|
||
Emails
|
||
Enable background animations on new payments
|
||
Enable Disqus Comments
|
||
Enable experimental features
|
||
Enable LNURL
|
||
Enable Payjoin/P2EP
|
||
Enable public receipt page for settled invoices
|
||
Enable public user registration
|
||
Enable sounds on checkout page
|
||
Enable sounds on new payments
|
||
Enable tips
|
||
End date
|
||
Error
|
||
Expiration Date
|
||
Export
|
||
Extends the BTCPay Server Dark theme
|
||
Extends the BTCPay Server Light theme
|
||
Fallback
|
||
Featured Image URL
|
||
Fee rate (sat/vB)
|
||
Files
|
||
Forgot password?
|
||
Form configuration (JSON)
|
||
Forms
|
||
Gap limit
|
||
Generate
|
||
Generate API Key
|
||
Generate Key
|
||
Google Cloud Storage
|
||
GRPC SSL Cipher suite (GRPC_SSL_CIPHER_SUITES)
|
||
Hide Sensitive Info
|
||
If a translation isn’t available in the new dictionary, it will be searched in the fallback.
|
||
Image
|
||
Invoice currency
|
||
Invoice expires if the full amount has not been paid after …
|
||
Invoice metadata
|
||
Invoices
|
||
Is administrator?
|
||
Is signing key
|
||
Item Description
|
||
Keypad
|
||
Lightning node (LNURL Auth)
|
||
LNURL Classic Mode
|
||
Local File System
|
||
Log in
|
||
Login Codes
|
||
Logo
|
||
Logout
|
||
Logs
|
||
Maintenance
|
||
Make Crowdfund Public
|
||
Manage Account
|
||
Manage Plugins
|
||
Master fingerprint
|
||
Max sats
|
||
Memo
|
||
Metadata
|
||
Min sats
|
||
Minimum acceptable expiration time for BOLT11 for refunds
|
||
Name
|
||
New password
|
||
Next
|
||
Non-admins can access the User Creation API Endpoint
|
||
Non-admins can create Hot Wallets for their Store
|
||
Non-admins can import Hot Wallets for their Store
|
||
Non-admins can use the Internal Lightning Node for their Store
|
||
Non-admins cannot access the User Creation API Endpoint
|
||
Notification Email
|
||
Notification URL
|
||
Notifications
|
||
Only enable the payment method after user explicitly chooses it
|
||
Optional seed passphrase
|
||
Order Id
|
||
Override the block explorers used
|
||
Pair to
|
||
Password
|
||
Password (leave blank to generate invite-link)
|
||
Pay Button
|
||
PayJoin BIP21
|
||
Payment
|
||
Payment invalid if transactions fails to confirm … after invoice expiration
|
||
Payments
|
||
Payout Methods
|
||
Payout Processors
|
||
Payouts
|
||
Plugin server
|
||
Plugins
|
||
Point of Sale
|
||
Point of Sale Style
|
||
Policies
|
||
Preferred Price Source
|
||
Print display
|
||
Product list
|
||
Product list with cart
|
||
Profile Picture
|
||
PSBT content
|
||
PSBT to combine with…
|
||
Public Key
|
||
Pull Payments
|
||
Rate Rules
|
||
Rates
|
||
Recommended fee confirmation target blocks
|
||
Recovery Code
|
||
Redirect invoice to redirect url automatically after paid
|
||
Redirect URL
|
||
Regenerate code
|
||
Register
|
||
Remember me
|
||
Remember this machine
|
||
Remove
|
||
Reporting
|
||
Request contributor data on checkout
|
||
Request customer data on checkout
|
||
Request Pairing
|
||
Requests
|
||
Reset goal every
|
||
REST Uri
|
||
Role
|
||
Roles
|
||
Root fingerprint
|
||
Save
|
||
Scope
|
||
Search engines can index this site
|
||
Security device (FIDO2)
|
||
Select
|
||
Select the Default Currency during Store Creation
|
||
Select the payout method used for refund
|
||
Send test webhook
|
||
Server Name
|
||
Server Settings
|
||
Services
|
||
Set Password
|
||
Settings
|
||
Shop Name
|
||
Shopify
|
||
Show "Pay in wallet" button
|
||
Show a timer … minutes before invoice expiration
|
||
Show plugins in pre-release
|
||
Show recommended fee
|
||
Show the payment list in the public receipt page
|
||
Show the QR code of the receipt in the public receipt page
|
||
Show the store header
|
||
Sign in
|
||
Sort contribution perks by popularity
|
||
Sounds to play when a payment is made. One sound per line
|
||
Specify the amount and currency for the refund
|
||
Start date
|
||
Starting index
|
||
Store
|
||
Store Id
|
||
Store Name
|
||
Store Settings
|
||
Store Website
|
||
Submit
|
||
Subtract fees from amount
|
||
Support URL
|
||
Supported Transaction Currencies
|
||
Target Amount
|
||
Test Email
|
||
Text to display in the tip input
|
||
Text to display on buttons allowing the user to enter a custom amount
|
||
Text to display on each button for items with a specific price
|
||
Theme
|
||
Tip percentage amounts (comma separated)
|
||
Translations
|
||
Two-Factor Authentication
|
||
Unarchive this store
|
||
Unify on-chain and lightning payment URL/QR code
|
||
Update Password
|
||
Update Webhook
|
||
Upload PSBT from file…
|
||
Url of the Dynamic DNS service you are using
|
||
Use custom theme
|
||
Use SSL
|
||
User can input custom amount
|
||
User can input discount in %
|
||
Users
|
||
UTXOs to spend from
|
||
Verification Code
|
||
Wallet file
|
||
Wallet file content
|
||
Wallets
|
||
Webhooks
|
||
Welcome to {0}
|
||
Your dynamic DNS hostname
|
||
""";
|
||
Default = Translations.CreateFromText(knownTranslations);
|
||
Default = new Translations(new KeyValuePair<string, string>[]
|
||
{
|
||
// You can add additional hard coded default here
|
||
// KeyValuePair.Create("key1", "value")
|
||
// KeyValuePair.Create("key2", "value")
|
||
}, Default);
|
||
}
|
||
|
||
/// <summary>
|
||
/// Translations which are already in the Default aren't saved into database.
|
||
/// This allows us to automatically update the english version if the translations didn't changed.
|
||
///
|
||
/// We only save into database the key/values that differ from Default
|
||
/// </summary>
|
||
public static Translations Default;
|
||
public readonly static string DefaultLanguage = "English";
|
||
}
|
||
}
|