feat: add language Kabyle and Vietnamese
This commit is contained in:
parent
6a5b250bab
commit
80702e81af
|
@ -56,6 +56,7 @@ private func map(language: String) -> String? {
|
|||
case "fr_FR": return "fr" // French
|
||||
case "de_DE": return "de" // German
|
||||
case "ja_JP": return "ja" // Japanese
|
||||
case "kab_KAB": return "kab" // Kabyle
|
||||
case "kmr_TR": return "ku" // Kurmanji (Kurdish)
|
||||
case "ru_RU": return "ru" // Russian
|
||||
case "gd_GB": return "gd-GB" // Scottish Gaelic
|
||||
|
@ -63,6 +64,7 @@ private func map(language: String) -> String? {
|
|||
case "es_AR": return "es-419" // Spanish, Argentina
|
||||
case "sv_FI": return "sv_FI" // Swedish, Finland
|
||||
case "th_TH": return "th" // Thai
|
||||
case "vi_VN": return "vi" // Vietnamese
|
||||
default: return nil
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1317,6 +1317,12 @@
|
|||
DBF3B7402733EB9400E21627 /* MastodonLocalCode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MastodonLocalCode.swift; sourceTree = "<group>"; };
|
||||
DBF53F5F25C14E88008AAC7B /* Mastodon.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; name = Mastodon.xctestplan; path = Mastodon/Mastodon.xctestplan; sourceTree = "<group>"; };
|
||||
DBF53F6025C14E9D008AAC7B /* MastodonSDK.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = MastodonSDK.xctestplan; sourceTree = "<group>"; };
|
||||
DBF81C7427F68F5A00004A56 /* kab */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = kab; path = kab.lproj/Intents.strings; sourceTree = "<group>"; };
|
||||
DBF81C7527F68F5A00004A56 /* kab */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = kab; path = kab.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
DBF81C7627F68F5A00004A56 /* kab */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = kab; path = kab.lproj/Intents.stringsdict; sourceTree = "<group>"; };
|
||||
DBF81C7727F6913300004A56 /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = vi; path = vi.lproj/Intents.strings; sourceTree = "<group>"; };
|
||||
DBF81C7827F6913300004A56 /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = vi; path = vi.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
DBF81C7927F6913300004A56 /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = vi; path = vi.lproj/Intents.stringsdict; sourceTree = "<group>"; };
|
||||
DBF8AE13263293E400C9C23C /* NotificationService.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NotificationService.appex; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
DBF8AE15263293E400C9C23C /* NotificationService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationService.swift; sourceTree = "<group>"; };
|
||||
DBF8AE17263293E400C9C23C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
|
@ -3441,6 +3447,8 @@
|
|||
"eu-ES",
|
||||
"sv-FI",
|
||||
ku,
|
||||
kab,
|
||||
vi,
|
||||
);
|
||||
mainGroup = DB427DC925BAA00100D1B89D;
|
||||
packageReferences = (
|
||||
|
@ -4442,6 +4450,8 @@
|
|||
DB126A4C278C063F005726EE /* eu-ES */,
|
||||
DB126A56278C088D005726EE /* sv-FI */,
|
||||
DBEB19E927E4F37B00B0E80E /* ku */,
|
||||
DBF81C7427F68F5A00004A56 /* kab */,
|
||||
DBF81C7727F6913300004A56 /* vi */,
|
||||
);
|
||||
name = Intents.intentdefinition;
|
||||
sourceTree = "<group>";
|
||||
|
@ -4465,6 +4475,8 @@
|
|||
DB126A4F278C063F005726EE /* eu-ES */,
|
||||
DB126A59278C088D005726EE /* sv-FI */,
|
||||
DBEB19EA27E4F37B00B0E80E /* ku */,
|
||||
DBF81C7527F68F5A00004A56 /* kab */,
|
||||
DBF81C7827F6913300004A56 /* vi */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
|
@ -4504,6 +4516,8 @@
|
|||
DB126A50278C063F005726EE /* eu-ES */,
|
||||
DB126A5A278C088D005726EE /* sv-FI */,
|
||||
DBEB19EB27E4F37B00B0E80E /* ku */,
|
||||
DBF81C7627F68F5A00004A56 /* kab */,
|
||||
DBF81C7927F6913300004A56 /* vi */,
|
||||
);
|
||||
name = Intents.stringsdict;
|
||||
sourceTree = "<group>";
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
<key>MastodonIntent.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>49</integer>
|
||||
<integer>23</integer>
|
||||
</dict>
|
||||
<key>MastodonIntents.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
|
@ -119,12 +119,12 @@
|
|||
<key>NotificationService.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>51</integer>
|
||||
<integer>21</integer>
|
||||
</dict>
|
||||
<key>ShareActionExtension.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>50</integer>
|
||||
<integer>22</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>SuppressBuildableAutocreation</key>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
"NSCameraUsageDescription" = "Used to take photo for post status";
|
||||
"NSPhotoLibraryAddUsageDescription" = "Used to save photo into the Photo Library";
|
||||
"NewPostShortcutItemTitle" = "New Post";
|
||||
"SearchShortcutItemTitle" = "Search";
|
|
@ -0,0 +1,4 @@
|
|||
"NSCameraUsageDescription" = "Used to take photo for post status";
|
||||
"NSPhotoLibraryAddUsageDescription" = "Used to save photo into the Photo Library";
|
||||
"NewPostShortcutItemTitle" = "New Post";
|
||||
"SearchShortcutItemTitle" = "Search";
|
|
@ -0,0 +1,52 @@
|
|||
"16wxgf" = "Post on Mastodon";
|
||||
|
||||
"751xkl" = "Text Content";
|
||||
|
||||
"CsR7G2" = "Post on Mastodon";
|
||||
|
||||
"HZSGTr" = "What content to post?";
|
||||
|
||||
"HdGikU" = "Posting failed";
|
||||
|
||||
"KDNTJ4" = "Failure Reason";
|
||||
|
||||
"RHxKOw" = "Send Post with text content";
|
||||
|
||||
"RxSqsb" = "Post";
|
||||
|
||||
"WCIR3D" = "Post ${content} on Mastodon";
|
||||
|
||||
"ZKJSNu" = "Post";
|
||||
|
||||
"ZS1XaK" = "${content}";
|
||||
|
||||
"ZbSjzC" = "Visibility";
|
||||
|
||||
"Zo4jgJ" = "Post Visibility";
|
||||
|
||||
"apSxMG-dYQ5NN" = "There are ${count} options matching ‘Public’.";
|
||||
|
||||
"apSxMG-ehFLjY" = "There are ${count} options matching ‘Followers Only’.";
|
||||
|
||||
"ayoYEb-dYQ5NN" = "${content}, Public";
|
||||
|
||||
"ayoYEb-ehFLjY" = "${content}, Followers Only";
|
||||
|
||||
"dUyuGg" = "Post on Mastodon";
|
||||
|
||||
"dYQ5NN" = "Public";
|
||||
|
||||
"ehFLjY" = "Followers Only";
|
||||
|
||||
"gfePDu" = "Posting failed. ${failureReason}";
|
||||
|
||||
"k7dbKQ" = "Post was sent successfully.";
|
||||
|
||||
"oGiqmY-dYQ5NN" = "Just to confirm, you wanted ‘Public’?";
|
||||
|
||||
"oGiqmY-ehFLjY" = "Just to confirm, you wanted ‘Followers Only’?";
|
||||
|
||||
"rM6dvp" = "URL";
|
||||
|
||||
"ryJLwG" = "Post was sent successfully.";
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>There are ${count} options matching ‘${content}’. - 2</key>
|
||||
<dict>
|
||||
<key>NSStringLocalizedFormatKey</key>
|
||||
<string>There are %#@count_option@ matching ‘${content}’.</string>
|
||||
<key>count_option</key>
|
||||
<dict>
|
||||
<key>NSStringFormatSpecTypeKey</key>
|
||||
<string>NSStringPluralRuleType</string>
|
||||
<key>NSStringFormatValueTypeKey</key>
|
||||
<string>%ld</string>
|
||||
<key>zero</key>
|
||||
<string>0 options</string>
|
||||
<key>one</key>
|
||||
<string>1 option</string>
|
||||
<key>two</key>
|
||||
<string>2 options</string>
|
||||
<key>few</key>
|
||||
<string>%ld options</string>
|
||||
<key>many</key>
|
||||
<string>%ld options</string>
|
||||
<key>other</key>
|
||||
<string>%ld options</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>There are ${count} options matching ‘${visibility}’.</key>
|
||||
<dict>
|
||||
<key>NSStringLocalizedFormatKey</key>
|
||||
<string>There are %#@count_option@ matching ‘${visibility}’.</string>
|
||||
<key>count_option</key>
|
||||
<dict>
|
||||
<key>NSStringFormatSpecTypeKey</key>
|
||||
<string>NSStringPluralRuleType</string>
|
||||
<key>NSStringFormatValueTypeKey</key>
|
||||
<string>%ld</string>
|
||||
<key>zero</key>
|
||||
<string>0 options</string>
|
||||
<key>one</key>
|
||||
<string>1 option</string>
|
||||
<key>two</key>
|
||||
<string>2 options</string>
|
||||
<key>few</key>
|
||||
<string>%ld options</string>
|
||||
<key>many</key>
|
||||
<string>%ld options</string>
|
||||
<key>other</key>
|
||||
<string>%ld options</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,52 @@
|
|||
"16wxgf" = "Post on Mastodon";
|
||||
|
||||
"751xkl" = "Text Content";
|
||||
|
||||
"CsR7G2" = "Post on Mastodon";
|
||||
|
||||
"HZSGTr" = "What content to post?";
|
||||
|
||||
"HdGikU" = "Posting failed";
|
||||
|
||||
"KDNTJ4" = "Failure Reason";
|
||||
|
||||
"RHxKOw" = "Send Post with text content";
|
||||
|
||||
"RxSqsb" = "Post";
|
||||
|
||||
"WCIR3D" = "Post ${content} on Mastodon";
|
||||
|
||||
"ZKJSNu" = "Post";
|
||||
|
||||
"ZS1XaK" = "${content}";
|
||||
|
||||
"ZbSjzC" = "Visibility";
|
||||
|
||||
"Zo4jgJ" = "Post Visibility";
|
||||
|
||||
"apSxMG-dYQ5NN" = "There are ${count} options matching ‘Public’.";
|
||||
|
||||
"apSxMG-ehFLjY" = "There are ${count} options matching ‘Followers Only’.";
|
||||
|
||||
"ayoYEb-dYQ5NN" = "${content}, Public";
|
||||
|
||||
"ayoYEb-ehFLjY" = "${content}, Followers Only";
|
||||
|
||||
"dUyuGg" = "Post on Mastodon";
|
||||
|
||||
"dYQ5NN" = "Public";
|
||||
|
||||
"ehFLjY" = "Followers Only";
|
||||
|
||||
"gfePDu" = "Posting failed. ${failureReason}";
|
||||
|
||||
"k7dbKQ" = "Post was sent successfully.";
|
||||
|
||||
"oGiqmY-dYQ5NN" = "Just to confirm, you wanted ‘Public’?";
|
||||
|
||||
"oGiqmY-ehFLjY" = "Just to confirm, you wanted ‘Followers Only’?";
|
||||
|
||||
"rM6dvp" = "URL";
|
||||
|
||||
"ryJLwG" = "Post was sent successfully.";
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>There are ${count} options matching ‘${content}’. - 2</key>
|
||||
<dict>
|
||||
<key>NSStringLocalizedFormatKey</key>
|
||||
<string>There are %#@count_option@ matching ‘${content}’.</string>
|
||||
<key>count_option</key>
|
||||
<dict>
|
||||
<key>NSStringFormatSpecTypeKey</key>
|
||||
<string>NSStringPluralRuleType</string>
|
||||
<key>NSStringFormatValueTypeKey</key>
|
||||
<string>%ld</string>
|
||||
<key>zero</key>
|
||||
<string>0 options</string>
|
||||
<key>one</key>
|
||||
<string>1 option</string>
|
||||
<key>two</key>
|
||||
<string>2 options</string>
|
||||
<key>few</key>
|
||||
<string>%ld options</string>
|
||||
<key>many</key>
|
||||
<string>%ld options</string>
|
||||
<key>other</key>
|
||||
<string>%ld options</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>There are ${count} options matching ‘${visibility}’.</key>
|
||||
<dict>
|
||||
<key>NSStringLocalizedFormatKey</key>
|
||||
<string>There are %#@count_option@ matching ‘${visibility}’.</string>
|
||||
<key>count_option</key>
|
||||
<dict>
|
||||
<key>NSStringFormatSpecTypeKey</key>
|
||||
<string>NSStringPluralRuleType</string>
|
||||
<key>NSStringFormatValueTypeKey</key>
|
||||
<string>%ld</string>
|
||||
<key>zero</key>
|
||||
<string>0 options</string>
|
||||
<key>one</key>
|
||||
<string>1 option</string>
|
||||
<key>two</key>
|
||||
<string>2 options</string>
|
||||
<key>few</key>
|
||||
<string>%ld options</string>
|
||||
<key>many</key>
|
||||
<string>%ld options</string>
|
||||
<key>other</key>
|
||||
<string>%ld options</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in New Issue