-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
252 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
libdenaro/include/controllers/newaccountdialogcontroller.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#ifndef NEWACCOUNTDIALOGCONTROLLER_H | ||
#define NEWACCOUNTDIALOGCONTROLLER_H | ||
|
||
#include <filesystem> | ||
#include <string> | ||
#include <vector> | ||
|
||
namespace Nickvision::Money::Shared::Controllers | ||
{ | ||
/** | ||
* @brief A controller for a NewAccountDialog. | ||
*/ | ||
class NewAccountDialogController | ||
{ | ||
public: | ||
/** | ||
* @brief Constructs a NewAccountDialogController. | ||
*/ | ||
NewAccountDialogController(const std::vector<std::filesystem::path>& openAccounts); | ||
|
||
private: | ||
std::vector<std::filesystem::path> m_openAccounts; | ||
}; | ||
} | ||
|
||
#endif //NEWACCOUNTDIALOGCONTROLLER_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef CURRENCYCHECKSTATUS_H | ||
#define CURRENCYCHECKSTATUS_H | ||
|
||
namespace Nickvision::Money::Shared::Models | ||
{ | ||
/** | ||
* @brief Statuses for when a currency is validated. | ||
*/ | ||
enum class CurrencyCheckStatus | ||
{ | ||
Valid = 1, | ||
EmptySymbol = 2, | ||
EmptyCode = 4, | ||
EmptyDecimalSeparator = 8, | ||
SameSeparators = 16, | ||
SameSymbolAndDecimalSeparator = 32, | ||
SameSymbolAndGroupSeparator = 64 | ||
}; | ||
} | ||
|
||
#endif //CURRENCYCHECKSTATUS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "controllers/newaccountdialogcontroller.h" | ||
|
||
namespace Nickvision::Money::Shared::Controllers | ||
{ | ||
NewAccountDialogController::NewAccountDialogController(const std::vector<std::filesystem::path>& openAccounts) | ||
: m_openAccounts(openAccounts) | ||
{ | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-03-07 11:06-0500\n" | ||
"POT-Creation-Date: 2024-03-07 22:59-0500\n" | ||
"PO-Revision-Date: 2023-12-06 07:04+0000\n" | ||
"Last-Translator: ButterflyOfFire <[email protected]>\n" | ||
"Language-Team: Arabic <https://hosted.weblate.org/projects/nickvision-money/" | ||
|
@@ -113,20 +113,20 @@ msgstr "مساء الخير!" | |
msgid "Good Day!" | ||
msgstr "طاب يومك!" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:213 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:223 | ||
msgid "New update available" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:231 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:241 | ||
msgid "Unable to download and install update" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:274 | ||
#, fuzzy | ||
msgid "The file is not a Denaro account file." | ||
msgstr "تعذَّر تصدير الحساب للملفِّ." | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:269 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:279 | ||
#, fuzzy | ||
msgid "The account is already open." | ||
msgstr "هذا الحساب مفتوح بالفعل." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-03-07 11:06-0500\n" | ||
"POT-Creation-Date: 2024-03-07 22:59-0500\n" | ||
"PO-Revision-Date: 2023-11-17 11:26+0000\n" | ||
"Last-Translator: Fjuro <[email protected]>\n" | ||
"Language-Team: Czech <https://hosted.weblate.org/projects/nickvision-money/" | ||
|
@@ -112,20 +112,20 @@ msgstr "Dobrý večer!" | |
msgid "Good Day!" | ||
msgstr "Dobrý den!" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:213 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:223 | ||
msgid "New update available" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:231 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:241 | ||
msgid "Unable to download and install update" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:274 | ||
#, fuzzy | ||
msgid "The file is not a Denaro account file." | ||
msgstr "Nepodařilo se exportovat účet do souboru." | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:269 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:279 | ||
#, fuzzy | ||
msgid "The account is already open." | ||
msgstr "Tento účet je již otevřen." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-03-07 11:06-0500\n" | ||
"POT-Creation-Date: 2024-03-07 22:59-0500\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -108,20 +108,20 @@ msgstr "Godaften!" | |
msgid "Good Day!" | ||
msgstr "God dag!" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:213 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:223 | ||
msgid "New update available" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:231 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:241 | ||
msgid "Unable to download and install update" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:274 | ||
#, 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:269 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:279 | ||
#, fuzzy | ||
msgid "The account is already open." | ||
msgstr "Denne konto er allerede åben." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-03-07 11:06-0500\n" | ||
"POT-Creation-Date: 2024-03-07 22:59-0500\n" | ||
"PO-Revision-Date: 2023-08-29 18:53+0000\n" | ||
"Last-Translator: Ettore Atalan <[email protected]>\n" | ||
"Language-Team: German <https://hosted.weblate.org/projects/nickvision-money/" | ||
|
@@ -112,20 +112,20 @@ msgstr "Guten Abend!" | |
msgid "Good Day!" | ||
msgstr "Schönen Tag!" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:213 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:223 | ||
msgid "New update available" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:231 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:241 | ||
msgid "Unable to download and install update" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:274 | ||
#, fuzzy | ||
msgid "The file is not a Denaro account file." | ||
msgstr "Konto konnte nicht zu Datei exportiert werden." | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:269 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:279 | ||
#, fuzzy | ||
msgid "The account is already open." | ||
msgstr "Dieses Konto ist schon geöffnet." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-03-07 13:57-0500\n" | ||
"POT-Creation-Date: 2024-03-08 14:03-0500\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -107,19 +107,19 @@ msgstr "" | |
msgid "Good Day!" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:213 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:223 | ||
msgid "New update available" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:231 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:241 | ||
msgid "Unable to download and install update" | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:264 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:274 | ||
msgid "The file is not a Denaro account file." | ||
msgstr "" | ||
|
||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:269 | ||
#: libdenaro/src/controllers/mainwindowcontroller.cpp:279 | ||
msgid "The account is already open." | ||
msgstr "" | ||
|
||
|
Oops, something went wrong.