mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Add iOS languages
This commit is contained in:
		| @@ -1,5 +1,3 @@ | |||||||
| languages(['de-DE', 'en-US', 'it', 'ko', 'pt-BR', 'vi', 'zh-Hans']) |  | ||||||
|  |  | ||||||
| name({ | name({ | ||||||
|   'default' => "tooot" |   'default' => "tooot" | ||||||
| }) | }) | ||||||
|   | |||||||
| @@ -1 +0,0 @@ | |||||||
| ../en-US/release_notes.txt |  | ||||||
| @@ -1,2 +0,0 @@ | |||||||
| Support selecting multiple images |  | ||||||
| Long press toot to show options |  | ||||||
| @@ -1,2 +0,0 @@ | |||||||
| 支持同时上传多张图片 |  | ||||||
| 长按嘟文弹出嘟文选项 |  | ||||||
							
								
								
									
										2
									
								
								ios/de.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								ios/de.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | "NSPhotoLibraryAddUsageDescription" = "Erlauben Sie tooot, Bilder in Ihrer Kamerarolle zu speichern"; | ||||||
|  | "NSPhotoLibraryUsageDescription" = "Erlauben Sie tooot, Bilder in Ihrer Kamerarolle zu speichern"; | ||||||
| @@ -1,10 +1,2 @@ | |||||||
| /*  | "NSPhotoLibraryAddUsageDescription" = "Allow tooot to save images to your camera roll"; | ||||||
|   InfoPlist.strings | "NSPhotoLibraryUsageDescription" = "Allow tooot to save images to your camera roll"; | ||||||
|   tooot |  | ||||||
|  |  | ||||||
|   Created by Zheng Zhiyuan (SEBD) on 2021-04-16. |  | ||||||
|    |  | ||||||
| */ |  | ||||||
|  |  | ||||||
| "NSPhotoLibraryAddUsageDescription" = "Allow tooot to save an image to your camera roll"; |  | ||||||
| "NSPhotoLibraryUsageDescription" = "Allow tooot to access your camera roll to attach photos or videos to your toot"; |  | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								ios/it.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								ios/it.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | "NSPhotoLibraryAddUsageDescription" = "Consentire a tooot di salvare le immagini nel rullino fotografico"; | ||||||
|  | "NSPhotoLibraryUsageDescription" = "Consentire a tooot di salvare le immagini nel rullino fotografico"; | ||||||
							
								
								
									
										2
									
								
								ios/ko.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								ios/ko.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | "NSPhotoLibraryAddUsageDescription" = "tooot가 이미지를 카메라 롤에 저장하도록 허용"; | ||||||
|  | "NSPhotoLibraryUsageDescription" = "tooot가 이미지를 카메라 롤에 저장하도록 허용"; | ||||||
							
								
								
									
										2
									
								
								ios/pt-BR.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								ios/pt-BR.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | "NSPhotoLibraryAddUsageDescription" = "Permita guardar imagens em seu rolo de câmera"; | ||||||
|  | "NSPhotoLibraryUsageDescription" = "Permita guardar imagens em seu rolo de câmera"; | ||||||
| @@ -76,6 +76,11 @@ | |||||||
| 		E633A427281EAEAB000E540F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | 		E633A427281EAEAB000E540F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||||||
| 		E633A42F281EAF38000E540F /* ShareViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ShareViewController.swift; path = "../../node_modules/react-native-share-menu/ios/ShareViewController.swift"; sourceTree = "<group>"; }; | 		E633A42F281EAF38000E540F /* ShareViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ShareViewController.swift; path = "../../node_modules/react-native-share-menu/ios/ShareViewController.swift"; sourceTree = "<group>"; }; | ||||||
| 		E633A431281EB55C000E540F /* ShareExtension-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ShareExtension-Bridging-Header.h"; sourceTree = "<group>"; }; | 		E633A431281EB55C000E540F /* ShareExtension-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ShareExtension-Bridging-Header.h"; sourceTree = "<group>"; }; | ||||||
|  | 		E69EBACA28DF282D0057EDEC /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||||||
|  | 		E69EBACB28DF283A0057EDEC /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||||||
|  | 		E69EBACC28DF28420057EDEC /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||||||
|  | 		E69EBACD28DF284D0057EDEC /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/InfoPlist.strings"; sourceTree = "<group>"; }; | ||||||
|  | 		E69EBACE28DF28560057EDEC /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = vi; path = vi.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||||||
| 		ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; | 		ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; | ||||||
| 		ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; | 		ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; | ||||||
| /* End PBXFileReference section */ | /* End PBXFileReference section */ | ||||||
| @@ -277,6 +282,11 @@ | |||||||
| 				en, | 				en, | ||||||
| 				Base, | 				Base, | ||||||
| 				"zh-Hans", | 				"zh-Hans", | ||||||
|  | 				de, | ||||||
|  | 				it, | ||||||
|  | 				ko, | ||||||
|  | 				"pt-BR", | ||||||
|  | 				vi, | ||||||
| 			); | 			); | ||||||
| 			mainGroup = 83CBB9F61A601CBA00E9B192; | 			mainGroup = 83CBB9F61A601CBA00E9B192; | ||||||
| 			productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; | 			productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; | ||||||
| @@ -496,6 +506,11 @@ | |||||||
| 			children = ( | 			children = ( | ||||||
| 				5EE088CA26297820007E5FEC /* en */, | 				5EE088CA26297820007E5FEC /* en */, | ||||||
| 				5EE088CD2629786B007E5FEC /* zh-Hans */, | 				5EE088CD2629786B007E5FEC /* zh-Hans */, | ||||||
|  | 				E69EBACA28DF282D0057EDEC /* de */, | ||||||
|  | 				E69EBACB28DF283A0057EDEC /* it */, | ||||||
|  | 				E69EBACC28DF28420057EDEC /* ko */, | ||||||
|  | 				E69EBACD28DF284D0057EDEC /* pt-BR */, | ||||||
|  | 				E69EBACE28DF28560057EDEC /* vi */, | ||||||
| 			); | 			); | ||||||
| 			name = InfoPlist.strings; | 			name = InfoPlist.strings; | ||||||
| 			sourceTree = "<group>"; | 			sourceTree = "<group>"; | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								ios/vi.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								ios/vi.lproj/InfoPlist.strings
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | "NSPhotoLibraryAddUsageDescription" = "Cho phép quá nhiều để lưu hình ảnh vào thư viện ảnh của bạn"; | ||||||
|  | "NSPhotoLibraryUsageDescription" = "Cho phép quá nhiều để lưu hình ảnh vào thư viện ảnh của bạn"; | ||||||
| @@ -1,10 +1,2 @@ | |||||||
| /*  |  | ||||||
|   InfoPlist.strings |  | ||||||
|   tooot |  | ||||||
|  |  | ||||||
|   Created by Zheng Zhiyuan (SEBD) on 2021-04-16. |  | ||||||
|    |  | ||||||
| */ |  | ||||||
|  |  | ||||||
| "NSPhotoLibraryAddUsageDescription" = "允许tooot保存图片至相册"; | "NSPhotoLibraryAddUsageDescription" = "允许tooot保存图片至相册"; | ||||||
| "NSPhotoLibraryUsageDescription" = "允许tooot读取相册图片或视频,以添加嘟文附件"; | "NSPhotoLibraryUsageDescription" = "允许tooot保存图片至相册"; | ||||||
|   | |||||||
| @@ -7,6 +7,7 @@ import { persistor } from '@root/store' | |||||||
| import { getInstanceActive, getInstances } from '@utils/slices/instancesSlice' | import { getInstanceActive, getInstances } from '@utils/slices/instancesSlice' | ||||||
| import { StyleConstants } from '@utils/styles/constants' | import { StyleConstants } from '@utils/styles/constants' | ||||||
| import { useTheme } from '@utils/styles/ThemeManager' | import { useTheme } from '@utils/styles/ThemeManager' | ||||||
|  | import * as Localization from 'expo-localization' | ||||||
| import React from 'react' | import React from 'react' | ||||||
| import { DevSettings } from 'react-native' | import { DevSettings } from 'react-native' | ||||||
| import { useSelector } from 'react-redux' | import { useSelector } from 'react-redux' | ||||||
| @@ -19,6 +20,16 @@ const SettingsDev: React.FC = () => { | |||||||
|  |  | ||||||
|   return ( |   return ( | ||||||
|     <MenuContainer> |     <MenuContainer> | ||||||
|  |       <CustomText | ||||||
|  |         fontStyle='S' | ||||||
|  |         selectable | ||||||
|  |         style={{ | ||||||
|  |           paddingHorizontal: StyleConstants.Spacing.Global.PagePadding, | ||||||
|  |           color: colors.primaryDefault | ||||||
|  |         }} | ||||||
|  |       > | ||||||
|  |         {JSON.stringify(Localization.locales)} | ||||||
|  |       </CustomText> | ||||||
|       <CustomText |       <CustomText | ||||||
|         fontStyle='S' |         fontStyle='S' | ||||||
|         selectable |         selectable | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user