From 07eace767c5ba576b22123f9ea8096a0ec84d006 Mon Sep 17 00:00:00 2001 From: 4gray Date: Wed, 7 Jan 2026 23:52:56 +0100 Subject: [PATCH] chore(build): raise bundle max error to 6mb; add player i18n Increase maximumError for initial budgets from 5mb to 6mb in the web project configuration to accommodate a larger initial bundle size after recent feature additions and avoid CI/build failures due to strict size limits. Add PLAYER translations to English i18n: - UNSUPPORTED_CODEC: message informing users about unsupported codec and suggesting VLC or MPV. - SWITCH_TO_VLC: label for action to switch to VLC. These changes prevent spurious bundle-size errors and improve user feedback when encountering unsupported media codecs. --- apps/web/project.json | 4 ++-- apps/web/src/assets/i18n/en.json | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/web/project.json b/apps/web/project.json index 07bdb1a66..60265ef7d 100644 --- a/apps/web/project.json +++ b/apps/web/project.json @@ -35,7 +35,7 @@ { "type": "initial", "maximumWarning": "500kb", - "maximumError": "5mb" + "maximumError": "6mb" }, { "type": "anyComponentStyle", @@ -57,7 +57,7 @@ { "type": "initial", "maximumWarning": "500kb", - "maximumError": "5mb" + "maximumError": "6mb" }, { "type": "anyComponentStyle", diff --git a/apps/web/src/assets/i18n/en.json b/apps/web/src/assets/i18n/en.json index 3312edc23..4252ff741 100644 --- a/apps/web/src/assets/i18n/en.json +++ b/apps/web/src/assets/i18n/en.json @@ -421,6 +421,10 @@ "NO_EPISODES": "No episodes available" }, "INFORMATION": "Information", + "PLAYER": { + "UNSUPPORTED_CODEC": "Unsupported {{codecType}} codec: {{codec}}. Use VLC or MPV for full codec support.", + "SWITCH_TO_VLC": "Switch to VLC" + }, "REMOTE_CONTROL": { "TITLE": "Remote control", "SUBTITLE": "Control your IPTV player remotely",