diff --git a/NickvisionMoney.GNOME/NickvisionMoney.GNOME.csproj b/NickvisionMoney.GNOME/NickvisionMoney.GNOME.csproj index 1c8ba127a..1de121214 100644 --- a/NickvisionMoney.GNOME/NickvisionMoney.GNOME.csproj +++ b/NickvisionMoney.GNOME/NickvisionMoney.GNOME.csproj @@ -9,7 +9,7 @@ - + diff --git a/NickvisionMoney.GNOME/Views/MainWindow.cs b/NickvisionMoney.GNOME/Views/MainWindow.cs index 585ecf111..71b4b6650 100644 --- a/NickvisionMoney.GNOME/Views/MainWindow.cs +++ b/NickvisionMoney.GNOME/Views/MainWindow.cs @@ -494,7 +494,7 @@ private void About(Gio.SimpleAction sender, EventArgs e) /// Gtk.DropTarget.DropSignalArgs private bool OnDrop(Gtk.DropTarget sender, Gtk.DropTarget.DropSignalArgs e) { - var file = new Gio.FileHlper(e.Value.GetObject()!.Handle, false); + var file = new Gio.FileHelper(e.Value.GetObject()!.Handle, false); var path = file.GetPath() ?? ""; if (File.Exists(path)) { diff --git a/NickvisionMoney.Shared.Tests/NickvisionMoney.Shared.Tests.csproj b/NickvisionMoney.Shared.Tests/NickvisionMoney.Shared.Tests.csproj index 6b07a0a3b..d0ca56de8 100644 --- a/NickvisionMoney.Shared.Tests/NickvisionMoney.Shared.Tests.csproj +++ b/NickvisionMoney.Shared.Tests/NickvisionMoney.Shared.Tests.csproj @@ -10,8 +10,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/NickvisionMoney.Shared/Controllers/AccountViewController.cs b/NickvisionMoney.Shared/Controllers/AccountViewController.cs index 1faad5fa1..212e75ab4 100644 --- a/NickvisionMoney.Shared/Controllers/AccountViewController.cs +++ b/NickvisionMoney.Shared/Controllers/AccountViewController.cs @@ -453,7 +453,7 @@ public async Task StartupAsync() Name = AccountTitle, Type = AccountType }); - Aura.Active.SaveConfig("config"); + Configuration.Current.Save(); RecentAccountsChanged?.Invoke(this, EventArgs.Empty); //Groups foreach (var pair in _account.Groups.OrderBy(x => x.Value.Name == _("Ungrouped") ? " " : x.Value.Name)) @@ -607,7 +607,7 @@ public void UpdateMetadata(AccountMetadata metadata) Name = AccountTitle, Type = AccountType }); - Aura.Active.SaveConfig("config"); + Configuration.Current.Save(); RecentAccountsChanged?.Invoke(this, EventArgs.Empty); if (oldSymbol != metadata.CustomCurrencySymbol || oldStyle != metadata.CustomCurrencyAmountStyle || oldDecimalSeparator != metadata.CustomCurrencyDecimalSeparator || oldGroupSeparator != metadata.CustomCurrencyGroupSeparator || oldDecimalDigits != metadata.CustomCurrencyDecimalDigits) { diff --git a/NickvisionMoney.Shared/Controllers/MainWindowController.cs b/NickvisionMoney.Shared/Controllers/MainWindowController.cs index d173276ef..483416262 100644 --- a/NickvisionMoney.Shared/Controllers/MainWindowController.cs +++ b/NickvisionMoney.Shared/Controllers/MainWindowController.cs @@ -85,7 +85,6 @@ public MainWindowController(string[] args) catch (IOException) { } Directory.Delete($"{UserDirectories.Config}{Path.DirectorySeparatorChar}Nickvision{Path.DirectorySeparatorChar}{AppInfo.Name}", true); } - Aura.Active.SetConfig("config"); AppInfo.Version = "2024.1.0-next"; AppInfo.ShortName = _("Denaro"); AppInfo.Description = _("Manage your personal finances"); @@ -148,7 +147,7 @@ public bool ShowGraphs set { Configuration.Current.ShowGraphs = value; - Aura.Active.SaveConfig("config"); + Configuration.Current.Save(); } } @@ -378,7 +377,7 @@ public void CloseAccount(int index) public void RemoveRecentAccount(RecentAccount recentAccount) { Configuration.Current.RemoveRecentAccount(recentAccount); - Aura.Active.SaveConfig("config"); + Configuration.Current.Save(); RecentAccountsChanged?.Invoke(this, EventArgs.Empty); } diff --git a/NickvisionMoney.Shared/Controllers/PreferencesViewController.cs b/NickvisionMoney.Shared/Controllers/PreferencesViewController.cs index e01814793..8ecc1bf35 100644 --- a/NickvisionMoney.Shared/Controllers/PreferencesViewController.cs +++ b/NickvisionMoney.Shared/Controllers/PreferencesViewController.cs @@ -124,5 +124,5 @@ public string CSVBackupFolder /// /// Saves the configuration to disk /// - public void SaveConfiguration() => Aura.Active.SaveConfig("config"); + public void SaveConfiguration() => Configuration.Current.Save(); } \ No newline at end of file diff --git a/NickvisionMoney.Shared/Docs/html/nl/account.html b/NickvisionMoney.Shared/Docs/html/nl/account.html index 8719f742d..860b3f0ca 100644 --- a/NickvisionMoney.Shared/Docs/html/nl/account.html +++ b/NickvisionMoney.Shared/Docs/html/nl/account.html @@ -90,7 +90,7 @@

Each account stores information about the order of transactions in the main window. Every time you change this, it will be saved to the account file and restored when you reopen the account.

Groepszichtbaarheid

Each account stores information about whether the groups list in the main window is hidden or not. Every time you change groups list visibility, it's saved and then restored when you reopen the account.

-
Tags Visibility
+
Label­zichtbaarheid

Each account stores information about whether the tags list in the main window is hidden or not. Every time you change tags list visibility, it's saved and then restored when you reopen the account.

diff --git a/NickvisionMoney.Shared/Docs/html/nl/configuration.html b/NickvisionMoney.Shared/Docs/html/nl/configuration.html index f64e763c1..16c5d8f63 100644 --- a/NickvisionMoney.Shared/Docs/html/nl/configuration.html +++ b/NickvisionMoney.Shared/Docs/html/nl/configuration.html @@ -29,17 +29,17 @@

A color that will be used for transactions created using transfer. Changing this will not affect existing transactions.

Standaard­groepskleur

A color that will be selected by default when adding a new group. This is also a color for «Ungrouped» group.

-
Checking Account Color
+
Kleur van betaal­rekening

A color used to mark accounts with the Checking type in a recent accounts list.

-
Savings Account Color
+
Kleur van spaar­rekening

A color used to mark accounts with the Savings type in a recent accounts list.

-
Business Account Color
+
Kleur van bedrijfs­rekening

A color used to mark accounts with the Business type in a recent accounts list.

-
Use Native Digits
+
Lokale decimale notatie gebruiken

Whether to use numerals that are native for your locale instead of latin digits. For example, if this setting is enabled ٠١٢ will be used instead of 012 for locales that use Eastern Arabic numerals.

-
Insert Decimal Separator
+
Decimaal scheidings­teken invoegen

Set for which keys pressed will the locale's decimal separator be inserted into an amount field: numpad period, any period and comma, or none. If decimal separator is already presented in a field, it will not be inserted.

-
CSV Backup Folder
+
CSV-back-up­map

A folder where your data will be automatically exported to CSV after every change. This feature doesn't work for password-protected accounts, because CSV files can't be password-protected.

diff --git a/NickvisionMoney.Shared/Docs/html/nl/import-export.html b/NickvisionMoney.Shared/Docs/html/nl/import-export.html index bcb411f48..3a3811c70 100644 --- a/NickvisionMoney.Shared/Docs/html/nl/import-export.html +++ b/NickvisionMoney.Shared/Docs/html/nl/import-export.html @@ -53,14 +53,14 @@
  • RepeatInterval

    A number representing transaction repeat interval:

    -

    0 - Never

    -

    1 - Daily

    -

    2 - Weekly

    -

    7 - Biweekly

    -

    3 - Monthly

    -

    4 - Quarterly

    -

    5 - Yearly

    -

    6 - Biyearly

    +

    0 - Nooit

    +

    1 - Dagelijks

    +

    2 - Wekelijks

    +

    7 - Twee­wekelijks

    +

    3 - Maandelijks

    +

    4 - Eén keer per kwartaal

    +

    5 - Jaarlijks

    +

    6 - Twee­jaarlijks

    See Repeat Interval in transaction page for details about repeat transactions.

  • diff --git a/NickvisionMoney.Shared/Docs/html/nl/index.html b/NickvisionMoney.Shared/Docs/html/nl/index.html index 5cd86c898..1690931d8 100644 --- a/NickvisionMoney.Shared/Docs/html/nl/index.html +++ b/NickvisionMoney.Shared/Docs/html/nl/index.html @@ -14,7 +14,7 @@ }, false);
    -

    Denaro Help

    +

    Denaro-hulp

    This documentation will help you understand how to configure and manage data in Denaro to get the most of the application.

    To get support, use issues or discussions on Github, or join our Matrix channel.

    diff --git a/NickvisionMoney.Shared/Docs/html/nl/transaction.html b/NickvisionMoney.Shared/Docs/html/nl/transaction.html index bbacdbcd2..1c67eb179 100644 --- a/NickvisionMoney.Shared/Docs/html/nl/transaction.html +++ b/NickvisionMoney.Shared/Docs/html/nl/transaction.html @@ -32,7 +32,7 @@

    Any date can be selected, you can also create transactions for future dates.

    Herhalingsinterval

    Use this option to create a recurring transaction. After you add transaction with repeat interval, this transaction will become a source transaction. Denaro will automatically generate repeat transactions for the dates up until today or a provided end date if set in the past. Repeat transactions can't be edited or deleted, only source can be modified. When you modify source transaction Denaro will ask if you want to modify or disassociate repeat transactions. If you choose to disassociate, repeat transactions become normal transactions and can be edited or deleted separately.

    -
    Repeat End Date
    +
    Einddatum herhalen

    End date for a transaction with repeat. It can't be earlier than or on the same day as start date.

    Groep

    Each transaction can belong to only one group or none («Ungrouped» group).

    diff --git a/NickvisionMoney.Shared/Docs/html/zh_Hans/account.html b/NickvisionMoney.Shared/Docs/html/zh_Hans/account.html index b1d8198cd..662432870 100644 --- a/NickvisionMoney.Shared/Docs/html/zh_Hans/account.html +++ b/NickvisionMoney.Shared/Docs/html/zh_Hans/account.html @@ -32,7 +32,7 @@

    There are 3 account types available: 🟣Checking, 🔵Savings and 🟢Business. Account type is only a useful label that is shown in the list of recent accounts and doesn't affect how the application works or what you can do with an account. Each account type has its own color, these colors can be configured in global settings.

    Default Transaction Type

    When you create a new transaction its type by default will be the same as in this setting.

    -
    Transaction Reminders Threshold
    +
    交易提醒门槛

    The threshold used when showing reminders about upcoming transactions.

    System Currency
    diff --git a/NickvisionMoney.Shared/Docs/html/zh_Hans/configuration.html b/NickvisionMoney.Shared/Docs/html/zh_Hans/configuration.html index df75997f1..7eb455eaa 100644 --- a/NickvisionMoney.Shared/Docs/html/zh_Hans/configuration.html +++ b/NickvisionMoney.Shared/Docs/html/zh_Hans/configuration.html @@ -27,7 +27,7 @@

    A color that will be selected by default when adding a new transaction with unique color. Changing this will not affect existing transactions, even if they use previously selected default color.

    Transfer Default Color

    A color that will be used for transactions created using transfer. Changing this will not affect existing transactions.

    -
    Group Default Color
    +
    群组默认色

    A color that will be selected by default when adding a new group. This is also a color for «Ungrouped» group.

    Checking Account Color

    A color used to mark accounts with the Checking type in a recent accounts list.

    @@ -35,11 +35,11 @@

    A color used to mark accounts with the Savings type in a recent accounts list.

    Business Account Color

    A color used to mark accounts with the Business type in a recent accounts list.

    -
    Use Native Digits
    +
    使用原生数字

    Whether to use numerals that are native for your locale instead of latin digits. For example, if this setting is enabled ٠١٢ will be used instead of 012 for locales that use Eastern Arabic numerals.

    Insert Decimal Separator

    Set for which keys pressed will the locale's decimal separator be inserted into an amount field: numpad period, any period and comma, or none. If decimal separator is already presented in a field, it will not be inserted.

    -
    CSV Backup Folder
    +
    CVS备份文件夹

    A folder where your data will be automatically exported to CSV after every change. This feature doesn't work for password-protected accounts, because CSV files can't be password-protected.

    diff --git a/NickvisionMoney.Shared/Docs/html/zh_Hans/index.html b/NickvisionMoney.Shared/Docs/html/zh_Hans/index.html index cce463426..a60387f4f 100644 --- a/NickvisionMoney.Shared/Docs/html/zh_Hans/index.html +++ b/NickvisionMoney.Shared/Docs/html/zh_Hans/index.html @@ -19,11 +19,11 @@

    This documentation will help you understand how to configure and manage data in Denaro to get the most of the application.

    To get support, use issues or discussions on Github, or join our Matrix channel.