Compare commits

..

1 Commits

Author SHA1 Message Date
Herculino Trotta ae115cca15 feat(tom-select): clear input after picking on a multi-item select 2026-06-12 23:32:17 -03:00
2 changed files with 37 additions and 24 deletions
+33 -23
View File
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-06 08:15+0000\n" "POT-Creation-Date: 2026-06-06 08:15+0000\n"
"PO-Revision-Date: 2026-06-08 07:57+0000\n" "PO-Revision-Date: 2026-02-18 11:24+0000\n"
"Last-Translator: Pawel Augustyn <pawelaugustyn15@gmail.com>\n" "Last-Translator: Pawel Augustyn <pawelaugustyn15@gmail.com>\n"
"Language-Team: Polish <https://translations.herculino.com/projects/wygiwyh/" "Language-Team: Polish <https://translations.herculino.com/projects/wygiwyh/"
"app/pl/>\n" "app/pl/>\n"
@@ -18,7 +18,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n" "|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 2026.6\n" "X-Generator: Weblate 5.15.2\n"
#: apps/accounts/forms.py:24 #: apps/accounts/forms.py:24
msgid "Group name" msgid "Group name"
@@ -1424,7 +1424,7 @@ msgstr "Zapisz i dodaj kolejne"
#: apps/transactions/forms.py:270 templates/cotton/transaction/item.html:158 #: apps/transactions/forms.py:270 templates/cotton/transaction/item.html:158
#: templates/transactions/fragments/attachments.html:4 #: templates/transactions/fragments/attachments.html:4
msgid "Attachments" msgid "Attachments"
msgstr "Załączniki" msgstr ""
#: apps/transactions/forms.py:271 #: apps/transactions/forms.py:271
msgid "" msgid ""
@@ -1596,12 +1596,16 @@ msgid "Uploaded By"
msgstr "" msgstr ""
#: apps/transactions/models.py:565 #: apps/transactions/models.py:565
#, fuzzy
#| msgid "Transactions on"
msgid "Transaction Attachment" msgid "Transaction Attachment"
msgstr "Załącznik transakcji" msgstr "Transakcje z dnia"
#: apps/transactions/models.py:566 #: apps/transactions/models.py:566
#, fuzzy
#| msgid "Transaction Tags"
msgid "Transaction Attachments" msgid "Transaction Attachments"
msgstr "Załączniki transakcji" msgstr "Tagi transakcji"
#: apps/transactions/models.py:595 templates/includes/sidebar.html:57 #: apps/transactions/models.py:595 templates/includes/sidebar.html:57
msgid "Yearly" msgid "Yearly"
@@ -1634,15 +1638,15 @@ msgstr ""
#: apps/transactions/models.py:622 apps/transactions/models.py:857 #: apps/transactions/models.py:622 apps/transactions/models.py:857
msgid "Start Date" msgid "Start Date"
msgstr "Data startowa" msgstr ""
#: apps/transactions/models.py:626 apps/transactions/models.py:858 #: apps/transactions/models.py:626 apps/transactions/models.py:858
msgid "End Date" msgid "End Date"
msgstr "Data końcowa" msgstr ""
#: apps/transactions/models.py:631 #: apps/transactions/models.py:631
msgid "Recurrence" msgid "Recurrence"
msgstr "Zlecenie stałe" msgstr ""
#: apps/transactions/models.py:634 #: apps/transactions/models.py:634
msgid "Installment Amount" msgid "Installment Amount"
@@ -1679,15 +1683,15 @@ msgstr "Zapauzowane"
#: apps/transactions/models.py:860 #: apps/transactions/models.py:860
msgid "Recurrence Type" msgid "Recurrence Type"
msgstr "Typ powtarzania" msgstr ""
#: apps/transactions/models.py:863 #: apps/transactions/models.py:863
msgid "Recurrence Interval" msgid "Recurrence Interval"
msgstr "Co ile powtarzać" msgstr ""
#: apps/transactions/models.py:866 #: apps/transactions/models.py:866
msgid "Keep at most" msgid "Keep at most"
msgstr "Zachowuj co najwyżej" msgstr ""
#: apps/transactions/models.py:870 #: apps/transactions/models.py:870
msgid "Last Generated Date" msgid "Last Generated Date"
@@ -1858,12 +1862,16 @@ msgid "Tag deleted successfully"
msgstr "Usunięto tag" msgstr "Usunięto tag"
#: apps/transactions/views/transactions.py:59 #: apps/transactions/views/transactions.py:59
#, fuzzy
#| msgid "Account updated successfully"
msgid "Attachment uploaded successfully" msgid "Attachment uploaded successfully"
msgstr "Pomyślnie dodano załącznik" msgstr "Konto zaktualizowane"
#: apps/transactions/views/transactions.py:110 #: apps/transactions/views/transactions.py:110
#, fuzzy
#| msgid "Account deleted successfully"
msgid "Attachment deleted successfully" msgid "Attachment deleted successfully"
msgstr "Usunięto załącznik" msgstr "Usunięto konto"
#: apps/transactions/views/transactions.py:350 #: apps/transactions/views/transactions.py:350
msgid "Transaction updated successfully" msgid "Transaction updated successfully"
@@ -2440,7 +2448,7 @@ msgstr ""
#: templates/cotton/transaction/item.html:227 #: templates/cotton/transaction/item.html:227
#: templates/cotton/ui/transactions_action_bar.html:78 #: templates/cotton/ui/transactions_action_bar.html:78
msgid "Duplicate" msgid "Duplicate"
msgstr "Zduplikuj" msgstr ""
#: templates/cotton/ui/account_card.html:10 #: templates/cotton/ui/account_card.html:10
#: templates/cotton/ui/currency_card.html:10 #: templates/cotton/ui/currency_card.html:10
@@ -2555,7 +2563,7 @@ msgstr ""
#: templates/cotton/ui/quick_transactions_buttons.html:32 #: templates/cotton/ui/quick_transactions_buttons.html:32
#: templates/cotton/ui/transactions_fab.html:35 #: templates/cotton/ui/transactions_fab.html:35
msgid "Recurring" msgid "Recurring"
msgstr "Zlecenie stałe" msgstr ""
#: templates/cotton/ui/quick_transactions_buttons.html:47 #: templates/cotton/ui/quick_transactions_buttons.html:47
#: templates/cotton/ui/transactions_fab.html:52 #: templates/cotton/ui/transactions_fab.html:52
@@ -3406,11 +3414,11 @@ msgstr "To usunie tę rzecz"
#: templates/recurring_transactions/fragments/add.html:5 #: templates/recurring_transactions/fragments/add.html:5
msgid "Add recurring transaction" msgid "Add recurring transaction"
msgstr "Dodaj zlecenie stałe" msgstr ""
#: templates/recurring_transactions/fragments/edit.html:5 #: templates/recurring_transactions/fragments/edit.html:5
msgid "Edit recurring transaction" msgid "Edit recurring transaction"
msgstr "Edytuj zlecenie stałe" msgstr ""
#: templates/recurring_transactions/fragments/table.html:46 #: templates/recurring_transactions/fragments/table.html:46
msgid "Unpause" msgid "Unpause"
@@ -3453,12 +3461,10 @@ msgstr ""
#: templates/recurring_transactions/fragments/table.html:93 #: templates/recurring_transactions/fragments/table.html:93
msgid "This will delete the recurrence and all transactions associated with it" msgid "This will delete the recurrence and all transactions associated with it"
msgstr "" msgstr ""
"Ta akcja spowoduje usunięcie zlecenia stałego i wszystkich powiązanych z nim "
"transakcji"
#: templates/recurring_transactions/fragments/table.html:121 #: templates/recurring_transactions/fragments/table.html:121
msgid "No recurring transactions" msgid "No recurring transactions"
msgstr "Brak zleceń stałych" msgstr ""
#: templates/rules/fragments/list.html:34 #: templates/rules/fragments/list.html:34
msgid "View" msgid "View"
@@ -3589,19 +3595,23 @@ msgstr ""
#: templates/transactions/fragments/attachments.html:20 #: templates/transactions/fragments/attachments.html:20
msgid "Delete this attachment?" msgid "Delete this attachment?"
msgstr "Czy chcesz usunąć ten załącznik?" msgstr ""
#: templates/transactions/fragments/attachments.html:21 #: templates/transactions/fragments/attachments.html:21
msgid "This file will be removed from the transaction." msgid "This file will be removed from the transaction."
msgstr "" msgstr ""
#: templates/transactions/fragments/attachments.html:30 #: templates/transactions/fragments/attachments.html:30
#, fuzzy
#| msgid "No runs yet"
msgid "No attachments yet" msgid "No attachments yet"
msgstr "Brak załączników" msgstr "Brak zleconych importów"
#: templates/transactions/fragments/attachments_manage.html:5 #: templates/transactions/fragments/attachments_manage.html:5
#, fuzzy
#| msgid "Transaction Tags"
msgid "Transaction attachments" msgid "Transaction attachments"
msgstr "Załączniki transakcji" msgstr "Tagi transakcji"
#: templates/transactions/fragments/bulk_edit.html:5 #: templates/transactions/fragments/bulk_edit.html:5
msgid "Bulk Editing" msgid "Bulk Editing"
+4 -1
View File
@@ -60,12 +60,15 @@ window.TomSelect = function createDynamicTomSelect(element) {
] ]
}); });
}, },
onDropdownOpen: function () { onDropdownOpen: function () {
schedulePopperUpdate(this); schedulePopperUpdate(this);
}, },
onItemAdd: function () { onItemAdd: function () {
if (this.settings.mode === 'multi') {
this.setTextboxValue();
this.refreshOptions(false);
}
schedulePopperUpdate(this); schedulePopperUpdate(this);
}, },
onItemRemove: function () { onItemRemove: function () {