* feat(editor): add setting to turn off spellcheck underlines Add a device-local "Underline spelling mistakes" switch to the editing preferences. The rich-text editor and the mobile plain-text editor now set spellcheck from this preference and update live when it changes. Defaults to enabled, so existing behavior is unchanged. Refs #468 * feat(i18n): add Polish as an in-app locale Add Polish (pl) across clients, mirroring how Japanese was added: - Shared: full pl catalog, locale matching for pl/pl-*, Polish memo templates and factory AI prompts, mobile editor strings, and Polish as an AI translation target and selection-translate chip. - Web: "Polski" in the language picker; the catalog is lazy-loaded in its own i18n-pl chunk and kept out of the PWA precache like ja. - Android: pl locale option, mobile-only strings, web-clip labels. Messages that only had an English branch now use English for every non-Chinese locale, so Japanese no longer falls back to Chinese there. - iOS: .polish UI language (pl-PL), pl argument for every t() call, pl in CFBundleLocalizations and Localizable.xcstrings. - Companion: accepts locale "pl" and detects Polish requests. - Browser extension: _locales/pl messages. - Marketing site: /pl/ pages, hreflang, sitemap, language switcher. - Google Play listing copy for pl-PL (manual publish only). * fix(ios): show the note editor in Polish and Japanese The iOS editor received every interface language except English as Chinese, so with Polish or Japanese selected its toolbar and image gallery controls were labeled in Chinese. Pass Polish and Japanese through to the embedded editor, label its toolbar and the shared image gallery controls in both languages, and rebuild the checked-in EditorBundle. The Android editor uses the same gallery labels. Also translate the last iOS strings that had no Polish text: the follow-system language label, note created/updated times and the current-device marker. Refs #473 * fix(companion): recognize Polish typed without diacritics Requests in Latin letters without Polish diacritics were always treated as English, so with a Polish interface "Napisz plan na jutro" got an English reply. With a Polish interface, such text is now told apart by common English and Polish words; when it is still unclear, the recent conversation and then the interface language decide. Other interface languages keep treating Latin text as English. Refs #473 * chore(ios): regenerate the Xcode project for Polish Run xcodegen so the shipped Info.plist lists Polish in CFBundleLocalizations and the project knows the pl region. The hand-written AiDirectStream.swift entries are replaced by the IDs xcodegen generates. MARKETING_VERSION and CURRENT_PROJECT_VERSION stay in the project file because the release script and Xcode Cloud update them there. Refs #473 * i18n(pl): translate the sidebar shortcut, desktop menus and video scope Add Polish for features that reached main while this branch was open: the show/hide sidebar shortcut label, the desktop application and editing context menus, and the new "ai:generate" MCP scope. The desktop menus switch to Polish for pl and pl-* locales; other locales are unchanged. Refs #473
149 lines
5.1 KiB
YAML
149 lines
5.1 KiB
YAML
name: EdgeEver
|
|
options:
|
|
bundleIdPrefix: org.edgeever
|
|
deploymentTarget:
|
|
iOS: "17.0"
|
|
createIntermediateGroups: true
|
|
groupSortPosition: top
|
|
developmentLanguage: en
|
|
xcodeVersion: "16.0"
|
|
packages:
|
|
GRDB:
|
|
url: https://github.com/groue/GRDB.swift
|
|
from: 7.0.0
|
|
Pow:
|
|
url: https://github.com/EmergeTools/Pow
|
|
from: 1.0.0
|
|
settings:
|
|
base:
|
|
SWIFT_VERSION: "5.0"
|
|
TARGETED_DEVICE_FAMILY: "1"
|
|
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: false
|
|
IPHONEOS_DEPLOYMENT_TARGET: "17.0"
|
|
# MARKETING_VERSION and CURRENT_PROJECT_VERSION live only in
|
|
# Config/Version.xcconfig. Hardcoding them here makes xcodegen overwrite
|
|
# the Release tag during ci_post_clone.
|
|
# Automatic signing: required for Xcode Cloud (managed certs/profiles for
|
|
# App Store + Development exports). Local ExportOptions.plist still pins
|
|
# App Store profiles for Scripts/archive-app-store.sh export.
|
|
DEVELOPMENT_TEAM: 9KA3NM38B6
|
|
CODE_SIGN_STYLE: Automatic
|
|
configs:
|
|
Debug: debug
|
|
Release: release
|
|
configFiles:
|
|
Debug: Config/Debug.xcconfig
|
|
Release: Config/Release.xcconfig
|
|
targets:
|
|
EdgeEver:
|
|
type: application
|
|
platform: iOS
|
|
sources:
|
|
- path: EdgeEver
|
|
excludes:
|
|
- Resources/Info.plist
|
|
resources:
|
|
- path: EdgeEver/Resources/Assets.xcassets
|
|
- path: EdgeEver/Resources/Localizable.xcstrings
|
|
- path: EdgeEver/Resources/PrivacyInfo.xcprivacy
|
|
- path: EdgeEver/Resources/EditorBundle
|
|
dependencies:
|
|
- package: GRDB
|
|
product: GRDB
|
|
- package: Pow
|
|
product: Pow
|
|
- target: ShareExtension
|
|
embed:
|
|
- path: ShareExtension.appex
|
|
buildPhase: embedAppExtensions
|
|
codeSign: true
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: org.edgeever.mobile
|
|
PRODUCT_NAME: EdgeEver
|
|
INFOPLIST_FILE: EdgeEver/Resources/Info.plist
|
|
CODE_SIGN_ENTITLEMENTS: EdgeEver/Resources/EdgeEver.entitlements
|
|
GENERATE_INFOPLIST_FILE: false
|
|
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
|
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
|
|
SWIFT_STRICT_CONCURRENCY: complete
|
|
ENABLE_TESTABILITY: true
|
|
# Always Automatic: Xcode Cloud needs managed Development + Distribution
|
|
# profiles. Local App Store export still uses ExportOptions.plist (manual
|
|
# profiles) in Scripts/archive-app-store.sh.
|
|
DEVELOPMENT_TEAM: 9KA3NM38B6
|
|
CODE_SIGN_STYLE: Automatic
|
|
info:
|
|
path: EdgeEver/Resources/Info.plist
|
|
properties:
|
|
CFBundleDisplayName: EdgeEver
|
|
CFBundleName: EdgeEver
|
|
CFBundleShortVersionString: "$(MARKETING_VERSION)"
|
|
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
|
|
CFBundleLocalizations:
|
|
- en
|
|
- zh-Hans
|
|
- ja
|
|
- pl
|
|
UILaunchScreen: {}
|
|
UISupportedInterfaceOrientations:
|
|
- UIInterfaceOrientationPortrait
|
|
UIRequiresFullScreen: true
|
|
CFBundleURLTypes:
|
|
- CFBundleURLName: org.edgeever.mobile
|
|
CFBundleURLSchemes:
|
|
- edgeever
|
|
ITSAppUsesNonExemptEncryption: false
|
|
NSAppTransportSecurity:
|
|
NSAllowsLocalNetworking: true
|
|
NSAllowsArbitraryLoads: true
|
|
NSAllowsArbitraryLoadsInWebContent: true
|
|
NSPhotoLibraryUsageDescription: EdgeEver needs photo library access to insert images into notes.
|
|
NSCameraUsageDescription: EdgeEver needs camera access to take photos and insert them into notes.
|
|
NSMicrophoneUsageDescription: EdgeEver only uses the microphone if content inside a note explicitly requests it.
|
|
entitlements:
|
|
path: EdgeEver/Resources/EdgeEver.entitlements
|
|
properties:
|
|
com.apple.security.application-groups:
|
|
- group.org.edgeever.mobile
|
|
scheme:
|
|
testTargets:
|
|
- EdgeEverTests
|
|
ShareExtension:
|
|
type: app-extension
|
|
platform: iOS
|
|
sources:
|
|
- path: ShareExtension
|
|
excludes:
|
|
- Info.plist
|
|
settings:
|
|
base:
|
|
# Keep the existing App Store App ID used by the previous RN share extension.
|
|
PRODUCT_BUNDLE_IDENTIFIER: org.edgeever.mobile.expo-sharing-extension
|
|
PRODUCT_NAME: ShareExtension
|
|
INFOPLIST_FILE: ShareExtension/Info.plist
|
|
CODE_SIGN_ENTITLEMENTS: ShareExtension/ShareExtension.entitlements
|
|
GENERATE_INFOPLIST_FILE: false
|
|
SKIP_INSTALL: true
|
|
LD_RUNPATH_SEARCH_PATHS: "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"
|
|
DEVELOPMENT_TEAM: 9KA3NM38B6
|
|
CODE_SIGN_STYLE: Automatic
|
|
entitlements:
|
|
path: ShareExtension/ShareExtension.entitlements
|
|
properties:
|
|
com.apple.security.application-groups:
|
|
- group.org.edgeever.mobile
|
|
EdgeEverTests:
|
|
type: bundle.unit-test
|
|
platform: iOS
|
|
sources:
|
|
- path: Tests/EdgeEverTests
|
|
dependencies:
|
|
- target: EdgeEver
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: org.edgeever.mobile.tests
|
|
GENERATE_INFOPLIST_FILE: true
|
|
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/EdgeEver.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/EdgeEver"
|
|
BUNDLE_LOADER: "$(TEST_HOST)"
|