Skip to content

Commit dc00ec3

Browse files
committed
Release 1.5
1 parent 1cecb69 commit dc00ec3

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

Localize_Swift.xcodeproj/project.pbxproj

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@
410410
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
411411
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
412412
COPY_PHASE_STRIP = NO;
413-
CURRENT_PROJECT_VERSION = 9;
413+
CURRENT_PROJECT_VERSION = 10;
414414
DEBUG_INFORMATION_FORMAT = dwarf;
415415
ENABLE_STRICT_OBJC_MSGSEND = YES;
416416
ENABLE_TESTABILITY = YES;
@@ -458,7 +458,7 @@
458458
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
459459
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
460460
COPY_PHASE_STRIP = NO;
461-
CURRENT_PROJECT_VERSION = 9;
461+
CURRENT_PROJECT_VERSION = 10;
462462
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
463463
ENABLE_NS_ASSERTIONS = NO;
464464
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -486,7 +486,7 @@
486486
CLANG_ENABLE_MODULES = YES;
487487
DEFINES_MODULE = YES;
488488
DYLIB_COMPATIBILITY_VERSION = 1;
489-
DYLIB_CURRENT_VERSION = 9;
489+
DYLIB_CURRENT_VERSION = 10;
490490
DYLIB_INSTALL_NAME_BASE = "@rpath";
491491
INFOPLIST_FILE = Localize_Swift/Info.plist;
492492
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -506,7 +506,7 @@
506506
CLANG_ENABLE_MODULES = YES;
507507
DEFINES_MODULE = YES;
508508
DYLIB_COMPATIBILITY_VERSION = 1;
509-
DYLIB_CURRENT_VERSION = 9;
509+
DYLIB_CURRENT_VERSION = 10;
510510
DYLIB_INSTALL_NAME_BASE = "@rpath";
511511
INFOPLIST_FILE = Localize_Swift/Info.plist;
512512
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -544,7 +544,7 @@
544544
CLANG_ENABLE_MODULES = YES;
545545
DEFINES_MODULE = YES;
546546
DYLIB_COMPATIBILITY_VERSION = 1;
547-
DYLIB_CURRENT_VERSION = 9;
547+
DYLIB_CURRENT_VERSION = 10;
548548
DYLIB_INSTALL_NAME_BASE = "@rpath";
549549
INFOPLIST_FILE = Localize_Swift/Info.plist;
550550
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -565,7 +565,7 @@
565565
CLANG_ENABLE_MODULES = YES;
566566
DEFINES_MODULE = YES;
567567
DYLIB_COMPATIBILITY_VERSION = 1;
568-
DYLIB_CURRENT_VERSION = 9;
568+
DYLIB_CURRENT_VERSION = 10;
569569
DYLIB_INSTALL_NAME_BASE = "@rpath";
570570
INFOPLIST_FILE = Localize_Swift/Info.plist;
571571
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -584,7 +584,7 @@
584584
CLANG_ENABLE_MODULES = YES;
585585
DEFINES_MODULE = YES;
586586
DYLIB_COMPATIBILITY_VERSION = 1;
587-
DYLIB_CURRENT_VERSION = 9;
587+
DYLIB_CURRENT_VERSION = 10;
588588
DYLIB_INSTALL_NAME_BASE = "@rpath";
589589
INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift-tvOS.plist";
590590
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -605,7 +605,7 @@
605605
CLANG_ENABLE_MODULES = YES;
606606
DEFINES_MODULE = YES;
607607
DYLIB_COMPATIBILITY_VERSION = 1;
608-
DYLIB_CURRENT_VERSION = 9;
608+
DYLIB_CURRENT_VERSION = 10;
609609
DYLIB_INSTALL_NAME_BASE = "@rpath";
610610
INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift-tvOS.plist";
611611
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -624,7 +624,7 @@
624624
CLANG_ENABLE_MODULES = YES;
625625
DEFINES_MODULE = YES;
626626
DYLIB_COMPATIBILITY_VERSION = 1;
627-
DYLIB_CURRENT_VERSION = 9;
627+
DYLIB_CURRENT_VERSION = 10;
628628
DYLIB_INSTALL_NAME_BASE = "@rpath";
629629
INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift/Info.plist";
630630
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -645,7 +645,7 @@
645645
CLANG_ENABLE_MODULES = YES;
646646
DEFINES_MODULE = YES;
647647
DYLIB_COMPATIBILITY_VERSION = 1;
648-
DYLIB_CURRENT_VERSION = 9;
648+
DYLIB_CURRENT_VERSION = 10;
649649
DYLIB_INSTALL_NAME_BASE = "@rpath";
650650
INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift/Info.plist";
651651
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";

Localize_Swift/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.2</string>
18+
<string>1.5</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>9</string>
22+
<string>10</string>
2323
<key>NSPrincipalClass</key>
2424
<string></string>
2525
</dict>

Localize_SwiftTests/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.2</string>
18+
<string>1.5</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>9</string>
22+
<string>10</string>
2323
</dict>
2424
</plist>

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Platform](https://img.shields.io/cocoapods/p/Localize-Swift.svg?maxAge=2592000)](http://cocoapods.org/?q=Localize-Swift)
12
[![Build Status](https://travis-ci.org/marmelroy/Localize-Swift.svg?branch=master)](https://travis-ci.org/marmelroy/Localize-Swift) [![Version](http://img.shields.io/cocoapods/v/Localize-Swift.svg)](http://cocoapods.org/?q=Localize-Swift)
23
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
34

@@ -49,16 +50,22 @@ Localize.resetCurrentLanguageToDefault()
4950

5051
## genstrings
5152

52-
To support this new i18n syntax, Localize-Swift includes a custom genstrings python script.
53+
To support this new i18n syntax, Localize-Swift includes custom genstrings swift and python scripts.
5354

54-
Copy the genstrings.py file into your project's root folder and run with
55+
Copy the genstrings file (either .swift or .py) into your project's root folder and run with
56+
57+
```
58+
./genstrings.swift
59+
```
60+
or
5561

5662
```
5763
python genstrings.py
5864
```
5965

6066
This will print the collected strings in the terminal. Select and copy to your default Localizable.strings.
6167

68+
The Swift genstrings includes the ability to specify excluded directories and files (edit the script).
6269

6370
### Setting up with Carthage
6471

0 commit comments

Comments
 (0)