Add i18n to iOS

This commit is contained in:
2024-01-26 11:17:18 +08:00
parent 5e1cfb16ea
commit e6363ff4fb
6 changed files with 32 additions and 7 deletions

View File

@@ -158,7 +158,7 @@ class FilePickerDelegate: NSObject, UIDocumentPickerDelegate {
} else {
url.path
}
if !FileManager.default.createFile(atPath: uPath, contents: nil) {
if !FileManager.default.createFile(atPath: uPath, contents: Data.init()) {
result(FlutterError(code: "FAILED_TO_CREATE_FILE", message: nil, details: nil))
return
}

View File

@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Eh Downloader Flutter</string>
<string>EH Downloader</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>

View File

@@ -0,0 +1,3 @@
/* Bundle display name */
"CFBundleDisplayName" = "EH 下载器";

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@