Files
location-spoofer/project.yml
T
Syntax-Error-1337 908ac8f734 Add English localization (device-language based)
Add English as an overlay localization following the device language,
keeping Simplified Chinese as the base/development language. Untranslated
strings fall back to Chinese automatically.

- project.yml: set developmentLanguage zh-Hans and knownRegions (zh-Hans/en/Base)
- Resources/en.lproj/{Localizable,InfoPlist}.strings: ~230 English strings
- Resources/zh-Hans.lproj/InfoPlist.strings: Chinese permission prompts
- Restructure ternary Text/Label and String-typed UI messages so they
  localize (String(localized:), LocalizedStringKey helper params); replace
  a .contains("通过") success check with a dedicated flag
- Localize user-facing model/coordinator/error messages across App and Shared

Internal RuntimeLogger logs and diagnostic/report bodies remain in Chinese.
2026-09-10 01:05:45 +08:00

68 lines
1.7 KiB
YAML

name: PaopaoLocationSpoofer
options:
bundleIdPrefix: com.paopaolabs
deploymentTarget:
iOS: "15.0"
createIntermediateGroups: true
developmentLanguage: zh-Hans
knownRegions:
- zh-Hans
- en
- Base
settings:
base:
SWIFT_VERSION: "5.9"
MARKETING_VERSION: "1.0.6"
CURRENT_PROJECT_VERSION: "7"
CODE_SIGN_STYLE: Manual
CODE_SIGNING_ALLOWED: "NO"
CODE_SIGNING_REQUIRED: "NO"
targets:
PaopaoLocationSpoofer:
type: application
platform: iOS
sources:
- path: App
- path: Shared
- path: Resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.paopaolabs.location-spoofer
PRODUCT_NAME: PaopaoLocationSpoofer
INFOPLIST_FILE: Resources/Info.plist
CODE_SIGN_ENTITLEMENTS: Resources/PaopaoLocationSpoofer.entitlements
TARGETED_DEVICE_FAMILY: "1"
HEADER_SEARCH_PATHS: "$(PROJECT_DIR)/Core"
SWIFT_OBJC_BRIDGING_HEADER: App/PaopaoLocationSpoofer-Bridging-Header.h
OTHER_LDFLAGS: "$(inherited) -lwloccore"
LIBRARY_SEARCH_PATHS: "$(PROJECT_DIR)/Core/build/$(PLATFORM_NAME)"
PaopaoLocationSpooferTests:
type: bundle.unit-test
platform: iOS
sources:
- path: Tests/PaopaoLocationSpooferTests
settings:
base:
HEADER_SEARCH_PATHS: "$(PROJECT_DIR)/Core"
SWIFT_OBJC_BRIDGING_HEADER: App/PaopaoLocationSpoofer-Bridging-Header.h
dependencies:
- target: PaopaoLocationSpoofer
schemes:
PaopaoLocationSpoofer:
build:
targets:
PaopaoLocationSpoofer: all
run:
config: Debug
test:
config: Debug
targets:
- PaopaoLocationSpooferTests
archive:
config: Release