From 0b47655b1ca3bd69436ba434a8cd36411035d012 Mon Sep 17 00:00:00 2001 From: bovirus <1262554+bovirus@users.noreply.github.com> Date: Wed, 22 Apr 2026 20:36:22 +0200 Subject: [PATCH 1/6] Fix FileDescription in exe file properties --- apps/electron/app/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/electron/app/package.json b/apps/electron/app/package.json index 2dc23cf2..dedfe44f 100644 --- a/apps/electron/app/package.json +++ b/apps/electron/app/package.json @@ -1,7 +1,7 @@ { "name": "mediago", "version": "3.5.0", - "description": "A powerful and easy-to-use online video downloader", + "description": "mediago installer", "main": "main/index.js", "type": "module", "author": "caorushizi", From bccdaa8aa947d0d760ced70d78daf6d00154c76d Mon Sep 17 00:00:00 2001 From: bovirus <1262554+bovirus@users.noreply.github.com> Date: Wed, 22 Apr 2026 20:41:39 +0200 Subject: [PATCH 2/6] Add settings for Italian language --- packages/shared/common/src/i18n/config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/shared/common/src/i18n/config.ts b/packages/shared/common/src/i18n/config.ts index 60c61589..530f3c2e 100644 --- a/packages/shared/common/src/i18n/config.ts +++ b/packages/shared/common/src/i18n/config.ts @@ -7,7 +7,7 @@ export const BASE_I18N_OPTIONS = { } as const; /** - * Resolve a stored AppStore.language value to a real i18n key ("zh" | "en"). + * Resolve a stored AppStore.language value to a real i18n key ("zh" | "en" | "it"). * * The persisted language may be `"system"` (meta value meaning "follow OS locale"). * Each process resolves it at apply-time by passing its own locale source: @@ -19,8 +19,8 @@ export const BASE_I18N_OPTIONS = { export function resolveAppLanguage( language: string | undefined, systemLocale: string | undefined, -): "zh" | "en" { - if (language === "zh" || language === "en") { +): "zh" | "en" | "it" { + if (language === "zh" || language === "en") || language === "it") { return language; } return (systemLocale ?? "").toLowerCase().startsWith("zh") ? "zh" : "en"; From 1820ae2b4937693f0b129827e53e0d0ee1739e6b Mon Sep 17 00:00:00 2001 From: bovirus <1262554+bovirus@users.noreply.github.com> Date: Wed, 22 Apr 2026 20:44:10 +0200 Subject: [PATCH 3/6] Add settings for Italian --- packages/shared/common/src/i18n/resources/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/shared/common/src/i18n/resources/index.ts b/packages/shared/common/src/i18n/resources/index.ts index e54ccd0b..118d37a3 100644 --- a/packages/shared/common/src/i18n/resources/index.ts +++ b/packages/shared/common/src/i18n/resources/index.ts @@ -1,13 +1,15 @@ import { en } from "./en"; import { zh } from "./zh"; +import { it } from "./it"; export const i18nResources = { en, zh, + it, } as const; -export const SUPPORTED_LANGUAGES = ["en", "zh"] as const; +export const SUPPORTED_LANGUAGES = ["en", "zh", "it"] as const; export const DEFAULT_BACKEND_NAMESPACE = "backend" as const; export const DEFAULT_FRONTEND_APP = "main" as const; -export { en, zh }; +export { en, zh, it }; From dc5329e3baf0254d577bbe5102e6d3c701823811 Mon Sep 17 00:00:00 2001 From: bovirus <1262554+bovirus@users.noreply.github.com> Date: Wed, 22 Apr 2026 20:48:11 +0200 Subject: [PATCH 4/6] Add Italian language option to AppLanguage enum --- packages/shared/common/src/types/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/shared/common/src/types/index.ts b/packages/shared/common/src/types/index.ts index 651f4b42..fa0c1b50 100644 --- a/packages/shared/common/src/types/index.ts +++ b/packages/shared/common/src/types/index.ts @@ -105,6 +105,7 @@ export enum AppLanguage { System = "system", ZH = "zh", EN = "en", + IT = "it", } export interface DownloadContext { From 6c26903904d894f6a421f4496a545f32820dcc2f Mon Sep 17 00:00:00 2001 From: bovirus <1262554+bovirus@users.noreply.github.com> Date: Wed, 22 Apr 2026 20:49:51 +0200 Subject: [PATCH 5/6] Add Italian language option to settings --- apps/ui/src/pages/setting-page/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ui/src/pages/setting-page/index.tsx b/apps/ui/src/pages/setting-page/index.tsx index c4661795..bfd42466 100644 --- a/apps/ui/src/pages/setting-page/index.tsx +++ b/apps/ui/src/pages/setting-page/index.tsx @@ -250,6 +250,7 @@ const SettingPage: React.FC = () => { { label: t("followSystem"), value: AppLanguage.System }, { label: t("chinese"), value: AppLanguage.ZH }, { label: t("english"), value: AppLanguage.EN }, + { label: t("italian"), value: AppLanguage.IT }, ]} placeholder={t("pleaseSelectLanguage")} allowClear={false} From ab4ef0e1922d6f3598f80cff33688158114359b2 Mon Sep 17 00:00:00 2001 From: bovirus <1262554+bovirus@users.noreply.github.com> Date: Wed, 22 Apr 2026 22:07:27 +0200 Subject: [PATCH 6/6] Change caption to branding text in installer script --- apps/electron/installer/installer.nsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/electron/installer/installer.nsh b/apps/electron/installer/installer.nsh index b1f6cf36..226736db 100644 --- a/apps/electron/installer/installer.nsh +++ b/apps/electron/installer/installer.nsh @@ -52,5 +52,5 @@ ; Trade-off: title bar reads "Setup - mediago-community 3.5.0" in every ; locale instead of the translated "Installazione di ..." — acceptable. ; --------------------------------------------------------------------- - Caption "Setup - ${PRODUCT_NAME} ${VERSION}" + BrandingText "${PRODUCT_NAME} ${VERSION}" !macroend