Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Commit 6ee5a3f

Browse files
authored
Merge pull request #2483 from RocketChat/i18n/add_chinese_language_support
[I18N] Add Chinese Simplified language support to the app
2 parents caab0e9 + bebc9fe commit 6ee5a3f

6 files changed

Lines changed: 613 additions & 2 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
Localizable.strings
3+
Rocket.Chat
4+
5+
Created by Matheus Cardoso on 2/28/18.
6+
Copyright © 2018 Rocket.Chat. All rights reserved.
7+
*/
8+
9+
"global.ok" = "Ok";
10+
11+
"alert.no_servers.title" = "No servers";
12+
"alert.no_servers.message" = "You need to join at least one Rocket.Chat server in order to share something.";
13+
14+
"servers.title" = "Servers";
15+
16+
"rooms.title" = "Select Rooms";
17+
"rooms.section.server" = "Select server";
18+
"rooms.section.favorites" = "Favorites";
19+
"rooms.section.channels" = "Channels";
20+
"rooms.section.groups" = "Private Groups";
21+
"rooms.section.directMessages" = "Direct Messages";
22+
23+
"compose.title" = "Share";
24+
"compose.send" = "Send";
25+
"compose.cancel" = "Cancel";
26+
"compose.destination.to" = "To: ";
27+
"compose.file.name.placeholder" = "File name";
28+
"compose.file.description.placeholder" = "File description";
29+
30+
"report.success.title" = "Success";
31+
"report.success.message" = "Shared your content successfully.";
32+
"report.error.title" = "Error";
33+
"report.error.message" = "Something wrong happened while sending your content.";
34+
"report.cancelled.message" = "You cancelled the request. The message wasn't sent.";

Rocket.Chat.xcodeproj/project.pbxproj

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,8 @@
679679
80B2D99320E54AD4002F4149 /* UIViewControllerPushOrPresent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80B2D99220E54AD4002F4149 /* UIViewControllerPushOrPresent.swift */; };
680680
80B2D99720E677D6002F4149 /* UsersClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80B2D99620E677D6002F4149 /* UsersClient.swift */; };
681681
80B3DC0B202DCE1D004249AD /* SAMLViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80B3DC0A202DCE1D004249AD /* SAMLViewController.swift */; };
682-
80BFF60321D40EDF00D99771 /* RoomHistoryRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80BFF60221D40EDF00D99771 /* RoomHistoryRequest.swift */; };
683682
80BFF60121D40BD500D99771 /* Throttle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80BFF60021D40BD500D99771 /* Throttle.swift */; };
683+
80BFF60321D40EDF00D99771 /* RoomHistoryRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80BFF60221D40EDF00D99771 /* RoomHistoryRequest.swift */; };
684684
80C110891FB62F7B00205BB1 /* OAuthViewControllerSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80C110881FB62F7B00205BB1 /* OAuthViewControllerSpec.swift */; };
685685
80CC78CF20DAE334002FBEBC /* SubscriptionsViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80CC78CE20DAE334002FBEBC /* SubscriptionsViewModel.swift */; };
686686
80CC78D120DD7F99002FBEBC /* RealmAssorter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80CC78D020DD7F99002FBEBC /* RealmAssorter.swift */; };
@@ -1201,6 +1201,11 @@
12011201
414EE62D21CD1FEB003693D2 /* WebRTC.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = WebRTC.framework; sourceTree = "<group>"; };
12021202
414EFF911E54FE69004F001F /* AuthExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AuthExtensions.swift; sourceTree = "<group>"; };
12031203
415066871EB8B541003AEA1C /* MessageTextCacheManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageTextCacheManager.swift; sourceTree = "<group>"; };
1204+
41510BBD21E61CBC0095F0F8 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/RCEmojiKit.strings"; sourceTree = "<group>"; };
1205+
41510BBE21E61CBC0095F0F8 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
1206+
41510BBF21E61CBC0095F0F8 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/VoiceOver.strings"; sourceTree = "<group>"; };
1207+
41510BC021E61CBC0095F0F8 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
1208+
41510BC121E61CBD0095F0F8 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
12041209
4151807A1EAE249F0000A039 /* ChatMessageTextViewModelSpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChatMessageTextViewModelSpec.swift; sourceTree = "<group>"; };
12051210
4151B44D1E2CF19A00F8AA1B /* UserModelHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserModelHandler.swift; sourceTree = "<group>"; };
12061211
4151B4531E2D1A9E00F8AA1B /* SubscriptionModelHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SubscriptionModelHandler.swift; sourceTree = "<group>"; };
@@ -1626,8 +1631,8 @@
16261631
80B2D99220E54AD4002F4149 /* UIViewControllerPushOrPresent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIViewControllerPushOrPresent.swift; sourceTree = "<group>"; };
16271632
80B2D99620E677D6002F4149 /* UsersClient.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UsersClient.swift; sourceTree = "<group>"; };
16281633
80B3DC0A202DCE1D004249AD /* SAMLViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SAMLViewController.swift; sourceTree = "<group>"; };
1629-
80BFF60221D40EDF00D99771 /* RoomHistoryRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoomHistoryRequest.swift; sourceTree = "<group>"; };
16301634
80BFF60021D40BD500D99771 /* Throttle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Throttle.swift; sourceTree = "<group>"; };
1635+
80BFF60221D40EDF00D99771 /* RoomHistoryRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoomHistoryRequest.swift; sourceTree = "<group>"; };
16311636
80C110881FB62F7B00205BB1 /* OAuthViewControllerSpec.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OAuthViewControllerSpec.swift; sourceTree = "<group>"; };
16321637
80C7DD5F1FF46B8000E6647C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/RCEmojiKit.strings; sourceTree = "<group>"; };
16331638
80C7DD611FF46B8300E6647C /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/RCEmojiKit.strings"; sourceTree = "<group>"; };
@@ -4309,6 +4314,7 @@
43094314
"pt-PT",
43104315
ja,
43114316
it,
4317+
"zh-Hans",
43124318
);
43134319
mainGroup = 41DF76D61D2C50710028DBF8;
43144320
productRefGroup = 41DF76E01D2C50710028DBF8 /* Products */;
@@ -5561,6 +5567,7 @@
55615567
0B92E67520F767FE003DAB5A /* pt-PT */,
55625568
4119E1C32138242A00CDFB83 /* ja */,
55635569
4136466521A4A25E00BE64B8 /* it */,
5570+
41510BC021E61CBC0095F0F8 /* zh-Hans */,
55645571
);
55655572
name = InfoPlist.strings;
55665573
sourceTree = "<group>";
@@ -5589,6 +5596,7 @@
55895596
416772D520EA4CCA009999F8 /* pt-PT */,
55905597
4119E1C12138242900CDFB83 /* ja */,
55915598
4136466321A4A25E00BE64B8 /* it */,
5599+
41510BBE21E61CBC0095F0F8 /* zh-Hans */,
55925600
);
55935601
name = Localizable.strings;
55945602
path = .;
@@ -5609,6 +5617,7 @@
56095617
416772D620EA4CCA009999F8 /* pt-PT */,
56105618
4119E1C22138242900CDFB83 /* ja */,
56115619
4136466421A4A25E00BE64B8 /* it */,
5620+
41510BBF21E61CBC0095F0F8 /* zh-Hans */,
56125621
);
56135622
name = VoiceOver.strings;
56145623
path = .;
@@ -5635,6 +5644,7 @@
56355644
807FB57020472B6A00E21429 /* pt-BR */,
56365645
416772D720EA4CCA009999F8 /* pt-PT */,
56375646
4136466621A4A25E00BE64B8 /* it */,
5647+
41510BC121E61CBD0095F0F8 /* zh-Hans */,
56385648
);
56395649
name = Localizable.strings;
56405650
path = .;
@@ -5654,6 +5664,7 @@
56545664
416772D420EA4CCA009999F8 /* pt-PT */,
56555665
4119E1C02138242900CDFB83 /* ja */,
56565666
4136466221A4A25D00BE64B8 /* it */,
5667+
41510BBD21E61CBC0095F0F8 /* zh-Hans */,
56575668
);
56585669
name = RCEmojiKit.strings;
56595670
path = .;
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
RCEmojiKit.strings
3+
Rocket.Chat
4+
5+
Created by Matheus Cardoso on 12/27/17.
6+
Copyright © 2017 Rocket.Chat. All rights reserved.
7+
*/
8+
9+
"emojipicker.title" = "Choose a reaction";
10+
"searchbar.placeholder" = "Search for an emoji";
11+
12+
"categories.recent" = "FREQUENTLY USED";
13+
"categories.custom" = "CUSTOM";
14+
"categories.people" = "SMILEYS & PEOPLE";
15+
"categories.nature" = "ANIMALS & NATURE";
16+
"categories.food" = "FOOD & DRINK";
17+
"categories.activity" = "ACTIVITY";
18+
"categories.travel" = "TRAVEL & PLACES";
19+
"categories.objects" = "OBJECTS";
20+
"categories.symbols" = "SYMBOLS";
21+
"categories.flags" = "FLAGS";
22+
23+
"reactorlist.title" = "Reactions";
24+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
InfoPlist.strings
3+
Rocket.Chat
4+
5+
Created by Artur Simon on 01.09.2019.
6+
Copyright © 2019 Rocket.Chat. All rights reserved.
7+
*/
8+
9+
add-server-shortcut = "添加服务器";
10+
NSCameraUsageDescription = "拍照和录制视频";
11+
NSMicrophoneUsageDescription = "录制音频视频并上传";
12+
NSPhotoLibraryAddUsageDescription = "保存图片到图库";
13+
NSPhotoLibraryUsageDescription = "上传照片到图库";

0 commit comments

Comments
 (0)