Localize macOS app display name
11 files modified
2 files added
| | |
| | | # Changelog |
| | | |
| | | ## v2.1.26 (2026-06-03) |
| | | |
| | | ### 修复 |
| | | |
| | | - **macOS App 名称按系统语言本地化**:中文系统显示 `私语输入法`,英文系统显示 `PrivateVoice Dictation`。 |
| | | - **麦克风权限提示本地化**:中文系统下麦克风授权文案改为中文。 |
| | | - **macOS 构建脚本复制本地化资源**:本地、正式、App Store POC 和 Developer ID sandbox 构建都会把 `*.lproj/InfoPlist.strings` 打入 `.app/Contents/Resources`。 |
| | | |
| | | ### 构建 |
| | | |
| | | - build: `20260603.2151` |
| | | |
| | | --- |
| | | |
| | | ## v2.1.25 (2026-06-03) |
| | | |
| | | ### QA 候选包 |
| | |
| | | ) |
| | | |
| | | const ( |
| | | appVersion = "2.1.25" |
| | | appBuild = "20260603.2102" |
| | | appVersion = "2.1.26" |
| | | appBuild = "20260603.2151" |
| | | appDisplayVersion = appVersion + " (build " + appBuild + ")" |
| | | appName = "PrivateVoice Dictation" |
| | | |
| | |
| | | description: "Private offline voice input tool" |
| | | copyright: "(c) 2026, PrivateVoice" |
| | | comments: "Private. Offline." |
| | | version: "2.1.25" |
| | | version: "2.1.26" |
| | | |
| | | dev_mode: |
| | | root_path: . |
| | |
| | | <string>icon.icns</string> |
| | | <key>CFBundleIdentifier</key> |
| | | <string>com.privatevoice.input</string> |
| | | <key>CFBundleDevelopmentRegion</key> |
| | | <string>en</string> |
| | | <key>CFBundleName</key> |
| | | <string>PrivateVoice Dictation</string> |
| | | <key>CFBundleDisplayName</key> |
| | |
| | | <key>CFBundlePackageType</key> |
| | | <string>APPL</string> |
| | | <key>CFBundleShortVersionString</key> |
| | | <string>2.1.25</string> |
| | | <string>2.1.26</string> |
| | | <key>CFBundleVersion</key> |
| | | <string>20260603.2102</string> |
| | | <string>20260603.2151</string> |
| | | <key>LSMinimumSystemVersion</key> |
| | | <string>11.0</string> |
| | | <key>NSMicrophoneUsageDescription</key> |
| New file |
| | |
| | | "CFBundleDisplayName" = "PrivateVoice Dictation"; |
| | | "CFBundleName" = "PrivateVoice Dictation"; |
| | | "NSMicrophoneUsageDescription" = "PrivateVoice Dictation needs microphone access for voice-to-text input."; |
| New file |
| | |
| | | "CFBundleDisplayName" = "私语输入法"; |
| | | "CFBundleName" = "私语输入法"; |
| | | "NSMicrophoneUsageDescription" = "私语输入法需要访问麦克风,用于语音转文字输入。"; |
| | |
| | | <assemblyIdentity |
| | | type="win32" |
| | | name="PrivateVoice.Dictation" |
| | | version="2.1.25.0" |
| | | version="2.1.26.0" |
| | | processorArchitecture="*"/> |
| | | <dependency> |
| | | <dependentAssembly> |
| | |
| | | { |
| | | "name": "privatevoice-dictation-frontend", |
| | | "version": "2.1.25", |
| | | "version": "2.1.26", |
| | | "lockfileVersion": 3, |
| | | "requires": true, |
| | | "packages": { |
| | | "": { |
| | | "name": "privatevoice-dictation-frontend", |
| | | "version": "2.1.25", |
| | | "version": "2.1.26", |
| | | "dependencies": { |
| | | "@wailsio/runtime": "latest" |
| | | }, |
| | |
| | | { |
| | | "name": "privatevoice-dictation-frontend", |
| | | "private": true, |
| | | "version": "2.1.25", |
| | | "version": "2.1.26", |
| | | "type": "module", |
| | | "scripts": { |
| | | "dev": "vite dev", |
| | |
| | | "$APP_BUNDLE/Contents/Info.plist" |
| | | cp "$BUILD_DIR/$APP_NAME" "$APP_BUNDLE/Contents/MacOS/$APP_NAME" |
| | | cp "$PROJECT_DIR/build/darwin/icon.icns" "$APP_BUNDLE/Contents/Resources/icon.icns" |
| | | find "$PROJECT_DIR/build/darwin" -maxdepth 1 -type d -name "*.lproj" \ |
| | | -exec cp -R {} "$APP_BUNDLE/Contents/Resources/" \; |
| | | cp "$SHERPA_LIB_DIR/libsherpa-onnx-c-api.dylib" "$APP_BUNDLE/Contents/Frameworks/" |
| | | cp "$ONNXRUNTIME_DYLIB" "$APP_BUNDLE/Contents/Frameworks/" |
| | | |
| | |
| | | "$APP_BUNDLE/Contents/Info.plist" |
| | | cp "$BUILD_DIR/$APP_NAME" "$APP_BUNDLE/Contents/MacOS/$APP_NAME" |
| | | cp "$PROJECT_DIR/build/darwin/icon.icns" "$APP_BUNDLE/Contents/Resources/icon.icns" |
| | | find "$PROJECT_DIR/build/darwin" -maxdepth 1 -type d -name "*.lproj" \ |
| | | -exec cp -R {} "$APP_BUNDLE/Contents/Resources/" \; |
| | | cp "$SHERPA_LIB_DIR/libsherpa-onnx-c-api.dylib" "$APP_BUNDLE/Contents/Frameworks/" |
| | | cp "$ONNXRUNTIME_DYLIB" "$APP_BUNDLE/Contents/Frameworks/" |
| | | |
| | |
| | | cp "$INFO_PLIST" "$APP_BUNDLE/Contents/Info.plist" |
| | | cp "$BUILD_DIR/$APP_NAME" "$APP_BUNDLE/Contents/MacOS/$APP_NAME" |
| | | cp "$PROJECT_DIR/build/darwin/icon.icns" "$APP_BUNDLE/Contents/Resources/icon.icns" |
| | | find "$PROJECT_DIR/build/darwin" -maxdepth 1 -type d -name "*.lproj" \ |
| | | -exec cp -R {} "$APP_BUNDLE/Contents/Resources/" \; |
| | | cp "$SHERPA_LIB_DIR/libsherpa-onnx-c-api.dylib" "$APP_BUNDLE/Contents/Frameworks/" |
| | | cp "$ONNXRUNTIME_DYLIB" "$APP_BUNDLE/Contents/Frameworks/" |
| | | |
| | |
| | | cp "$BUILD_DIR/${APP_NAME}" "$APP_BUNDLE/Contents/MacOS/${APP_NAME}" |
| | | cp "$PROJECT_DIR/build/darwin/icon.icns" \ |
| | | "$APP_BUNDLE/Contents/Resources/icon.icns" |
| | | find "$PROJECT_DIR/build/darwin" -maxdepth 1 -type d -name "*.lproj" \ |
| | | -exec cp -R {} "$APP_BUNDLE/Contents/Resources/" \; |
| | | |
| | | # Copy dylibs |
| | | cp "$SHERPA_LIB_DIR/libsherpa-onnx-c-api.dylib" "$APP_BUNDLE/Contents/Frameworks/" |