Code cleanup

-Replace tabs with double-spaces
-Betting spacing and lining up of code functions
-Add missing semi-colons
-Remove extra characters and spaces where applicable
-Remove commented-out code fragments
-Add missing 2021 date to LICENSE
-Small touchups and other misc nitpickings
This commit is contained in:
joeuhren
2021-03-17 17:54:09 -06:00
parent 8304eb211d
commit 20c0a382a3
42 changed files with 1001 additions and 860 deletions
+139 -141
View File
@@ -1,152 +1,150 @@
/*
This file must be valid JSON. But comments are allowed
*/
/* This file must be valid JSON. But comments are allowed */
{
// menu items
"menu_explorer": "Explorer",
"menu_api": "API",
"menu_markets": "Markets",
"menu_richlist": "Top 100",
"menu_reward": "Reward",
"menu_movement": "Movement",
"menu_node": "Nodes",
"menu_network": "Network",
"menu_claim_address": "Claim Address",
// menu items
"menu_explorer": "Explorer",
"menu_api": "API",
"menu_markets": "Markets",
"menu_richlist": "Top 100",
"menu_reward": "Reward",
"menu_movement": "Movement",
"menu_node": "Nodes",
"menu_network": "Network",
"menu_claim_address": "Claim Address",
// explorer view
"ex_title": "Block Explorer",
"ex_search_title": "Search",
"ex_search_button": "Search",
"ex_search_message": "You may enter a block height, block hash, tx hash or address.",
"ex_error": "Error!",
"ex_search_error": "Search found no results for: ",
"ex_latest_transactions": "Latest Transactions",
"ex_summary": "Block Summary",
"ex_supply": "Coin Supply",
"ex_block": "Block",
// explorer view
"ex_title": "Block Explorer",
"ex_search_title": "Search",
"ex_search_button": "Search",
"ex_search_message": "You may enter a block height, block hash, tx hash or address.",
"ex_error": "Error!",
"ex_search_error": "Search found no results for: ",
"ex_latest_transactions": "Latest Transactions",
"ex_summary": "Block Summary",
"ex_supply": "Coin Supply",
"ex_block": "Block",
// transaction view
"tx_title": "Transaction Details",
"tx_block_hash": "Block Hash",
"tx_recipients": "Recipients",
"tx_contributors": "Input Addresses",
"tx_hash": "Hash",
"tx_address": "Address",
"tx_nonstandard": "NONSTANDARD TX",
"view_raw_tx_data": "View Raw Transaction Data",
"view_block": "View Block",
// transaction view
"tx_title": "Transaction Details",
"tx_block_hash": "Block Hash",
"tx_recipients": "Recipients",
"tx_contributors": "Input Addresses",
"tx_hash": "Hash",
"tx_address": "Address",
"tx_nonstandard": "NONSTANDARD TX",
"view_raw_tx_data": "View Raw Transaction Data",
"view_block": "View Block",
// block view
"block_previous": "Previous Block",
"block_next": "Next Block",
"block_title": "Block Details",
"block_genesis": "GENESIS",
"view_raw_block_data": "View Raw Block Data",
"view_tx": "View Transaction",
// block view
"block_previous": "Previous Block",
"block_next": "Next Block",
"block_title": "Block Details",
"block_genesis": "GENESIS",
"view_raw_block_data": "View Raw Block Data",
"view_tx": "View Transaction",
// global
"difficulty": "Difficulty",
"masternodecount": "Masternodes",
"network": "Network",
"height": "Height",
"timestamp": "Timestamp",
"size": "Size",
"transactions": "Transactions",
"total_sent": "Total Sent",
"total_received": "Total Received",
"confirmations": "Confirmations",
"total": "Total",
"total_top_100": "Top 1-100 Total",
"bits": "Bits",
"nonce": "Nonce",
"new_coins": "New Coins",
"proof_of_stake": "PoS",
"hidden_sender": "Hidden Sender",
"hidden_recipient": "Hidden Recipient",
"initial_index_alert": "Blockchain data is currently being synchronized. You may browse the site during this time, but keep in mind that data may not yet be fully accurate and some functionality may not work until synchronization is complete.",
// global
"difficulty": "Difficulty",
"masternodecount": "Masternodes",
"network": "Network",
"height": "Height",
"timestamp": "Timestamp",
"size": "Size",
"transactions": "Transactions",
"total_sent": "Total Sent",
"total_received": "Total Received",
"confirmations": "Confirmations",
"total": "Total",
"total_top_100": "Top 1-100 Total",
"bits": "Bits",
"nonce": "Nonce",
"new_coins": "New Coins",
"proof_of_stake": "PoS",
"hidden_sender": "Hidden Sender",
"hidden_recipient": "Hidden Recipient",
"initial_index_alert": "Blockchain data is currently being synchronized. You may browse the site during this time, but keep in mind that data may not yet be fully accurate and some functionality may not work until synchronization is complete.",
//address menu
"a_menu_showing": "Showing last",
"a_menu_txs": "transactions",
"a_menu_all": "All",
"a_qr": "QR Code",
// address menu
"a_menu_showing": "Showing last",
"a_menu_txs": "transactions",
"a_menu_all": "All",
"a_qr": "QR Code",
//richlist
"rl_received_coins": "Top 100 - Received Coins",
"rl_current_balance": "Top 100 - Current Balance",
"rl_received": "Received",
"rl_balance": "Balance",
"rl_wealth": "Wealth Distribution",
"rl_top25": "Top 1-25",
"rl_top50": "Top 26-50",
"rl_top75": "Top 51-75",
"rl_top100": "Top 76-100",
"rl_hundredplus": "101+",
// richlist
"rl_received_coins": "Top 100 - Received Coins",
"rl_current_balance": "Top 100 - Current Balance",
"rl_received": "Received",
"rl_balance": "Balance",
"rl_wealth": "Wealth Distribution",
"rl_top25": "Top 1-25",
"rl_top50": "Top 26-50",
"rl_top75": "Top 51-75",
"rl_top100": "Top 76-100",
"rl_hundredplus": "101+",
"net_addnodes": "Add Nodes",
"net_connections": "Connections",
"net_address": "Address",
"net_protocol": "Protocol",
"net_subversion": "Sub-version",
"net_country": "Country",
"net_warning": "This is sub sample of the network based on wallets that have connected to this node in the last 24 hours.",
"net_addnodes": "Add Nodes",
"net_connections": "Connections",
"net_address": "Address",
"net_protocol": "Protocol",
"net_subversion": "Sub-version",
"net_country": "Country",
"net_warning": "This is sub sample of the network based on wallets that have connected to this node in the last 24 hours.",
// api view
"api_title": "API Documentation",
"api_message": "The block explorer provides an API allowing users and/or applications to retrieve information from the network without the need for a local wallet.",
"api_calls": "API Calls",
"api_getnetworkhashps": "Returns the current network hashrate. (hash/s)",
"api_getdifficulty": "Returns the current difficulty.",
"api_getconnectioncount": "Returns the number of connections the block explorer has to other nodes.",
"api_getmasternodelist": "Returns the complete list of masternodes on the network.",
"api_getmasternodecount": "Returns the total number of masternodes on the network.",
"api_getvotelist": "Returns the current vote list.",
"api_getblockcount": "Returns the current block index.",
"api_getblockhash": "Returns the hash of the block at [index]; index 0 is the genesis block.",
"api_getblock": "Returns information about the block with the given hash.",
"api_getrawtransaction": "Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).",
"api_getmaxmoney": "Returns the maximum possible money supply.",
"api_getmaxvote": "Returns the maximum allowed vote for the current phase of voting.",
"api_getvote": "Returns the current block reward vote setting.",
"api_getphase": "Returns the current voting phase ('Mint', 'Limit' or 'Sustain').",
"api_getreward": "Returns the current block reward, which has been decided democratically in the previous round of block reward voting.",
"api_getsupply": "Returns the current money supply.",
"api_getnextrewardestimate": "Returns an estimate for the next block reward based on the current state of decentralized voting.",
"api_getnextrewardwhenstr": "Returns a string describing how long until the votes are tallied and the next block reward is computed.",
// api view
"api_title": "API Documentation",
"api_message": "The block explorer provides an API allowing users and/or applications to retrieve information from the network without the need for a local wallet.",
"api_calls": "API Calls",
"api_getnetworkhashps": "Returns the current network hashrate. (hash/s)",
"api_getdifficulty": "Returns the current difficulty.",
"api_getconnectioncount": "Returns the number of connections the block explorer has to other nodes.",
"api_getmasternodelist": "Returns the complete list of masternodes on the network.",
"api_getmasternodecount": "Returns the total number of masternodes on the network.",
"api_getvotelist": "Returns the current vote list.",
"api_getblockcount": "Returns the current block index.",
"api_getblockhash": "Returns the hash of the block at [index]; index 0 is the genesis block.",
"api_getblock": "Returns information about the block with the given hash.",
"api_getrawtransaction": "Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).",
"api_getmaxmoney": "Returns the maximum possible money supply.",
"api_getmaxvote": "Returns the maximum allowed vote for the current phase of voting.",
"api_getvote": "Returns the current block reward vote setting.",
"api_getphase": "Returns the current voting phase ('Mint', 'Limit' or 'Sustain').",
"api_getreward": "Returns the current block reward, which has been decided democratically in the previous round of block reward voting.",
"api_getsupply": "Returns the current money supply.",
"api_getnextrewardestimate": "Returns an estimate for the next block reward based on the current state of decentralized voting.",
"api_getnextrewardwhenstr": "Returns a string describing how long until the votes are tallied and the next block reward is computed.",
// Markets view
"mkt_hours": "24 hours",
"mkt_view_chart": "View 24 hour summary",
"mkt_view_summary": "View 24 hour chart",
"mkt_no_chart": "Chart data is not available via markets API",
"mkt_high": "High",
"mkt_low": "Low",
"mkt_volume": "Volume",
"mkt_top_bid": "Top Bid",
"mkt_top_ask": "Top Ask",
"mkt_last": "Last Price",
"mkt_yesterday": "Yesterday",
"mkt_change": "Change",
"mkt_sell_orders": "Sell Orders",
"mkt_buy_orders": "Buy Orders",
"mkt_price": "Price",
"mkt_amount": "Amount",
"mkt_total": "Total",
"mkt_trade_history": "Trade History",
"mkt_type": "Type",
"mkt_time_stamp": "Time Stamp",
"mkt_select": "Market Select",
// markets view
"mkt_hours": "24 hours",
"mkt_view_chart": "View 24 hour summary",
"mkt_view_summary": "View 24 hour chart",
"mkt_no_chart": "Chart data is not available via markets API",
"mkt_high": "High",
"mkt_low": "Low",
"mkt_volume": "Volume",
"mkt_top_bid": "Top Bid",
"mkt_top_ask": "Top Ask",
"mkt_last": "Last Price",
"mkt_yesterday": "Yesterday",
"mkt_change": "Change",
"mkt_sell_orders": "Sell Orders",
"mkt_buy_orders": "Buy Orders",
"mkt_price": "Price",
"mkt_amount": "Amount",
"mkt_total": "Total",
"mkt_trade_history": "Trade History",
"mkt_type": "Type",
"mkt_time_stamp": "Time Stamp",
"mkt_select": "Market Select",
// Heavycoin rewards view
"heavy_title": "Reward/voting information",
"heavy_vote": "Vote",
"heavy_cap": "Coin Cap",
"heavy_phase": "Phase",
"heavy_maxvote": "Max Vote",
"heavy_reward": "Reward",
"heavy_current": "Current Reward",
"heavy_estnext": "Est. Next",
"heavy_changein": "Reward change in approximately",
"heavy_key": "Key",
"heavy_lastxvotes": "Last 20 votes",
}
// heavycoin rewards view
"heavy_title": "Reward/voting information",
"heavy_vote": "Vote",
"heavy_cap": "Coin Cap",
"heavy_phase": "Phase",
"heavy_maxvote": "Max Vote",
"heavy_reward": "Reward",
"heavy_current": "Current Reward",
"heavy_estnext": "Est. Next",
"heavy_changein": "Reward change in approximately",
"heavy_key": "Key",
"heavy_lastxvotes": "Last 20 votes"
}