diff --git a/app/views/family_exports/_list.html.erb b/app/views/family_exports/_list.html.erb deleted file mode 100644 index 5d266eda8..000000000 --- a/app/views/family_exports/_list.html.erb +++ /dev/null @@ -1,77 +0,0 @@ -<%= turbo_frame_tag "family_exports", - data: exports.any? { |e| e.pending? || e.processing? } ? { - turbo_refresh_url: family_exports_path, - turbo_refresh_interval: 3000 - } : {} do %> -
- <% if exports.any? %> - <% exports.each do |export| %> -
-
-
-

<%= t("family_exports.list.export_from", date: l(export.created_at, format: :long)) %>

-

<%= export.filename %>

-
- - <% if export.processing? || export.pending? %> - - <%= t(".in_progress") %> - - <% elsif export.completed? %> - - <%= t(".complete") %> - - <% elsif export.failed? %> - - <%= t(".failed") %> - - <% end %> -
- - <% if export.processing? || export.pending? %> -
-
- <%= t("family_exports.exporting") %> -
- <% elsif export.completed? %> -
- <%= button_to family_export_path(export), - method: :delete, - class: "flex items-center gap-2 text-destructive hover:text-destructive-hover", - data: { - turbo_confirm: t("family_exports.delete_confirmation"), - turbo_frame: "_top" - } do %> - <%= icon "trash-2", class: "w-5 h-5 text-destructive" %> - <% end %> - - <%= link_to download_family_export_path(export), - class: "flex items-center gap-2 text-primary hover:text-primary-hover", - data: { turbo_frame: "_top" } do %> - <%= icon "download", class: "w-5 h-5" %> - <% end %> -
- <% elsif export.failed? %> -
-
- <%= icon "alert-circle", class: "w-4 h-4" %> -
- - <%= button_to family_export_path(export), - method: :delete, - class: "flex items-center gap-2 text-destructive hover:text-destructive-hover", - data: { - turbo_confirm: t("family_exports.delete_failed_confirmation"), - turbo_frame: "_top" - } do %> - <%= icon "trash-2", class: "w-5 h-5 text-destructive" %> - <% end %> -
- <% end %> -
- <% end %> - <% else %> -

<%= t("family_exports.index.no_exports") %>

- <% end %> -
-<% end %> diff --git a/app/views/family_exports/index.html.erb b/app/views/family_exports/index.html.erb index f4bee6bdf..619aa9da8 100644 --- a/app/views/family_exports/index.html.erb +++ b/app/views/family_exports/index.html.erb @@ -1,83 +1,127 @@ <%= settings_section title: t(".title") do %>
- <% if @exports.empty? %> -

<%= t(".no_exports") %>

- <% else %> -
- <% @exports.each do |export| %> -
-
-
-

<%= t("family_exports.list.export_from", date: l(export.created_at, format: :long)) %>

-

<%= export.filename %>

-
- - <% if export.processing? || export.pending? %> - - <%= t("family_exports.list.in_progress") %> - - <% elsif export.completed? %> - - <%= t("family_exports.list.complete") %> - - <% elsif export.failed? %> - - <%= t("family_exports.list.failed") %> - - <% end %> -
- - <% if export.processing? || export.pending? %> -
-
- <%= t("family_exports.exporting") %> -
- <% elsif export.completed? %> -
- <%= button_to family_export_path(export), - method: :delete, - class: "flex items-center gap-2 text-destructive hover:text-destructive-hover", - data: { - turbo_confirm: t("family_exports.delete_confirmation") - } do %> - <%= icon "trash-2", class: "w-5 h-5 text-destructive" %> - <% end %> - - <%= link_to download_family_export_path(export), - class: "flex items-center gap-2 text-primary hover:text-primary-hover" do %> - <%= icon "download", class: "w-5 h-5" %> - <% end %> -
- <% elsif export.failed? %> -
-
- <%= icon "alert-circle", class: "w-4 h-4" %> -
- - <%= button_to family_export_path(export), - method: :delete, - class: "flex items-center gap-2 text-destructive hover:text-destructive-hover", - data: { - turbo_confirm: t("family_exports.delete_failed_confirmation") - } do %> - <%= icon "trash-2", class: "w-5 h-5 text-destructive" %> - <% end %> -
- <% end %> -
- <% end %> +
+
+

+ <%= t("family_exports.table.title") %> +

+ · +

<%= @pagy.count %>

- <% if @pagy.pages > 1 %> -
- <%= render "shared/pagination", pagy: @pagy %> -
- <% end %> +
+ <% if @exports.any? %> + + + + + + + + + + + <% @exports.ordered.each do |export| %> + + + + + + + <% end %> + +
+ <%= t("family_exports.table.header.date") %> + + <%= t("family_exports.table.header.filename") %> + + <%= t("family_exports.table.header.status") %> + + <%= t("family_exports.table.header.actions") %> +
+ + <%= l(export.created_at, format: :long) %> + + + + <%= export.filename %> + + + <% if export.processing? || export.pending? %> + <%= render 'shared/badge' do %> + <%= t("family_exports.table.row.status.in_progress") %> + <% end %> + <% elsif export.completed? %> + <%= render 'shared/badge', color: 'success' do %> + <%= t("family_exports.table.row.status.complete") %> + <% end %> + <% elsif export.failed? %> + <%= render 'shared/badge', color: 'error' do %> + <%= t("family_exports.table.row.status.failed") %> + <% end %> + <% end %> + + <% if export.processing? || export.pending? %> +
+
+ <%= t("family_exports.exporting") %> +
+ <% elsif export.completed? %> +
+ <%= button_to family_export_path(export), + method: :delete, + class: "flex items-center gap-2 text-destructive hover:text-destructive-hover", + aria: { label: t("family_exports.table.row.actions.delete") }, + data: { + turbo_confirm: t("family_exports.delete_confirmation"), + turbo_frame: "_top" + } do %> + <%= icon "trash-2", class: "w-5 h-5 text-destructive" %> + <% end %> + + <%= link_to download_family_export_path(export), + class: "flex items-center gap-2 text-primary hover:text-primary-hover", + aria: { label: t("family_exports.table.row.actions.download") }, + data: { turbo_frame: "_top" } do %> + <%= icon "download", class: "w-5 h-5" %> + <% end %> +
+ <% elsif export.failed? %> +
+
+ <%= icon "alert-circle", class: "w-4 h-4" %> +
+ + <%= button_to family_export_path(export), + method: :delete, + class: "flex items-center gap-2 text-destructive hover:text-destructive-hover", + aria: { label: t("family_exports.table.row.actions.delete") }, + data: { + turbo_confirm: t("family_exports.delete_failed_confirmation"), + turbo_frame: "_top" + } do %> + <%= icon "trash-2", class: "w-5 h-5 text-destructive" %> + <% end %> +
+ <% end %> +
+ <% else %> +

+ <%= t("family_exports.table.empty") %> +

+ <% end %> +
+
+ + <% if @pagy.pages > 1 %> +
+ <%= render "shared/pagination", pagy: @pagy %> +
<% end %> <%= link_to new_family_export_path, - class: "bg-container-inset flex items-center justify-center gap-2 text-secondary mt-1 hover:bg-container-inset-hover rounded-lg px-4 py-2 w-full text-center", - data: { turbo_frame: :modal } do %> + class: "bg-container-inset inline-flex items-center justify-center gap-2 hover:bg-container-inset-hover rounded-lg px-4 py-2 w-full font-medium text-primary text-sm text-center", + data: { turbo_frame: :modal } do %> <%= icon("plus") %> <%= t(".new") %> <% end %> diff --git a/app/views/imports/_import.html.erb b/app/views/imports/_import.html.erb deleted file mode 100644 index bfb411da9..000000000 --- a/app/views/imports/_import.html.erb +++ /dev/null @@ -1,67 +0,0 @@ -
- -
- <%= link_to import_path(import), class: "text-sm text-primary hover:underline" do %> - <% if import.account.present? %> - <%= import.account.name + " " %> - <% end %> - - <%= t(".label", type: import.type.titleize, datetime: import.updated_at.strftime("%b %-d, %Y at %l:%M %p")) %> - <% end %> - - <% if import.pending? %> - - <%= t(".in_progress") %> - - <% elsif import.importing? %> - - <%= t(".uploading") %> - - <% elsif import.failed? %> - - <%= t(".failed") %> - - <% elsif import.reverting? %> - - <%= t(".reverting") %> - - <% elsif import.revert_failed? %> - - <%= t(".revert_failed") %> - - <% elsif import.complete? %> - - <%= t(".complete") %> - - <% end %> -
- -
- - <% if import.complete? || import.revert_failed? %> - <%= button_to revert_import_path(import), - method: :put, - class: "flex items-center gap-2 text-orange-500 hover:text-orange-600", - data: { - turbo_confirm: "This will delete transactions that were imported, but you will still be able to review and re-import your data at any time." - } do %> - <%= icon "rotate-ccw", class: "w-5 h-5 text-destructive" %> - <% end %> - - <% else %> - <%= button_to import_path(import), - method: :delete, - class: "flex items-center gap-2 text-destructive hover:text-destructive-hover", - data: { - turbo_confirm: CustomConfirm.for_resource_deletion("import") - } do %> - <%= icon "trash-2", class: "w-5 h-5 text-destructive" %> - <% end %> - <% end %> - - <%= link_to import_path(import), - class: "flex items-center gap-2 text-primary hover:text-primary-hover" do %> - <%= icon "eye", class: "w-5 h-5" %> - <% end %> -
-
diff --git a/app/views/imports/index.html.erb b/app/views/imports/index.html.erb index 272caab60..b090a119a 100644 --- a/app/views/imports/index.html.erb +++ b/app/views/imports/index.html.erb @@ -1,24 +1,131 @@ <%= settings_section title: t(".title") do %>
- <% if @imports.empty? %> - <%= render partial: "imports/empty" %> - <% else %> -
- <%= render partial: "imports/import", collection: @imports %> +
+
+

+ <%= t("imports.table.title") %> +

+ · +

<%= @pagy.count %>

- <% if @pagy.pages > 1 %> -
- <%= render "shared/pagination", pagy: @pagy %> -
- <% end %> - <% end %> +
+ <% if @imports.any? %> + + + + + + + + + + + <% @imports.ordered.each do |import| %> + + + + + + + <% end %> + +
+ <%= t("imports.table.header.date") %> + + <%= t("imports.table.header.operation") %> + + <%= t("imports.table.header.status") %> + + <%= t("imports.table.header.actions") %> +
+ + <%= l(import.updated_at, format: :long) %> + + + <%= link_to import_path(import), class: "font-medium text-sm text-primary hover:underline" do %> + <% if import.account.present? %> + <%= import.account.name + " " %> + <% end %> + <%= import.type.titleize.gsub(/ Import\z/, '') %> + <% end %> + + <% if import.pending? %> + <%= render 'shared/badge' do %> + <%= t("imports.table.row.status.in_progress") %> + <% end %> + <% elsif import.importing? %> + <%= render 'shared/badge', color: 'warning', pulse: true do %> + <%= t("imports.table.row.status.uploading") %> + <% end %> + <% elsif import.failed? %> + <%= render 'shared/badge', color: 'error' do %> + <%= t("imports.table.row.status.failed") %> + <% end %> + <% elsif import.reverting? %> + <%= render 'shared/badge', color: 'warning' do %> + <%= t("imports.table.row.status.reverting") %> + <% end %> + <% elsif import.revert_failed? %> + <%= render 'shared/badge', color: 'error' do %> + <%= t("imports.table.row.status.revert_failed") %> + <% end %> + <% elsif import.complete? %> + <%= render 'shared/badge', color: 'success' do %> + <%= t("imports.table.row.status.complete") %> + <% end %> + <% end %> + +
+ <% if import.complete? || import.revert_failed? %> + <%= button_to revert_import_path(import), + method: :put, + class: "flex items-center gap-2", + aria: { label: t("imports.table.row.actions.revert") }, + data: { + turbo_confirm: t("imports.table.row.actions.confirm_revert") + } do %> + <%= icon "rotate-ccw", class: "w-5 h-5 text-destructive" %> + <% end %> - <%= link_to new_import_path, - class: "bg-container-inset flex items-center justify-center gap-2 text-secondary mt-1 hover:bg-container-inset-hover rounded-lg px-4 py-2 w-full text-center", - data: { turbo_frame: :modal } do %> - <%= icon("plus") %> - <%= t(".new") %> + <% else %> + <%= button_to import_path(import), + method: :delete, + class: "flex items-center gap-2 text-destructive hover:text-destructive-hover", + aria: { label: t("imports.table.row.actions.delete") }, + data: { + turbo_confirm: CustomConfirm.for_resource_deletion("import") + } do %> + <%= icon "trash-2", class: "w-5 h-5 text-destructive" %> + <% end %> + <% end %> + + <%= link_to import_path(import), + aria: { label: t("imports.table.row.actions.view") }, + class: "flex items-center gap-2 text-primary hover:text-primary-hover" do %> + <%= icon "eye", class: "w-5 h-5" %> + <% end %> +
+
+ <% else %> +

+ <%= t("imports.table.empty") %> +

+ <% end %> +
+
+ + <% if @pagy.pages > 1 %> +
+ <%= render "shared/pagination", pagy: @pagy %> +
<% end %>
+ + <%= link_to new_import_path, + class: "bg-container-inset inline-flex items-center justify-center gap-2 hover:bg-container-inset-hover rounded-lg px-4 py-2 w-full font-medium text-primary text-sm text-center", + data: { turbo_frame: :modal } do %> + <%= icon("plus") %> + <%= t("imports.index.new") %> + <% end %> <% end %> diff --git a/app/views/shared/_badge.html.erb b/app/views/shared/_badge.html.erb new file mode 100644 index 000000000..f23a7cd26 --- /dev/null +++ b/app/views/shared/_badge.html.erb @@ -0,0 +1,22 @@ +<%# locals: (color: nil, pulse: false) %> + +<% + def badge_classes(c, p) + classes = case c + when 'success' + 'bg-green-500/5 text-green-500' + when 'error' + 'bg-red-500/5 text-red-500' + when 'warning' + 'bg-orange-500/5 text-orange-500' + else + 'bg-gray-500/5 text-secondary' + end + + p ? "#{classes} animate-pulse" : classes + end +%> + + + <%= yield %> + \ No newline at end of file diff --git a/app/views/shared/_pagination.html.erb b/app/views/shared/_pagination.html.erb index edcf4c286..f622b7197 100644 --- a/app/views/shared/_pagination.html.erb +++ b/app/views/shared/_pagination.html.erb @@ -6,7 +6,7 @@ <% if pagy.prev %> <%= link_to pagy_url_for(pagy, pagy.prev), data: { turbo_frame: :_top }, - class: "inline-flex items-center p-2 text-sm font-medium text-secondary bg-container-inset hover:border-secondary hover:text-secondary" do %> + class: "inline-flex items-center p-2 text-sm font-medium text-secondary hover:border-secondary hover:text-secondary" do %> <%= icon("chevron-left") %> <% end %> <% else %> diff --git a/config/locales/views/family_exports/ca.yml b/config/locales/views/family_exports/ca.yml index a06d6edd3..9056ea5c6 100644 --- a/config/locales/views/family_exports/ca.yml +++ b/config/locales/views/family_exports/ca.yml @@ -13,10 +13,19 @@ ca: index: title: Exportacions new: Nova exportació - no_exports: Encara no hi ha exportacions. - list: - export_from: "Exportació del %{date}" - in_progress: En curs - complete: Completat - failed: Error - in_progress: En curs + table: + title: Exportacions + header: + date: Data + filename: Nom del fitxer + status: Estat + actions: Accions + row: + status: + in_progress: En curs + complete: Completat + failed: Error + actions: + delete: Elimina + download: Descarregar + empty: Encara no hi ha exportacions. diff --git a/config/locales/views/family_exports/de.yml b/config/locales/views/family_exports/de.yml index bb7a9353d..62c1733a4 100644 --- a/config/locales/views/family_exports/de.yml +++ b/config/locales/views/family_exports/de.yml @@ -13,9 +13,19 @@ de: index: title: Exporte new: Neuer Export - no_exports: Noch keine Exporte vorhanden. - list: - export_from: "Export vom %{date}" - in_progress: Wird ausgeführt - complete: Abgeschlossen - failed: Fehlgeschlagen + table: + title: Exporte + header: + date: Datum + filename: Dateiname + status: Status + actions: Aktionen + row: + status: + in_progress: Wird ausgeführt + complete: Abgeschlossen + failed: Fehlgeschlagen + actions: + delete: Löschen + download: Herunterladen + empty: Noch keine Exporte vorhanden. diff --git a/config/locales/views/family_exports/en.yml b/config/locales/views/family_exports/en.yml index 732cb9c1b..7b0d8b08d 100644 --- a/config/locales/views/family_exports/en.yml +++ b/config/locales/views/family_exports/en.yml @@ -13,9 +13,19 @@ en: index: title: Exports new: New Export - no_exports: No exports yet. - list: - export_from: "Export from %{date}" - in_progress: In progress - complete: Complete - failed: Failed + table: + title: Exports + header: + date: Date + filename: File name + status: Status + actions: Actions + row: + status: + in_progress: In progress + complete: Complete + failed: Failed + actions: + delete: Delete + download: Download + empty: No exports yet. diff --git a/config/locales/views/family_exports/es.yml b/config/locales/views/family_exports/es.yml index 5979c5349..376f15c49 100644 --- a/config/locales/views/family_exports/es.yml +++ b/config/locales/views/family_exports/es.yml @@ -13,9 +13,19 @@ es: index: title: Exportaciones new: Nueva exportación - no_exports: Aún no hay exportaciones. - list: - export_from: "Exportación del %{date}" - in_progress: En progreso - complete: Completo - failed: Fallido + table: + title: Exportaciones + header: + date: Fecha + filename: Nombre del archivo + status: Estado + actions: Acciones + row: + status: + in_progress: En progreso + complete: Completo + failed: Fallido + actions: + delete: Eliminar + download: Descargar + empty: Aún no hay exportaciones. diff --git a/config/locales/views/family_exports/fr.yml b/config/locales/views/family_exports/fr.yml index 57e2b790d..1d5b4b601 100644 --- a/config/locales/views/family_exports/fr.yml +++ b/config/locales/views/family_exports/fr.yml @@ -1,7 +1,31 @@ --- fr: family_exports: - list: - in_progress: En cours - complete: Terminé - failed: Échoué + access_denied: Accès refusé + create: + success: L'exportation a commencé. Vous pourrez bientôt la télécharger. + delete_confirmation: Êtes-vous sûr de vouloir supprimer cette exportation ? Cette action est irréversible. + delete_failed_confirmation: Êtes-vous sûr de vouloir supprimer cette exportation qui a échoué ? + destroy: + success: Exportation supprimée avec succès + export_not_ready: Exportation non prête pour le téléchargement + exporting: Exporte... + index: + title: Exportations + new: Nouvelle exportation + table: + title: Exportations + header: + date: Date + filename: Nom de fichier + status: Statut + actions: Actions + row: + status: + in_progress: En cours + complete: Terminé + failed: Échoué + actions: + delete: Supprimer + download: Télécharger + empty: Aucune exportation pour l'instant. diff --git a/config/locales/views/family_exports/nb.yml b/config/locales/views/family_exports/nb.yml index dc61e3ca0..fced280e9 100644 --- a/config/locales/views/family_exports/nb.yml +++ b/config/locales/views/family_exports/nb.yml @@ -13,9 +13,19 @@ nb: index: title: Eksporter new: Ny Eksport - no_exports: Ingen eksporter ennå. - list: - export_from: "Eksport fra %{date}" - in_progress: Pågår - complete: Fullført - failed: Mislykket + table: + title: Eksporter + header: + date: Dato + filename: Filnavn + status: Status + actions: Handlinger + row: + status: + in_progress: Pågår + complete: Fullført + failed: Mislykket + actions: + delete: Slett + download: Laste ned + empty: Ingen eksporter ennå. diff --git a/config/locales/views/family_exports/nl.yml b/config/locales/views/family_exports/nl.yml index 2ea6a0664..7d58d1c16 100644 --- a/config/locales/views/family_exports/nl.yml +++ b/config/locales/views/family_exports/nl.yml @@ -1,7 +1,19 @@ --- nl: family_exports: - list: - in_progress: Bezig - complete: Voltooid - failed: Mislukt + table: + title: Exporten + header: + date: Datum + filename: Bestandsnaam + status: Status + actions: Acties + row: + status: + in_progress: Bezig + complete: Voltooid + failed: Mislukt + actions: + delete: Verwijderen + download: Downloaden + empty: Nog geen export. diff --git a/config/locales/views/family_exports/pt-BR.yml b/config/locales/views/family_exports/pt-BR.yml index 6412e5c25..b2a3932b2 100644 --- a/config/locales/views/family_exports/pt-BR.yml +++ b/config/locales/views/family_exports/pt-BR.yml @@ -13,9 +13,19 @@ pt-BR: index: title: Exportações new: Nova Exportação - no_exports: Nenhuma exportação ainda. - list: - export_from: "Exportação de %{date}" - in_progress: Em andamento - complete: Concluído - failed: Falhou + table: + title: Exportações + header: + date: Data + filename: Nome do arquivo + status: Estado + actions: Ações + row: + status: + in_progress: Em andamento + complete: Concluído + failed: Falhou + actions: + delete: Excluir + download: Descarregar + empty: Nenhuma exportação ainda. diff --git a/config/locales/views/family_exports/ro.yml b/config/locales/views/family_exports/ro.yml index a698a2043..caecef543 100644 --- a/config/locales/views/family_exports/ro.yml +++ b/config/locales/views/family_exports/ro.yml @@ -13,9 +13,19 @@ ro: index: title: Exporturi new: Export nou - no_exports: Nu există încă exporturi. - list: - export_from: "Export din %{date}" - in_progress: În curs de desfășurare - complete: Finalizat - failed: Eșuat + table: + title: Exporturi + header: + date: Data + filename: Nume de fișier + status: Stare + actions: Acțiuni + row: + status: + in_progress: În curs de desfășurare + complete: Finalizat + failed: Eșuat + actions: + delete: Șterge + download: Descărcare + empty: Nu există încă exporturi. diff --git a/config/locales/views/family_exports/tr.yml b/config/locales/views/family_exports/tr.yml index f62e43d32..0995686a5 100644 --- a/config/locales/views/family_exports/tr.yml +++ b/config/locales/views/family_exports/tr.yml @@ -13,9 +13,19 @@ tr: index: title: Dışa aktarmalar new: Yeni Dışa Aktarma - no_exports: Henüz hiç dışa aktarma yok. - list: - export_from: "%{date} tarihli dışa aktarma" - in_progress: Devam ediyor - complete: Tamamlandı - failed: Başarısız + table: + title: Dışa aktarmalar + header: + date: Tarih + filename: Dosya adı + status: Durum + actions: Eylemler + row: + status: + in_progress: Devam ediyor + complete: Tamamlandı + failed: Başarısız + actions: + delete: Sil + download: İndirmek + empty: Henüz hiç dışa aktarma yok. diff --git a/config/locales/views/family_exports/zh-CN.yml b/config/locales/views/family_exports/zh-CN.yml index 5373a5309..1f58f5dd4 100644 --- a/config/locales/views/family_exports/zh-CN.yml +++ b/config/locales/views/family_exports/zh-CN.yml @@ -13,9 +13,19 @@ zh-CN: index: title: 导出 new: 新建导出 - no_exports: 暂无导出记录 - list: - export_from: "导出自 %{date}" - complete: 已完成 - failed: 已失败 - in_progress: 进行中 + table: + title: 导出 + header: + date: 日期 + filename: 文件名 + status: 状态 + actions: 操作 + row: + status: + complete: 已完成 + failed: 已失败 + in_progress: 进行中 + actions: + delete: 删除 + download: 下载 + empty: 暂无导出记录 diff --git a/config/locales/views/family_exports/zh-TW.yml b/config/locales/views/family_exports/zh-TW.yml index 88d3e3700..bb381d2c6 100644 --- a/config/locales/views/family_exports/zh-TW.yml +++ b/config/locales/views/family_exports/zh-TW.yml @@ -7,7 +7,19 @@ zh-TW: destroy: success: 匯出已成功刪除 export_not_ready: 匯出尚未準備好下載 - list: - complete: 已完成 - failed: 已失敗 - in_progress: 進行中 + table: + title: 匯出 + header: + date: 日期 + filename: 檔案名稱 + status: 狀態 + actions: 操作 + row: + status: + in_progress: 進行中 + complete: 已完成 + failed: 已失敗 + actions: + delete: 刪除 + download: 下載 + empty: 目前尚無匯出記錄。 diff --git a/config/locales/views/imports/ca.yml b/config/locales/views/imports/ca.yml index 6613243aa..b6f188dd7 100644 --- a/config/locales/views/imports/ca.yml +++ b/config/locales/views/imports/ca.yml @@ -70,26 +70,30 @@ ca: instructions_5: Sense comes, símbols de moneda ni parèntesis als números. title: Importa les teves dades imports: - empty: - message: Encara no hi ha importacions. - new: Nova importació - import: - complete: Completat - delete: Elimina - failed: Error - in_progress: En curs - label: "%{type}: %{datetime}" - revert_failed: Reversió fallida - reverting: Revertint - uploading: Processant files - view: Veure index: title: Importacions new: Nova importació - exports: Exportacions - imports: Importacions - new_export: Nova exportació - no_exports: Encara no hi ha exportacions. + table: + title: Imports + header: + date: Data + operation: Operació + status: Estat + actions: Accions + row: + status: + in_progress: En curs + uploading: Processant files + reverting: Revertint + revert_failed: Reversió fallida + complete: Completat + failed: Error + actions: + revert: Revertir + confirm_revert: Això suprimirà les transaccions que s'han importat, però encara podràs revisar i tornar a importar les teves dades en qualsevol moment. + delete: Elimina + view: Veure + empty: Encara no hi ha importacions. new: description: Pots importar manualment diversos tipus de dades via CSV o utilitzar una de les nostres plantilles d'importació com Mint. diff --git a/config/locales/views/imports/de.yml b/config/locales/views/imports/de.yml index b2e5d1f97..ce94b1a0b 100644 --- a/config/locales/views/imports/de.yml +++ b/config/locales/views/imports/de.yml @@ -44,22 +44,30 @@ de: instructions_5: Keine Kommas, Währungssymbole oder Klammern in Zahlen verwenden. title: Daten importieren imports: - empty: - message: Noch keine Importe vorhanden. - new: Neuer Import - import: - complete: Abgeschlossen - delete: Löschen - failed: Fehlgeschlagen - in_progress: Wird ausgeführt - label: "%{type}: %{datetime}" - revert_failed: Rückgängig machen fehlgeschlagen - reverting: Wird rückgängig gemacht - uploading: Zeilen werden verarbeitet - view: Anzeigen index: title: Importe new: Neuer Import + table: + title: Importe + header: + date: Datum + operation: Operation + status: Status + actions: Aktionen + row: + status: + in_progress: Wird ausgeführt + uploading: Zeilen werden verarbeitet + reverting: Wird rückgängig gemacht + revert_failed: Rückgängig machen fehlgeschlagen + complete: Abgeschlossen + failed: Fehlgeschlagen + actions: + revert: Zurücksetzen + confirm_revert: Dadurch werden importierte Transaktionen gelöscht, Sie können Ihre Daten aber jederzeit wieder einsehen und erneut importieren. + delete: Löschen + view: Anzeigen + empty: Noch keine Importe vorhanden. new: description: Du kannst verschiedene Datentypen manuell über CSV importieren oder eine unserer Importvorlagen wie Mint verwenden. import_accounts: Konten importieren diff --git a/config/locales/views/imports/en.yml b/config/locales/views/imports/en.yml index d569d7be7..c54a25c85 100644 --- a/config/locales/views/imports/en.yml +++ b/config/locales/views/imports/en.yml @@ -69,22 +69,30 @@ en: instructions_5: No commas, no currency symbols, and no parentheses in numbers. title: Import your data imports: - empty: - message: No imports yet. - new: New Import - import: - complete: Complete - delete: Delete - failed: Failed - in_progress: In progress - label: "%{type}: %{datetime}" - revert_failed: Revert failed - reverting: Reverting - uploading: Processing rows - view: View index: title: Imports new: New Import + table: + title: Imports + header: + date: Date + operation: Operation + status: Status + actions: Actions + row: + status: + in_progress: In progress + uploading: Processing rows + reverting: Reverting + revert_failed: Revert failed + complete: Complete + failed: Failed + actions: + revert: Revert + confirm_revert: This will delete transactions that were imported, but you will still be able to review and re-import your data at any time. + delete: Delete + view: View + empty: No imports yet. new: description: You can manually import various types of data via CSV or use one of our import templates like Mint. diff --git a/config/locales/views/imports/es.yml b/config/locales/views/imports/es.yml index 9872391c4..8674ebcae 100644 --- a/config/locales/views/imports/es.yml +++ b/config/locales/views/imports/es.yml @@ -48,22 +48,30 @@ es: instructions_5: Sin comas, sin símbolos de moneda y sin paréntesis en los números. title: Importa tus datos imports: - empty: - message: Aún no hay importaciones. - new: Nueva importación - import: - complete: Completado - delete: Eliminar - failed: Fallido - in_progress: En progreso - label: "%{type}: %{datetime}" - revert_failed: Reversión fallida - reverting: Revirtiendo - uploading: Procesando filas - view: Ver index: title: Importaciones new: Nueva importación + table: + title: Imports + header: + date: Fecha + operation: Operation + status: Estado + actions: Acciones + row: + status: + in_progress: En progreso + uploading: Procesando filas + reverting: Revirtiendo + revert_failed: Reversión fallida + complete: Completado + failed: Fallido + actions: + revert: Revertir + confirm_revert: Esto eliminará las transacciones que se importaron, pero aún podrá revisar y volver a importar sus datos en cualquier momento. + delete: Eliminar + view: Ver + empty: Aún no hay importaciones. new: description: Puedes importar manualmente varios tipos de datos mediante CSV o usar una de nuestras plantillas de importación como Mint. import_accounts: Importar cuentas diff --git a/config/locales/views/imports/fr.yml b/config/locales/views/imports/fr.yml index 9c10bf645..386ea94d6 100644 --- a/config/locales/views/imports/fr.yml +++ b/config/locales/views/imports/fr.yml @@ -55,26 +55,30 @@ fr: instructions_5: Pas de virgules, pas de symboles monétaires et pas de parenthèses dans les nombres. title: Importez vos données imports: - empty: - message: Aucune importation pour l'instant. - new: Nouvelle importation - import: - complete: Terminé - delete: Supprimer - failed: Échoué - in_progress: En cours - label: "%{type} : %{datetime}" - revert_failed: Annulation échouée - reverting: Annulation en cours - uploading: Traitement des lignes - view: Afficher index: - imports: Importations + imports: Imports new: Nouvelle importation - title: Import/Export - exports: Exportations - new_export: Nouvelle exportation - no_exports: Aucune exportation pour l'instant. + table: + title: Imports + header: + date: Date + operation: Opération + status: Statut + actions: Actions + row: + status: + in_progress: En cours + uploading: Traitement des lignes + reverting: Annulation en cours + revert_failed: Annulation échouée + complete: Terminé + failed: Échoué + actions: + revert: Revenir + confirm_revert: Cette opération supprimera les transactions importées, mais vous pourrez toujours consulter et réimporter vos données à tout moment. + delete: Supprimer + view: Afficher + empty: Aucune importation pour l'instant. new: description: Vous pouvez manuellement importer divers types de données via CSV ou utiliser un des modèles d'importation que nous proposons comme Mint. import_accounts: Importer les comptes diff --git a/config/locales/views/imports/nb.yml b/config/locales/views/imports/nb.yml index a59a2d44f..b0544f12e 100644 --- a/config/locales/views/imports/nb.yml +++ b/config/locales/views/imports/nb.yml @@ -57,22 +57,30 @@ nb: instructions_5: Ingen komma, ingen valutasymboler og ingen parenteser i tall. title: Importer dataene dine imports: - empty: - message: Ingen importer ennå. - new: Ny Import - import: - complete: Fullført - delete: Slett - failed: Mislykket - in_progress: Pågår - label: "%{type}: %{datetime}" - revert_failed: Tilbakestilling mislykket - reverting: Tilbakestiller - uploading: Behandler rader - view: Vis index: title: Importer new: Ny Import + table: + title: Imports + header: + date: Dato + operation: Operasjon + status: Status + actions: Handlinger + row: + status: + in_progress: Pågår + uploading: Behandler rader + reverting: Tilbakestiller + revert_failed: Tilbakestilling mislykket + complete: Fullført + failed: Mislykket + actions: + revert: Gå tilbake + confirm_revert: Dette vil slette transaksjoner som ble importert, men du vil fortsatt kunne se gjennom og importere dataene dine på nytt når som helst. + delete: Slett + view: Vis + empty: Ingen importer ennå. new: description: Du kan manuelt importere ulike typer data via CSV eller bruke en av våre importmaler som Mint. diff --git a/config/locales/views/imports/nl.yml b/config/locales/views/imports/nl.yml index 632f322f7..898d82c96 100644 --- a/config/locales/views/imports/nl.yml +++ b/config/locales/views/imports/nl.yml @@ -55,26 +55,30 @@ nl: instructions_5: Geen komma's, geen valutasymbolen en geen haakjes in getallen. title: Uw gegevens importeren imports: - empty: - message: Nog geen imports. - new: Nieuwe import - import: - complete: Voltooid - delete: Verwijderen - failed: Mislukt - in_progress: Bezig - label: "%{type}: %{datetime}" - revert_failed: Terugdraaien mislukt - reverting: Terugdraaien - uploading: Rijen verwerken - view: Bekijken index: imports: Imports new: Nieuwe import - title: Import/Export - exports: Exports - new_export: Nieuwe export - no_exports: Nog geen exports. + table: + title: Imports + header: + date: Datum + operation: Operatie + status: Status + actions: Acties + row: + status: + in_progress: Bezig + uploading: Rijen verwerken + reverting: Terugdraaien + revert_failed: Terugdraaien mislukt + complete: Voltooid + failed: Mislukt + actions: + revert: Terugdraaien + confirm_revert: Hierdoor worden de geïmporteerde transacties verwijderd, maar u kunt uw gegevens nog steeds op elk gewenst moment bekijken en opnieuw importeren. + delete: Verwijderen + view: Bekijken + empty: Nog geen imports. new: description: U kunt handmatig verschillende soorten gegevens importeren via CSV of een van onze importsjablonen zoals Mint gebruiken. import_accounts: Accounts importeren diff --git a/config/locales/views/imports/pt-BR.yml b/config/locales/views/imports/pt-BR.yml index 1750672e0..6183ac6bd 100644 --- a/config/locales/views/imports/pt-BR.yml +++ b/config/locales/views/imports/pt-BR.yml @@ -62,22 +62,30 @@ pt-BR: instructions_5: Sem vírgulas (para separar milhares), sem símbolos de moeda e sem parênteses em números. title: Importar seus dados imports: - empty: - message: Nenhuma importação ainda. - new: Nova Importação - import: - complete: Concluída - delete: Excluir - failed: Falhou - in_progress: Em andamento - label: "%{type}: %{datetime}" - revert_failed: Falha na reversão - reverting: Revertendo - uploading: Processando linhas - view: Visualizar index: title: Importações new: Nova Importação + table: + title: Importações + header: + date: Data + operation: Operação + status: Estado + actions: Ações + row: + status: + in_progress: Em andamento + uploading: Processando linhas + reverting: Revertendo + revert_failed: Falha na reversão + complete: Concluída + failed: Falhou + actions: + revert: Reverter + confirm_revert: Isso excluirá as transações importadas, mas você ainda poderá revisar e importar seus dados novamente a qualquer momento. + delete: Excluir + view: Visualizar + empty: Nenhuma importação ainda. new: description: Você pode importar manualmente vários tipos de dados via CSV ou usar um de nossos modelos de importação, como o do Mint. diff --git a/config/locales/views/imports/ro.yml b/config/locales/views/imports/ro.yml index 2da6f2436..76a74371f 100644 --- a/config/locales/views/imports/ro.yml +++ b/config/locales/views/imports/ro.yml @@ -44,22 +44,30 @@ ro: instructions_5: Fără virgule, fără simboluri monetare și fără paranteze în numere. title: Importă-ți datele imports: - empty: - message: Nu există încă importuri. - new: Import nou - import: - complete: Finalizat - delete: Șterge - failed: Eșuat - in_progress: În curs - label: "%{type}: %{datetime}" - revert_failed: Anulare eșuată - reverting: Se anulează - uploading: Se procesează rândurile - view: Vezi index: title: Importuri new: Import nou + table: + title: Importuri + header: + date: Data + operation: Operațiune + status: Stare + actions: Acțiuni + row: + status: + in_progress: În curs + uploading: Se procesează rândurile + reverting: Se anulează + revert_failed: Anulare eșuată + complete: Finalizat + failed: Eșuat + actions: + revert: Reveni + confirm_revert: Aceasta operațiune va șterge tranzacțiile importate, dar veți putea în continuare să revizuiți și să reimportați datele în orice moment. + delete: Șterge + view: Vezi + empty: Nu există încă importuri. new: description: Poți importa manual diverse tipuri de date prin CSV sau poți folosi unul dintre șabloanele noastre de import, cum ar fi Mint. import_accounts: Importă conturi diff --git a/config/locales/views/imports/tr.yml b/config/locales/views/imports/tr.yml index c1abca033..1edec3ae2 100644 --- a/config/locales/views/imports/tr.yml +++ b/config/locales/views/imports/tr.yml @@ -44,22 +44,30 @@ tr: instructions_5: Sayılarda virgül, para birimi simgesi veya parantez kullanmayın. title: Verilerinizi içe aktarın imports: - empty: - message: Henüz hiç içe aktarma yok. - new: Yeni İçe Aktarma - import: - complete: Tamamlandı - delete: Sil - failed: Başarısız - in_progress: Devam ediyor - label: "%{type}: %{datetime}" - revert_failed: Geri alma başarısız - reverting: Geri alınıyor - uploading: Satırlar işleniyor - view: Görüntüle index: title: İçe aktarmalar new: Yeni İçe Aktarma + table: + title: İçe aktarmalar + header: + date: Tarih + operation: Operasyon + status: Durum + actions: Eylemler + row: + status: + in_progress: Devam ediyor + uploading: Satırlar işleniyor + reverting: Geri alınıyor + revert_failed: Geri alma başarısız + complete: Tamamlandı + failed: Başarısız + actions: + revert: Geri al + confirm_revert: Bu işlem, içe aktarılan işlemleri silecektir, ancak verilerinizi istediğiniz zaman inceleyebilir ve yeniden içe aktarabilirsiniz. + delete: Sil + view: Görüntüle + empty: Henüz hiç içe aktarma yok. new: description: Farklı veri türlerini CSV ile manuel olarak içe aktarabilir veya Mint gibi içe aktarma şablonlarımızı kullanabilirsiniz. import_accounts: Hesapları içe aktar diff --git a/config/locales/views/imports/zh-CN.yml b/config/locales/views/imports/zh-CN.yml index 55e2cf8e3..9ce64c768 100644 --- a/config/locales/views/imports/zh-CN.yml +++ b/config/locales/views/imports/zh-CN.yml @@ -52,22 +52,30 @@ zh-CN: instructions_5: 数字中请勿包含逗号、货币符号或括号。 title: 导入数据 imports: - empty: - message: 暂无导入记录。 - new: 新建导入 - import: - complete: 已完成 - delete: 删除 - failed: 已失败 - in_progress: 进行中 - label: "%{type}:%{datetime}" - revert_failed: 回滚失败 - reverting: 回滚中 - uploading: 处理行数据中 - view: 查看 index: title: 导入记录 new: 新建导入 + table: + title: 导入记录 + header: + date: 日期 + operation: 操作 + status: 状态 + actions: 操作 + row: + status: + in_progress: 进行中 + uploading: 处理行数据中 + reverting: 回滚中 + revert_failed: 回滚失败 + complete: 已完成 + failed: 已失败 + actions: + revert: 恢复 + confirm_revert: 这将删除已导入的交易记录,但您仍然可以随时查看和重新导入您的数据。 + delete: 删除 + view: 查看 + empty: 暂无导入记录。 new: description: 您可以通过 CSV 手动导入多种类型数据,或使用我们的导入模板(如 Mint 格式)。 import_accounts: 导入账户 diff --git a/config/locales/views/imports/zh-TW.yml b/config/locales/views/imports/zh-TW.yml index cf7ff7569..25c7bd541 100644 --- a/config/locales/views/imports/zh-TW.yml +++ b/config/locales/views/imports/zh-TW.yml @@ -52,26 +52,30 @@ zh-TW: instructions_5: 數字中請勿包含逗號、貨幣符號或括號。 title: 匯入您的資料 imports: - empty: - message: 尚無匯入紀錄。 - new: 新增匯入 - import: - complete: 已完成 - delete: 刪除 - failed: 失敗 - in_progress: 處理中 - label: "%{type}:%{datetime}" - revert_failed: 還原失敗 - reverting: 還原中 - uploading: 正在處理資料列 - view: 查看 index: - imports: 匯入紀錄 + title: 匯入紀錄 new: 新增匯入 - title: 匯入/匯出 - exports: 匯出紀錄 - new_export: 新增匯出 - no_exports: 尚無匯出紀錄。 + table: + title: 匯入紀錄 + header: + date: 日期 + operation: 操作 + status: 狀態 + actions: 行動 + row: + status: + in_progress: 處理中 + uploading: 正在處理資料列 + reverting: 還原中 + revert_failed: 還原失敗 + complete: 已完成 + failed: 失敗 + actions: + revert: 恢復 + confirm_revert: 這將刪除已匯入的交易記錄,但您仍然可以隨時查看和重新匯入您的資料。 + delete: 刪除 + view: 查看 + empty: 尚無匯入紀錄。 new: description: 您可以透過 CSV 手動匯入各種類型的資料,或使用我們提供的匯入範本(如 Mint)。 import_accounts: 匯入帳戶