Skip to content

Commit

Permalink
Release 5.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Decybel07 committed Jul 20, 2020
1 parent 3d62494 commit 2321898
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Change Log
---

## [5.7.1](https://github.com/Decybel07/L10n-swift/tree/5.7.1) (2020-07-20)
## [5.7.2](https://github.com/Decybel07/L10n-swift/tree/5.7.2) (2020-07-20)
* Prular bugfix with `stringsdict`

## [5.7.0](https://github.com/Decybel07/L10n-swift/tree/5.7.0) (2020-05-07)
Expand Down
2 changes: 1 addition & 1 deletion L10n-swift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pod::Spec.new do |spec|
spec.name = 'L10n-swift'
spec.module_name = 'L10n_swift'
spec.version = '5.7.1'
spec.version = '5.7.2'
spec.summary = 'Localization of an application with ability to change language "on the fly" and support for plural forms in any language.'

spec.description = <<-DESC
Expand Down
16 changes: 8 additions & 8 deletions L10n_swift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 5.7.1;
MARKETING_VERSION = 5.7.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "CodingLifestyle.L10n-iOS";
Expand Down Expand Up @@ -1504,7 +1504,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 5.7.1;
MARKETING_VERSION = 5.7.2;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "CodingLifestyle.L10n-iOS";
PRODUCT_NAME = "$(PROJECT_NAME)";
Expand Down Expand Up @@ -1684,7 +1684,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 5.7.1;
MARKETING_VERSION = 5.7.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "CodingLifestyle.L10n-watchOS";
Expand Down Expand Up @@ -1747,7 +1747,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 5.7.1;
MARKETING_VERSION = 5.7.2;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "CodingLifestyle.L10n-watchOS";
PRODUCT_NAME = "$(PROJECT_NAME)";
Expand Down Expand Up @@ -1814,7 +1814,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 5.7.1;
MARKETING_VERSION = 5.7.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "CodingLifestyle.L10n-tvOS";
Expand Down Expand Up @@ -1876,7 +1876,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 5.7.1;
MARKETING_VERSION = 5.7.2;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "CodingLifestyle.L10n-tvOS";
PRODUCT_NAME = "$(PROJECT_NAME)";
Expand Down Expand Up @@ -2051,7 +2051,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
MARKETING_VERSION = 5.7.1;
MARKETING_VERSION = 5.7.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "CodingLifestyle.L10n-macOS";
Expand Down Expand Up @@ -2114,7 +2114,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
MARKETING_VERSION = 5.7.1;
MARKETING_VERSION = 5.7.2;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "CodingLifestyle.L10n-macOS";
PRODUCT_NAME = "$(PROJECT_NAME)";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ internal struct StringsdictResourceProvider: ResourceProvider {
private func clean(_ dictionary: [String: Any]) -> [String: Any] {
var dictionary = dictionary
dictionary.keys.forEach {
guard let format = dictionary[$0] as? [String: Any] else {
guard var format = dictionary[$0] as? [String: Any] else {
return
}
if let value = format["NSStringLocalizedFormatKey"] as? String {
dictionary["format"] = value
format["format"] = value
} else if let value = format["NSStringVariableWidthRuleType"] as? [String: Any] {
dictionary[$0] = value
} else {
dictionary[$0] = self.clean(format)
return
}
dictionary[$0] = self.clean(format)
}

[
Expand Down

0 comments on commit 2321898

Please sign in to comment.