SenzuLanguage constructor

const SenzuLanguage({
  1. String dataSaver = 'Data Saver',
  2. String cellularWarningTitle = 'Using Mobile Data',
  3. String cellularWarningBody = 'Streaming will use your mobile data.',
  4. String cellularContinue = 'Continue',
  5. String cellularUseSaver = 'Use Data Saver',
  6. String sleepModeActivated = 'Sleep mode activated',
  7. String continueWatching = 'Continue watching',
  8. String aspectRatio = 'Aspect ratio',
  9. String audio = 'Audio',
  10. String subtitles = 'Subtitles',
  11. String episodes = 'Episodes',
  12. String quality = 'Quality',
  13. String settings = 'Settings',
  14. String playbackSpeed = 'Playback speed',
  15. String sleepTimer = 'Sleep timer',
  16. String untilVideoEnds = 'Until video ends',
  17. String minutesShort = 'min',
  18. String minutes = 'Min',
  19. String cancel = 'Cancel',
  20. String loading = 'Loading...',
  21. String backToPlayer = 'Back to player',
  22. String next = 'Next',
  23. String lockScreen = 'Lock',
  24. String adLoading = 'Ad loading...',
  25. String skipAd = 'Skip Ad',
  26. String learnMore = 'Learn more',
  27. String speed = 'Speed',
  28. String subtitle = 'Subtitle',
  29. String aspect = 'Aspect',
  30. String none = 'None',
  31. String normal = 'Normal',
  32. String subtitleSize = 'Size',
  33. String contain = 'Contain',
  34. String cover = 'Cover',
  35. String fill = 'Fill',
  36. String fitWidth = 'Fit width',
  37. String fitHeight = 'Fit height',
  38. String preparing = 'Preparing...',
  39. String buffered = 'Buffered',
  40. String failedToLoad = 'Failed to load video',
  41. String retry = 'Retry',
  42. String live = 'LIVE',
  43. String goToLive = 'Go live',
})

Implementation

const SenzuLanguage({
  // ── Cellular warning ─────────────────────────
  this.dataSaver = 'Data Saver',
  this.cellularWarningTitle = 'Using Mobile Data',
  this.cellularWarningBody = 'Streaming will use your mobile data.',
  this.cellularContinue = 'Continue',
  this.cellularUseSaver = 'Use Data Saver',

  // ── General / Panels ─────────────────────────
  this.sleepModeActivated = 'Sleep mode activated',
  this.continueWatching = 'Continue watching',
  this.aspectRatio = 'Aspect ratio',
  this.audio = 'Audio',
  this.subtitles = 'Subtitles',
  this.episodes = 'Episodes',
  this.quality = 'Quality',
  this.settings = 'Settings',
  this.playbackSpeed = 'Playback speed',
  this.sleepTimer = 'Sleep timer',
  this.untilVideoEnds = 'Until video ends',
  this.minutesShort = 'min',
  this.minutes = 'Min',
  this.cancel = 'Cancel',
  this.loading = 'Loading...',
  this.backToPlayer = 'Back to player',

  // ── Controls ─────────────────────────
  this.next = 'Next',
  this.lockScreen = 'Lock',

  // ── Ad ─────────────────────────
  this.adLoading = 'Ad loading...',
  this.skipAd = 'Skip Ad',
  this.learnMore = 'Learn more',

  // ── Player settings ─────────────────────────
  this.speed = 'Speed',
  this.subtitle = 'Subtitle',
  this.aspect = 'Aspect',
  this.none = 'None',
  this.normal = 'Normal',

  // ── Subtitle / Fit ─────────────────────────
  this.subtitleSize = 'Size',
  this.contain = 'Contain',
  this.cover = 'Cover',
  this.fill = 'Fill',
  this.fitWidth = 'Fit width',
  this.fitHeight = 'Fit height',

  // ── Buffer ─────────────────────────
  this.preparing = 'Preparing...',
  this.buffered = 'Buffered',

  // ── Error ─────────────────────────
  this.failedToLoad = 'Failed to load video',
  this.retry = 'Retry',

  // ── Live ─────────────────────────
  this.live = 'LIVE',
  this.goToLive = 'Go live',
});