import 'package:localsend_app/gen/strings.g.dart';
import 'package:localsend_isolates/util/notification_strings.dart';

/// The translations that `localsend_isolates` needs, taken from the current locale.
///
/// Lazy, so it resolves after the locale has been applied in `preInit`. The locale is pinned on
/// app start, so binding the translation members once is enough.
final notificationStrings = NotificationStrings(
  titleReceiving: t.progressPage.titleReceiving,
  titleSending: t.progressPage.titleSending,
  remainingTimeSeconds: t.progressPage.remainingTime.seconds,
  remainingTimeMinutes: t.progressPage.remainingTime.minutes,
  remainingTimeHours: t.progressPage.remainingTime.hours,
  remainingTimeDays: t.progressPage.remainingTime.days,
);
