Compare commits

..

4 Commits

Author SHA1 Message Date
Herculino Trotta
d81d89d9f6 feat: auto-refresh overview and networth pages (10m for overview and 1h for networth)
Useful if you want to leave WYGIWYH open in a fixed tab
2025-07-12 02:26:15 -03:00
Herculino Trotta
6826cfe79a Merge pull request #275
fix: backspacing on currency fields doesn't update mask
2025-07-09 20:27:40 -03:00
Herculino Trotta
0832ec75ca fix: visual bug when backspacing on the "amount" field 2025-07-09 20:24:27 -03:00
Dimitri Decrock
3090f632de locale(Dutch): update translation
Currently translated at 100.0% (661 of 661 strings)

Translation: WYGIWYH/App
Translate-URL: https://translations.herculino.com/projects/wygiwyh/app/nl/
2025-06-30 06:17:41 +00:00
7 changed files with 14 additions and 14 deletions

View File

@@ -37,6 +37,7 @@ class ArbitraryDecimalDisplayNumberInput(forms.TextInput):
"x-data": "",
"x-mask:dynamic": f"$money($input, '{get_format('DECIMAL_SEPARATOR')}', "
f"'{get_format('THOUSAND_SEPARATOR')}', '30')",
"x-on:keyup": "$el.dispatchEvent(new Event('input'))",
}
)

View File

@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-06-29 17:42+0000\n"
"PO-Revision-Date: 2025-06-21 16:16+0000\n"
"PO-Revision-Date: 2025-06-30 06:17+0000\n"
"Last-Translator: Dimitri Decrock <dj.flashpower@gmail.com>\n"
"Language-Team: Dutch <https://translations.herculino.com/projects/wygiwyh/"
"app/nl/>\n"
@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.11.4\n"
"X-Generator: Weblate 5.12.2\n"
#: apps/accounts/forms.py:24
msgid "Group name"
@@ -1846,7 +1846,7 @@ msgstr "Kalender"
#: apps/users/models.py:480
msgid "Volume"
msgstr ""
msgstr "Volume"
#: apps/users/models.py:499
msgid "Language"
@@ -2673,10 +2673,8 @@ msgid "Calculator"
msgstr "Rekenmachine"
#: templates/includes/navbar/user_menu.html:6
#, fuzzy
#| msgid "Import Profiles"
msgid "Profile"
msgstr "Profielen importeren"
msgstr "Profiel"
#: templates/includes/navbar/user_menu.html:15
msgid "Settings"

View File

@@ -52,7 +52,7 @@
</div>
<div class="row">
<div class="show-loading" hx-get="{% url 'calendar_list' month=month year=year %}"
hx-trigger="load, updated from:window, selective_update from:window"></div>
hx-trigger="load, updated from:window, selective_update from:window, every 10m"></div>
</div>
</div>
<c-ui.transactions_fab></c-ui.transactions_fab>

View File

@@ -104,7 +104,7 @@
<div id="summary"
hx-get="{% url 'monthly_summary' month=month year=year %}"
class="show-loading"
hx-trigger="load, updated from:window, selective_update from:window">
hx-trigger="load, updated from:window, selective_update from:window, every 10m">
</div>
</div>
<div class="tab-pane fade {% if summary_tab == 'currency' %}show active{% endif %}"
@@ -115,7 +115,7 @@
<div id="currency-summary"
hx-get="{% url 'monthly_currency_summary' month=month year=year %}"
class="show-loading"
hx-trigger="load, updated from:window, selective_update from:window">
hx-trigger="load, updated from:window, selective_update from:window, every 10m">
</div>
</div>
<div class="tab-pane fade {% if summary_tab == 'account' %}show active{% endif %}"
@@ -126,7 +126,7 @@
<div id="account-summary"
hx-get="{% url 'monthly_account_summary' month=month year=year %}"
class="show-loading"
hx-trigger="load, updated from:window, selective_update from:window">
hx-trigger="load, updated from:window, selective_update from:window, every 10m">
</div>
</div>
</div>
@@ -191,7 +191,7 @@
<div id="transactions"
class="show-loading"
hx-get="{% url 'monthly_transactions_list' month=month year=year %}"
hx-trigger="load, updated from:window" hx-include="#filter, #order">
hx-trigger="load, updated from:window, every 10m" hx-include="#filter, #order">
</div>
</div>
</div>

View File

@@ -9,6 +9,7 @@
{% block title %}{% if type == "current" %}{% translate 'Current Net Worth' %}{% else %}{% translate 'Projected Net Worth' %}{% endif %}{% endblock %}
{% block content %}
<div hx-trigger="every 60m" class="show-loading" hx-get="" hx-target="body">
<div class="container px-md-3 py-3" _="init call initializeAccountChart() then initializeCurrencyChart() end">
<div class="row gx-xl-4 gy-3 mb-4">
<div class="col-12 col-xl-5">
@@ -318,5 +319,5 @@
call currencyChart.update()
end
</script>
</div>
{% endblock %}

View File

@@ -113,7 +113,7 @@
<div id="data-content"
class="show-loading"
hx-get="{% url 'yearly_overview_account_data' year=year %}"
hx-trigger="load"
hx-trigger="load, every 10m"
hx-include="[name='account'], [name='month']"
hx-swap="innerHTML">
</div>

View File

@@ -115,7 +115,7 @@
<div id="data-content"
class="show-loading"
hx-get="{% url 'yearly_overview_currency_data' year=year %}"
hx-trigger="load"
hx-trigger="load, every 10m"
hx-include="[name='currency'], [name='month']"
hx-swap="innerHTML">
</div>