The personal finance app for everyone (by everyone)
Ruby
Transactions & Activities pages improvements (#452)
Alessio Cappab3af8bf1aee7
diff --git a/app/components/UI/account/activity_date.html.erb b/app/components/UI/account/activity_date.html.erbindex 6efa7e967f..672c6d77c2 100644--- a/app/components/UI/account/activity_date.html.erb+++ b/app/components/UI/account/activity_date.html.erb@@ -4,9 +4,12 @@<div class="py-2 px-4 flex items-center justify-between font-medium text-xs text-secondary"><div class="flex pl-0.5 items-center gap-4"><%= check_box_tag "#{date}_entries_selection",- class: ["checkbox checkbox--light", "hidden": entries.size == 0],+ class: ["checkbox checkbox--light hidden lg:block", "lg:hidden": entries.size == 0],id: "selection_entry_#{date}",- data: { action: "bulk-select#toggleGroupSelection" } %>+ data: {+ action: "bulk-select#toggleGroupSelection",+ checkbox_toggle_target: "selectionEntry"+ } %><p class="uppercase space-x-1.5"><%= tag.span I18n.l(date, format: :long) %>diff --git a/app/components/UI/account/activity_feed.html.erb b/app/components/UI/account/activity_feed.html.erbindex dd95284305..362e1af066 100644--- a/app/components/UI/account/activity_feed.html.erb+++ b/app/components/UI/account/activity_feed.html.erb@@ -1,5 +1,5 @@<%= turbo_frame_tag dom_id(account, "entries") do %>- <div class="bg-container p-5 shadow-border-xs rounded-xl">+ <div class="bg-container px-3 py-4 lg:p-4 shadow-border-xs rounded-xl" data-controller="checkbox-toggle"><div class="flex items-center justify-between mb-4" data-testid="activity-menu"><%= tag.h2 t("accounts.show.activity.title"), class: "font-medium text-lg" %>@@ -46,8 +46,18 @@"data-auto-submit-form-target": "auto" %></div></div>- </div><% end %>+ <%= button_tag type: "button",+ id: "toggle-checkboxes-button",+ aria: { label: t(".toggle_selection_checkboxes") },+ class: "lg:hidden font-medium whitespace-nowrap inline-flex items-center gap-1 rounded-lg px-3 py-2 text-sm text-primary border border-secondary hover:bg-surface-hover",+ data: {+ action: "click->checkbox-toggle#toggle",+ checkbox_toggle_target: "toggleButton"+ } do %>+ <%= helpers.icon("list-todo") %>+ <% end %>+ </div></div><% if activity_dates.empty? %>@@ -66,8 +76,11 @@<div class="grid bg-container-inset rounded-xl grid-cols-12 items-center uppercase text-xs font-medium text-secondary px-5 py-3 mb-4"><div class="pl-0.5 col-span-8 flex items-center gap-4"><%= check_box_tag "selection_entry",- class: "checkbox checkbox--light",- data: { action: "bulk-select#togglePageSelection" } %>+ class: "checkbox checkbox--light hidden lg:block",+ data: {+ action: "bulk-select#togglePageSelection",+ checkbox_toggle_target: "selectionEntry"+ } %><%= tag.p t("accounts.show.activity.date") %></div>diff --git a/app/controllers/transaction_categories_controller.rb b/app/controllers/transaction_categories_controller.rbindex 4ad75db591..3fe8207dce 100644--- a/app/controllers/transaction_categories_controller.rb+++ b/app/controllers/transaction_categories_controller.rb@@ -28,6 +28,11 @@ class TransactionCategoriesController < ApplicationControllerpartial: "categories/menu",locals: { transaction: transaction }),+ turbo_stream.replace(+ "category_name_mobile_#{transaction.id}",+ partial: "categories/category_name_mobile",+ locals: { transaction: transaction }+ ),*flash_notification_stream_items]enddiff --git a/app/javascript/controllers/checkbox_toggle_controller.js b/app/javascript/controllers/checkbox_toggle_controller.jsnew file mode 100644index 0000000000..ba24c9aa83--- /dev/null+++ b/app/javascript/controllers/checkbox_toggle_controller.js@@ -0,0 +1,39 @@+import { Controller } from "@hotwired/stimulus"++export default class extends Controller {+ static targets = ["selectionEntry", "toggleButton"]++ toggle() {+ if (this.selectionEntryTargets.length === 0) return++ const shouldShow = this.selectionEntryTargets[0].classList.contains("hidden")++ this.selectionEntryTargets.forEach((el) => {+ if (shouldShow) {+ el.classList.remove("hidden")+ } else {+ el.classList.add("hidden")+ }+ })++ if (!shouldShow) {+ const bulkSelectElement =+ this.element.querySelector("[data-controller~='bulk-select']") ||+ this.element.closest("[data-controller~='bulk-select']") ||+ document.querySelector("[data-controller~='bulk-select']")+ if (bulkSelectElement) {+ const bulkSelectController = this.application.getControllerForElementAndIdentifier(+ bulkSelectElement,+ "bulk-select"+ )+ if (bulkSelectController) {+ bulkSelectController.deselectAll()+ }+ }+ }++ if (this.hasToggleButtonTarget) {+ this.toggleButtonTarget.classList.toggle("bg-surface", shouldShow)+ }+ }+}diff --git a/app/views/accounts/show/_activity.html.erb b/app/views/accounts/show/_activity.html.erbindex ce9e74cd89..7bd35639b5 100644--- a/app/views/accounts/show/_activity.html.erb+++ b/app/views/accounts/show/_activity.html.erb@@ -1,7 +1,7 @@<%# locals: (account:) %><%= turbo_frame_tag dom_id(account, "entries") do %>- <div class="bg-container p-5 shadow-border-xs rounded-xl">+ <div class="bg-container px-3 py-4 lg:p-4 shadow-border-xs rounded-xl"><div class="flex items-center justify-between mb-4" data-testid="activity-menu"><%= tag.h2 t(".title"), class: "font-medium text-lg" %><% unless @account.linked? %>@@ -55,7 +55,7 @@<% else %><%= tag.div id: dom_id(@account, "entries_bulk_select"),data: {- controller: "bulk-select",+ controller: "bulk-select checkbox-toggle",bulk_select_singular_label_value: t(".entry"),bulk_select_plural_label_value: t(".entries")} do %>@@ -66,8 +66,11 @@<div class="grid bg-container-inset rounded-xl grid-cols-12 items-center uppercase text-xs font-medium text-secondary px-5 py-3 mb-4"><div class="pl-0.5 col-span-8 flex items-center gap-4"><%= check_box_tag "selection_entry",- class: "checkbox checkbox--light",- data: { action: "bulk-select#togglePageSelection" } %>+ class: "checkbox checkbox--light hidden lg:block",+ data: {+ action: "bulk-select#togglePageSelection",+ checkbox_toggle_target: "selectionEntry"+ } %><p><%= t(".date") %></p></div><%= tag.p t(".amount"), class: "col-span-2 justify-self-end" %>diff --git a/app/views/categories/_badge_mobile.html.erb b/app/views/categories/_badge_mobile.html.erbnew file mode 100644index 0000000000..4f96f25b4b--- /dev/null+++ b/app/views/categories/_badge_mobile.html.erb@@ -0,0 +1,14 @@+<%# locals: (category:) %>+<% category ||= Category.uncategorized %>++<div>+ <span class="flex lg:hidden items-center gap-1 text-sm font-medium rounded-full px-1.5 py-1 border truncate focus-visible:outline-none focus-visible:ring-0 w-8 h-8 justify-center"+ style="+ background-color: color-mix(in oklab, <%= category.color %> 10%, transparent);+ border-color: color-mix(in oklab, <%= category.color %> 10%, transparent);+ color: <%= category.color %>;">+ <% if category.lucide_icon.present? %>+ <%= icon category.lucide_icon, size: "sm", color: "current" %>+ <% end %>+ </span>+</div>\ No newline at end of filediff --git a/app/views/categories/_category_name_mobile.html.erb b/app/views/categories/_category_name_mobile.html.erbnew file mode 100644index 0000000000..2f9bd07cbb--- /dev/null+++ b/app/views/categories/_category_name_mobile.html.erb@@ -0,0 +1,7 @@+<span id="category_name_mobile_<%= transaction.id %>" class="text-secondary lg:hidden">+ <% if transaction.transfer&.categorizable? || transaction.transfer.nil? %>+ <%= transaction.category&.name || Category.uncategorized.name %>+ <% else %>+ <%= transaction.transfer&.payment? ? payment_category.name : transfer_category.name %>+ <% end %>+</span>diff --git a/app/views/categories/_menu.html.erb b/app/views/categories/_menu.html.erbindex f7c74eaca4..ad7dc4f5c4 100644--- a/app/views/categories/_menu.html.erb+++ b/app/views/categories/_menu.html.erb@@ -2,7 +2,12 @@<%= render DS::Menu.new(variant: "button") do |menu| %><% menu.with_button do %>- <% render partial: "categories/badge", locals: { category: transaction.category } %>+ <div class="hidden lg:flex">+ <%= render partial: "categories/badge", locals: { category: transaction.category } %>+ </div>+ <div class="flex lg:hidden">+ <%= render partial: "categories/badge_mobile", locals: { category: transaction.category } %>+ </div><% end %><% menu.with_custom_content do %>diff --git a/app/views/category/dropdowns/_row.html.erb b/app/views/category/dropdowns/_row.html.erbindex 6e25d478f2..0a4927dcd7 100644--- a/app/views/category/dropdowns/_row.html.erb+++ b/app/views/category/dropdowns/_row.html.erb@@ -13,6 +13,7 @@}),method: :patch,+ data: { turbo_frame: "category_dropdown" },class: "flex w-full items-center gap-1.5 cursor-pointer focus:outline-none" do %><%= icon("check") if is_selected %>diff --git a/app/views/entries/_entry_group.html.erb b/app/views/entries/_entry_group.html.erbindex 2ee8954c12..7a0d144703 100644--- a/app/views/entries/_entry_group.html.erb+++ b/app/views/entries/_entry_group.html.erb@@ -4,9 +4,12 @@<div class="py-2 px-4 flex items-center justify-between font-medium text-xs text-secondary"><div class="flex pl-0.5 items-center gap-4"><%= check_box_tag "#{date}_entries_selection",- class: ["checkbox checkbox--light", "hidden": entries.size == 0],+ class: ["checkbox checkbox--light hidden lg:block", "lg:hidden": entries.size == 0],id: "selection_entry_#{date}",- data: { action: "bulk-select#toggleGroupSelection" } %>+ data: {+ action: "bulk-select#toggleGroupSelection",+ checkbox_toggle_target: "selectionEntry"+ } %><p class="uppercase space-x-1.5"><%= tag.span I18n.l(date, format: :long) %>diff --git a/app/views/entries/_selection_bar.html.erb b/app/views/entries/_selection_bar.html.erbindex 48648c2a43..4c7d8d48b7 100644--- a/app/views/entries/_selection_bar.html.erb+++ b/app/views/entries/_selection_bar.html.erb@@ -1,4 +1,4 @@-<div class="fixed bottom-6 z-10 flex items-center justify-between rounded-xl bg-container-inset border-primary shadow-border-xs px-4 text-sm text-primary w-[420px] py-1.5">+<div class="fixed bottom-30 md:bottom-6 z-10 flex items-center justify-between rounded-xl bg-container-inset border-primary shadow-border-xs px-4 text-sm text-primary md:w-[420px] w-[90%] py-1.5"><div class="flex items-center gap-2"><%= check_box_tag "entry_selection", 1, true, class: "checkbox checkbox--light", data: { action: "bulk-select#deselectAll" } %>diff --git a/app/views/shared/_pagination.html.erb b/app/views/shared/_pagination.html.erbindex afc047de53..c3c9c292a9 100644--- a/app/views/shared/_pagination.html.erb+++ b/app/views/shared/_pagination.html.erb@@ -1,7 +1,7 @@<%# locals: (pagy:) %><nav class="flex w-full items-center justify-between">- <div class="flex items-center gap-1">+ <div class="flex items-center gap-1 mr-3"><div><% if pagy.prev %><%= link_to pagy_url_for(pagy, pagy.prev),diff --git a/app/views/shared/_ruler.html.erb b/app/views/shared/_ruler.html.erbindex faf96d8ee6..2c1ed15aa0 100644--- a/app/views/shared/_ruler.html.erb+++ b/app/views/shared/_ruler.html.erb@@ -1,2 +1,2 @@<%# locals: (classes: nil) %>-<hr class="border-divider <%= classes || "mx-4" %>">+<hr class="border-divider <%= classes || "mx-3 lg:mx-4" %>">diff --git a/app/views/transactions/_transaction.html.erb b/app/views/transactions/_transaction.html.erbindex ea95c4d5f8..6664e07505 100644--- a/app/views/transactions/_transaction.html.erb+++ b/app/views/transactions/_transaction.html.erb@@ -4,32 +4,45 @@<%= turbo_frame_tag dom_id(entry) do %><%= turbo_frame_tag dom_id(transaction) do %>- <div class="grid grid-cols-12 items-center text-primary text-sm font-medium p-4 lg:p-4 <%= entry.excluded ? "opacity-50 text-gray-400" : "" %>">+ <div class="flex lg:grid lg:grid-cols-12 items-center text-primary text-sm font-medium p-3 lg:p-4 <%= entry.excluded ? "opacity-50 text-gray-400" : "" %>">- <div class="pr-4 lg:pr-10 flex items-center gap-3 lg:gap-4 col-span-8">+ <div class="pr-4 lg:pr-10 flex items-center gap-3 lg:gap-4 col-span-8 min-w-0"><%= check_box_tag dom_id(entry, "selection"),disabled: transaction.transfer.present?,- class: "checkbox checkbox--light",+ class: "checkbox checkbox--light hidden lg:block",data: {id: entry.id,"bulk-select-target": "row",- action: "bulk-select#toggleRowSelection"+ action: "bulk-select#toggleRowSelection",+ checkbox_toggle_target: "selectionEntry"} %><div class="max-w-full">- <%= content_tag :div, class: ["flex items-center gap-2"] do %>- <% if transaction.merchant&.logo_url.present? %>- <%= image_tag transaction.merchant.logo_url,- class: "w-6 h-6 rounded-full",- loading: "lazy" %>- <% else %>- <%= render DS::FilledIcon.new(- variant: :text,- text: entry.name,- size: "sm",- rounded: true- ) %>- <% end %>+ <%= content_tag :div, class: ["flex items-center gap-3 lg:gap-4"] do %>+ <div class="hidden lg:flex">+ <% if transaction.merchant&.logo_url.present? %>+ <%= image_tag transaction.merchant.logo_url,+ class: "w-9 h-9 rounded-full",+ loading: "lazy" %>+ <% else %>+ <div class="hidden lg:flex">+ <%= render DS::FilledIcon.new(+ variant: :text,+ text: entry.name,+ size: "lg",+ rounded: true+ ) %>+ </div>+ <% end %>+ </div>+ <div class="flex md:hidden items-center gap-1 col-span-2 relative">+ <%= render "transactions/transaction_category", transaction: transaction %>+ <% if transaction.merchant&.logo_url.present? %>+ <%= image_tag transaction.merchant.logo_url,+ class: "w-5 h-5 rounded-full absolute -bottom-1 -right-1 border border-secondary pointer-events-none",+ loading: "lazy" %>+ <% end %>+ </div><div class="truncate"><div class="space-y-0.5">@@ -79,16 +92,27 @@</div></div>- <div class="text-secondary text-xs font-normal hidden lg:block">+ <div class="text-secondary text-xs font-normal"><% if transaction.transfer? %><span class="text-secondary">- <%= transaction.loan_payment? ? "Loan Payment" : "Transfer" %> • <%= entry.account.name %>+ <%= transaction.loan_payment? ? t("transactions.show.loan_payment") : t("transactions.show.transfer") %> • <%= entry.account.name %></span><% else %>- <%= link_to entry.account.name,- account_path(entry.account, tab: "transactions"),- data: { turbo_frame: "_top" },- class: "hover:underline" %>+ <% if transaction.merchant&.present? %>+ <span class="hidden lg:inline truncate"><%= transaction.merchant.name %> • </span>+ <% end %>+ <span class="text-secondary hidden lg:inline">+ <%= link_to entry.account.name,+ account_path(entry.account, tab: "transactions"),+ data: { turbo_frame: "_top" },+ class: "hover:underline" %>+ </span>+ <div class="flex items-center gap-1 truncate">+ <%= render "categories/category_name_mobile", transaction: transaction %>+ <% if transaction.merchant&.present? %>+ <span class="lg:hidden truncate">• <%= transaction.merchant.name %></span>+ <% end %>+ </div><% end %></div></div>@@ -101,7 +125,7 @@<%= render "transactions/transaction_category", transaction: transaction %></div>- <div class="col-span-2 col-start-11 md:col-start-auto ml-auto text-right">+ <div class="shrink-0 col-span-4 lg:col-span-2 ml-auto text-right"><%= content_tag :p,transaction.transfer? && view_ctx == "global" ? "+/- #{format_money(entry.amount_money.abs)}" : format_money(-entry.amount_money),class: ["text-green-600": entry.amount.negative?] %>diff --git a/app/views/transactions/_transaction_category.html.erb b/app/views/transactions/_transaction_category.html.erbindex 933a80feab..e124c02139 100644--- a/app/views/transactions/_transaction_category.html.erb+++ b/app/views/transactions/_transaction_category.html.erb@@ -4,6 +4,11 @@<% if transaction.transfer&.categorizable? || transaction.transfer.nil? %><%= render "categories/menu", transaction: transaction %><% else %>- <%= render "categories/badge", category: transaction.transfer&.payment? ? payment_category : transfer_category %>+ <div class="hidden lg:flex">+ <%= render "categories/badge", category: transaction.transfer&.payment? ? payment_category : transfer_category %>+ </div>+ <div class="flex lg:hidden">+ <%= render "categories/badge_mobile", category: transaction.transfer&.payment? ? payment_category : transfer_category %>+ </div><% end %></div>diff --git a/app/views/transactions/_transfer_match.html.erb b/app/views/transactions/_transfer_match.html.erbindex 1b3a6df788..53d05a4f47 100644--- a/app/views/transactions/_transfer_match.html.erb+++ b/app/views/transactions/_transfer_match.html.erb@@ -6,9 +6,12 @@<%= icon "link-2", size: "sm", class: "text-secondary" %></span><% elsif transaction.transfer.pending? %>- <span class="inline-flex items-center rounded-full bg-surface-inset px-2 py-0.5 text-xs font-medium text-secondary">+ <span class="hidden lg:inline-flex items-center rounded-full bg-surface-inset px-2 py-0.5 text-xs font-medium text-secondary">Auto-matched</span>+ <span class="inline-flex lg:hidden items-center rounded-full bg-surface-inset px-2 py-0.5 text-xs font-medium text-secondary">+ A/M+ </span><%= button_to transfer_path(transaction.transfer, transfer: { status: "confirmed" }),method: :patch,diff --git a/app/views/transactions/index.html.erb b/app/views/transactions/index.html.erbindex 59ab9eb18c..58055f342d 100644--- a/app/views/transactions/index.html.erb+++ b/app/views/transactions/index.html.erb@@ -46,10 +46,10 @@<%= render "summary", totals: @search.totals %><div id="transactions"- data-controller="bulk-select"+ data-controller="bulk-select checkbox-toggle"data-bulk-select-singular-label-value="<%= t(".transaction") %>"data-bulk-select-plural-label-value="<%= t(".transactions") %>"- class="flex flex-col bg-container rounded-xl shadow-border-xs p-4">+ class="flex flex-col bg-container rounded-xl shadow-border-xs px-3 py-4 lg:p-4"><%= render "transactions/searches/search" %><div id="entry-selection-bar" data-bulk-select-target="selectionBar" class="flex justify-center hidden">@@ -62,8 +62,11 @@<div class="grid-cols-12 bg-container-inset rounded-xl px-5 py-3 text-xs uppercase font-medium text-secondary items-center mb-4 grid"><div class="pl-0.5 col-span-8 flex items-center gap-4"><%= check_box_tag "selection_entry",- class: "checkbox checkbox--light",- data: { action: "bulk-select#togglePageSelection" } %>+ class: "checkbox checkbox--light hidden lg:block",+ data: {+ action: "bulk-select#togglePageSelection",+ checkbox_toggle_target: "selectionEntry"+ } %><p>transaction</p></div>diff --git a/app/views/transactions/searches/_form.html.erb b/app/views/transactions/searches/_form.html.erbindex d11fe5cff6..c86d0a5397 100644--- a/app/views/transactions/searches/_form.html.erb+++ b/app/views/transactions/searches/_form.html.erb@@ -30,5 +30,16 @@<%= render "transactions/searches/menu", form: form %><% end %><% end %>++ <%= button_tag type: "button",+ id: "toggle-checkboxes-button",+ aria: { label: t(".toggle_selection_checkboxes") },+ class: "lg:hidden font-medium whitespace-nowrap inline-flex items-center gap-1 rounded-lg px-3 py-2 text-sm text-primary border border-secondary hover:bg-surface-hover",+ data: {+ action: "click->checkbox-toggle#toggle",+ checkbox_toggle_target: "toggleButton"+ } do %>+ <%= icon("list-todo") %>+ <% end %></div><% end %>diff --git a/app/views/valuations/_valuation.html.erb b/app/views/valuations/_valuation.html.erbindex 9bb41ce115..201628ff11 100644--- a/app/views/valuations/_valuation.html.erb+++ b/app/views/valuations/_valuation.html.erb@@ -7,14 +7,14 @@<%= turbo_frame_tag dom_id(entry) do %><%= turbo_frame_tag dom_id(valuation) do %>- <div class="p-4 grid grid-cols-12 items-center text-primary text-sm font-medium">- <div class="col-span-8 flex items-center gap-4">+ <div class="p-3 lg:p-4 grid grid-cols-12 items-center text-primary text-sm font-medium">+ <div class="col-span-8 flex items-center gap-3 lg:gap-4"><%= check_box_tag dom_id(entry, "selection"),- class: "checkbox checkbox--light",- data: { id: entry.id, "bulk-select-target": "row", action: "bulk-select#toggleRowSelection" } %>+ class: "checkbox checkbox--light hidden lg:block",+ data: { id: entry.id, "bulk-select-target": "row", action: "bulk-select#toggleRowSelection", checkbox_toggle_target: "selectionEntry" } %><div class="flex items-center gap-3">- <%= render DS::FilledIcon.new(icon: icon, size: "sm", hex_color: color, rounded: true) %>+ <%= render DS::FilledIcon.new(icon: icon, size: "md", hex_color: color, rounded: true) %><div class="truncate text-primary"><%= link_to entry.name,diff --git a/config/locales/views/transactions/ca.yml b/config/locales/views/transactions/ca.ymlindex 366d9d4059..8633369870 100644--- a/config/locales/views/transactions/ca.yml+++ b/config/locales/views/transactions/ca.yml@@ -79,4 +79,6 @@ ca:search:equal_to: igual agreater_than: major que- less_than: menor que\ No newline at end of file+ less_than: menor que+ form:+ toggle_selection_checkboxes: Commuta totes les caselles\ No newline at end of filediff --git a/config/locales/views/transactions/de.yml b/config/locales/views/transactions/de.ymlindex 3d4ab2bf2d..2674005b41 100644--- a/config/locales/views/transactions/de.yml+++ b/config/locales/views/transactions/de.yml@@ -80,3 +80,5 @@ de:equal_to: gleichgreater_than: größer alsless_than: kleiner als+ form:+ toggle_selection_checkboxes: Alle Kontrollkästchen umschaltendiff --git a/config/locales/views/transactions/en.yml b/config/locales/views/transactions/en.ymlindex 012ccd190d..e664072482 100644--- a/config/locales/views/transactions/en.yml+++ b/config/locales/views/transactions/en.yml@@ -86,3 +86,5 @@ en:equal_to: equal togreater_than: greater thanless_than: less than+ form:+ toggle_selection_checkboxes: Toggle all checkboxesdiff --git a/config/locales/views/transactions/es.yml b/config/locales/views/transactions/es.ymlindex fc542f110d..03c01f78c5 100644--- a/config/locales/views/transactions/es.yml+++ b/config/locales/views/transactions/es.yml@@ -80,3 +80,5 @@ es:equal_to: igual agreater_than: mayor queless_than: menor que+ form:+ toggle_selection_checkboxes: Alternar todas las casillasdiff --git a/config/locales/views/transactions/nb.yml b/config/locales/views/transactions/nb.ymlindex a293f740e8..5661ad062d 100644--- a/config/locales/views/transactions/nb.yml+++ b/config/locales/views/transactions/nb.yml@@ -80,4 +80,6 @@ nb:search:equal_to: likgreater_than: større enn- less_than: mindre enn\ No newline at end of file+ less_than: mindre enn+ form:+ toggle_selection_checkboxes: Veksle alle avkryssingsbokser\ No newline at end of filediff --git a/config/locales/views/transactions/pt-BR.yml b/config/locales/views/transactions/pt-BR.ymlindex ead95f7e43..15476c952a 100644--- a/config/locales/views/transactions/pt-BR.yml+++ b/config/locales/views/transactions/pt-BR.yml@@ -84,3 +84,5 @@ pt-BR:equal_to: igual agreater_than: maior queless_than: menor que+ form:+ toggle_selection_checkboxes: Alternar todas as caixas de seleçãodiff --git a/config/locales/views/transactions/ro.yml b/config/locales/views/transactions/ro.ymlindex 31f231af38..8312d34061 100644--- a/config/locales/views/transactions/ro.yml+++ b/config/locales/views/transactions/ro.yml@@ -80,3 +80,5 @@ ro:equal_to: egal cugreater_than: mai mare decâtless_than: mai mic decât+ form:+ toggle_selection_checkboxes: Comută toate casetele de selectarediff --git a/config/locales/views/transactions/tr.yml b/config/locales/views/transactions/tr.ymlindex 262e742d97..b7f545a8e1 100644--- a/config/locales/views/transactions/tr.yml+++ b/config/locales/views/transactions/tr.yml@@ -79,4 +79,6 @@ tr:search:equal_to: eşitgreater_than: daha büyük- less_than: daha küçük\ No newline at end of file+ less_than: daha küçük+ form:+ toggle_selection_checkboxes: Tüm onay kutularını değiştir\ No newline at end of filediff --git a/config/locales/views/transactions/zh-CN.yml b/config/locales/views/transactions/zh-CN.ymlindex 214709670f..b8533bba2a 100644--- a/config/locales/views/transactions/zh-CN.yml+++ b/config/locales/views/transactions/zh-CN.yml@@ -63,6 +63,8 @@ zh-CN:equal_to: 等于greater_than: 大于less_than: 小于+ form:+ toggle_selection_checkboxes: 切换所有复选框show:account_label: 账户amount: 金额