Skip to content

Commit

Permalink
Add British localization (#577)
Browse files Browse the repository at this point in the history
* Add en-GB

* finalize details

Co-Authored-By: Bexxia <123167801+Bexxia@users.noreply.github.com>

---------

Co-authored-by: Bexxia <123167801+Bexxia@users.noreply.github.com>
  • Loading branch information
Jerry23011 and Bexxia authored Feb 1, 2023
1 parent 0be53d2 commit 6008849
Show file tree
Hide file tree
Showing 4 changed files with 438 additions and 0 deletions.
9 changes: 9 additions & 0 deletions IceCubesActionExtension/en-GB.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
InfoPlist.strings
IceCubesApp

Created by Thomas Durand on 27/01/2023.

*/

"CFBundleDisplayName" = "Open in Ice Cubes";
7 changes: 7 additions & 0 deletions IceCubesApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@
9FE151A5293C90F900E9683D /* IconSelectorView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IconSelectorView.swift; sourceTree = "<group>"; };
9FE3DB55296FEF5800628CB0 /* AppAccount */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = AppAccount; path = Packages/AppAccount; sourceTree = "<group>"; };
C465A53D297C5E0C00864FB7 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
C4CBB909298A0DA3007E1707 /* en-GB */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = "en-GB"; path = "en-GB.lproj/Localizable.stringsdict"; sourceTree = "<group>"; };
C4CBB90A298A0DA3007E1707 /* en-GB */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "en-GB"; path = "en-GB.lproj/Localizable.strings"; sourceTree = "<group>"; };
C4CBB90B298A0DA3007E1707 /* en-GB */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "en-GB"; path = "en-GB.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
C9B22676297F6C2E001F9EFE /* ContentSettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentSettingsView.swift; sourceTree = "<group>"; };
DD31E2E5297FB68B00A4BE29 /* IceCubesApp.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = IceCubesApp.xcconfig; sourceTree = "<group>"; };
E92817FD29844DB700875FD1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
Expand Down Expand Up @@ -615,6 +618,7 @@
pl,
ca,
ko,
"en-GB",
);
mainGroup = 9FBFE630292A715500C250E9;
packageReferences = (
Expand Down Expand Up @@ -775,6 +779,7 @@
9FCBB3D02984EFD5009B77EE /* pl */,
9FCBB3D52985965D009B77EE /* ca */,
FF05602829864AD800ED3D66 /* ko */,
C4CBB909298A0DA3007E1707 /* en-GB */,
);
name = Localizable.stringsdict;
sourceTree = "<group>";
Expand All @@ -787,6 +792,7 @@
9FCBB3D22984EFD5009B77EE /* pl */,
9FCBB3D429859615009B77EE /* ca */,
FF05602A29864AD800ED3D66 /* ko */,
C4CBB90B298A0DA3007E1707 /* en-GB */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
Expand All @@ -808,6 +814,7 @@
9FCBB3D12984EFD5009B77EE /* pl */,
9FCBB3D329859615009B77EE /* ca */,
FF05602929864AD800ED3D66 /* ko */,
C4CBB90A298A0DA3007E1707 /* en-GB */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?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>timeline-new-posts %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@timelineNewPosts@</string>
<key>timelineNewPosts</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string>%lld new post</string>
<key>other</key>
<string>%lld new posts</string>
</dict>
</dict>
<key>notifications-others-count %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@noficationsOthersCount@</string>
<key>noficationsOthersCount</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string> and %lld other </string>
<key>other</key>
<string> and %lld others </string>
</dict>
</dict>
</dict>
</plist>
Loading

0 comments on commit 6008849

Please sign in to comment.