]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
Fix typos
authorDimitris Apostolou <dimitris.apostolou@icloud.com>
Mon, 9 Jan 2023 02:17:25 +0000 (04:17 +0200)
committerDimitris Apostolou <dimitris.apostolou@icloud.com>
Mon, 9 Jan 2023 02:17:25 +0000 (04:17 +0200)
22 files changed:
cmake/FindPolyseed.cmake
cmake/FindQREncode.cmake
src/MainWindow.cpp
src/MainWindow.h
src/assets/ack.txt
src/dialog/DebugInfoDialog.cpp
src/dialog/DebugInfoDialog.h
src/dialog/TxConfAdvDialog.cpp
src/dialog/TxProofDialog.cpp
src/dialog/ViewOnlyDialog.cpp
src/dialog/ViewOnlyDialog.h
src/libwalletqt/PassphraseHelper.h
src/libwalletqt/Wallet.cpp
src/libwalletqt/Wallet.h
src/libwalletqt/WalletManager.h
src/model/SubaddressModel.cpp
src/model/SubaddressModel.h
src/model/TransactionHistoryProxyModel.cpp
src/monero_seed/README.md
src/ui/qdarkstyle/style.qss
src/utils/AsyncTask.h
src/utils/nodes.cpp

index 54a710151183281e117b1a398bc2002d5897eb8d..0fb0d81ca5b9820f453eec7162da96d92ff378af 100644 (file)
@@ -7,4 +7,4 @@ if (NOT POLYSEED_INCLUDE_DIR OR NOT POLYSEED_LIBRARY)
     set(POLYSEED_LIBRARY polyseed_static)
 endif()
 message(STATUS "POLYSEED PATH ${POLYSEED_INCLUDE_DIR}")
-message(STATUS "POLYSEED LIBARY ${POLYSEED_LIBRARY}")
\ No newline at end of file
+message(STATUS "POLYSEED LIBRARY ${POLYSEED_LIBRARY}")
\ No newline at end of file
index 8fe6bbbcb97d5dd48a746cf8841057e672bddc6e..2bcde7345eff64a96762bb4edca1e658324b8a9f 100644 (file)
@@ -2,7 +2,7 @@ find_path(QRENCODE_INCLUDE_DIR qrencode.h)
 message(STATUS "QRENCODE PATH ${QRENCODE_INCLUDE_DIR}")
 
 find_library(QRENCODE_LIBRARY qrencode)
-message(STATUS "QRENCODE LIBARY ${QRENCODE_LIBRARY}")
+message(STATUS "QRENCODE LIBRARY ${QRENCODE_LIBRARY}")
 
 mark_as_advanced(QRENCODE_LIBRARY QRENCODE_INCLUDE_DIR)
 
index 3f64f947f2bd138fb1948c73303059241bfac23a..65a8d1b8bc600ba4068d690f0d9b2810d151c877 100644 (file)
@@ -105,7 +105,7 @@ MainWindow::MainWindow(WindowManager *windowManager, Wallet *wallet, QWidget *pa
 
 void MainWindow::initStatusBar() {
 #if defined(Q_OS_WIN)
-    // No seperators between statusbar widgets
+    // No separators between statusbar widgets
     this->statusBar()->setStyleSheet("QStatusBar::item {border: None;}");
 #endif
 
@@ -342,7 +342,7 @@ void MainWindow::initMenu() {
     connect(ui->actionAbout,             &QAction::triggered, this, &MainWindow::menuAboutClicked);
     connect(ui->actionOfficialWebsite,   &QAction::triggered, [this](){Utils::externalLinkWarning(this, "https://featherwallet.org");});
     connect(ui->actionDonate_to_Feather, &QAction::triggered, this, &MainWindow::donateButtonClicked);
-    connect(ui->actionDocumentation,     &QAction::triggered, this, &MainWindow::onShowDocumentaton);
+    connect(ui->actionDocumentation,     &QAction::triggered, this, &MainWindow::onShowDocumentation);
     connect(ui->actionReport_bug,        &QAction::triggered, this, &MainWindow::onReportBug);
     connect(ui->actionShow_debug_info,   &QAction::triggered, this, &MainWindow::showDebugInfo);
 
@@ -477,7 +477,7 @@ void MainWindow::onWalletOpened() {
             m_ctx->wallet->subaddress()->addRow(m_ctx->wallet->currentSubaddressAccount(), "");
         }
     }
-    m_ctx->wallet->subaddressModel()->setCurrentSubaddressAcount(m_ctx->wallet->currentSubaddressAccount());
+    m_ctx->wallet->subaddressModel()->setCurrentSubaddressAccount(m_ctx->wallet->currentSubaddressAccount());
 
     // history page
     m_ctx->wallet->history()->refresh(m_ctx->wallet->currentSubaddressAccount());
@@ -1501,7 +1501,7 @@ void MainWindow::onCreateDesktopEntry(bool checked) {
     QMessageBox::information(this, "Desktop entry", msg);
 }
 
-void MainWindow::onShowDocumentaton() {
+void MainWindow::onShowDocumentation() {
     Utils::externalLinkWarning(this, "https://docs.featherwallet.org");
 }
 
index 6079715008a2ba724e0ed82a0ed9d0e07d3e56a0..aad3082a42bdcd3a0c77607cc2857d0082209720 100644 (file)
@@ -119,7 +119,7 @@ private slots:
     void onExportHistoryCSV(bool checked);
     void onExportContactsCSV(bool checked);
     void onCreateDesktopEntry(bool checked);
-    void onShowDocumentaton();
+    void onShowDocumentation();
     void onReportBug(bool checked);
     void onShowSettingsPage(int page);
 
@@ -215,7 +215,7 @@ private:
     void addToRecentlyOpened(const QString &filename);
     void updateRecentlyOpenedMenu();
     void updateWidgetIcons();
-    bool verifyPassword(bool senstive = true);
+    bool verifyPassword(bool sensitive = true);
     void patchStylesheetMac();
     void fillSendTab(const QString &address, const QString &description);
     void userActivity();
index 8646110fb7308d0278cffb467dbba06a65da736e..fcb91218fc3e907c3172349ff6a7867f847face7 100644 (file)
@@ -1,6 +1,6 @@
 • The wallet UI is heavily inspired by Electrum. We would like to recognize Thomas Voegtlin for his pioneering work on Bitcoin.
 
-• Feather uses the monero-seed libary written by Tevador for 14 word mnemonic seeds.
+• Feather uses the monero-seed library written by Tevador for 14 word mnemonic seeds.
 
 • Wizard banner art was adapted from a paper wallet design by the themonera (themonera.art).
 
index 5ad6b75458d01f91aef6e79cc567cd45c7cdbd57..40b9cf21c6af41b8ec107d625c3915b6a9be29e6 100644 (file)
@@ -123,7 +123,7 @@ QString DebugInfoDialog::statusToString(Wallet::ConnectionStatus status) {
     }
 }
 
-void DebugInfoDialog::copyToClipboad() {
+void DebugInfoDialog::copyToClipboard() {
     // Two spaces at the end of each line are for newlines in Markdown
     QString text = "";
     text += QString("Feather version: %1  \n").arg(ui->label_featherVersion->text());
index baf27454d72531e86e15ccd912a002b44425bc17..a3224a4a598002b65154e02c2235e965f3d4f6d1 100644 (file)
@@ -24,7 +24,7 @@ public:
 
 private:
     QString statusToString(Wallet::ConnectionStatus status);
-    void copyToClipboad();
+    void copyToClipboard();
     void updateInfo();
 
     QScopedPointer<Ui::DebugInfoDialog> ui;
index 4c3fb9b278c356d5d518fc64f37094317fdc092b..c021d0d33006ea27be62891aeece88f3702ecd60 100644 (file)
@@ -164,7 +164,7 @@ void TxConfAdvDialog::signTransaction() {
     if(fn.isEmpty()) return;
 
     m_utx->sign(fn) ? QMessageBox::information(this, "Sign transaction", "Transaction saved successfully")
-                    : QMessageBox::warning(this, "Sign transaction", "Failes to save transaction to file.");
+                    : QMessageBox::warning(this, "Sign transaction", "Failed to save transaction to file.");
 }
 
 void TxConfAdvDialog::unsignedSaveFile() {
index e2dd843ce79863b30e91c3ee725c53b1a7ada9b6..bff827ecc96f5002b1e14086737cd3b5eeb34d9f 100644 (file)
@@ -221,7 +221,7 @@ void TxProofDialog::getSignature() {
     }
 
     Utils::copyToClipboard(proof.proof);
-    QMessageBox::information(this, "Get proof singature", "Proof signature copied to clipboard");
+    QMessageBox::information(this, "Get proof signature", "Proof signature copied to clipboard");
 }
 
 TxProof TxProofDialog::getProof() {
index f8f742957b47b60b58f7f86d0932530df82a9897..65e428e147958db9e5dd30d7848a3b056dc390cb 100644 (file)
@@ -19,7 +19,7 @@ ViewOnlyDialog::ViewOnlyDialog(QSharedPointer<AppContext> ctx, QWidget *parent)
     ui->label_primaryAddress->setText(m_ctx->wallet->address(0, 0));
     ui->label_secretViewKey->setText(m_ctx->wallet->getSecretViewKey());
 
-    connect(ui->btn_Copy, &QPushButton::clicked, this, &ViewOnlyDialog::copyToClipboad);
+    connect(ui->btn_Copy, &QPushButton::clicked, this, &ViewOnlyDialog::copyToClipboard);
     connect(ui->btn_Save, &QPushButton::clicked, this, &ViewOnlyDialog::onWriteViewOnlyWallet);
 
     if (m_ctx->wallet->viewOnly()) {
@@ -50,7 +50,7 @@ void ViewOnlyDialog::onWriteViewOnlyWallet(){
     QMessageBox::information(this, "Information", "View-only wallet successfully written to disk.");
 }
 
-void ViewOnlyDialog::copyToClipboad() {
+void ViewOnlyDialog::copyToClipboard() {
     QString text = "";
     text += QString("Address: %1\n").arg(ui->label_primaryAddress->text());
     text += QString("Secret view key: %1\n").arg(ui->label_secretViewKey->text());
index 940e3aea2a9edbdeda94ad6bb5934568ac61ba97..0954ade5876719c9f313bef1e104321251db90d9 100644 (file)
@@ -25,7 +25,7 @@ private slots:
     void onWriteViewOnlyWallet();
 
 private:
-    void copyToClipboad();
+    void copyToClipboard();
 
     QScopedPointer<Ui::ViewOnlyDialog> ui;
     QSharedPointer<AppContext> m_ctx;
index dba5d40bb4cc5272687c49f07adb7ec6748c43be..8cd474f0493cf195e7c020be2cb2945828d7a23a 100644 (file)
@@ -31,13 +31,13 @@ public:
 
 class PassphraseHelper {
 public:
-    PassphraseHelper(PassprasePrompter * prompter=nullptr): m_prompter(prompter) {};
+    PassphraseHelper(PassphrasePrompter * prompter=nullptr): m_prompter(prompter) {};
     PassphraseHelper(const PassphraseHelper & h): PassphraseHelper(h.m_prompter) {};
     Monero::optional<std::string> onDevicePassphraseRequest(bool & on_device);
     void onPassphraseEntered(const QString &passphrase, bool enter_on_device, bool entry_abort);
 
 private:
-    PassprasePrompter * m_prompter;
+    PassphrasePrompter * m_prompter;
     QWaitCondition m_cond_pass;
     QMutex m_mutex_pass;
     QString m_passphrase;
index 7b4402d447e0dbdc4ab4046c2af7df31aafb85f9..8e6ec862da9f96b82bc01e2b8bbe0dc029ada1a6 100644 (file)
@@ -372,7 +372,7 @@ void Wallet::switchSubaddressAccount(quint32 accountIndex)
         m_subaddress->refresh(m_currentSubaddressAccount);
         m_history->refresh(m_currentSubaddressAccount);
         m_coins->refresh(m_currentSubaddressAccount);
-        this->subaddressModel()->setCurrentSubaddressAcount(m_currentSubaddressAccount);
+        this->subaddressModel()->setCurrentSubaddressAccount(m_currentSubaddressAccount);
         this->coinsModel()->setCurrentSubaddressAccount(m_currentSubaddressAccount);
         emit currentSubaddressAccountChanged();
     }
index 362608224052705514de0b84f2aa00b33de0d41c..231af9404f91d2ef192b1d40ce0e161e5f1d99c3 100644 (file)
@@ -72,7 +72,7 @@ struct TxProofResult {
     uint64_t confirmations;
 };
 
-class Wallet : public QObject, public PassprasePrompter
+class Wallet : public QObject, public PassphrasePrompter
 {
 Q_OBJECT
 
@@ -361,19 +361,19 @@ public:
     //! returns Address book
     AddressBook *addressBook() const;
 
-    //! returns adress book model
+    //! returns address book model
     AddressBookModel *addressBookModel() const;
 
     //! returns subaddress
     Subaddress *subaddress();
 
-    //! returns subadress model
+    //! returns subaddress model
     SubaddressModel *subaddressModel();
 
     //! returns subaddress account
     SubaddressAccount *subaddressAccount() const;
 
-    //! returns subadress account model
+    //! returns subaddress account model
     SubaddressAccountModel *subaddressAccountModel() const;
 
     //! returns coins
@@ -437,7 +437,7 @@ public:
 
     QString getDaemonLogPath() const;
 
-    // Blackalled outputs
+    // Blackballed outputs
     bool blackballOutput(const QString &amount, const QString &offset);
     bool blackballOutputs(const QList<QString> &outputs, bool add);
     bool blackballOutputs(const QString &filename, bool add);
@@ -464,7 +464,7 @@ public:
 
     bool setRingDatabase(const QString &path);
 
-    // TODO: setListenter() when it implemented in API
+    // TODO: setListener() when it implemented in API
 signals:
     // emitted on every event happened with wallet
     // (money sent/received, new block)
index 15f44b0d784d83b8e611cf6b786651f9cde6a171..8b5fd07e03995654f9b2f16ef3af6f48ff66e2b4 100644 (file)
@@ -19,7 +19,7 @@ namespace Monero {
     struct WalletManager;
 }
 
-class WalletManager : public QObject, public PassprasePrompter
+class WalletManager : public QObject, public PassphrasePrompter
 {
     Q_OBJECT
 
index 40d0f0f9275788565b604692cc51b079db14deee..ec2c9e6a061881efb7170d475a2c6edab3b07bdc 100644 (file)
@@ -143,7 +143,7 @@ bool SubaddressModel::setData(const QModelIndex &index, const QVariant &value, i
 
         switch (index.column()) {
             case Label:
-                m_subaddress->setLabel(m_currentSubaddressAcount, row, value.toString());
+                m_subaddress->setLabel(m_currentSubaddressAccount, row, value.toString());
                 break;
             default:
                 return false;
@@ -180,8 +180,8 @@ int SubaddressModel::unusedLookahead() const {
     return m_subaddress->unusedLookahead();
 }
 
-void SubaddressModel::setCurrentSubaddressAcount(quint32 accountIndex) {
-    m_currentSubaddressAcount = accountIndex;
+void SubaddressModel::setCurrentSubaddressAccount(quint32 accountIndex) {
+    m_currentSubaddressAccount = accountIndex;
 }
 
 Monero::SubaddressRow* SubaddressModel::entryFromIndex(const QModelIndex &index) const {
index 233ac782f9aebc33f9fca23cf84830cd2ca6725e..85bec3416620c72265a1a84c3bf688e97e7d11d5 100644 (file)
@@ -40,7 +40,7 @@ public:
 
     Monero::SubaddressRow* entryFromIndex(const QModelIndex &index) const;
 
-    void setCurrentSubaddressAcount(quint32 accountIndex);
+    void setCurrentSubaddressAccount(quint32 accountIndex);
     int unusedLookahead() const;
 
 public slots:
@@ -52,7 +52,7 @@ private:
     QVariant parseSubaddressRow(const Monero::SubaddressRow &subaddress, const QModelIndex &index, int role) const;
 
     bool m_showFullAddresses;
-    quint32 m_currentSubaddressAcount;
+    quint32 m_currentSubaddressAccount;
 };
 
 #endif // SUBADDRESSMODEL_H
index 5e090cc2b0944af7fc68ca0d35253a3eae91b26e..e905c62ced1ddef567494d743e4f76ded853d1eb 100644 (file)
@@ -22,20 +22,20 @@ TransactionHistory* TransactionHistoryProxyModel::history() {
 bool TransactionHistoryProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
 {
     QString description, txid, subaddrlabel;
-    quint32 subaddrAcount;
+    quint32 subaddrAccount;
     QSet<quint32> subaddrIndex;
 
-    m_history->transaction(sourceRow, [&description, &txid, &subaddrlabel, &subaddrAcount, &subaddrIndex](TransactionInfo &tInfo){
+    m_history->transaction(sourceRow, [&description, &txid, &subaddrlabel, &subaddrAccount, &subaddrIndex](TransactionInfo &tInfo){
         description = tInfo.description();
         txid = tInfo.hash();
         subaddrlabel = tInfo.label();
-        subaddrAcount = tInfo.subaddrAccount();
+        subaddrAccount = tInfo.subaddrAccount();
         subaddrIndex = tInfo.subaddrIndex();
     });
 
     bool addressFound;
     for (quint32 i : subaddrIndex) {
-        QString address = m_wallet->address(subaddrAcount, i);
+        QString address = m_wallet->address(subaddrAccount, i);
         addressFound = address.contains(m_searchRegExp);
         if (addressFound) break;
     }
index e40d1ec4ab17df85e6649861bbbec7aded18429a..97e61518cb77dfadf9b1ab945b6ba01cfdf71a79 100644 (file)
@@ -1,7 +1,7 @@
 ## Note to package maintainers:
 
 This library was vendored because it is **deprecated** and **unmaintained**, it is kept for legacy reasons only.
-Feather is the only project that will ever use this code, thus it is considered part of Feather source. 
+Feather is the only project that will ever use this code, thus it is considered part of Feather source.
 Do NOT unvendor this code.
 
 ---
@@ -25,7 +25,7 @@ The mnemonic phrase contains 154 bits of data, which are used as follows:
 ### Wordlist
 
 The mnemonic phrase uses the BIP-39 wordlist, which has 2048 words, allowing 11 bits to be stored in each word. It has some additional useful properties,
-for example each word can be uniquly identified by its first 4 characters. The wordlist is available for 9 languages (this repository only uses the English list).
+for example each word can be uniquely identified by its first 4 characters. The wordlist is available for 9 languages (this repository only uses the English list).
 
 ### Reserved bits
 
index a85365fd1cd5b9ac24b5f79d6205d39b7c1fae34..48b3b1b2a7aaf52f660fbcc8dda8b5777e941308 100644 (file)
@@ -15,7 +15,7 @@ And each widget is separated with a header like this:
     QWidgetName ------
 
 This makes more easy to find and change some css field. The basic
-configuration is described bellow.
+configuration is described below.
 
     BACKGROUND -----------
 
@@ -1400,7 +1400,7 @@ QLineEdit:selected {
   color: #32414B;
 }
 
-/* QTabWiget --------------------------------------------------------------
+/* QTabWidget --------------------------------------------------------------
 
 https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
 
@@ -1676,7 +1676,7 @@ QTabBar QToolButton::right-arrow:disabled {
   image: url(":/qss_icons/rc/arrow_right_disabled.png");
 }
 
-/* QDockWiget -------------------------------------------------------------
+/* QDockWidget -------------------------------------------------------------
 
 --------------------------------------------------------------------------- */
 QDockWidget {
index 1a289dbaff76eaea2bad7ee45b42392fc83f9c62..d79f31c42dd0b2cbfef35f5e2458b6f21f69e3df 100644 (file)
@@ -65,7 +65,7 @@ namespace AsyncTask
      *
      * @param task std::function object to run
      * @param context QObject responsible for calling this function
-     * @param callback std::function object to run after the task completess
+     * @param callback std::function object to run after the task completes
      */
     template <typename FunctionObject, typename FunctionObject2>
     void runThenCallback(FunctionObject task, QObject* context, FunctionObject2 callback)
index e53c871f96ad02ad1e9f7511b72dc41acc0763fe..a31fb856c2ca6b9e028e166623697184c16fe0db 100644 (file)
@@ -146,7 +146,7 @@ void Nodes::loadConfig() {
         qDebug() << QString("Loaded %1 custom nodes from config").arg(m_customNodes.count());
     }
 
-    // No nodes cached, fallback to hardcorded list
+    // No nodes cached, fallback to hardcoded list
     if (m_websocketNodes.count() == 0) {
         QByteArray file = Utils::fileOpenQRC(":/assets/nodes.json");
         QJsonDocument nodes_json = QJsonDocument::fromJson(file);