mirror of https://github.com/tooot-app/app
locales still doesn't work
This commit is contained in:
parent
881bc4ba84
commit
74d830a71a
|
@ -28,16 +28,16 @@ export default (): ExpoConfig => ({
|
|||
googleServicesFile: './configs/google-services.json',
|
||||
permissions: ['CAMERA', 'VIBRATE']
|
||||
},
|
||||
locales: {
|
||||
zh: {
|
||||
CFBundleDisplayName: '嘟嘟嘟',
|
||||
NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片',
|
||||
NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片'
|
||||
},
|
||||
en: {
|
||||
CFBundleDisplayName: 'tooot'
|
||||
}
|
||||
},
|
||||
// locales: {
|
||||
// zh: {
|
||||
// CFBundleDisplayName: '嘟嘟嘟',
|
||||
// NSCameraUsageDescription: '允许嘟嘟嘟用相机上传照片',
|
||||
// NSPhotoLibraryUsageDescription: '允许嘟嘟嘟用相册上传照片'
|
||||
// },
|
||||
// en: {
|
||||
// CFBundleDisplayName: 'tooot'
|
||||
// }
|
||||
// },
|
||||
assetBundlePatterns: ['assets/*'],
|
||||
hooks: {
|
||||
postPublish: [
|
||||
|
|
Loading…
Reference in New Issue