mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Add i18n to iOS
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
3
ios/Runner/zh-Hans.lproj/InfoPlist.strings
Normal file
3
ios/Runner/zh-Hans.lproj/InfoPlist.strings
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Bundle display name */
|
||||
"CFBundleDisplayName" = "EH 下载器";
|
||||
|
||||
1
ios/Runner/zh-Hans.lproj/LaunchScreen.strings
Normal file
1
ios/Runner/zh-Hans.lproj/LaunchScreen.strings
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
ios/Runner/zh-Hans.lproj/Main.strings
Normal file
1
ios/Runner/zh-Hans.lproj/Main.strings
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user