Browse Source

datadir toaster extra details

v0.25
pbca26 7 years ago
parent
commit
4ceb255c80
  1. 4
      assets/mainWindow/js/loading.js
  2. 8
      react/src/translate/en.js

4
assets/mainWindow/js/loading.js

@ -131,9 +131,9 @@ function handleSaveSettings() {
remote.getCurrentWindow().testLocation(_configCopy.dataDir)
.then(function(res) {
if (res === -1) {
showToast('error', 'Komodo datadir path is invalid');
showToast('error', 'Komodo datadir path is invalid.<br>It must be an absolute path to an existing folder that doesn\'t contain spaces and/or any special characters.');
} else if (res === false) {
showToast('error', 'Komodo datadir path is not a directory');
showToast('error', 'Komodo datadir path is not a directory.<br>It must be an absolute path to an existing folder that doesn\'t contain spaces and/or any special characters.');
} else {
// save settings
remote.getCurrentWindow().updateAppSettings(_configCopy);

8
react/src/translate/en.js

@ -109,11 +109,12 @@ export const _lang = {
'BLOCKS_SM': 'blocks',
'LOADING_BLOCKS': 'Loading data please wait...',
'WEAK_SEED': 'Weak seed!',
'YOUR_SEED_MUST_CONTAIN': 'Your seed must contain:',
'YOUR_SEED_MUST_CONTAIN': 'Your seed must comply with the following rules:',
'YOUR_SEED_MUST_CONTAIN1': '- at least 1 upper case letter',
'YOUR_SEED_MUST_CONTAIN2': '- at least 1 digit',
'YOUR_SEED_MUST_CONTAIN3': '- at least 1 special character',
'YOUR_SEED_MUST_CONTAIN4': '- minimum 10 characters long',
'YOUR_SEED_MUST_CONTAIN5': '- maximum 100 characters long',
'EXECUTE': 'Execute',
'TYPE_CLI_CMD': 'Type in CLI compatible cmd',
'COIN': 'Coin',
@ -470,8 +471,8 @@ export const _lang = {
'CURRENT_BLOCK_SM': 'current block',
},
'TOASTR': {
'KOMODO_DATADIR_INVALID': 'Komodo datadir path is invalid',
'KOMODO_DATADIR_NOT_DIR': 'Komodo datadir path is not a directory',
'KOMODO_DATADIR_INVALID': 'Komodo datadir path is invalid.<br>It must be an absolute path to an existing folder that doesn\'t contain spaces and/or any special characters.',
'KOMODO_DATADIR_NOT_DIR': 'Komodo datadir path is not a directory.<br>It must be an absolute path to an existing folder that doesn\'t contain spaces and/or any special characters.',
'INVALID_ADDRESS': 'Invalid @template@ address',
'RESTART_AGAMA_WITH_REINDEX_PARAM': 'Restart Agama and run Komodo with -reindex param',
'JUMBLR_DEPOSIT_ADDRESS_SET': 'Jumblr deposit address is set',
@ -600,6 +601,7 @@ export const _lang = {
'JUMBLR_MOTTO': 'Secure, Native and Decentralised Coin Anonymizer',
},
'SETTINGS': {
'SHOW_APP_RUNTIME_LOG': 'Show app runtime log',
'WRONG_PASSPHRASE': 'Wrong passphrase!',
'SPV_SERVER_LIST_DESC': 'Server list selection is only available for active coins that have more than 1 server to connect to.',
'SPV_SERVERS': 'SPV servers list',

Loading…
Cancel
Save