diff --git a/docs/po/denaro.pot b/docs/po/denaro.pot index c0e17329..0f50c4cc 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-01 22:21-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/org.nickvision.money.gnome/CMakeLists.txt b/org.nickvision.money.gnome/CMakeLists.txt index 372ec7d9..8471582e 100644 --- a/org.nickvision.money.gnome/CMakeLists.txt +++ b/org.nickvision.money.gnome/CMakeLists.txt @@ -1,5 +1,6 @@ if(LINUX) add_executable(org.nickvision.money.gnome + "src/controls/currencyconverterdialog.cpp" "src/helpers/builder.cpp" "src/views/mainwindow.cpp" "src/views/preferencesdialog.cpp" diff --git a/org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp b/org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp new file mode 100644 index 00000000..2ff51261 --- /dev/null +++ b/org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp @@ -0,0 +1,85 @@ +using Gtk 4.0; +using Adw 1; + +Adw.Window root { + width-request: 360; + default-width: 440; + modal: true; + resizable: true; + + content: Adw.ToastOverlay toastOverlay { + Adw.ToolbarView { + [top] + Adw.HeaderBar header { + title-widget: Adw.WindowTitle { + title: _("Currency Converter"); + }; + } + + Gtk.WindowHandle { + Gtk.Box { + orientation: vertical; + spacing: 24; + margin-start: 24; + margin-end: 24; + margin-bottom: 24; + + Adw.PreferencesGroup { + title: _("Currency"); + + header-suffix: Gtk.Box { + orientation: horizontal; + spacing: 6; + + Gtk.Button switchButton { + valign: center; + tooltip-text: _("Switch Currencies"); + + Adw.ButtonContent { + label: _("Switch"); + icon-name: "update-symbolic"; + } + + styles ["flat"] + } + }; + + Adw.ComboRow sourceCurrencyRow { + title: _("Source"); + } + + Adw.ComboRow resultCurrencyRow { + title: _("Result"); + } + } + + Adw.PreferencesGroup { + title: _("Amount"); + + Adw.EntryRow sourceAmountRow { } + + Adw.EntryRow resultAmountRow { + editable: false; + + [suffix] + Gtk.Button copyResultButton { + valign: center; + tooltip-text: _("Copy Result Amount"); + icon-name: "edit-copy-symbolic"; + + styles ["flat"] + } + } + } + } + } + } + }; + + Gtk.ShortcutController { + Gtk.Shortcut { + trigger: "Escape"; + action: "action(window.close)"; + } + } +} \ No newline at end of file diff --git a/org.nickvision.money.gnome/include/controls/currencyconverterdialog.h b/org.nickvision.money.gnome/include/controls/currencyconverterdialog.h new file mode 100644 index 00000000..cbe670e6 --- /dev/null +++ b/org.nickvision.money.gnome/include/controls/currencyconverterdialog.h @@ -0,0 +1,44 @@ +#ifndef CURRENCYCONVERTERDIALOG_H +#define CURRENCYCONVERTERDIALOG_H + +#include +#include + +namespace Nickvision::Money::GNOME::Controls +{ + /** + * @brief A dialog for converting currencies. + */ + class CurrencyConverterDialog + { + public: + /** + * @brief Constructs a CurrencyConverterDialog. + * @param parent The GtkWindow object of the parent window + * @param iconName The name of the icon to use for the window + */ + CurrencyConverterDialog(GtkWindow* parent, const std::string& iconName); + /** + * @brief Destructs a CurrencyConverterDialog. + */ + ~CurrencyConverterDialog(); + /** + * @brief Shows the CurrencyConverterDialog and waits for it to close. + */ + void run(); + + private: + void switchCurrencies(); + void onSourceCurrencyChanged(); + void onResultCurrencyChanged(); + void onSourceAmountChanged(); + void copyResult(); + void onCurrencyChange(); + GtkBuilder* m_builder; + GtkWindow* m_parent; + AdwWindow* m_window; + GtkStringList* m_currencyList; + }; +} + +#endif //CURRENCYCONVERTERDIALOG_H \ No newline at end of file diff --git a/org.nickvision.money.gnome/include/views/mainwindow.h b/org.nickvision.money.gnome/include/views/mainwindow.h index 5f4f3e6b..5a235a30 100644 --- a/org.nickvision.money.gnome/include/views/mainwindow.h +++ b/org.nickvision.money.gnome/include/views/mainwindow.h @@ -24,6 +24,10 @@ namespace Nickvision::Money::GNOME::Views * @param app The GtkApplication object of the running app */ MainWindow(const std::shared_ptr& controller, GtkApplication* app); + /** + * @brief Destructs a MainWindow. + */ + ~MainWindow(); /** * @brief Gets the GObject object for the main window. * @return The GObject for the main window @@ -48,6 +52,10 @@ namespace Nickvision::Money::GNOME::Views * @param args Nickvision::Notifications::ShellNotificationSentEventArgs */ void onShellNotificationSent(const Nickvision::Notifications::ShellNotificationSentEventArgs& args); + /** + * @brief Displays the currency converter dialog. + */ + void currencyConverter(); /** * @brief Quits the application. */ diff --git a/org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp b/org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp new file mode 100644 index 00000000..f89c00d3 --- /dev/null +++ b/org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp @@ -0,0 +1,150 @@ +#include "controls/currencyconverterdialog.h" +#include +#include "helpers/builder.h" +#include "helpers/currencyhelpers.h" +#include "models/currencyconversionservice.h" + +using namespace Nickvision::Money::Shared; +using namespace Nickvision::Money::Shared::Models; + +namespace Nickvision::Money::GNOME::Controls +{ + CurrencyConverterDialog::CurrencyConverterDialog(GtkWindow* parent, const std::string& iconName) + : m_builder{ BuilderHelpers::fromBlueprint("currency_converter_dialog") }, + m_parent{ parent }, + m_window{ ADW_WINDOW(gtk_builder_get_object(m_builder, "root")) }, + m_currencyList{ gtk_string_list_new(nullptr) } + { + gtk_window_set_transient_for(GTK_WINDOW(m_window), m_parent); + gtk_window_set_icon_name(GTK_WINDOW(m_window), iconName.c_str()); + //Signals + g_signal_connect(gtk_builder_get_object(m_builder, "switchButton"), "clicked", G_CALLBACK(+[](GtkButton*, gpointer data){ reinterpret_cast(data)->switchCurrencies(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "sourceCurrencyRow"), "notify::selected-item", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->onSourceCurrencyChanged(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "resultCurrencyRow"), "notify::selected-item", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->onResultCurrencyChanged(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "sourceAmountRow"), "changed", G_CALLBACK(+[](GtkEditable*, gpointer data){ reinterpret_cast(data)->onSourceAmountChanged(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "copyResultButton"), "clicked", G_CALLBACK(+[](GtkButton*, gpointer data){ reinterpret_cast(data)->copyResult(); }), this); + } + + CurrencyConverterDialog::~CurrencyConverterDialog() + { + g_object_unref(m_currencyList); + gtk_window_destroy(GTK_WINDOW(m_window)); + g_object_unref(m_builder); + } + + void CurrencyConverterDialog::run() + { + const std::map& conversionRates{ CurrencyConversionService::getConversionRates("USD") }; + if(conversionRates.empty()) + { + AdwMessageDialog* messageDialog{ ADW_MESSAGE_DIALOG(adw_message_dialog_new(m_parent, _("Error"), _("Unable to load currency data. Please try again. If the error still persists, report a bug."))) }; + adw_message_dialog_add_response(messageDialog, "close", _("Close")); + adw_message_dialog_set_default_response(messageDialog, "close"); + adw_message_dialog_set_close_response(messageDialog, "close"); + g_signal_connect(messageDialog, "response", G_CALLBACK(+[](AdwMessageDialog* self, const char*, gpointer){ gtk_window_destroy(GTK_WINDOW(self)); }), nullptr); + gtk_window_present(GTK_WINDOW(messageDialog)); + } + else + { + unsigned int usdIndex{ 0 }; + unsigned int eurIndex{ 0 }; + unsigned int i{ 0 }; + for(const std::pair& pair : conversionRates) + { + gtk_string_list_append(m_currencyList, pair.first.c_str()); + if(pair.first == "USD") + { + usdIndex = i; + } + else if(pair.first == "EUR") + { + eurIndex = i; + } + i++; + } + adw_combo_row_set_model(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "sourceCurrencyRow")), G_LIST_MODEL(m_currencyList)); + adw_combo_row_set_model(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "resultCurrencyRow")), G_LIST_MODEL(m_currencyList)); + adw_combo_row_set_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "sourceCurrencyRow")), usdIndex); + adw_combo_row_set_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "resultCurrencyRow")), eurIndex); + gtk_window_present(GTK_WINDOW(m_window)); + while(gtk_widget_is_visible(GTK_WIDGET(m_window))) + { + g_main_context_iteration(g_main_context_default(), false); + } + } + } + + void CurrencyConverterDialog::switchCurrencies() + { + unsigned int sourceIndex{ adw_combo_row_get_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "sourceCurrencyRow"))) }; + unsigned int resultIndex{ adw_combo_row_get_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "resultCurrencyRow"))) }; + adw_combo_row_set_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "resultCurrencyRow")), sourceIndex); + adw_combo_row_set_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "sourceCurrencyRow")), resultIndex); + } + + void CurrencyConverterDialog::onSourceCurrencyChanged() + { + adw_preferences_row_set_title(ADW_PREFERENCES_ROW(gtk_builder_get_object(m_builder, "sourceAmountRow")), gtk_string_list_get_string(m_currencyList, adw_combo_row_get_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "sourceCurrencyRow"))))); + onCurrencyChange(); + } + + void CurrencyConverterDialog::onResultCurrencyChanged() + { + adw_preferences_row_set_title(ADW_PREFERENCES_ROW(gtk_builder_get_object(m_builder, "resultAmountRow")), gtk_string_list_get_string(m_currencyList, adw_combo_row_get_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "resultCurrencyRow"))))); + onCurrencyChange(); + } + + void CurrencyConverterDialog::onSourceAmountChanged() + { + onCurrencyChange(); + } + + void CurrencyConverterDialog::copyResult() + { + std::string resultText{ gtk_editable_get_text(GTK_EDITABLE(gtk_builder_get_object(m_builder, "resultAmountRow"))) }; + if(!resultText.empty()) + { + GdkClipboard* clipboard{ gtk_widget_get_clipboard(GTK_WIDGET(gtk_builder_get_object(m_builder, "resultAmountRow"))) }; + gdk_clipboard_set_text(clipboard, resultText.c_str()); + adw_toast_overlay_add_toast(ADW_TOAST_OVERLAY(gtk_builder_get_object(m_builder, "toastOverlay")), adw_toast_new(_("Result was copied to clipboard."))); + } + } + + void CurrencyConverterDialog::onCurrencyChange() + { + std::string sourceText{ gtk_editable_get_text(GTK_EDITABLE(gtk_builder_get_object(m_builder, "sourceAmountRow"))) }; + std::string resultText{ gtk_editable_get_text(GTK_EDITABLE(gtk_builder_get_object(m_builder, "resultAmountRow"))) }; + gtk_widget_remove_css_class(GTK_WIDGET(gtk_builder_get_object(m_builder, "sourceAmountRow")), "error"); + gtk_widget_remove_css_class(GTK_WIDGET(gtk_builder_get_object(m_builder, "resultAmountRow")), "error"); + if(sourceText.empty()) + { + gtk_editable_set_text(GTK_EDITABLE(gtk_builder_get_object(m_builder, "resultAmountRow")), ""); + } + else + { + double sourceAmount{ 0 }; + try + { + sourceAmount = std::stod(sourceText); + } + catch(const std::exception&) + { + gtk_widget_add_css_class(GTK_WIDGET(gtk_builder_get_object(m_builder, "sourceAmountRow")), "error"); + gtk_editable_set_text(GTK_EDITABLE(gtk_builder_get_object(m_builder, "resultAmountRow")), ""); + return; + } + std::string sourceCurrency{ gtk_string_list_get_string(m_currencyList, adw_combo_row_get_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "sourceCurrencyRow")))) }; + std::string resultCurrency{ gtk_string_list_get_string(m_currencyList, adw_combo_row_get_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "resultCurrencyRow")))) }; + std::optional conversion{ CurrencyConversionService::convert(sourceCurrency, sourceAmount, resultCurrency) }; + if (conversion.has_value()) + { + std::string resultAmountString{ CurrencyHelpers::toAmountString(conversion->getResultAmount(), CurrencyHelpers::getSystemCurrency(), false, true) }; + gtk_editable_set_text(GTK_EDITABLE(gtk_builder_get_object(m_builder, "resultAmountRow")), resultAmountString.c_str()); + } + else + { + gtk_widget_add_css_class(GTK_WIDGET(gtk_builder_get_object(m_builder, "resultAmountRow")), "error"); + } + } + } +} \ 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 fa0842af..de4e9a2a 100644 --- a/org.nickvision.money.gnome/src/views/mainwindow.cpp +++ b/org.nickvision.money.gnome/src/views/mainwindow.cpp @@ -3,9 +3,11 @@ #include #include #include +#include "controls/currencyconverterdialog.h" #include "helpers/builder.h" #include "views/preferencesdialog.h" +using namespace Nickvision::Money::GNOME::Controls; using namespace Nickvision::Money::Shared::Controllers; using namespace Nickvision::App; using namespace Nickvision::Events; @@ -37,6 +39,10 @@ namespace Nickvision::Money::GNOME::Views g_signal_connect(actQuit, "activate", G_CALLBACK(+[](GSimpleAction*, GVariant*, gpointer data){ reinterpret_cast(data)->quit(); }), this); g_action_map_add_action(G_ACTION_MAP(m_window), G_ACTION(actQuit)); SET_ACCEL_FOR_ACTION(m_app, "win.quit", "Q"); + //Currency Converter Action + GSimpleAction* actCurrencyConverter{ g_simple_action_new("currencyConverter", nullptr) }; + g_signal_connect(actCurrencyConverter, "activate", G_CALLBACK(+[](GSimpleAction*, GVariant*, gpointer data){ reinterpret_cast(data)->currencyConverter(); }), this); + g_action_map_add_action(G_ACTION_MAP(m_window), G_ACTION(actCurrencyConverter)); //Preferences Action GSimpleAction* actPreferences{ g_simple_action_new("preferences", nullptr) }; g_signal_connect(actPreferences, "activate", G_CALLBACK(+[](GSimpleAction*, GVariant*, gpointer data){ reinterpret_cast(data)->preferences(); }), this); @@ -54,6 +60,12 @@ namespace Nickvision::Money::GNOME::Views SET_ACCEL_FOR_ACTION(m_app, "win.about", "F1"); } + MainWindow::~MainWindow() + { + gtk_window_destroy(GTK_WINDOW(m_window)); + g_object_unref(m_builder); + } + GObject* MainWindow::gobj() const { return G_OBJECT(m_window); @@ -90,6 +102,12 @@ namespace Nickvision::Money::GNOME::Views } } + void MainWindow::currencyConverter() + { + CurrencyConverterDialog currencyConverter{ GTK_WINDOW(m_window), m_controller->getAppInfo().getId() }; + currencyConverter.run(); + } + void MainWindow::preferences() { PreferencesDialog preferences{ m_controller->createPreferencesViewController(), GTK_WINDOW(m_window) }; diff --git a/org.nickvision.money.gnome/src/views/preferencesdialog.cpp b/org.nickvision.money.gnome/src/views/preferencesdialog.cpp index 322a1f30..d650c7ed 100644 --- a/org.nickvision.money.gnome/src/views/preferencesdialog.cpp +++ b/org.nickvision.money.gnome/src/views/preferencesdialog.cpp @@ -43,19 +43,20 @@ namespace Nickvision::Money::GNOME::Views gtk_color_dialog_button_set_rgba(GTK_COLOR_DIALOG_BUTTON(gtk_builder_get_object(m_builder, "accountBusinessColorButton")), &color); adw_combo_row_set_selected(ADW_COMBO_ROW(gtk_builder_get_object(m_builder, "insertSeparatorRow")), static_cast(m_controller->getInsertSeparator())); //Signals - g_signal_connect(gtk_builder_get_object(m_builder, "themeRow"), "notify::selected-item", G_CALLBACK(+[](GObject*, GParamSpec* pspec, gpointer data){ reinterpret_cast(data)->onThemeChanged(); }), this); - g_signal_connect(gtk_builder_get_object(m_builder, "transactionColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec* pspec, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); - g_signal_connect(gtk_builder_get_object(m_builder, "transferColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec* pspec, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); - g_signal_connect(gtk_builder_get_object(m_builder, "groupColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec* pspec, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); - g_signal_connect(gtk_builder_get_object(m_builder, "accountCheckingColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec* pspec, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); - g_signal_connect(gtk_builder_get_object(m_builder, "accountSavingsColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec* pspec, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); - g_signal_connect(gtk_builder_get_object(m_builder, "accountBusinessColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec* pspec, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); - g_signal_connect(gtk_builder_get_object(m_builder, "insertSeparatorRow"), "notify::selected-item", G_CALLBACK(+[](GObject*, GParamSpec* pspec, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "themeRow"), "notify::selected-item", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->onThemeChanged(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "transactionColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "transferColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "groupColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "accountCheckingColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "accountSavingsColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "accountBusinessColorButton"), "notify::rgba", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); + g_signal_connect(gtk_builder_get_object(m_builder, "insertSeparatorRow"), "notify::selected-item", G_CALLBACK(+[](GObject*, GParamSpec*, gpointer data){ reinterpret_cast(data)->applyChanges(); }), this); } PreferencesDialog::~PreferencesDialog() { gtk_window_destroy(GTK_WINDOW(m_dialog)); + g_object_unref(m_builder); } void PreferencesDialog::run() diff --git a/org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp b/org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp index 68d34350..0d1813c6 100644 --- a/org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp +++ b/org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp @@ -22,11 +22,11 @@ namespace winrt::Nickvision::Money::WinUI::Controls::implementation LblCurrency().Text(winrt::to_hstring(_("Currency"))); RowSourceCurrency().Title(winrt::to_hstring(_("Source"))); RowResultCurrency().Title(winrt::to_hstring(_("Result"))); - ToolTipService::SetToolTip(BtnSwitch(), winrt::box_value(winrt::to_hstring(_("Switch currencies")))); + ToolTipService::SetToolTip(BtnSwitch(), winrt::box_value(winrt::to_hstring(_("Switch Currencies")))); LblAmount().Text(winrt::to_hstring(_("Amount"))); TxtSourceAmount().PlaceholderText(winrt::to_hstring(_("Enter source amount"))); TxtResultAmount().PlaceholderText(L"0"); - ToolTipService::SetToolTip(BtnCopy(), winrt::box_value(winrt::to_hstring(_("Copy to Clipboard")))); + ToolTipService::SetToolTip(BtnCopy(), winrt::box_value(winrt::to_hstring(_("Copy Result Amount")))); } Windows::Foundation::IAsyncAction CurrencyConverterDialog::OnOpened(const ContentDialog& sender, const ContentDialogOpenedEventArgs& args) diff --git a/resources/po/POTFILES b/resources/po/POTFILES index 8624ab45..894047ee 100644 --- a/resources/po/POTFILES +++ b/resources/po/POTFILES @@ -1,8 +1,12 @@ libdenaro/src/models/account.cpp libdenaro/src/controllers/mainwindowcontroller.cpp +org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp org.nickvision.money.gnome/blueprints/main_window.blp org.nickvision.money.gnome/blueprints/preferences_dialog.blp org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp +org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp org.nickvision.money.gnome/src/views/mainwindow.cpp +org.nickvision.money.winui/AccountPage.xaml.cpp org.nickvision.money.winui/MainWindow.xaml.cpp -org.nickvision.money.winui/SettingsPage.xaml.cpp \ No newline at end of file +org.nickvision.money.winui/SettingsPage.xaml.cpp +org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp \ No newline at end of file diff --git a/resources/po/ar.po b/resources/po/ar.po index 25b119af..90c3260c 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-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" @@ -41,12 +41,12 @@ msgid "Two months from now" msgstr "" #: libdenaro/src/models/account.cpp:778 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer to {}" msgstr "Overfør til {0}" #: libdenaro/src/models/account.cpp:795 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer from {}" msgstr "Overfør fra {0}" @@ -126,12 +126,51 @@ msgstr "Ude af stand til at eksportere konto til fil." msgid "The account is already open." msgstr "Denne konto er allerede åben." +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 #, fuzzy msgid "Currency Converter" msgstr "Valutakode" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +msgid "Currency" +msgstr "Valuta" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +msgid "Switch Currencies" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "Resultat" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +msgid "Amount" +msgstr "Beløb" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +#, fuzzy +msgid "Copy Result Amount" +msgstr "Ingen seneste kontier" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -310,12 +349,33 @@ msgstr "Program" msgid "Quit" msgstr "Afslut" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "Luk" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +msgid "Result was copied to clipboard." +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Åbn" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "GitHub Depot" @@ -379,6 +439,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -389,6 +450,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -474,6 +536,24 @@ msgstr "Standard overførselstype" msgid "Default Group Color" msgstr "Standard overførselstype" +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +#, fuzzy +msgid "Enter source amount" +msgstr "Indtast beløb her" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "OK" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +msgid "Source (Error)" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +#, fuzzy +msgid "Result (Error)" +msgstr "Resultat" + #, fuzzy #~ msgid "" #~ "Unable to login to the account. The provided password may be invalid." @@ -519,9 +599,6 @@ msgstr "Standard overførselstype" #~ msgid "All files" #~ msgstr "Alle filer" -#~ msgid "Amount" -#~ msgstr "Beløb" - #~ msgid "Amount (Invalid)" #~ msgstr "Beløb (ugyldig)" @@ -545,12 +622,6 @@ msgstr "Standard overførselstype" #~ msgid "Change Password" #~ msgstr "Skift kodeord" -#~ msgid "Close" -#~ msgstr "Luk" - -#~ msgid "Currency" -#~ msgstr "Valuta" - #~ msgid "Currency Code" #~ msgstr "Valutakode" @@ -935,13 +1006,6 @@ msgstr "Standard overførselstype" #~ msgid "New" #~ msgstr "Ny" -#~ msgid "Result" -#~ msgstr "Resultat" - -#, fuzzy -#~ msgid "Copy Result Amount" -#~ msgstr "Ingen seneste kontier" - #, fuzzy #~ msgid "All Accounts" #~ msgstr "Konto" @@ -1109,9 +1173,6 @@ msgstr "Standard overførselstype" #~ msgid "money;finance;wallet;cash;bank;Nickvision;" #~ msgstr "penge;finans;pung;kontanter;bank;GTK;Nickvision;" -#~ msgid "OK" -#~ msgstr "OK" - #~ msgid "Customize the application's user interface." #~ msgstr "Tilpas programmets brugerflade." @@ -1206,9 +1267,6 @@ msgstr "Standard overførselstype" #~ msgid "Enter description here" #~ msgstr "Indtast beskrivelse her" -#~ msgid "Enter amount here" -#~ msgstr "Indtast beløb her" - #~ msgid "" #~ "— Manage multiple accounts at a time, with a familiar tab interface\n" #~ "— Easily filter transactions by type, group, or date\n" diff --git a/resources/po/de.po b/resources/po/de.po index a19fb295..bbba2da2 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-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" @@ -42,10 +42,12 @@ msgid "Two months from now" msgstr "" #: libdenaro/src/models/account.cpp:778 +#, c++-format msgid "Transfer to {}" msgstr "" #: libdenaro/src/models/account.cpp:795 +#, c++-format msgid "Transfer from {}" msgstr "" @@ -123,11 +125,49 @@ msgstr "" msgid "The account is already open." msgstr "" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 msgid "Currency Converter" msgstr "" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +msgid "Currency" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +msgid "Switch Currencies" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +msgid "Amount" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +msgid "Copy Result Amount" +msgstr "" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -291,12 +331,33 @@ msgstr "" msgid "Quit" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +msgid "Result was copied to clipboard." +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "" @@ -358,6 +419,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -368,6 +430,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -446,3 +509,19 @@ msgstr "" #: org.nickvision.money.winui/SettingsPage.xaml.cpp:35 msgid "Default Group Color" msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +msgid "Enter source amount" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +msgid "Source (Error)" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +msgid "Result (Error)" +msgstr "" diff --git a/resources/po/es.po b/resources/po/es.po index ff4e1cf8..b930b213 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-0400\n" "PO-Revision-Date: 2023-12-29 06:12+0000\n" "Last-Translator: Óscar Fernández Díaz \n" @@ -45,12 +45,12 @@ msgid "Two months from now" msgstr "Dentro de dos meses" #: libdenaro/src/models/account.cpp:778 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer to {}" msgstr "Transferir a {0}" #: libdenaro/src/models/account.cpp:795 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer from {}" msgstr "Transferir desde {0}" @@ -131,11 +131,50 @@ msgstr "No se puede exportar la cuenta a un archivo." msgid "The account is already open." msgstr "Esta cuenta ya está abierta." +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 msgid "Currency Converter" msgstr "Conversor de divisas" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +msgid "Currency" +msgstr "Moneda" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +#, fuzzy +msgid "Switch Currencies" +msgstr "Cambiar de divisa" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "Cambiar" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "Fuente" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "Resultado" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +msgid "Amount" +msgstr "Importe" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +msgid "Copy Result Amount" +msgstr "Copiar el resultado del importe" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -312,12 +351,36 @@ msgstr "Aplicación" msgid "Quit" msgstr "Salir" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "Error" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" +"No se han podido cargar los datos de la divisa. Por favor, vuelva a " +"intentarlo. Si el error persiste, notifique un error." + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "Cerrar" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +#, fuzzy +msgid "Result was copied to clipboard." +msgstr "Resultado copiado al portapapeles." + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Abrir" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "Repositorio de GitHub" @@ -381,6 +444,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -391,6 +455,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -477,6 +542,25 @@ msgstr "Tipo de transacción predeterminado" msgid "Default Group Color" msgstr "Tipo de transacción predeterminado" +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +#, fuzzy +msgid "Enter source amount" +msgstr "Introduzca aquí el importe" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "Aceptar" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +#, fuzzy +msgid "Source (Error)" +msgstr "Fuente" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +#, fuzzy +msgid "Result (Error)" +msgstr "Resultado" + #, fuzzy #~ msgid "" #~ "Unable to login to the account. The provided password may be invalid." @@ -538,9 +622,6 @@ msgstr "Tipo de transacción predeterminado" #~ msgid "All files" #~ msgstr "Todos los archivos" -#~ msgid "Amount" -#~ msgstr "Importe" - #~ msgid "Amount (Invalid)" #~ msgstr "Importe (no válido)" @@ -569,12 +650,6 @@ msgstr "Tipo de transacción predeterminado" #~ msgid "Change Password" #~ msgstr "Cambiar contraseña" -#~ msgid "Close" -#~ msgstr "Cerrar" - -#~ msgid "Currency" -#~ msgstr "Moneda" - #~ msgid "Currency Code" #~ msgstr "Código de moneda" @@ -644,9 +719,6 @@ msgstr "Tipo de transacción predeterminado" #~ msgid "Disassociate Existing" #~ msgstr "Disociar existente" -#~ msgid "Error" -#~ msgstr "Error" - #~ msgid "Export to File" #~ msgstr "Exportar a archivo" @@ -858,13 +930,6 @@ msgstr "Tipo de transacción predeterminado" #~ msgid "Unable to import transactions from the file." #~ msgstr "No se pueden importar las transacciones del archivo." -#~ msgid "" -#~ "Unable to load currency data. Please try again. If the error still " -#~ "persists, report a bug." -#~ msgstr "" -#~ "No se han podido cargar los datos de la divisa. Por favor, vuelva a " -#~ "intentarlo. Si el error persiste, notifique un error." - #~ msgid "" #~ "Unable to open the account. Please ensure that the app has permissions to " #~ "access the file and try again." @@ -1076,24 +1141,9 @@ msgstr "Tipo de transacción predeterminado" #~ msgid "Converter" #~ msgstr "Conversor" -#~ msgid "Switch currencies" -#~ msgstr "Cambiar de divisa" - -#~ msgid "Switch" -#~ msgstr "Cambiar" - #~ msgid "Loading..." #~ msgstr "Cargando..." -#~ msgid "Source" -#~ msgstr "Fuente" - -#~ msgid "Result" -#~ msgstr "Resultado" - -#~ msgid "Copy Result Amount" -#~ msgstr "Copiar el resultado del importe" - #~ msgid "All Accounts" #~ msgstr "Todas las cuentas" @@ -1338,9 +1388,6 @@ msgstr "Tipo de transacción predeterminado" #~ "— Exporte una cuenta como un archivo CSV e importe un archivo CSV, OFX o " #~ "QIF para añadir las transacciones en bloque a una cuenta" -#~ msgid "OK" -#~ msgstr "Aceptar" - #~ msgid "Please wait while transactions import..." #~ msgstr "Espere mientras se importan las transacciones..." @@ -1501,9 +1548,6 @@ msgstr "Tipo de transacción predeterminado" #~ msgid "Enter description here" #~ msgstr "Introduzca aquí la descripción" -#~ msgid "Enter amount here" -#~ msgstr "Introduzca aquí el importe" - #~ msgid "Money Account (*.nmoney)" #~ msgstr "Cuenta bancaria (*.nmoney)" diff --git a/resources/po/et.po b/resources/po/et.po index 1905d217..cb42981d 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -42,12 +42,12 @@ msgid "Two months from now" msgstr "" #: libdenaro/src/models/account.cpp:778 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer to {}" msgstr "Tehing ({0})" #: libdenaro/src/models/account.cpp:795 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer from {}" msgstr "Tehing ({0})" @@ -125,11 +125,52 @@ msgstr "" msgid "The account is already open." msgstr "" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 msgid "Currency Converter" msgstr "" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +#, fuzzy +msgid "Currency" +msgstr "Konto" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +msgid "Switch Currencies" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +#, fuzzy +msgid "Amount" +msgstr "Konto" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +#, fuzzy +msgid "Copy Result Amount" +msgstr "Kontod" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -299,12 +340,33 @@ msgstr "Sätted" msgid "Quit" msgstr "Lahku" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "Sulge" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +msgid "Result was copied to clipboard." +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Ava" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "" @@ -369,6 +431,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -379,6 +442,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -465,6 +529,22 @@ msgstr "Kustuta tehing" msgid "Default Group Color" msgstr "Kustuta tehing" +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +msgid "Enter source amount" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "OK" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +msgid "Source (Error)" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +msgid "Result (Error)" +msgstr "" + #, fuzzy, csharp-format #~ msgid "{0} transaction" #~ msgid_plural "{0} transactions" @@ -497,16 +577,9 @@ msgstr "Kustuta tehing" #~ msgid "All files" #~ msgstr "Kõik failid" -#, fuzzy -#~ msgid "Amount" -#~ msgstr "Konto" - #~ msgid "Apply" #~ msgstr "Rakenda" -#~ msgid "Close" -#~ msgstr "Sulge" - #, fuzzy #~ msgid "Delete Existing" #~ msgstr "Kustuta tehing" @@ -589,10 +662,6 @@ msgstr "Kustuta tehing" #~ msgid "New" #~ msgstr "Uus" -#, fuzzy -#~ msgid "Copy Result Amount" -#~ msgstr "Kontod" - #, fuzzy #~ msgid "All Accounts" #~ msgstr "Kontod" @@ -604,10 +673,6 @@ msgstr "Kustuta tehing" #~ msgid "Overwrite Existing Accounts" #~ msgstr "Uus konto" -#, fuzzy -#~ msgid "Account Currency" -#~ msgstr "Konto" - #, fuzzy #~ msgid "Backup" #~ msgstr "Tagasi" @@ -644,9 +709,6 @@ msgstr "Kustuta tehing" #~ msgid "New" #~ msgstr "Uus" -#~ msgid "OK" -#~ msgstr "OK" - #~ msgid "Save" #~ msgstr "Salvesta" diff --git a/resources/po/fi.po b/resources/po/fi.po index 70a90d67..a16aedf9 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-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 =2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 5.1-dev\n" #: libdenaro/src/models/account.cpp:106 @@ -45,12 +45,12 @@ msgid "Two months from now" msgstr "Za dva mjeseca" #: libdenaro/src/models/account.cpp:778 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer to {}" msgstr "Transferiraj na {0}" #: libdenaro/src/models/account.cpp:795 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer from {}" msgstr "Transferiraj sa {0}" @@ -131,11 +131,50 @@ msgstr "Nije moguće izvesti račun u datoteku." msgid "The account is already open." msgstr "Ovaj je račun već otvoren." +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 msgid "Currency Converter" msgstr "Konverter valuta" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +msgid "Currency" +msgstr "Valuta" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +#, fuzzy +msgid "Switch Currencies" +msgstr "Zamijeni valutu" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "Zamijeni" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "Izvor" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "Rezultat" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +msgid "Amount" +msgstr "Iznos" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +msgid "Copy Result Amount" +msgstr "Kopiraj iznos rezultata" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -309,12 +348,36 @@ msgstr "Program" msgid "Quit" msgstr "Zatvori program" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "Greška" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" +"Nije moguće učitati podatke o valuti. Pokušaj ponovo. Ako to ne pomogne " +"prijavi grešku." + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "Zatvori" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +#, fuzzy +msgid "Result was copied to clipboard." +msgstr "Rezultat je kopiran u međuspremnik." + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Otvori" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "GitHub repozitorij" @@ -378,6 +441,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -388,6 +452,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -474,6 +539,25 @@ msgstr "Standardna vrsta transakcije" msgid "Default Group Color" msgstr "Standardna vrsta transakcije" +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +#, fuzzy +msgid "Enter source amount" +msgstr "Ovdje upiši iznos" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "U redu" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +#, fuzzy +msgid "Source (Error)" +msgstr "Izvor" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +#, fuzzy +msgid "Result (Error)" +msgstr "Rezultat" + #, fuzzy #~ msgid "" #~ "Unable to login to the account. The provided password may be invalid." @@ -535,9 +619,6 @@ msgstr "Standardna vrsta transakcije" #~ msgid "All files" #~ msgstr "Sve datoteke" -#~ msgid "Amount" -#~ msgstr "Iznos" - #~ msgid "Amount (Invalid)" #~ msgstr "Iznos (neispravno)" @@ -564,12 +645,6 @@ msgstr "Standardna vrsta transakcije" #~ msgid "Change Password" #~ msgstr "Promijeni lozinku" -#~ msgid "Close" -#~ msgstr "Zatvori" - -#~ msgid "Currency" -#~ msgstr "Valuta" - #~ msgid "Currency Code" #~ msgstr "Kôd valute" @@ -639,9 +714,6 @@ msgstr "Standardna vrsta transakcije" #~ msgid "Disassociate Existing" #~ msgstr "Odspoji postojeće" -#~ msgid "Error" -#~ msgstr "Greška" - #~ msgid "Export to File" #~ msgstr "Izvezi u datoteku" @@ -853,13 +925,6 @@ msgstr "Standardna vrsta transakcije" #~ msgid "Unable to import transactions from the file." #~ msgstr "Nije moguće uvesti transakcije iz datoteke." -#~ msgid "" -#~ "Unable to load currency data. Please try again. If the error still " -#~ "persists, report a bug." -#~ msgstr "" -#~ "Nije moguće učitati podatke o valuti. Pokušaj ponovo. Ako to ne pomogne " -#~ "prijavi grešku." - #~ msgid "" #~ "Unable to open the account. Please ensure that the app has permissions to " #~ "access the file and try again." @@ -1071,24 +1136,9 @@ msgstr "Standardna vrsta transakcije" #~ msgid "Converter" #~ msgstr "Konverter" -#~ msgid "Switch currencies" -#~ msgstr "Zamijeni valutu" - -#~ msgid "Switch" -#~ msgstr "Zamijeni" - #~ msgid "Loading..." #~ msgstr "Učitavanje …" -#~ msgid "Source" -#~ msgstr "Izvor" - -#~ msgid "Result" -#~ msgstr "Rezultat" - -#~ msgid "Copy Result Amount" -#~ msgstr "Kopiraj iznos rezultata" - #~ msgid "All Accounts" #~ msgstr "Svi računi" @@ -1326,9 +1376,6 @@ msgstr "Standardna vrsta transakcije" #~ "– Izvezi račun kao CSV datoteku i uvezi CSV, OFX ili QIF datoteku za " #~ "skupno dodavanje transakcija računu" -#~ msgid "OK" -#~ msgstr "U redu" - #~ msgid "Customize the application's user interface." #~ msgstr "Prilagodi korisničko sučelje programa." @@ -1433,9 +1480,6 @@ msgstr "Standardna vrsta transakcije" #~ msgid "Enter description here" #~ msgstr "Ovdje upiši opis" -#~ msgid "Enter amount here" -#~ msgstr "Ovdje upiši iznos" - #~ msgid "Money Account (*.nmoney)" #~ msgstr "Money račun (*.nmoney)" diff --git a/resources/po/id.po b/resources/po/id.po index 9457daa2..d463a143 100644 --- a/resources/po/id.po +++ b/resources/po/id.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-0400\n" "PO-Revision-Date: 2023-06-07 19:40+0000\n" "Last-Translator: Krindog7337 \n" "Language-Team: Indonesian \n" "Language-Team: Italian \n" "Language-Team: Japanese \n" "Language-Team: Dutch \n" "Language-Team: LANGUAGE \n" @@ -41,12 +41,12 @@ msgid "Two months from now" msgstr "" #: libdenaro/src/models/account.cpp:778 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer to {}" msgstr "Transferir cap a {0}" #: libdenaro/src/models/account.cpp:795 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer from {}" msgstr "Transferir a partir de {0}" @@ -126,12 +126,51 @@ msgstr "Exportacion dins un fichièr del compte impossible." msgid "The account is already open." msgstr "Aqueste compte es ja dobèrt." +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 #, fuzzy msgid "Currency Converter" msgstr "Currency Code" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +msgid "Currency" +msgstr "Devisa" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +msgid "Switch Currencies" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "Resultat" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +msgid "Amount" +msgstr "Soma" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +#, fuzzy +msgid "Copy Result Amount" +msgstr "Cap de compte recent" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -316,12 +355,33 @@ msgstr "Aplicacion" msgid "Quit" msgstr "Quitar" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "Tampar" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +msgid "Result was copied to clipboard." +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Dobrir" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "Depaus GitHub" @@ -384,6 +444,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -394,6 +455,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -479,6 +541,24 @@ msgstr "Tipe de transaccion per defaut" msgid "Default Group Color" msgstr "Tipe de transaccion per defaut" +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +#, fuzzy +msgid "Enter source amount" +msgstr "Dintratz la soma aicí" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "D'acòrdi" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +msgid "Source (Error)" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +#, fuzzy +msgid "Result (Error)" +msgstr "Resultat" + #, fuzzy #~ msgid "" #~ "Unable to login to the account. The provided password may be invalid." @@ -533,9 +613,6 @@ msgstr "Tipe de transaccion per defaut" #~ msgid "All files" #~ msgstr "Totes los fichièrs" -#~ msgid "Amount" -#~ msgstr "Soma" - #~ msgid "Amount (Invalid)" #~ msgstr "Soma (invalida)" @@ -559,12 +636,6 @@ msgstr "Tipe de transaccion per defaut" #~ msgid "Change Password" #~ msgstr "Cambiar lo senhal" -#~ msgid "Close" -#~ msgstr "Tampar" - -#~ msgid "Currency" -#~ msgstr "Devisa" - #~ msgid "Currency Code" #~ msgstr "Currency Code" @@ -925,13 +996,6 @@ msgstr "Tipe de transaccion per defaut" #~ msgid "New" #~ msgstr "Novèla" -#~ msgid "Result" -#~ msgstr "Resultat" - -#, fuzzy -#~ msgid "Copy Result Amount" -#~ msgstr "Cap de compte recent" - #~ msgid "All Accounts" #~ msgstr "Totes los comptes" @@ -1105,9 +1169,6 @@ msgstr "Tipe de transaccion per defaut" #~ msgid "money;finance;wallet;cash;bank;Nickvision;" #~ msgstr "argent;finança;pòrtafuèlha;cash;GTK;Nickvision;" -#~ msgid "OK" -#~ msgstr "D'acòrdi" - #~ msgid "Customize the application's user interface." #~ msgstr "Personalizatz l’interfàcia utilizaire." @@ -1205,9 +1266,6 @@ msgstr "Tipe de transaccion per defaut" #~ msgid "Enter description here" #~ msgstr "Dintratz la descripcion aicí" -#~ msgid "Enter amount here" -#~ msgstr "Dintratz la soma aicí" - #~ msgid "Money Account (*.nmoney)" #~ msgstr "Compte bancari (*.nmoney)" diff --git a/resources/po/pl.po b/resources/po/pl.po index c7b6f7a8..a569c64d 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-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" @@ -41,12 +41,12 @@ msgid "Two months from now" msgstr "" #: libdenaro/src/models/account.cpp:778 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer to {}" msgstr "Transferir Para {0}" #: libdenaro/src/models/account.cpp:795 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer from {}" msgstr "Transferir De {0}" @@ -126,12 +126,51 @@ msgstr "Não foi possível exportar conta para o ficheiro." msgid "The account is already open." msgstr "Esta conta já está aberta." +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 #, fuzzy msgid "Currency Converter" msgstr "Currency Code" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +msgid "Currency" +msgstr "Currency" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +msgid "Switch Currencies" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "Resultado" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +msgid "Amount" +msgstr "Valor" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +#, fuzzy +msgid "Copy Result Amount" +msgstr "Nenhuma Conta Recente" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -312,12 +351,33 @@ msgstr "Aplicação" msgid "Quit" msgstr "Sair" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "Fechar" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +msgid "Result was copied to clipboard." +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Abrir" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "Repositório do GitHub" @@ -381,6 +441,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -391,6 +452,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -476,6 +538,24 @@ msgstr "Tipo de Transação Padrão" msgid "Default Group Color" msgstr "Tipo de Transação Padrão" +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +#, fuzzy +msgid "Enter source amount" +msgstr "Insira o valor aqui" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "OK" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +msgid "Source (Error)" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +#, fuzzy +msgid "Result (Error)" +msgstr "Resultado" + #, fuzzy #~ msgid "" #~ "Unable to login to the account. The provided password may be invalid." @@ -533,9 +613,6 @@ msgstr "Tipo de Transação Padrão" #~ msgid "All files" #~ msgstr "Todos os ficheiros" -#~ msgid "Amount" -#~ msgstr "Valor" - #~ msgid "Amount (Invalid)" #~ msgstr "Valor (inválido)" @@ -564,12 +641,6 @@ msgstr "Tipo de Transação Padrão" #~ msgid "Change Password" #~ msgstr "Alterar Senha" -#~ msgid "Close" -#~ msgstr "Fechar" - -#~ msgid "Currency" -#~ msgstr "Currency" - #~ msgid "Currency Code" #~ msgstr "Currency Code" @@ -982,13 +1053,6 @@ msgstr "Tipo de Transação Padrão" #~ msgid "New" #~ msgstr "Novo" -#~ msgid "Result" -#~ msgstr "Resultado" - -#, fuzzy -#~ msgid "Copy Result Amount" -#~ msgstr "Nenhuma Conta Recente" - #~ msgid "All Accounts" #~ msgstr "Todas as Contas" @@ -1198,9 +1262,6 @@ msgstr "Tipo de Transação Padrão" #~ msgstr "" #~ "dinheiro;finanças;carteira;dinheiro em espécie;banco;GTK;Nickvision;" -#~ msgid "OK" -#~ msgstr "OK" - #~ msgid "Customize the application's user interface." #~ msgstr "Customizar a interface da aplicação." @@ -1305,9 +1366,6 @@ msgstr "Tipo de Transação Padrão" #~ msgid "Enter description here" #~ msgstr "Insira a descrição aqui" -#~ msgid "Enter amount here" -#~ msgstr "Insira o valor aqui" - #~ msgid "Money Account (*.nmoney)" #~ msgstr "Conta Denaro (*.nmoney)" diff --git a/resources/po/pt_BR.po b/resources/po/pt_BR.po index 3bd19aa2..b944aed0 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-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 =2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 5.0.1-dev\n" #: libdenaro/src/models/account.cpp:106 @@ -45,12 +45,12 @@ msgid "Two months from now" msgstr "Через два месяца" #: libdenaro/src/models/account.cpp:778 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer to {}" msgstr "Перевод на {0}" #: libdenaro/src/models/account.cpp:795 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer from {}" msgstr "Перевод из {0}" @@ -131,11 +131,50 @@ msgstr "Невозможно экспортировать счёт в файл." msgid "The account is already open." msgstr "Этот счёт уже открыт." +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 msgid "Currency Converter" msgstr "Конвертер валют" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +msgid "Currency" +msgstr "Валюта" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +#, fuzzy +msgid "Switch Currencies" +msgstr "Поменять валюты местами" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "Поменять местами" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "Исходная валюта" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "Результат" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +msgid "Amount" +msgstr "Сумма" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +msgid "Copy Result Amount" +msgstr "Скопировать результат" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -309,12 +348,36 @@ msgstr "Приложение" msgid "Quit" msgstr "Выход" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "Ошибка" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" +"Невозможно загрузить данные о валютах. Пожалуйста, попробуйте снова. Если " +"ошибка не проходит, сообщите о ней." + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "Закрыть" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +#, fuzzy +msgid "Result was copied to clipboard." +msgstr "Результат скопирован в буфер обмена." + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Открыть" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "Репозиторий GitHub" @@ -378,6 +441,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -388,6 +452,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -474,6 +539,25 @@ msgstr "Тип транзакций по умолчанию" msgid "Default Group Color" msgstr "Тип транзакций по умолчанию" +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +#, fuzzy +msgid "Enter source amount" +msgstr "Введите сумму" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "ОК" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +#, fuzzy +msgid "Source (Error)" +msgstr "Исходная валюта" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +#, fuzzy +msgid "Result (Error)" +msgstr "Результат" + #, fuzzy #~ msgid "" #~ "Unable to login to the account. The provided password may be invalid." @@ -535,9 +619,6 @@ msgstr "Тип транзакций по умолчанию" #~ msgid "All files" #~ msgstr "Все файлы" -#~ msgid "Amount" -#~ msgstr "Сумма" - #~ msgid "Amount (Invalid)" #~ msgstr "Сумма (Некорректная)" @@ -564,12 +645,6 @@ msgstr "Тип транзакций по умолчанию" #~ msgid "Change Password" #~ msgstr "Изменить пароль" -#~ msgid "Close" -#~ msgstr "Закрыть" - -#~ msgid "Currency" -#~ msgstr "Валюта" - #~ msgid "Currency Code" #~ msgstr "Код валюты" @@ -639,9 +714,6 @@ msgstr "Тип транзакций по умолчанию" #~ msgid "Disassociate Existing" #~ msgstr "Отвязать существующие" -#~ msgid "Error" -#~ msgstr "Ошибка" - #~ msgid "Export to File" #~ msgstr "Экспорт в файл" @@ -854,13 +926,6 @@ msgstr "Тип транзакций по умолчанию" #~ msgid "Unable to import transactions from the file." #~ msgstr "Невозможно импортировать транзакции из файла." -#~ msgid "" -#~ "Unable to load currency data. Please try again. If the error still " -#~ "persists, report a bug." -#~ msgstr "" -#~ "Невозможно загрузить данные о валютах. Пожалуйста, попробуйте снова. Если " -#~ "ошибка не проходит, сообщите о ней." - #~ msgid "" #~ "Unable to open the account. Please ensure that the app has permissions to " #~ "access the file and try again." @@ -1072,24 +1137,9 @@ msgstr "Тип транзакций по умолчанию" #~ msgid "Converter" #~ msgstr "Конвертер" -#~ msgid "Switch currencies" -#~ msgstr "Поменять валюты местами" - -#~ msgid "Switch" -#~ msgstr "Поменять местами" - #~ msgid "Loading..." #~ msgstr "Загрузка..." -#~ msgid "Source" -#~ msgstr "Исходная валюта" - -#~ msgid "Result" -#~ msgstr "Результат" - -#~ msgid "Copy Result Amount" -#~ msgstr "Скопировать результат" - #~ msgid "All Accounts" #~ msgstr "Все счета" @@ -1333,9 +1383,6 @@ msgstr "Тип транзакций по умолчанию" #~ "— Экспортируйте данные в CSV и импортируйте из CSV, OFX или QIF файла для " #~ "массового добавления транзакций" -#~ msgid "OK" -#~ msgstr "ОК" - #~ msgid "Please wait while transactions import..." #~ msgstr "Пожалуйста, подождите окончания импорта транзакций..." @@ -1462,9 +1509,6 @@ msgstr "Тип транзакций по умолчанию" #~ msgid "Enter description here" #~ msgstr "Введите описание" -#~ msgid "Enter amount here" -#~ msgstr "Введите сумму" - #~ msgid "" #~ "— Manage multiple accounts at a time, with a familiar tab interface\n" #~ "— Easily filter transactions by type, group, or date\n" diff --git a/resources/po/sv.po b/resources/po/sv.po index 7e68cfb0..a8c49da7 100644 --- a/resources/po/sv.po +++ b/resources/po/sv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -42,12 +42,12 @@ msgid "Two months from now" msgstr "" #: libdenaro/src/models/account.cpp:778 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer to {}" msgstr "Överför Pengar" #: libdenaro/src/models/account.cpp:795 -#, fuzzy +#, fuzzy, c++-format msgid "Transfer from {}" msgstr "Överför Pengar" @@ -127,11 +127,52 @@ msgstr "Kan inte skriva över ett öppet konto." msgid "The account is already open." msgstr "Detta konto är redan öppet." +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 msgid "Currency Converter" msgstr "" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +#, fuzzy +msgid "Currency" +msgstr "Konto" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +msgid "Switch Currencies" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +#, fuzzy +msgid "Amount" +msgstr "Konto" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +#, fuzzy +msgid "Copy Result Amount" +msgstr "Senaste Konton" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -307,12 +348,33 @@ msgstr "Handlingar" msgid "Quit" msgstr "Quit" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "Stäng" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +msgid "Result was copied to clipboard." +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "Öppna" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "GitHub Repo" @@ -377,6 +439,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -387,6 +450,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -475,6 +539,22 @@ msgstr "Ny Transaktion" msgid "Default Group Color" msgstr "Ny Transaktion" +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +msgid "Enter source amount" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "OK" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +msgid "Source (Error)" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +msgid "Result (Error)" +msgstr "" + #, fuzzy #~ msgid "" #~ "Unable to login to the account. The provided password may be invalid." @@ -515,19 +595,12 @@ msgstr "Ny Transaktion" #~ msgid "All files" #~ msgstr "Alla filer" -#, fuzzy -#~ msgid "Amount" -#~ msgstr "Konto" - #~ msgid "Apply" #~ msgstr "Tillämpa" #~ msgid "Change Password" #~ msgstr "Change Password" -#~ msgid "Close" -#~ msgstr "Stäng" - #, fuzzy #~ msgid "Decimal Separator" #~ msgstr "Insert Decimal Separator" @@ -702,10 +775,6 @@ msgstr "Ny Transaktion" #~ msgid "New" #~ msgstr "Ny" -#, fuzzy -#~ msgid "Copy Result Amount" -#~ msgstr "Senaste Konton" - #, fuzzy #~ msgid "All Accounts" #~ msgstr "Konto" @@ -729,10 +798,6 @@ msgstr "Ny Transaktion" #~ msgid "Account Options" #~ msgstr "Inställningar" -#, fuzzy -#~ msgid "Account Currency" -#~ msgstr "Konto" - #, fuzzy #~ msgid "Import File" #~ msgstr "Importera från Fil" @@ -811,9 +876,6 @@ msgstr "Ny Transaktion" #~ "Skapa eller öppna ett konto för att börja. Du kan också dra in en fil " #~ "från din filhanterare." -#~ msgid "OK" -#~ msgstr "OK" - #~ msgid "Customize how Denaro uses locale settings." #~ msgstr "Customize how Denaro uses locale settings." diff --git a/resources/po/ta.po b/resources/po/ta.po index 4a4fbdea..49802ac1 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -42,10 +42,12 @@ msgid "Two months from now" msgstr "" #: libdenaro/src/models/account.cpp:778 +#, c++-format msgid "Transfer to {}" msgstr "" #: libdenaro/src/models/account.cpp:795 +#, c++-format msgid "Transfer from {}" msgstr "" @@ -123,11 +125,49 @@ msgstr "" msgid "The account is already open." msgstr "" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 msgid "Currency Converter" msgstr "" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +msgid "Currency" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +msgid "Switch Currencies" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +msgid "Amount" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +msgid "Copy Result Amount" +msgstr "" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -291,12 +331,33 @@ msgstr "" msgid "Quit" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +msgid "Result was copied to clipboard." +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "" @@ -358,6 +419,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -368,6 +430,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -446,3 +509,19 @@ msgstr "" #: org.nickvision.money.winui/SettingsPage.xaml.cpp:35 msgid "Default Group Color" msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +msgid "Enter source amount" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +msgid "Source (Error)" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +msgid "Result (Error)" +msgstr "" diff --git a/resources/po/tr.po b/resources/po/tr.po index e9b14cf2..1ccfb6a4 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-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" @@ -41,10 +41,12 @@ msgid "Two months from now" msgstr "" #: libdenaro/src/models/account.cpp:778 +#, c++-format msgid "Transfer to {}" msgstr "" #: libdenaro/src/models/account.cpp:795 +#, c++-format msgid "Transfer from {}" msgstr "" @@ -122,11 +124,52 @@ msgstr "" msgid "The account is already open." msgstr "" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:15 #: org.nickvision.money.gnome/blueprints/main_window.blp:5 #: org.nickvision.money.winui/MainWindow.xaml.cpp:79 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:20 msgid "Currency Converter" msgstr "" +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:28 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:22 +#, fuzzy +msgid "Currency" +msgstr "میزان" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:36 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:25 +msgid "Switch Currencies" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:39 +msgid "Switch" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:48 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:23 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:100 +msgid "Source" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:52 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:24 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:101 +msgid "Result" +msgstr "" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:57 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:26 +#, fuzzy +msgid "Amount" +msgstr "میزان" + +#: org.nickvision.money.gnome/blueprints/currency_converter_dialog.blp:67 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:29 +#, fuzzy +msgid "Copy Result Amount" +msgstr "میزانیں" + #: org.nickvision.money.gnome/blueprints/main_window.blp:8 #: org.nickvision.money.gnome/blueprints/preferences_dialog.blp:10 #: org.nickvision.money.gnome/blueprints/shortcuts_dialog.blp:30 @@ -291,12 +334,33 @@ msgstr "ترتیبات" msgid "Quit" msgstr "" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:82 +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:39 +msgid "Error" +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:40 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:40 +msgid "" +"Unable to load currency data. Please try again. If the error still persists, " +"report a bug." +msgstr "" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:41 +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:21 +msgid "Close" +msgstr "بند کریں" + +#: org.nickvision.money.gnome/src/controls/currencyconverterdialog.cpp:109 +msgid "Result was copied to clipboard." +msgstr "" + +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:94 #: org.nickvision.money.winui/MainWindow.xaml.cpp:82 msgid "Open" msgstr "کھولیں" -#: org.nickvision.money.gnome/src/views/mainwindow.cpp:128 +#: org.nickvision.money.gnome/src/views/mainwindow.cpp:146 #: org.nickvision.money.winui/MainWindow.xaml.cpp:75 msgid "GitHub Repo" msgstr "گٹہب ریپو" @@ -361,6 +425,7 @@ msgid "PREVIEW" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:103 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -371,6 +436,7 @@ msgid "" msgstr "" #: org.nickvision.money.winui/MainWindow.xaml.cpp:107 +#, c++-format msgid "" "Developers:\n" "{}\n" @@ -454,6 +520,22 @@ msgstr "" msgid "Default Group Color" msgstr "" +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:27 +msgid "Enter source amount" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:41 +msgid "OK" +msgstr "ٹھیک ہے" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:115 +msgid "Source (Error)" +msgstr "" + +#: org.nickvision.money.winui/Controls/CurrencyConverterDialog.xaml.cpp:128 +msgid "Result (Error)" +msgstr "" + #, fuzzy #~ msgid "Account Name" #~ msgstr "میزان" @@ -477,16 +559,9 @@ msgstr "" #~ msgid "Add" #~ msgstr "شامل کریں" -#, fuzzy -#~ msgid "Amount" -#~ msgstr "میزان" - #~ msgid "Apply" #~ msgstr "لاگو کریں" -#~ msgid "Close" -#~ msgstr "بند کریں" - #~ msgid "No" #~ msgstr "نہیں" @@ -509,10 +584,6 @@ msgstr "" #~ msgid "New" #~ msgstr "نیا" -#, fuzzy -#~ msgid "Copy Result Amount" -#~ msgstr "میزانیں" - #, fuzzy #~ msgid "All Accounts" #~ msgstr "میزانیں" @@ -521,10 +592,6 @@ msgstr "" #~ msgid "New Account" #~ msgstr "میزان" -#, fuzzy -#~ msgid "Account Currency" -#~ msgstr "میزان" - #, fuzzy #~ msgid "Backup" #~ msgstr "پیچھے" @@ -542,9 +609,6 @@ msgstr "" #~ msgid "New" #~ msgstr "نیا" -#~ msgid "OK" -#~ msgstr "ٹھیک ہے" - #~ msgid "Save" #~ msgstr "محفوظ کریں" diff --git a/resources/po/zh_CN.po b/resources/po/zh_CN.po index e63a9c3b..4c2b0705 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-07 22:59-0500\n" +"POT-Creation-Date: 2024-03-12 19:14-0400\n" "PO-Revision-Date: 2024-02-02 03:01+0000\n" "Last-Translator: aerowolf \n" "Language-Team: Chinese (Simplified)