diff --git a/docs/po/denaro.pot b/docs/po/denaro.pot index b1c70962..c71ee2eb 100644 --- a/docs/po/denaro.pot +++ b/docs/po/denaro.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/libdenaro/include/controllers/mainwindowcontroller.h b/libdenaro/include/controllers/mainwindowcontroller.h index fe92a070..5288441c 100644 --- a/libdenaro/include/controllers/mainwindowcontroller.h +++ b/libdenaro/include/controllers/mainwindowcontroller.h @@ -140,6 +140,12 @@ namespace Nickvision::Money::Shared::Controllers * @param path The path of the account file */ bool isAccountPasswordProtected(const std::filesystem::path& path) const; + /** + * @brief Creates a new account. + * @brief This method will invoke the AccountAdded event if the account is successfully created. + * @param newAccountDialogController The NewAccountDialogController for the new account + */ + void newAccount(const std::shared_ptr& newAccountDialogController); /** * @brief Opens an account. * @brief This method will invoke the AccountAdded event if the account is successfully opened. diff --git a/libdenaro/include/controllers/newaccountdialogcontroller.h b/libdenaro/include/controllers/newaccountdialogcontroller.h index a8ed17c8..9b2c3c83 100644 --- a/libdenaro/include/controllers/newaccountdialogcontroller.h +++ b/libdenaro/include/controllers/newaccountdialogcontroller.h @@ -4,6 +4,13 @@ #include #include #include +#include "models/accountmetadata.h" +#include "models/accounttype.h" +#include "models/amountstyle.h" +#include "models/currency.h" +#include "models/currencycheckstatus.h" +#include "models/remindersthreshold.h" +#include "models/transactiontype.h" namespace Nickvision::Money::Shared::Controllers { @@ -16,10 +23,101 @@ namespace Nickvision::Money::Shared::Controllers /** * @brief Constructs a NewAccountDialogController. */ - NewAccountDialogController(const std::vector& openAccounts); + NewAccountDialogController(); + /** + * @brief Gets the file path of the new account. + * @return The file path of the new account + */ + const std::filesystem::path& getFilePath() const; + /** + * @brief Gets the metadata of the new account. + * @return The metadata of the new account + */ + const Models::AccountMetadata& getMetadata() const; + /** + * @brief Gets the folder of the new account path. + * @return The folder of the new account path + */ + std::filesystem::path getFolder() const; + /** + * @brief Sets the folder of the new account path. + * @param folder The folder of the new account path + */ + void setFolder(const std::filesystem::path& folder); + /** + * @brief Sets the name of the new account. + * @param name The new name of the new account + * @return True if the name was set, else false (the new name results in an existing account path and overwrite is off) + */ + bool setName(const std::string& name); + /** + * @brief Gets the password of the new account. + * @return The password of the new account + */ + const std::string& getPassword() const; + /** + * @brief Sets the password of the new account. + * @param password The new password of the new account + */ + void setPassword(const std::string& password); + /** + * @brief Gets whether or not to overwrite an existing account. + * @return True to overwrite, else false + */ + bool getOverwriteExisting() const; + /** + * @brief Sets whether or not to overwrite an existing account. + * @param overwriteExisting True to overwrite, else false + */ + void setOverwriteExisting(bool overwriteExisting); + /** + * @brief Sets the account type of the new account. + * @param accountType The new account type of the new account + */ + void setAccountType(Models::AccountType accountType); + /** + * @brief Sets the default transaction type of the new account. + * @param defaultTransactionType The new default transaction type of the new account + */ + void setDefaultTransactionType(Models::TransactionType defaultTransactionType); + /** + * @brief Sets the transaction reminders threshold of the new account. + * @param transactionReminderThreshold The new transaction reminders threshold of the new account + */ + void setTransactionRemindersThreshold(Models::RemindersThreshold transactionReminderThreshold); + /** + * @brief Sets off the custom currency on the new account. + */ + void setCustomCurrencyOff(); + /** + * @brief Sets the custom currency of the new account. + * @param symbol The symbol of the new custom currency + * @param code The code of the new custom currency + * @param decimalSeparator The decimal separator of the new custom currency + * @param groupSeparator The group separator of the new custom currency + * @param decimalDigits The decimal digits of the new custom currency + * @param amountStyle The amount style of the new custom currency + * @return CurrencyCheckStatus + */ + Models::CurrencyCheckStatus setCustomCurrency(const std::string& symbol, const std::string& code, char decimalSeparator, char groupSeparator, int decimalDigits, Models::AmountStyle amountStyle); + /** + * @brief Gets the path of a file to import into the new account when created. + * @return The path of the file to import + */ + const std::filesystem::path& getImportFile() const; + /** + * @brief Sets the path of a file to import into the new account when created. + * @param importFile The path of the file to import + * @return True if the import file was set, else false (the file does not exist) + */ + bool setImportFile(const std::filesystem::path& importFile); private: - std::vector m_openAccounts; + std::filesystem::path m_path; + Models::AccountMetadata m_metadata; + std::string m_password; + bool m_overwriteExisting; + std::filesystem::path m_importFile; }; } diff --git a/libdenaro/src/controllers/mainwindowcontroller.cpp b/libdenaro/src/controllers/mainwindowcontroller.cpp index 2f97c7bd..391f5ef8 100644 --- a/libdenaro/src/controllers/mainwindowcontroller.cpp +++ b/libdenaro/src/controllers/mainwindowcontroller.cpp @@ -159,12 +159,7 @@ namespace Nickvision::Money::Shared::Controllers std::shared_ptr MainWindowController::createNewAccountDialogController() const { - std::vector openAccounts; - for(const std::pair>& pair : m_accountViewControllers) - { - openAccounts.push_back(pair.first); - } - return std::make_shared(openAccounts); + return std::make_shared(); } const std::shared_ptr& MainWindowController::getAccountViewController(const std::filesystem::path& path) const @@ -251,6 +246,51 @@ namespace Nickvision::Money::Shared::Controllers return a.isEncrypted(); } + void MainWindowController::newAccount(const std::shared_ptr& newAccountDialogController) + { + if(std::filesystem::exists(newAccountDialogController->getFilePath())) + { + //Check if overwrite is allowed + if(!newAccountDialogController->getOverwriteExisting()) + { + m_notificationSent.invoke({ _("This account already exists."), NotificationSeverity::Error }); + return; + } + //Check if the account is open in the app (cannot delete if open) + if(m_accountViewControllers.contains(newAccountDialogController->getFilePath())) + { + m_notificationSent.invoke({ _("This account cannot be overwritten."), NotificationSeverity::Error }); + return; + } + std::filesystem::remove(newAccountDialogController->getFilePath()); + } + Configuration& config{ Aura::getActive().getConfig("config") }; + //Create the new account + std::unique_ptr account{ std::make_unique(newAccountDialogController->getFilePath()) }; + account->login(""); + account->setMetadata(newAccountDialogController->getMetadata()); + account->importFromFile(newAccountDialogController->getImportFile(), config.getTransactionDefaultColor(), config.getGroupDefaultColor()); + account->changePassword(newAccountDialogController->getPassword()); + account.reset(); + //Create the controller and open the account + std::shared_ptr controller{ nullptr }; + try + { + controller = std::make_shared(newAccountDialogController->getFilePath(), newAccountDialogController->getPassword()); + } + catch(const std::exception& e) + { + m_notificationSent.invoke({ e.what(), NotificationSeverity::Error }); + } + if(controller) + { + m_accountViewControllers.emplace(std::make_pair(newAccountDialogController->getFilePath(), controller)); + config.addRecentAccount(controller->toRecentAccount()); + config.save(); + m_accountAdded.invoke(controller); + } + } + void MainWindowController::openAccount(std::filesystem::path path, const std::string& password) { //Check if the file is a Denaro account file diff --git a/libdenaro/src/controllers/newaccountdialogcontroller.cpp b/libdenaro/src/controllers/newaccountdialogcontroller.cpp index 690e62db..b589ba00 100644 --- a/libdenaro/src/controllers/newaccountdialogcontroller.cpp +++ b/libdenaro/src/controllers/newaccountdialogcontroller.cpp @@ -1,10 +1,119 @@ #include "controllers/newaccountdialogcontroller.h" +#include + +using namespace Nickvision::Filesystem; +using namespace Nickvision::Money::Shared::Models; namespace Nickvision::Money::Shared::Controllers { - NewAccountDialogController::NewAccountDialogController(const std::vector& openAccounts) - : m_openAccounts(openAccounts) + NewAccountDialogController::NewAccountDialogController() + : m_path{ UserDirectories::getDocuments() / "New.nmoney"}, + m_metadata{ "", AccountType::Checking }, + m_overwriteExisting{ false } { } + + const std::filesystem::path& NewAccountDialogController::getFilePath() const + { + return m_path; + } + + const AccountMetadata& NewAccountDialogController::getMetadata() const + { + return m_metadata; + } + + std::filesystem::path NewAccountDialogController::getFolder() const + { + return m_path.stem(); + } + + void NewAccountDialogController::setFolder(const std::filesystem::path& folder) + { + m_path = folder / m_path.filename(); + } + + bool NewAccountDialogController::setName(const std::string& name) + { + if(std::filesystem::exists(m_path.stem() / (name + ".nmoney")) && !m_overwriteExisting) + { + return false; + } + m_metadata.setName(name); + m_path.replace_filename(name + ".nmoney"); + return true; + } + + const std::string& NewAccountDialogController::getPassword() const + { + return m_password; + } + + void NewAccountDialogController::setPassword(const std::string& password) + { + m_password = password; + } + + bool NewAccountDialogController::getOverwriteExisting() const + { + return m_overwriteExisting; + } + + void NewAccountDialogController::setOverwriteExisting(bool overwriteExisting) + { + m_overwriteExisting = overwriteExisting; + } + + void NewAccountDialogController::setAccountType(AccountType accountType) + { + m_metadata.setType(accountType); + } + + void NewAccountDialogController::setDefaultTransactionType(TransactionType defaultTransactionType) + { + m_metadata.setDefaultTransactionType(defaultTransactionType); + } + + void NewAccountDialogController::setTransactionRemindersThreshold(RemindersThreshold transactionReminderThreshold) + { + m_metadata.setTransactionRemindersThreshold(transactionReminderThreshold); + } + + void NewAccountDialogController::setCustomCurrencyOff() + { + m_metadata.setUseCustomCurrency(false); + m_metadata.setCustomCurrency({}); + } + + CurrencyCheckStatus NewAccountDialogController::setCustomCurrency(const std::string& symbol, const std::string& code, char decimalSeparator, char groupSeparator, int decimalDigits, AmountStyle amountStyle) + { + Currency currency{ symbol, code }; + currency.setDecimalSeparator(decimalSeparator); + currency.setGroupSeparator(groupSeparator); + currency.setDecimalDigits(decimalDigits); + currency.setAmountStyle(amountStyle); + CurrencyCheckStatus status{ currency.validate() }; + if(status == CurrencyCheckStatus::Valid) + { + m_metadata.setUseCustomCurrency(true); + m_metadata.setCustomCurrency(currency); + } + return status; + } + + const std::filesystem::path& NewAccountDialogController::getImportFile() const + { + return m_importFile; + } + + bool NewAccountDialogController::setImportFile(const std::filesystem::path& importFile) + { + if(std::filesystem::exists(importFile)) + { + m_importFile = importFile; + return true; + } + return false; + } } \ No newline at end of file diff --git a/org.nickvision.money.gnome/src/views/mainwindow.cpp b/org.nickvision.money.gnome/src/views/mainwindow.cpp index bbd0de7f..c5519fbd 100644 --- a/org.nickvision.money.gnome/src/views/mainwindow.cpp +++ b/org.nickvision.money.gnome/src/views/mainwindow.cpp @@ -316,7 +316,7 @@ namespace Nickvision::Money::GNOME::Views g_object_set_property(G_OBJECT(passwordEntry), "activates-default", &valTrue); g_object_set_property(G_OBJECT(passwordEntry), "placeholder-text", &valPlaceholderText); g_signal_connect(passwordEntry, "changed", G_CALLBACK(+[](GtkEditable* self, gpointer data){ *(reinterpret_cast(data)) = gtk_editable_get_text(self); }), &password); - AdwMessageDialog* messageDialog{ ADW_MESSAGE_DIALOG(adw_message_dialog_new(GTK_WINDOW(m_window), _("Unlock Account"), path.filename().string().c_str())) }; + AdwMessageDialog* messageDialog{ ADW_MESSAGE_DIALOG(adw_message_dialog_new(GTK_WINDOW(m_window), path.filename().string().c_str(), nullptr)) }; adw_message_dialog_set_extra_child(messageDialog, GTK_WIDGET(passwordEntry)); adw_message_dialog_add_response(messageDialog, "cancel", _("Cancel")); adw_message_dialog_add_response(messageDialog, "unlock", _("Unlock")); diff --git a/resources/po/ar.po b/resources/po/ar.po index 8965e884..6be887db 100644 --- a/resources/po/ar.po +++ b/resources/po/ar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: 2023-12-06 07:04+0000\n" "Last-Translator: ButterflyOfFire \n" "Language-Team: Arabic \n" "Language-Team: Czech \n" "Language-Team: LANGUAGE \n" @@ -108,20 +108,30 @@ msgstr "Godaften!" msgid "Good Day!" msgstr "God dag!" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:208 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:203 msgid "New update available" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:226 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:221 msgid "Unable to download and install update" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:259 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:256 +#, fuzzy +msgid "This account already exists." +msgstr "Denne konto er allerede åben." + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:262 +#, fuzzy +msgid "This account cannot be overwritten." +msgstr "Denne konto har ingen penge tilgængelig til overførsel." + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:299 #, fuzzy msgid "The file is not a Denaro account file." msgstr "Ude af stand til at eksportere konto til fil." -#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:304 #, fuzzy msgid "The account is already open." msgstr "Denne konto er allerede åben." @@ -226,7 +236,7 @@ msgid "New Account (Ctrl+N)" msgstr "Ny konto (Ctrl+N)" #: org.nickvision.money.gnome/blueprints/main_window.blp:132 -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:123 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:139 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Åbn" @@ -354,6 +364,7 @@ msgid "New Account" msgstr "Ny konto" #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:21 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:244 msgid "Open Account" msgstr "Åbn konto" @@ -393,26 +404,46 @@ msgstr "Luk" msgid "Result was copied to clipboard." msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:182 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:198 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "GitHub Depot" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:247 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:246 +#, fuzzy +msgid "Nickvision Denaro Account (*.nmoney)" +msgstr "Nickvision Denaro Konto" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:279 #: org.nickvision.money.winui/MainWindow.xaml.cpp:411 msgid "Checking" msgstr "Indkomst" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:250 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:282 #: org.nickvision.money.winui/MainWindow.xaml.cpp:414 msgid "Savings" msgstr "Opsparing" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:253 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:285 #: org.nickvision.money.winui/MainWindow.xaml.cpp:417 msgid "Business" msgstr "Virksomhed" +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:313 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 +msgid "Enter password here" +msgstr "Indtast kodeord" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:321 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 +msgid "Cancel" +msgstr "Afbryd" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:322 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 +msgid "Unlock" +msgstr "Lås op" + #. Localize Strings #: org.nickvision.money.winui/MainWindow.xaml.cpp:67 msgid "Search" @@ -503,23 +534,11 @@ msgstr "" msgid "Debug information copied to clipboard." msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 -msgid "Enter password here" -msgstr "Indtast kodeord" - #: org.nickvision.money.winui/MainWindow.xaml.cpp:448 #, fuzzy msgid "Unlock Account" msgstr "Luk konto" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 -msgid "Unlock" -msgstr "Lås op" - -#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 -msgid "Cancel" -msgstr "Afbryd" - #: org.nickvision.money.winui/SettingsPage.xaml.cpp:27 msgid "Automatically Check for Updates" msgstr "" @@ -773,9 +792,6 @@ msgstr "Resultat" #~ msgid "Never" #~ msgstr "Aldrig" -#~ msgid "Nickvision Denaro Account" -#~ msgstr "Nickvision Denaro Konto" - #~ msgid "No" #~ msgstr "Nej" @@ -856,9 +872,6 @@ msgstr "Resultat" #~ "\n" #~ "Nye gentagende overførsler vil blive genereret ud fra det nye interval." -#~ msgid "This account has no money available to transfer." -#~ msgstr "Denne konto har ingen penge tilgængelig til overførsel." - #, fuzzy #~ msgid "" #~ "This transaction is a source repeat transaction.\n" diff --git a/resources/po/de.po b/resources/po/de.po index cbe3ec47..6ac2608b 100644 --- a/resources/po/de.po +++ b/resources/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: 2023-08-29 18:53+0000\n" "Last-Translator: Ettore Atalan \n" "Language-Team: German \n" "Language-Team: LANGUAGE \n" @@ -109,19 +109,27 @@ msgstr "" msgid "Good Day!" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:208 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:203 msgid "New update available" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:226 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:221 msgid "Unable to download and install update" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:259 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:256 +msgid "This account already exists." +msgstr "" + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:262 +msgid "This account cannot be overwritten." +msgstr "" + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:299 msgid "The file is not a Denaro account file." msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:304 msgid "The account is already open." msgstr "" @@ -220,7 +228,7 @@ msgid "New Account (Ctrl+N)" msgstr "" #: org.nickvision.money.gnome/blueprints/main_window.blp:132 -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:123 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:139 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "" @@ -337,6 +345,7 @@ msgid "New Account" msgstr "" #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:21 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:244 msgid "Open Account" msgstr "" @@ -374,26 +383,45 @@ msgstr "" msgid "Result was copied to clipboard." msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:182 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:198 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:247 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:246 +msgid "Nickvision Denaro Account (*.nmoney)" +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:279 #: org.nickvision.money.winui/MainWindow.xaml.cpp:411 msgid "Checking" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:250 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:282 #: org.nickvision.money.winui/MainWindow.xaml.cpp:414 msgid "Savings" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:253 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:285 #: org.nickvision.money.winui/MainWindow.xaml.cpp:417 msgid "Business" msgstr "" +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:313 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 +msgid "Enter password here" +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:321 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 +msgid "Cancel" +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:322 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 +msgid "Unlock" +msgstr "" + #. Localize Strings #: org.nickvision.money.winui/MainWindow.xaml.cpp:67 msgid "Search" @@ -482,22 +510,10 @@ msgstr "" msgid "Debug information copied to clipboard." msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 -msgid "Enter password here" -msgstr "" - #: org.nickvision.money.winui/MainWindow.xaml.cpp:448 msgid "Unlock Account" msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 -msgid "Unlock" -msgstr "" - -#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 -msgid "Cancel" -msgstr "" - #: org.nickvision.money.winui/SettingsPage.xaml.cpp:27 msgid "Automatically Check for Updates" msgstr "" diff --git a/resources/po/es.po b/resources/po/es.po index c59ca7da..4a61ee10 100644 --- a/resources/po/es.po +++ b/resources/po/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: 2023-12-29 06:12+0000\n" "Last-Translator: Óscar Fernández Díaz \n" @@ -113,20 +113,30 @@ msgstr "¡Buenas noches!" msgid "Good Day!" msgstr "¡Buen día!" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:208 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:203 msgid "New update available" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:226 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:221 msgid "Unable to download and install update" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:259 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:256 +#, fuzzy +msgid "This account already exists." +msgstr "Esta cuenta ya está abierta." + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:262 +#, fuzzy +msgid "This account cannot be overwritten." +msgstr "Esta cuenta no tiene dinero disponible para transferir." + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:299 #, fuzzy msgid "The file is not a Denaro account file." msgstr "No se puede exportar la cuenta a un archivo." -#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:304 #, fuzzy msgid "The account is already open." msgstr "Esta cuenta ya está abierta." @@ -230,7 +240,7 @@ msgid "New Account (Ctrl+N)" msgstr "Cuenta nueva (Ctrl+N)" #: org.nickvision.money.gnome/blueprints/main_window.blp:132 -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:123 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:139 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Abrir" @@ -356,6 +366,7 @@ msgid "New Account" msgstr "Cuenta nueva" #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:21 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:244 msgid "Open Account" msgstr "Abrir cuenta" @@ -398,26 +409,46 @@ msgstr "Cerrar" msgid "Result was copied to clipboard." msgstr "Resultado copiado al portapapeles." -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:182 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:198 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "Repositorio de GitHub" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:247 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:246 +#, fuzzy +msgid "Nickvision Denaro Account (*.nmoney)" +msgstr "Cuenta Denaro de Nickvision" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:279 #: org.nickvision.money.winui/MainWindow.xaml.cpp:411 msgid "Checking" msgstr "Corriente" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:250 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:282 #: org.nickvision.money.winui/MainWindow.xaml.cpp:414 msgid "Savings" msgstr "Ahorros" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:253 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:285 #: org.nickvision.money.winui/MainWindow.xaml.cpp:417 msgid "Business" msgstr "Empresa" +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:313 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 +msgid "Enter password here" +msgstr "Introduzca aquí la contraseña" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:321 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 +msgid "Cancel" +msgstr "Cancelar" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:322 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 +msgid "Unlock" +msgstr "Desbloquear" + #. Localize Strings #: org.nickvision.money.winui/MainWindow.xaml.cpp:67 msgid "Search" @@ -509,23 +540,11 @@ msgstr "" msgid "Debug information copied to clipboard." msgstr "Resultado copiado al portapapeles." -#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 -msgid "Enter password here" -msgstr "Introduzca aquí la contraseña" - #: org.nickvision.money.winui/MainWindow.xaml.cpp:448 #, fuzzy msgid "Unlock Account" msgstr "Cerrar cuenta" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 -msgid "Unlock" -msgstr "Desbloquear" - -#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 -msgid "Cancel" -msgstr "Cancelar" - #: org.nickvision.money.winui/SettingsPage.xaml.cpp:27 msgid "Automatically Check for Updates" msgstr "" @@ -806,9 +825,6 @@ msgstr "Resultado" #~ msgid "Nicholas Logozzo" #~ msgstr "Nicholas Logozzo" -#~ msgid "Nickvision Denaro Account" -#~ msgstr "Cuenta Denaro de Nickvision" - #~ msgid "No" #~ msgstr "No" @@ -902,9 +918,6 @@ msgstr "Resultado" #~ "Se generarán nuevas transacciones de repetición basadas en el nuevo " #~ "intervalo." -#~ msgid "This account has no money available to transfer." -#~ msgstr "Esta cuenta no tiene dinero disponible para transferir." - #~ msgid "" #~ "This transaction is a source repeat transaction.\n" #~ "What would you like to do with the repeat transactions?\n" diff --git a/resources/po/et.po b/resources/po/et.po index 85648c47..6a8393ff 100644 --- a/resources/po/et.po +++ b/resources/po/et.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -109,19 +109,28 @@ msgstr "Tere õhtust!" msgid "Good Day!" msgstr "Tere päevast!" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:208 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:203 msgid "New update available" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:226 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:221 msgid "Unable to download and install update" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:259 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:256 +#, fuzzy +msgid "This account already exists." +msgstr "Konto" + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:262 +msgid "This account cannot be overwritten." +msgstr "" + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:299 msgid "The file is not a Denaro account file." msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:304 msgid "The account is already open." msgstr "" @@ -225,7 +234,7 @@ msgid "New Account (Ctrl+N)" msgstr "Uus konto (Ctrl+N)" #: org.nickvision.money.gnome/blueprints/main_window.blp:132 -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:123 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:139 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Ava" @@ -347,6 +356,7 @@ msgid "New Account" msgstr "Uus konto" #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:21 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:244 #, fuzzy msgid "Open Account" msgstr "Uus konto" @@ -387,27 +397,47 @@ msgstr "Sulge" msgid "Result was copied to clipboard." msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:182 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:198 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:247 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:246 +#, fuzzy +msgid "Nickvision Denaro Account (*.nmoney)" +msgstr "Nickvision Denaro konto" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:279 #: org.nickvision.money.winui/MainWindow.xaml.cpp:411 msgid "Checking" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:250 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:282 #: org.nickvision.money.winui/MainWindow.xaml.cpp:414 #, fuzzy msgid "Savings" msgstr "Sätted" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:253 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:285 #: org.nickvision.money.winui/MainWindow.xaml.cpp:417 msgid "Business" msgstr "" +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:313 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 +msgid "Enter password here" +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:321 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 +msgid "Cancel" +msgstr "Tühista" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:322 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 +msgid "Unlock" +msgstr "" + #. Localize Strings #: org.nickvision.money.winui/MainWindow.xaml.cpp:67 msgid "Search" @@ -498,23 +528,11 @@ msgstr "" msgid "Debug information copied to clipboard." msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 -msgid "Enter password here" -msgstr "" - #: org.nickvision.money.winui/MainWindow.xaml.cpp:448 #, fuzzy msgid "Unlock Account" msgstr "Uus konto" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 -msgid "Unlock" -msgstr "" - -#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 -msgid "Cancel" -msgstr "Tühista" - #: org.nickvision.money.winui/SettingsPage.xaml.cpp:27 msgid "Automatically Check for Updates" msgstr "" @@ -565,10 +583,6 @@ msgstr "" #~ msgid "Account Name" #~ msgstr "Konto" -#, fuzzy -#~ msgid "Account Name (Exists)" -#~ msgstr "Konto" - #, fuzzy #~ msgid "Account Name (Opened)" #~ msgstr "Konto" @@ -605,9 +619,6 @@ msgstr "" #~ msgid "Destination Account" #~ msgstr "Uus konto" -#~ msgid "Nickvision Denaro Account" -#~ msgstr "Nickvision Denaro konto" - #~ msgid "No" #~ msgstr "Ei" diff --git a/resources/po/fi.po b/resources/po/fi.po index 1150477a..d3db3da7 100644 --- a/resources/po/fi.po +++ b/resources/po/fi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: 2023-08-24 20:09+0000\n" "Last-Translator: Jiri Grönroos \n" "Language-Team: Finnish \n" "Language-Team: French \n" "Language-Team: Galician \n" "Language-Team: Hindi \n" "Language-Team: Croatian \n" "Language-Team: Indonesian \n" "Language-Team: Italian \n" "Language-Team: Japanese \n" "Language-Team: Dutch \n" "Language-Team: LANGUAGE \n" @@ -108,20 +108,30 @@ msgstr "Bonser" msgid "Good Day!" msgstr "Bona jornada" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:208 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:203 msgid "New update available" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:226 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:221 msgid "Unable to download and install update" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:259 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:256 +#, fuzzy +msgid "This account already exists." +msgstr "Aqueste compte es ja dobèrt." + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:262 +#, fuzzy +msgid "This account cannot be overwritten." +msgstr "Aqueste compte a pas cap d’argent disponible per transferir." + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:299 #, fuzzy msgid "The file is not a Denaro account file." msgstr "Exportacion dins un fichièr del compte impossible." -#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:304 #, fuzzy msgid "The account is already open." msgstr "Aqueste compte es ja dobèrt." @@ -226,7 +236,7 @@ msgid "New Account (Ctrl+N)" msgstr "Compte novèl (Ctrl+N)" #: org.nickvision.money.gnome/blueprints/main_window.blp:132 -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:123 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:139 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Dobrir" @@ -360,6 +370,7 @@ msgid "New Account" msgstr "Compte novèl" #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:21 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:244 msgid "Open Account" msgstr "Dobrir compte" @@ -399,26 +410,46 @@ msgstr "Tampar" msgid "Result was copied to clipboard." msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:182 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:198 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "Depaus GitHub" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:247 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:246 +#, fuzzy +msgid "Nickvision Denaro Account (*.nmoney)" +msgstr "Compte Nickvision Denaro" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:279 #: org.nickvision.money.winui/MainWindow.xaml.cpp:411 msgid "Checking" msgstr "Chècs" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:250 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:282 #: org.nickvision.money.winui/MainWindow.xaml.cpp:414 msgid "Savings" msgstr "Estalvis" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:253 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:285 #: org.nickvision.money.winui/MainWindow.xaml.cpp:417 msgid "Business" msgstr "Afars" +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:313 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 +msgid "Enter password here" +msgstr "Picatz lo senhal aquí" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:321 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 +msgid "Cancel" +msgstr "Anullar" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:322 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 +msgid "Unlock" +msgstr "Unlock" + #. Localize Strings #: org.nickvision.money.winui/MainWindow.xaml.cpp:67 msgid "Search" @@ -508,23 +539,11 @@ msgstr "" msgid "Debug information copied to clipboard." msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 -msgid "Enter password here" -msgstr "Picatz lo senhal aquí" - #: org.nickvision.money.winui/MainWindow.xaml.cpp:448 #, fuzzy msgid "Unlock Account" msgstr "Tampar lo compte" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 -msgid "Unlock" -msgstr "Unlock" - -#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 -msgid "Cancel" -msgstr "Anullar" - #: org.nickvision.money.winui/SettingsPage.xaml.cpp:27 msgid "Automatically Check for Updates" msgstr "" @@ -787,9 +806,6 @@ msgstr "Resultat" #~ msgid "Never" #~ msgstr "Pas jamai" -#~ msgid "Nickvision Denaro Account" -#~ msgstr "Compte Nickvision Denaro" - #~ msgid "No" #~ msgstr "Non" @@ -861,9 +877,6 @@ msgstr "Resultat" #~ msgid "The passwords do not match." #~ msgstr "Lo senhal del compte es estat modificat." -#~ msgid "This account has no money available to transfer." -#~ msgstr "Aqueste compte a pas cap d’argent disponible per transferir." - #~ msgid "Total" #~ msgstr "Total" diff --git a/resources/po/pl.po b/resources/po/pl.po index cdad8b93..eee55f9f 100644 --- a/resources/po/pl.po +++ b/resources/po/pl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: 2023-11-15 07:06+0000\n" "Last-Translator: Michał Dominik \n" "Language-Team: Polish \n" "Language-Team: LANGUAGE \n" @@ -108,20 +108,30 @@ msgstr "Boa Noite!" msgid "Good Day!" msgstr "Bom Dia!" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:208 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:203 msgid "New update available" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:226 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:221 msgid "Unable to download and install update" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:259 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:256 +#, fuzzy +msgid "This account already exists." +msgstr "Esta conta já está aberta." + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:262 +#, fuzzy +msgid "This account cannot be overwritten." +msgstr "Esta conta não possui dinheiro disponível para transferência." + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:299 #, fuzzy msgid "The file is not a Denaro account file." msgstr "Não foi possível exportar conta para o ficheiro." -#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:304 #, fuzzy msgid "The account is already open." msgstr "Esta conta já está aberta." @@ -227,7 +237,7 @@ msgid "New Account (Ctrl+N)" msgstr "Nova Conta (Ctrl+N)" #: org.nickvision.money.gnome/blueprints/main_window.blp:132 -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:123 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:139 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Abrir" @@ -356,6 +366,7 @@ msgid "New Account" msgstr "Nova Conta" #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:21 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:244 msgid "Open Account" msgstr "Abrir Conta" @@ -395,26 +406,46 @@ msgstr "Fechar" msgid "Result was copied to clipboard." msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:182 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:198 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "Repositório do GitHub" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:247 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:246 +#, fuzzy +msgid "Nickvision Denaro Account (*.nmoney)" +msgstr "Conta Nickvision Denaro" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:279 #: org.nickvision.money.winui/MainWindow.xaml.cpp:411 msgid "Checking" msgstr "Verificando" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:250 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:282 #: org.nickvision.money.winui/MainWindow.xaml.cpp:414 msgid "Savings" msgstr "Economias" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:253 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:285 #: org.nickvision.money.winui/MainWindow.xaml.cpp:417 msgid "Business" msgstr "Negócio" +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:313 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 +msgid "Enter password here" +msgstr "Insira a senha aqui" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:321 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 +msgid "Cancel" +msgstr "Cancelar" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:322 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 +msgid "Unlock" +msgstr "Desbloquear" + #. Localize Strings #: org.nickvision.money.winui/MainWindow.xaml.cpp:67 msgid "Search" @@ -505,23 +536,11 @@ msgstr "" msgid "Debug information copied to clipboard." msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 -msgid "Enter password here" -msgstr "Insira a senha aqui" - #: org.nickvision.money.winui/MainWindow.xaml.cpp:448 #, fuzzy msgid "Unlock Account" msgstr "Fechar conta" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 -msgid "Unlock" -msgstr "Desbloquear" - -#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 -msgid "Cancel" -msgstr "Cancelar" - #: org.nickvision.money.winui/SettingsPage.xaml.cpp:27 msgid "Automatically Check for Updates" msgstr "" @@ -790,9 +809,6 @@ msgstr "Resultado" #~ msgid "Never" #~ msgstr "Nunca" -#~ msgid "Nickvision Denaro Account" -#~ msgstr "Conta Nickvision Denaro" - #~ msgid "No" #~ msgstr "Não" @@ -877,9 +893,6 @@ msgstr "Resultado" #~ "\n" #~ "Novas transações recorrentes irão se basear no novo intervalo." -#~ msgid "This account has no money available to transfer." -#~ msgstr "Esta conta não possui dinheiro disponível para transferência." - #, fuzzy #~ msgid "" #~ "This transaction is a source repeat transaction.\n" diff --git a/resources/po/pt_BR.po b/resources/po/pt_BR.po index 76aca28d..8637c9d1 100644 --- a/resources/po/pt_BR.po +++ b/resources/po/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: 2024-01-08 06:00+0000\n" "Last-Translator: Cassio Gomes Pereira \n" "Language-Team: Portuguese (Brazil) \n" "Language-Team: Romanian \n" "Language-Team: Russian \n" "Language-Team: LANGUAGE \n" @@ -109,20 +109,29 @@ msgstr "Go kväll!" msgid "Good Day!" msgstr "God Dag!" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:208 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:203 msgid "New update available" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:226 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:221 msgid "Unable to download and install update" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:259 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:256 +#, fuzzy +msgid "This account already exists." +msgstr "Detta konto är redan öppet." + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:262 +msgid "This account cannot be overwritten." +msgstr "" + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:299 #, fuzzy msgid "The file is not a Denaro account file." msgstr "Kan inte skriva över ett öppet konto." -#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:304 #, fuzzy msgid "The account is already open." msgstr "Detta konto är redan öppet." @@ -229,7 +238,7 @@ msgid "New Account (Ctrl+N)" msgstr "Nytt Konto (Ctrl+N)" #: org.nickvision.money.gnome/blueprints/main_window.blp:132 -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:123 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:139 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Öppna" @@ -354,6 +363,7 @@ msgid "New Account" msgstr "Nytt Konto" #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:21 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:244 msgid "Open Account" msgstr "Öppna ett konto" @@ -393,27 +403,48 @@ msgstr "Stäng" msgid "Result was copied to clipboard." msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:182 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:198 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "GitHub Repo" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:247 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:246 +#, fuzzy +msgid "Nickvision Denaro Account (*.nmoney)" +msgstr "Inga Senaste Konton" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:279 #: org.nickvision.money.winui/MainWindow.xaml.cpp:411 msgid "Checking" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:250 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:282 #: org.nickvision.money.winui/MainWindow.xaml.cpp:414 #, fuzzy msgid "Savings" msgstr "Inställningar" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:253 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:285 #: org.nickvision.money.winui/MainWindow.xaml.cpp:417 msgid "Business" msgstr "" +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:313 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 +#, fuzzy +msgid "Enter password here" +msgstr "Enter password here" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:321 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 +msgid "Cancel" +msgstr "Avbryt" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:322 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 +msgid "Unlock" +msgstr "Unlock" + #. Localize Strings #: org.nickvision.money.winui/MainWindow.xaml.cpp:67 msgid "Search" @@ -505,24 +536,11 @@ msgstr "" msgid "Debug information copied to clipboard." msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 -#, fuzzy -msgid "Enter password here" -msgstr "Enter password here" - #: org.nickvision.money.winui/MainWindow.xaml.cpp:448 #, fuzzy msgid "Unlock Account" msgstr "Nytt Konto" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 -msgid "Unlock" -msgstr "Unlock" - -#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 -msgid "Cancel" -msgstr "Avbryt" - #: org.nickvision.money.winui/SettingsPage.xaml.cpp:27 msgid "Automatically Check for Updates" msgstr "" @@ -679,10 +697,6 @@ msgstr "" #~ msgid "Import from File" #~ msgstr "Importera från Fil" -#, fuzzy -#~ msgid "Nickvision Denaro Account" -#~ msgstr "Inga Senaste Konton" - #~ msgid "No" #~ msgstr "Nej" diff --git a/resources/po/ta.po b/resources/po/ta.po index 7d2a190b..7ffcd89a 100644 --- a/resources/po/ta.po +++ b/resources/po/ta.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -109,19 +109,27 @@ msgstr "" msgid "Good Day!" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:208 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:203 msgid "New update available" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:226 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:221 msgid "Unable to download and install update" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:259 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:256 +msgid "This account already exists." +msgstr "" + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:262 +msgid "This account cannot be overwritten." +msgstr "" + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:299 msgid "The file is not a Denaro account file." msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:304 msgid "The account is already open." msgstr "" @@ -220,7 +228,7 @@ msgid "New Account (Ctrl+N)" msgstr "" #: org.nickvision.money.gnome/blueprints/main_window.blp:132 -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:123 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:139 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "" @@ -337,6 +345,7 @@ msgid "New Account" msgstr "" #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:21 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:244 msgid "Open Account" msgstr "" @@ -374,26 +383,45 @@ msgstr "" msgid "Result was copied to clipboard." msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:182 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:198 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:247 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:246 +msgid "Nickvision Denaro Account (*.nmoney)" +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:279 #: org.nickvision.money.winui/MainWindow.xaml.cpp:411 msgid "Checking" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:250 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:282 #: org.nickvision.money.winui/MainWindow.xaml.cpp:414 msgid "Savings" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:253 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:285 #: org.nickvision.money.winui/MainWindow.xaml.cpp:417 msgid "Business" msgstr "" +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:313 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 +msgid "Enter password here" +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:321 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 +msgid "Cancel" +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:322 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 +msgid "Unlock" +msgstr "" + #. Localize Strings #: org.nickvision.money.winui/MainWindow.xaml.cpp:67 msgid "Search" @@ -482,22 +510,10 @@ msgstr "" msgid "Debug information copied to clipboard." msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 -msgid "Enter password here" -msgstr "" - #: org.nickvision.money.winui/MainWindow.xaml.cpp:448 msgid "Unlock Account" msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 -msgid "Unlock" -msgstr "" - -#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 -msgid "Cancel" -msgstr "" - #: org.nickvision.money.winui/SettingsPage.xaml.cpp:27 msgid "Automatically Check for Updates" msgstr "" diff --git a/resources/po/tr.po b/resources/po/tr.po index 66627c29..bdbb8c8c 100644 --- a/resources/po/tr.po +++ b/resources/po/tr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: 2023-09-10 21:21+0000\n" "Last-Translator: Sabri Ünal \n" "Language-Team: Turkish \n" "Language-Team: LANGUAGE \n" @@ -108,19 +108,28 @@ msgstr "" msgid "Good Day!" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:208 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:203 msgid "New update available" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:226 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:221 msgid "Unable to download and install update" msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:259 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:256 +#, fuzzy +msgid "This account already exists." +msgstr "میزان" + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:262 +msgid "This account cannot be overwritten." +msgstr "" + +#: libdenaro/src/controllers/mainwindowcontroller.cpp:299 msgid "The file is not a Denaro account file." msgstr "" -#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 +#: libdenaro/src/controllers/mainwindowcontroller.cpp:304 msgid "The account is already open." msgstr "" @@ -225,7 +234,7 @@ msgid "New Account (Ctrl+N)" msgstr "میزان" #: org.nickvision.money.gnome/blueprints/main_window.blp:132 -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:123 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:139 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "کھولیں" @@ -345,6 +354,7 @@ msgid "New Account" msgstr "میزان" #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:21 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:244 #, fuzzy msgid "Open Account" msgstr "میزان" @@ -384,27 +394,46 @@ msgstr "بند کریں" msgid "Result was copied to clipboard." msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:182 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:198 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "گٹہب ریپو" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:247 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:246 +msgid "Nickvision Denaro Account (*.nmoney)" +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:279 #: org.nickvision.money.winui/MainWindow.xaml.cpp:411 msgid "Checking" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:250 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:282 #: org.nickvision.money.winui/MainWindow.xaml.cpp:414 #, fuzzy msgid "Savings" msgstr "ترتیبات" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:253 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:285 #: org.nickvision.money.winui/MainWindow.xaml.cpp:417 msgid "Business" msgstr "" +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:313 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 +msgid "Enter password here" +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:321 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 +msgid "Cancel" +msgstr "منسوخ کریں" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:322 +#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 +msgid "Unlock" +msgstr "" + #. Localize Strings #: org.nickvision.money.winui/MainWindow.xaml.cpp:67 msgid "Search" @@ -495,23 +524,11 @@ msgstr "" msgid "Debug information copied to clipboard." msgstr "" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:442 -msgid "Enter password here" -msgstr "" - #: org.nickvision.money.winui/MainWindow.xaml.cpp:448 #, fuzzy msgid "Unlock Account" msgstr "میزان" -#: org.nickvision.money.winui/MainWindow.xaml.cpp:450 -msgid "Unlock" -msgstr "" - -#: org.nickvision.money.winui/MainWindow.xaml.cpp:451 -msgid "Cancel" -msgstr "منسوخ کریں" - #: org.nickvision.money.winui/SettingsPage.xaml.cpp:27 msgid "Automatically Check for Updates" msgstr "" @@ -549,10 +566,6 @@ msgstr "" #~ msgid "Account Name" #~ msgstr "میزان" -#, fuzzy -#~ msgid "Account Name (Exists)" -#~ msgstr "میزان" - #, fuzzy #~ msgid "Account Name (Opened)" #~ msgstr "میزان" diff --git a/resources/po/zh_CN.po b/resources/po/zh_CN.po index 0639370b..a3de80fa 100644 --- a/resources/po/zh_CN.po +++ b/resources/po/zh_CN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-12 23:50-0400\n" +"POT-Creation-Date: 2024-03-14 00:10-0400\n" "PO-Revision-Date: 2024-02-02 03:01+0000\n" "Last-Translator: aerowolf \n" "Language-Team: Chinese (Simplified)