Skip to content

Commit 593ac9b

Browse files
author
Jon Layton
committed
Tab names capitalized, Own identity -> My Identity, Send cash -> Send ZCL, syntax
1 parent 6bd648d commit 593ac9b

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

src/java/com/vaklinov/zcashui/AboutDialog.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class AboutDialog
6161
public AboutDialog(JFrame parent)
6262
throws UnsupportedEncodingException
6363
{
64-
this.setTitle("About...");
64+
this.setTitle("About");
6565
this.setSize(620, 440);
6666
this.setLocation(100, 100);
6767
this.setLocationRelativeTo(parent);
@@ -233,7 +233,7 @@ public void actionPerformed(ActionEvent e) {
233233
" Copyright (c) 2018 Jon Layton <[email protected]> \n" +
234234
" Donate ZCL: zcF3db2JwLNHa917NfbfFR2EJWXgowFmQ4bvouJEvGmPjLPcH7hyAhpSAFUhm7ANiBJfzMpJHMkp363r7M3GEC8g8oQXJ5n " +
235235
"\n" +
236-
"\n"
236+
"\n" +
237237
" Copyright (c) 2016-2017 Ivan Vaklinov <[email protected]> \n" +
238238
"\n" +
239239
" Permission is hereby granted, free of charge, to any person obtaining a copy\n" +

src/java/com/vaklinov/zcashui/SendCashPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public SendCashPanel(ZCashClientCaller clientCaller,
126126
sendCashPanel.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED));
127127

128128
JPanel tempPanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 0, 0));
129-
tempPanel.add(new JLabel("Send cash from: "));
129+
tempPanel.add(new JLabel("Send ZCL from: "));
130130
tempPanel.add(new JLabel(
131131
"<html><span style=\"font-size:0.8em;\">" +
132132
"* Only addresses with a confirmed balance are shown as sources for sending!" +

src/java/com/vaklinov/zcashui/WalletOperations.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public void showPrivateKey()
354354
{
355355
JOptionPane.showMessageDialog(
356356
this.parent,
357-
"Please select an address in the \"Own addresses\" tab " +
357+
"Please select an address in the \"My Addresses\" tab " +
358358
"to view its private key",
359359
"Please select an address...", JOptionPane.INFORMATION_MESSAGE);
360360
this.tabs.setSelectedIndex(1);

src/java/com/vaklinov/zcashui/ZCashUI.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@ public ZCashUI(StartupProgressDialog progressDialog)
154154
new ImageIcon(cl.getResource("images/overview.png")),
155155
dashboard = new DashboardPanel(this, installationObserver, clientCaller,
156156
errorReporter, backupTracker));
157-
tabs.addTab("Own addresses ",
157+
tabs.addTab("My Addresses ",
158158
new ImageIcon(cl.getResource("images/own-addresses.png")),
159159
addresses = new AddressesPanel(this, clientCaller, errorReporter));
160-
tabs.addTab("Send cash ",
160+
tabs.addTab("Send ZCL ",
161161
new ImageIcon(cl.getResource("images/send.png")),
162162
sendPanel = new SendCashPanel(clientCaller, errorReporter, installationObserver, backupTracker));
163-
tabs.addTab("Address book ",
163+
tabs.addTab("Address Book ",
164164
new ImageIcon(cl.getResource("images/address-book.png")),
165165
addressBookPanel = new AddressBookPanel(sendPanel, tabs));
166166
tabs.addTab("Messaging ",
@@ -219,9 +219,9 @@ public ZCashUI(StartupProgressDialog progressDialog)
219219

220220
JMenu messaging = new JMenu("Messaging");
221221
messaging.setMnemonic(KeyEvent.VK_S);
222-
messaging.add(menuItemOwnIdentity = new JMenuItem("Own identity...", KeyEvent.VK_D));
222+
messaging.add(menuItemOwnIdentity = new JMenuItem("My Identity...", KeyEvent.VK_D));
223223
menuItemOwnIdentity.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_D, accelaratorKeyMask));
224-
messaging.add(menuItemExportOwnIdentity = new JMenuItem("Export own identity...", KeyEvent.VK_X));
224+
messaging.add(menuItemExportOwnIdentity = new JMenuItem("Export my identity...", KeyEvent.VK_X));
225225
menuItemExportOwnIdentity.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, accelaratorKeyMask));
226226
messaging.add(menuItemAddMessagingGroup = new JMenuItem("Add messaging group...", KeyEvent.VK_G));
227227
menuItemAddMessagingGroup.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_G, accelaratorKeyMask));

src/java/com/vaklinov/zcashui/msg/MessagingPanel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ public void tabSelected()
592592
return;
593593
}
594594

595-
// Own identity exists, check balance of T address !!! - must be none
595+
// My Identity exists, check balance of T address !!! - must be none
596596
MessagingIdentity ownIdentity = this.messagingStorage.getOwnIdentity();
597597
Cursor oldCursor = this.parentFrame.getCursor();
598598
String balance = null;
@@ -723,7 +723,7 @@ public void exportOwnIdentity()
723723
JOptionPane.showMessageDialog(
724724
this.parentFrame,
725725
"Your messaging identity is missing! Maybe it has not been created yet.\n" +
726-
"Use the menu option \"Messaging >> Own identity\" to crate it!",
726+
"Use the menu option \"Messaging >> My Identity\" to crate it!",
727727
"Messaging identity is not available", JOptionPane.ERROR_MESSAGE);
728728
return;
729729
}

0 commit comments

Comments
 (0)