Add guide for migrating translations from Android

This commit is contained in:
nielsandriesse 2020-07-27 14:28:38 +10:00
parent b4e1237b9f
commit 19d4d46c9e
2 changed files with 17 additions and 0 deletions

View File

@ -1408,6 +1408,7 @@
C35E8AA62485C85600ACB629 /* GeoLite2-Country-Blocks-IPv4.csv */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "GeoLite2-Country-Blocks-IPv4.csv"; sourceTree = "<group>"; };
C35E8AAD2485E51D00ACB629 /* IP2Country.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IP2Country.swift; sourceTree = "<group>"; };
C3638C0424C7F0B500AF29BC /* LK002RemoveFriendRequests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LK002RemoveFriendRequests.swift; sourceTree = "<group>"; };
C3AA6BB824CE8F1B002358B6 /* Migrating Translations from Android.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = "Migrating Translations from Android.md"; sourceTree = "<group>"; };
C3DAB3232480CB2A00725F25 /* SRCopyableLabel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SRCopyableLabel.swift; sourceTree = "<group>"; };
C3DFFAC523E96F0D0058DAF8 /* Sheet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Sheet.swift; sourceTree = "<group>"; };
C3DFFAC723E970080058DAF8 /* OpenGroupSuggestionSheet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OpenGroupSuggestionSheet.swift; sourceTree = "<group>"; };
@ -2605,6 +2606,7 @@
isa = PBXGroup;
children = (
B6F509951AA53F760068F56A /* Localizable.strings */,
C3AA6BB824CE8F1B002358B6 /* Migrating Translations from Android.md */,
);
name = Translations;
sourceTree = "<group>";

View File

@ -0,0 +1,15 @@
* Replace <string name=
* Replace “> → “ = “
* Replace </string> → “;
* Replace activity_ → vc_
* Replace fragment_ → vc_
* Replace dialog_ → modal_
* Replace Firebase Cloud Messaging → Apple Push Notification Service
* Replace FCM → APNs
* Replace fcm_ → apns_
* Replace &gt; → >
* Remove any \
* Check for any unescaped “
* Replace %1$s → %@
* Replace %s → %@
* Replace edit_text → text_field