mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 17:37:30 +09:00
Dactyloidae iOS initial commit
This commit is contained in:
parent
daa6179d22
commit
7154a0497e
2123 changed files with 197052 additions and 0 deletions
13
mobile/ios/Client/Assets/Search/get_supported_locales.swift
Normal file
13
mobile/ios/Client/Assets/Search/get_supported_locales.swift
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env swift
|
||||
|
||||
import Foundation
|
||||
|
||||
var allLocales = NSLocale.availableLocaleIdentifiers()
|
||||
|
||||
// iOS doesn't directly support zh-CN/zh-TW; instead, it supports zh-Hans-CN and zh-Hant-TW, respectively.
|
||||
// These transformations are done in SearchEngines.swift. Add them to the list of supported engines so
|
||||
// that we download them.
|
||||
allLocales.append("zh_CN")
|
||||
allLocales.append("zh_TW")
|
||||
|
||||
print(allLocales)
|
||||
Loading…
Add table
Add a link
Reference in a new issue