Skip to content

Commit

Permalink
Show notice when syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
stage-rl committed Jan 19, 2024
1 parent d47ea36 commit ab0eb51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/controllers/boxes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def sync_all
EventBus.publish(:box_sync_all_requested)

Current.tenant.boxes.sync_all
redirect_back_or_to message_threads_path, notice: t("boxes.sync_all_running")
end

def select
Expand Down
4 changes: 3 additions & 1 deletion config/locales/sk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ sk:
sender_uri: "URI odosielateľa"
recipient_uri: "URI prijímateľa"
box: "Schránka správy"
boxes:
sync_all_running: "Synchronizácia správ bola spustená a prebieha na pozadí"
message_created: "Nová správa"
"Automation::ContainsCondition": "obsahuje"
"Automation::MetadataValueCondition": "v metadátach obsahuje"
Expand Down Expand Up @@ -287,4 +289,4 @@ sk:
other: "%{count} dokumentov"
bulk:
signing:
nothing_to_sign: "Vo vybraných vláknach sa nenašli žiadne dokumenty so žiadosťou na podpis"
nothing_to_sign: "Vo vybraných vláknach sa nenašli žiadne dokumenty so žiadosťou na podpis"

0 comments on commit ab0eb51

Please sign in to comment.