Skip to content

Commit 436f332

Browse files
committed
Merge branch 'aphrodite'
2 parents 4014d03 + 37ca18b commit 436f332

File tree

114 files changed

+46521
-28932
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+46521
-28932
lines changed

shadow.pro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ HEADERS += \
286286
src/qt/trafficgraphwidget.h \
287287
src/qt/messagemodel.h \
288288
src/qt/shadowgui.h \
289-
src/qt/shadowbridge.h
289+
src/qt/shadowbridge.h \
290+
src/qt/bridgetranslations.h
290291

291292
SOURCES += \
292293
src/alert.cpp \

shadow.qrc

Lines changed: 49 additions & 19 deletions
Large diffs are not rendered by default.

src/qt/bridgetranslations.h

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
#ifndef BRIDGETRANSLATIONS_H
2+
#define BRIDGETRANSLATIONS_H
3+
#include <QObject>
4+
5+
// Get strings in debug console `dumpStrings()`
6+
// TODO: Automate this process, move into include and generate include...
7+
static const char *html_strings[] = {
8+
QT_TRANSLATE_NOOP("ShadowBridge", "Overview"),
9+
QT_TRANSLATE_NOOP("ShadowBridge", "Wallet"),
10+
QT_TRANSLATE_NOOP("ShadowBridge", "Send"),
11+
QT_TRANSLATE_NOOP("ShadowBridge", "Receive"),
12+
QT_TRANSLATE_NOOP("ShadowBridge", "Transactions"),
13+
QT_TRANSLATE_NOOP("ShadowBridge", "Address Book"),
14+
QT_TRANSLATE_NOOP("ShadowBridge", "Chat"),
15+
QT_TRANSLATE_NOOP("ShadowBridge", "Notifications"),
16+
QT_TRANSLATE_NOOP("ShadowBridge", "Options"),
17+
QT_TRANSLATE_NOOP("ShadowBridge", "Wallet Management"),
18+
QT_TRANSLATE_NOOP("ShadowBridge", "Add New Wallet"),
19+
QT_TRANSLATE_NOOP("ShadowBridge", "Import Wallet"),
20+
QT_TRANSLATE_NOOP("ShadowBridge", "Advanced"),
21+
QT_TRANSLATE_NOOP("ShadowBridge", "Backup"),
22+
QT_TRANSLATE_NOOP("ShadowBridge", "Backup Wallet"),
23+
QT_TRANSLATE_NOOP("ShadowBridge", "Encrypt Wallet"),
24+
QT_TRANSLATE_NOOP("ShadowBridge", "Change Passphrase"),
25+
QT_TRANSLATE_NOOP("ShadowBridge", "(Un)lock Wallet"),
26+
QT_TRANSLATE_NOOP("ShadowBridge", "Tools"),
27+
QT_TRANSLATE_NOOP("ShadowBridge", "Chain Data"),
28+
QT_TRANSLATE_NOOP("ShadowBridge", "Block Explorer"),
29+
QT_TRANSLATE_NOOP("ShadowBridge", "Sign Message"),
30+
QT_TRANSLATE_NOOP("ShadowBridge", "Verify Message"),
31+
QT_TRANSLATE_NOOP("ShadowBridge", "Debug"),
32+
QT_TRANSLATE_NOOP("ShadowBridge", "About Shadow"),
33+
QT_TRANSLATE_NOOP("ShadowBridge", "About QT"),
34+
QT_TRANSLATE_NOOP("ShadowBridge", "QR code"),
35+
QT_TRANSLATE_NOOP("ShadowBridge", "Address:"),
36+
QT_TRANSLATE_NOOP("ShadowBridge", "Label:"),
37+
QT_TRANSLATE_NOOP("ShadowBridge", "Narration:"),
38+
QT_TRANSLATE_NOOP("ShadowBridge", "Amount:"),
39+
QT_TRANSLATE_NOOP("ShadowBridge", "Add new receive address"),
40+
QT_TRANSLATE_NOOP("ShadowBridge", "Add Address"),
41+
QT_TRANSLATE_NOOP("ShadowBridge", "Add a new contact"),
42+
QT_TRANSLATE_NOOP("ShadowBridge", "Address Lookup"),
43+
QT_TRANSLATE_NOOP("ShadowBridge", "Address Type"),
44+
QT_TRANSLATE_NOOP("ShadowBridge", "Normal"),
45+
QT_TRANSLATE_NOOP("ShadowBridge", "Stealth"),
46+
QT_TRANSLATE_NOOP("ShadowBridge", "Group"),
47+
QT_TRANSLATE_NOOP("ShadowBridge", "BIP32"),
48+
QT_TRANSLATE_NOOP("ShadowBridge", "Label"),
49+
QT_TRANSLATE_NOOP("ShadowBridge", "Address"),
50+
QT_TRANSLATE_NOOP("ShadowBridge", "Public Key"),
51+
QT_TRANSLATE_NOOP("ShadowBridge", "Transaction Hash"),
52+
QT_TRANSLATE_NOOP("ShadowBridge", "Recent Transactions"),
53+
QT_TRANSLATE_NOOP("ShadowBridge", "Market"),
54+
QT_TRANSLATE_NOOP("ShadowBridge", "Advanced Options"),
55+
QT_TRANSLATE_NOOP("ShadowBridge", "Coin Control"),
56+
QT_TRANSLATE_NOOP("ShadowBridge", "Make payment"),
57+
QT_TRANSLATE_NOOP("ShadowBridge", "Balance transfer"),
58+
QT_TRANSLATE_NOOP("ShadowBridge", "Select Inputs"),
59+
QT_TRANSLATE_NOOP("ShadowBridge", "Automatically selected"),
60+
QT_TRANSLATE_NOOP("ShadowBridge", "Quantity:"),
61+
QT_TRANSLATE_NOOP("ShadowBridge", "Fee:"),
62+
QT_TRANSLATE_NOOP("ShadowBridge", "After Fee:"),
63+
QT_TRANSLATE_NOOP("ShadowBridge", "Bytes:"),
64+
QT_TRANSLATE_NOOP("ShadowBridge", "Priority:"),
65+
QT_TRANSLATE_NOOP("ShadowBridge", "LowOutput:"),
66+
QT_TRANSLATE_NOOP("ShadowBridge", "Change:"),
67+
QT_TRANSLATE_NOOP("ShadowBridge", "Custom change address"),
68+
QT_TRANSLATE_NOOP("ShadowBridge", "From account"),
69+
QT_TRANSLATE_NOOP("ShadowBridge", "PUBLIC"),
70+
QT_TRANSLATE_NOOP("ShadowBridge", "PRIVATE"),
71+
QT_TRANSLATE_NOOP("ShadowBridge", "Balance:"),
72+
QT_TRANSLATE_NOOP("ShadowBridge", "Ring Size:"),
73+
QT_TRANSLATE_NOOP("ShadowBridge", "To account"),
74+
QT_TRANSLATE_NOOP("ShadowBridge", "Pay to"),
75+
QT_TRANSLATE_NOOP("ShadowBridge", "(no label)"),
76+
QT_TRANSLATE_NOOP("ShadowBridge", "Catching up...\
77+
downloaded 0 blocks of history..."),
78+
QT_TRANSLATE_NOOP("ShadowBridge", "Tor connection offline"),
79+
QT_TRANSLATE_NOOP("ShadowBridge", "i2p connection offline"),
80+
QT_TRANSLATE_NOOP("ShadowBridge", "Wallet is encrypted and currently locked"),
81+
QT_TRANSLATE_NOOP("ShadowBridge", "Not staking because wallet is locked"),
82+
QT_TRANSLATE_NOOP("ShadowBridge", "0 active connection(s) to ShadowCash network"),
83+
QT_TRANSLATE_NOOP("ShadowBridge", "Wallet is syncing"),
84+
QT_TRANSLATE_NOOP("ShadowBridge", "Open chat list"),
85+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter a label for this address to add it to your address book"),
86+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter a address to add it to your address book"),
87+
QT_TRANSLATE_NOOP("ShadowBridge", "Inputs"),
88+
QT_TRANSLATE_NOOP("ShadowBridge", "Values"),
89+
QT_TRANSLATE_NOOP("ShadowBridge", "Outputs"),
90+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter a ShadowCash address to sign the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"),
91+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter the message you want to sign"),
92+
QT_TRANSLATE_NOOP("ShadowBridge", "Click sign message to generate signature"),
93+
QT_TRANSLATE_NOOP("ShadowBridge", "Copy the signed message signature"),
94+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter a ShadowCash address to verify the message with (e.g. SaKYqfD8J3vw4RTnqtgk2K9B67CBaL3mhV)"),
95+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter the message you want to verify"),
96+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter a ShadowCash signature"),
97+
QT_TRANSLATE_NOOP("ShadowBridge", "Paste signature from clipboard"),
98+
QT_TRANSLATE_NOOP("ShadowBridge", "Your total balance"),
99+
QT_TRANSLATE_NOOP("ShadowBridge", "Balances overview"),
100+
QT_TRANSLATE_NOOP("ShadowBridge", "Recent in/out transactions or stakes"),
101+
QT_TRANSLATE_NOOP("ShadowBridge", "Select inputs to spend"),
102+
QT_TRANSLATE_NOOP("ShadowBridge", "Optional address to receive transaction change"),
103+
QT_TRANSLATE_NOOP("ShadowBridge", "Choose from address book"),
104+
QT_TRANSLATE_NOOP("ShadowBridge", "Paste address from clipboard"),
105+
QT_TRANSLATE_NOOP("ShadowBridge", "Remove this recipient"),
106+
QT_TRANSLATE_NOOP("ShadowBridge", "Send from public or private"),
107+
QT_TRANSLATE_NOOP("ShadowBridge", "Current spendable send payment balance"),
108+
QT_TRANSLATE_NOOP("ShadowBridge", "Send to public or private"),
109+
QT_TRANSLATE_NOOP("ShadowBridge", "Current spendable balance to account"),
110+
QT_TRANSLATE_NOOP("ShadowBridge", "The address transfer the balance to"),
111+
QT_TRANSLATE_NOOP("ShadowBridge", "The address to transfer the balance to"),
112+
QT_TRANSLATE_NOOP("ShadowBridge", "The label for this address"),
113+
QT_TRANSLATE_NOOP("ShadowBridge", "Amount to transfer"),
114+
QT_TRANSLATE_NOOP("ShadowBridge", "Send to multiple recipients at once"),
115+
QT_TRANSLATE_NOOP("ShadowBridge", "Date and time that the transaction was received."),
116+
QT_TRANSLATE_NOOP("ShadowBridge", "Transaction status. Hover over this field to show number of confirmations."),
117+
QT_TRANSLATE_NOOP("ShadowBridge", "Type of transaction."),
118+
QT_TRANSLATE_NOOP("ShadowBridge", "Destination address of transaction."),
119+
QT_TRANSLATE_NOOP("ShadowBridge", "Short payment note."),
120+
QT_TRANSLATE_NOOP("ShadowBridge", "Amount removed from or added to balance."),
121+
QT_TRANSLATE_NOOP("ShadowBridge", "The address to send the payment to (e.g. SXywGBZBowrppUwwNUo1GCRDTibzJi7g2M)"),
122+
QT_TRANSLATE_NOOP("ShadowBridge", "Choose address from address book"),
123+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter a public key for the address above"),
124+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter a label for this group"),
125+
QT_TRANSLATE_NOOP("ShadowBridge", "Name for this Wallet"),
126+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter a password"),
127+
QT_TRANSLATE_NOOP("ShadowBridge", "Would you like to create a bip44 path?"),
128+
QT_TRANSLATE_NOOP("ShadowBridge", "Your recovery phrase (Keep this safe!)"),
129+
QT_TRANSLATE_NOOP("ShadowBridge", "Recovery Phrase"),
130+
QT_TRANSLATE_NOOP("ShadowBridge", "Wallet Name for recovered account"),
131+
QT_TRANSLATE_NOOP("ShadowBridge", "Enter the password for the wallet you are trying to recover"),
132+
QT_TRANSLATE_NOOP("ShadowBridge", "Is this a bip44 path?"),
133+
QT_TRANSLATE_NOOP("ShadowBridge", "ID"),
134+
QT_TRANSLATE_NOOP("ShadowBridge", "Created"),
135+
QT_TRANSLATE_NOOP("ShadowBridge", "Active Account"),
136+
QT_TRANSLATE_NOOP("ShadowBridge", "Default"),
137+
QT_TRANSLATE_NOOP("ShadowBridge", "Path"),
138+
QT_TRANSLATE_NOOP("ShadowBridge", "Active"),
139+
QT_TRANSLATE_NOOP("ShadowBridge", "Master"),
140+
141+
0 // Leave this here...
142+
};
143+
#endif // BRIDGETRANSLATIONS_H

0 commit comments

Comments
 (0)