Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AppResources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<key>CFBundleIconFile</key><string>AppIcon</string>
<key>CFBundleName</key><string>MP4Flow</string>
<key>CFBundlePackageType</key><string>APPL</string>
<key>CFBundleShortVersionString</key><string>1.5.2</string>
<key>CFBundleVersion</key><string>22</string>
<key>CFBundleShortVersionString</key><string>1.5.3</string>
<key>CFBundleVersion</key><string>23</string>
<key>CFBundleLocalizations</key>
<array><string>en</string><string>zh-Hans</string><string>fr</string><string>ru</string><string>es</string><string>ja</string><string>ko</string></array>
<key>LSMinimumSystemVersion</key><string>13.0</string>
Expand Down
3 changes: 3 additions & 0 deletions AppResources/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,6 @@
"安装未完成。请检查网络和 Homebrew 权限后重试,或使用终端安装。" = "Installation failed. Check your network and Homebrew permissions, then retry or use Terminal.";
"FFmpeg 和 ffprobe 已就绪。" = "FFmpeg and ffprobe are ready.";
"安装后仍无法使用 FFmpeg 或 ffprobe。请查看上方的检测结果。" = "FFmpeg or ffprobe is still unavailable. See the checks above.";

"跟随系统" = "Follow System";
"检查依赖…" = "Check Dependencies…";
3 changes: 3 additions & 0 deletions AppResources/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -504,3 +504,6 @@
"安装未完成。请检查网络和 Homebrew 权限后重试,或使用终端安装。" = "Falló la instalación. Comprueba la red y los permisos de Homebrew o usa Terminal.";
"FFmpeg 和 ffprobe 已就绪。" = "FFmpeg y ffprobe están listos.";
"安装后仍无法使用 FFmpeg 或 ffprobe。请查看上方的检测结果。" = "FFmpeg o ffprobe sigue sin estar disponible. Consulta los resultados de arriba.";

"跟随系统" = "Seguir el sistema";
"检查依赖…" = "Comprobar dependencias…";
3 changes: 3 additions & 0 deletions AppResources/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -504,3 +504,6 @@
"安装未完成。请检查网络和 Homebrew 权限后重试,或使用终端安装。" = "Échec. Vérifiez le réseau et les autorisations Homebrew, puis réessayez ou utilisez Terminal.";
"FFmpeg 和 ffprobe 已就绪。" = "FFmpeg et ffprobe sont prêts.";
"安装后仍无法使用 FFmpeg 或 ffprobe。请查看上方的检测结果。" = "FFmpeg ou ffprobe reste indisponible. Consultez les résultats ci-dessus.";

"跟随系统" = "Suivre le système";
"检查依赖…" = "Vérifier les dépendances…";
3 changes: 3 additions & 0 deletions AppResources/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,6 @@
"安装未完成。请检查网络和 Homebrew 权限后重试,或使用终端安装。" = "インストールできませんでした。通信と Homebrew の権限を確認するか、ターミナルをご利用ください。";
"FFmpeg 和 ffprobe 已就绪。" = "FFmpeg と ffprobe の準備ができました。";
"安装后仍无法使用 FFmpeg 或 ffprobe。请查看上方的检测结果。" = "FFmpeg または ffprobe がまだ使えません。上の診断結果を確認してください。";

"跟随系统" = "システムに従う";
"检查依赖…" = "依存ツールを確認…";
3 changes: 3 additions & 0 deletions AppResources/ko.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,6 @@
"安装未完成。请检查网络和 Homebrew 权限后重试,或使用终端安装。" = "설치하지 못했습니다. 네트워크와 Homebrew 권한을 확인하거나 터미널을 사용하세요.";
"FFmpeg 和 ffprobe 已就绪。" = "FFmpeg와 ffprobe를 사용할 수 있습니다.";
"安装后仍无法使用 FFmpeg 或 ffprobe。请查看上方的检测结果。" = "FFmpeg 또는 ffprobe를 아직 사용할 수 없습니다. 위 점검 결과를 확인하세요.";

"跟随系统" = "시스템 설정 따르기";
"检查依赖…" = "의존성 확인…";
3 changes: 3 additions & 0 deletions AppResources/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,6 @@
"安装未完成。请检查网络和 Homebrew 权限后重试,或使用终端安装。" = "Ошибка установки. Проверьте сеть и права Homebrew или используйте Терминал.";
"FFmpeg 和 ffprobe 已就绪。" = "FFmpeg и ffprobe готовы к работе.";
"安装后仍无法使用 FFmpeg 或 ffprobe。请查看上方的检测结果。" = "FFmpeg или ffprobe всё ещё недоступен. См. результаты проверки выше.";

"跟随系统" = "Как в системе";
"检查依赖…" = "Проверить зависимости…";
3 changes: 3 additions & 0 deletions AppResources/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,6 @@
"安装未完成。请检查网络和 Homebrew 权限后重试,或使用终端安装。" = "安装未完成。请检查网络和 Homebrew 权限后重试,或使用终端安装。";
"FFmpeg 和 ffprobe 已就绪。" = "FFmpeg 和 ffprobe 已就绪。";
"安装后仍无法使用 FFmpeg 或 ffprobe。请查看上方的检测结果。" = "安装后仍无法使用 FFmpeg 或 ffprobe。请查看上方的检测结果。";

"跟随系统" = "跟随系统";
"检查依赖…" = "检查依赖…";
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 1.5.3 — 2026-11-20

**English** — Open Environment Check from Help → Check Dependencies. The Language menu now offers Follow System, and About links to the official website.

**简体中文** — 可从「帮助 → 检查依赖」打开环境体检。「语言」菜单支持跟随系统,「关于」面板可打开官网。

**日本語** — 「ヘルプ → 依存ツールを確認」から環境チェックを開けます。言語はシステム設定に合わせられ、「MP4Flow について」から公式サイトを開けます。

**한국어** — ‘도움말 → 의존성 확인’에서 환경 점검을 열 수 있습니다. 언어는 시스템 설정을 따를 수 있으며, 정보 창에 공식 웹사이트 링크가 추가되었습니다.

macOS 13+ · Apple Silicon / Intel · FFmpeg and ffprobe installed separately · Ad-hoc signed, not notarized

## 1.5.1 — 2026-11-06

### English
Expand Down
2 changes: 1 addition & 1 deletion README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ También puedes cambiar la resolución de salida. Todo el procesamiento de video
## Descargar e instalar

1. **Instala la app.** Abre la [última versión](https://github.com/ixiehao/MP4Flow/releases/latest), despliega **Assets** y descarga el **instalador `.dmg` de MP4Flow** para tu chip: **arm64 (Apple Silicon)** o **x86_64 (Intel)**. Ábrelo y arrastra **MP4Flow** a **Applications (Aplicaciones)**.
2. **Configura FFmpeg y ffprobe.** Abre MP4Flow y haz clic en el icono de onda de la parte superior para abrir Diagnóstico.
2. **Configura FFmpeg y ffprobe.** Abre MP4Flow y elige «Ayuda → Comprobar dependencias…» en la barra de menús.

- **¿Ya tienes Homebrew?** Si faltan las herramientas, pulsa «Instalar dependencias».
- **¿No tienes Homebrew?** Sigue las instrucciones oficiales y completa los «Next steps» si aparecen. Vuelve a MP4Flow y pulsa «Instalar dependencias». [Abrir Homebrew](https://brew.sh/)
Expand Down
2 changes: 1 addition & 1 deletion README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Vous pouvez aussi changer la résolution de sortie. Tout le traitement vidéo se
## Télécharger et installer

1. **Installez l’app.** Ouvrez la [dernière version](https://github.com/ixiehao/MP4Flow/releases/latest), dépliez **Assets** et téléchargez le **fichier `.dmg` de MP4Flow** adapté : **arm64 (Apple Silicon)** ou **x86_64 (Intel)**. Ouvrez-le, puis glissez **MP4Flow** dans **Applications**.
2. **Configurez FFmpeg et ffprobe.** Ouvrez MP4Flow et cliquez sur l’icône en forme d’onde en haut pour ouvrir le diagnostic.
2. **Configurez FFmpeg et ffprobe.** Ouvrez MP4Flow et choisissez « Aide → Vérifier les dépendances… » dans la barre des menus.

- **Homebrew est déjà installé ?** Si les outils manquent, cliquez sur « Installer les dépendances ».
- **Vous n’avez pas Homebrew ?** Suivez les instructions officielles et effectuez les éventuelles étapes « Next steps ». Revenez ensuite à MP4Flow et cliquez sur « Installer les dépendances ». [Ouvrir Homebrew](https://brew.sh/)
Expand Down
2 changes: 1 addition & 1 deletion README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
## ダウンロードと導入

1. **アプリを入れる。** [最新リリース](https://github.com/ixiehao/MP4Flow/releases/latest)の **Assets** を開き、チップに合う **MP4Flow の `.dmg` ファイル**(**arm64:Apple Silicon** / **x86_64:Intel**)をダウンロード。開いて **MP4Flow** を **Applications(アプリケーション)** にドラッグします。
2. **FFmpeg と ffprobe を設定します。** MP4Flow を開き、ウィンドウ上部の波形アイコンをクリックして「環境チェック」を開きます。
2. **FFmpeg と ffprobe を設定します。** MP4Flow を開き、メニューバーの「ヘルプ → 依存ツールを確認…」を選びます。

- **Homebrew をインストール済みの場合** ツールが不足している場合は「依存関係をインストール」をクリックします。
- **Homebrew がない場合** 公式の手順に従い、「Next steps」が表示されたら最後まで実行します。その後 MP4Flow に戻り、「依存関係をインストール」をクリックします。 [Homebrewを開く](https://brew.sh/)
Expand Down
2 changes: 1 addition & 1 deletion README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
## 다운로드와 설치

1. **앱을 설치하세요.** [최신 버전 페이지](https://github.com/ixiehao/MP4Flow/releases/latest)에서 **Assets**를 펼쳐 칩에 맞는 **MP4Flow `.dmg` 설치 파일**: **arm64(Apple Silicon)** 또는 **x86_64(Intel)**을 다운로드하세요. 파일을 열고 **MP4Flow**를 **Applications(응용 프로그램)**로 드래그하세요.
2. **FFmpeg와 ffprobe를 설정하세요.** MP4Flow를 열고 창 상단의 파형 아이콘을 눌러 ‘환경 점검’을 엽니다.
2. **FFmpeg와 ffprobe를 설정하세요.** MP4Flow를 열고 메뉴 막대에서 ‘도움말 → 의존성 확인…’를 선택하세요.

- **Homebrew가 이미 있나요?** 도구가 없으면 ‘의존성 설치’를 누르세요.
- **Homebrew가 없나요?** 공식 안내에 따라 설치하고 ‘Next steps’가 표시되면 완료하세요. MP4Flow로 돌아와 ‘의존성 설치’를 누르세요. [Homebrew 웹사이트 열기](https://brew.sh/)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You can also change output resolution. All video processing stays on your Mac.
## Download and install

1. **Install the app.** Open the [latest release](https://github.com/ixiehao/MP4Flow/releases/latest), expand **Assets**, and download the MP4Flow **`.dmg` installer** for your chip: **arm64 (Apple Silicon)** or **x86_64 (Intel)**. Open it and drag **MP4Flow** to **Applications**.
2. **Set up FFmpeg and ffprobe.** Open MP4Flow and click the waveform icon at the top to open Environment Check.
2. **Set up FFmpeg and ffprobe.** Open MP4Flow and choose “Help → Check Dependencies…” from the menu bar.

- **Already have Homebrew?** If the tools are missing, click “Install dependencies”.
- **No Homebrew?** Follow the official installation instructions and complete any “Next steps”. Then return to MP4Flow and click “Install dependencies”. [Open Homebrew](https://brew.sh/)
Expand Down
2 changes: 1 addition & 1 deletion README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
## Скачать и установить

1. **Установите приложение.** Откройте [последний выпуск](https://github.com/ixiehao/MP4Flow/releases/latest), разверните **Assets** и скачайте **установщик MP4Flow `.dmg`** для вашего чипа: **arm64 (Apple Silicon)** или **x86_64 (Intel)**. Откройте файл и перетащите **MP4Flow** в **Applications («Программы»)**.
2. **Настройте FFmpeg и ffprobe.** Откройте MP4Flow и нажмите значок с волной в верхней части окна, чтобы открыть «Диагностику».
2. **Настройте FFmpeg и ffprobe.** Откройте MP4Flow и выберите «Справка → Проверить зависимости…» в строке меню.

- **Homebrew уже установлен?** Если инструментов нет, нажмите «Установить зависимости».
- **Нет Homebrew?** Установите его по официальной инструкции и выполните шаги «Next steps», если они появятся. Вернитесь в MP4Flow и нажмите «Установить зависимости». [Открыть сайт Homebrew](https://brew.sh/)
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
## 下载与安装

1. **安装应用。** 打开[最新版本页面](https://github.com/ixiehao/MP4Flow/releases/latest),展开 **Assets**,下载对应芯片的 **MP4Flow `.dmg` 安装包**:**arm64(Apple 芯片)** 或 **x86_64(Intel)**。打开后,将 **MP4Flow** 拖入 **Applications(应用程序)**。
2. **安装 FFmpeg 和 ffprobe。** 打开 MP4Flow,点击窗口顶部的波形图标,进入「环境体检」。
2. **安装 FFmpeg 和 ffprobe。** 打开 MP4Flow,在菜单栏选择「帮助 → 检查依赖…」。

- **已安装 Homebrew?** 如果缺少转换工具,点击「一键安装依赖」。
- **还没有 Homebrew?** 按官网提示安装,并完成安装后显示的「Next steps」(如有)。然后回到 MP4Flow,点击「一键安装依赖」。 [打开 Homebrew 官网](https://brew.sh/)
Expand Down
3 changes: 3 additions & 0 deletions Scripts/tests/website.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ test('seven READMEs cover all ten features and use current App action names', as
assert.ok(readme.includes(`| **${catalogs[language.id][key]}** |`), `${language.id}: ${key}`);
}
for (const key of ['画面编辑', '画面调整', '应用编辑', '开始转换']) assert.ok(readme.includes(`**${label(key)}**`), `${language.id}: ${key}`);
const dependencyMenu = `${label('menu.help')} → ${label('检查依赖…')}`;
assert.ok(catalogs[language.id].installIntro.includes(dependencyMenu), `${language.id}: website dependency menu`);
assert.ok(readme.includes(dependencyMenu), `${language.id}: README dependency menu`);
assert.ok(!readme.includes(`**${label('裁切与比例')} →`), language.id);
assert.match(readme, /HDR/);
assert.ok((readme.match(/https:\/\/github\.com\/ixiehao\/MP4Flow\/releases\/latest/g) ?? []).length >= 2, language.id);
Expand Down
10 changes: 8 additions & 2 deletions Sources/FastConvert/AppLanguage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ enum AppLanguage: String, CaseIterable, Identifiable, Sendable {
return .english
}

static let followSystem = "system"

static func resolve(_ preference: String?) -> AppLanguage {
AppLanguage(rawValue: preference ?? followSystem) ?? systemDefault
}

// Resolve resource bundles once, not for every label on every progress tick.
private static let bundles: [AppLanguage: Bundle] = Dictionary(uniqueKeysWithValues: allCases.compactMap { language in
guard let bundle = language.bundle(in: .main) else { return nil }
Expand Down Expand Up @@ -81,9 +87,9 @@ enum AppLanguage: String, CaseIterable, Identifiable, Sendable {
/// Dynamic state strings are not `LocalizedStringKey` values, so they use this
/// helper while static SwiftUI labels are resolved by the view locale.
enum L10n {
private static var language: AppLanguage {
static var language: AppLanguage {
let identifier = UserDefaults.standard.string(forKey: "appLanguage")
return AppLanguage(rawValue: identifier ?? "") ?? AppLanguage.systemDefault
return AppLanguage.resolve(identifier)
}

static func text(_ key: String) -> String { language.text(key) }
Expand Down
9 changes: 4 additions & 5 deletions Sources/FastConvert/DependencyHealth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ private struct CommandResult: Sendable {
struct DependencyHealthStatusBar: View {
@ObservedObject var monitor: DependencyHealthMonitor
let refresh: () -> Void
let openDetails: () -> Void
let copyFFmpegInstallCommand: () -> Void
let openHomebrewWebsite: () -> Void
@Binding var isShowingDetails: Bool
Expand All @@ -395,9 +396,7 @@ struct DependencyHealthStatusBar: View {
.truncationMode(.tail)
.layoutPriority(1)
Spacer(minLength: 0)
Button {
isShowingDetails = true
} label: {
Button(action: openDetails) {
healthActionMark(.healthCheck)
}
.buttonStyle(.plain)
Expand Down Expand Up @@ -448,7 +447,7 @@ struct DependencyHealthStatusBar: View {

private var backgroundColor: Color {
switch displayedLevel {
case .failed: BrandColor.warningBackground
case .failed: .red.opacity(0.08)
case .warning: BrandColor.warningBackground.opacity(0.62)
case .ready, .checking: BrandColor.surface
}
Expand Down Expand Up @@ -741,6 +740,6 @@ private func color(for level: DependencyHealthLevel) -> Color {
case .ready: BrandColor.success
case .warning: BrandColor.warning
case .failed: .red
case .checking: BrandColor.blue
case .checking: .secondary
}
}
Loading
Loading