From b15b88f48dd8e9e18d783286d29440be4e86af29 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sun, 1 Mar 2026 01:07:43 -0500 Subject: [PATCH] Fix: Correct I18n reference in last_sync method for proper translation --- app/models/qbo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/qbo.rb b/app/models/qbo.rb index f973016..3ef8d35 100644 --- a/app/models/qbo.rb +++ b/app/models/qbo.rb @@ -27,7 +27,7 @@ class Qbo < ActiveRecord::Base # Returns the last sync time formatted for display. If no sync has occurred, returns a default message. def self.last_sync qbo = QboConnectionService.current! - return t(:label_qbo_never_synced) unless qbo&.last_sync + return I18n.t(:label_qbo_never_synced) unless qbo&.last_sync format_time(qbo.last_sync) end