Commit Graph

1748 Commits

Author SHA1 Message Date
Brian Dorfman 1142d40e5a Change from deprecated url encoding api 2016-11-11 11:30:02 -08:00
Ben Guo 2a0c466c33 update chinese and german translations 2016-11-10 14:19:03 -05:00
Ben Guo 9432465ae4 fix shipping phone number validation 2016-11-08 13:38:28 -05:00
Ben Guo 4c5dba430b update dutch Delivery translation 2016-11-08 13:38:28 -05:00
Ben Guo c194613dd1 add shipping translations 2016-11-08 11:57:55 -05:00
Ben Guo b8e6f1fc7a fix xcodeproj 2016-11-08 11:56:20 -05:00
Ben Guo a79fcf083f Add localization tests 2016-11-08 11:45:33 -05:00
Ben Guo 31196f7276 update localization comment 2016-11-08 11:45:33 -05:00
Ben Guo 5627af3650 update strings file 2016-11-08 11:45:33 -05:00
Ben Guo f4dc51711c fix fileprivate warning 2016-11-08 11:45:33 -05:00
Ben Guo 11f609eacd isMidShippingInRequestPayment 2016-11-08 11:45:33 -05:00
Ben Guo cbeb5c1d0a rename push/presentShipping 2016-11-08 11:45:33 -05:00
Ben Guo 8b692f806d push shipping in example 2016-11-08 11:45:33 -05:00
Ben Guo 5cb162d9db update docs 2016-11-08 11:45:33 -05:00
Ben Guo 052722ae84 remove unnecessary __IPHONE_OS_VERSION_MAX_ALLOWED checks 2016-11-08 11:45:33 -05:00
Ben Guo 4f75f5e8ce add PKContactValue 2016-11-08 11:45:33 -05:00
Ben Guo 73bb0295c2 remove test merchant id 2016-11-08 11:45:33 -05:00
Ben Guo c7f5b093ac remove duplicate STPPaymentContext tests 2016-11-08 11:45:33 -05:00
Ben Guo 92fe3fa864 add docs comment about optional protocol method 2016-11-08 11:45:33 -05:00
Ben Guo 186e0e547c remove overlapping STPPaymentContext test 2016-11-08 11:45:33 -05:00
Ben Guo b74a1f945e add shipping to STPPaymentContext 2016-11-08 11:45:33 -05:00
Ben Guo a157132074 add standalone shipping address view controller 2016-11-08 11:45:33 -05:00
Ben Guo 4100525890 dismissWithCompletion 2016-11-08 11:45:33 -05:00
Ben Guo 123bf96609 add STPAddressViewModelTest 2016-11-08 11:45:33 -05:00
Ben Guo cdcf6913eb add status to shipping validation block 2016-11-08 11:45:33 -05:00
Ben Guo 3bb753e0a9 minor revisions 2016-11-08 11:45:33 -05:00
Ben Guo 80dc7f0c8d add standalone shipping address view controller 2016-11-08 11:45:33 -05:00
Brian Dorfman 84911420c3 Merge pull request #493 from stripe/bdorfman-change-cartfile
Move cartfile -> cartfile.private
2016-11-07 11:20:43 -08:00
Feram 941972c4c8 Fix typo occured 2016-11-06 05:13:43 +00:00
Feram 9b4f43edb5 Fix typo doesnt 2016-11-06 05:13:43 +00:00
Brian Dorfman 776ee7adc1 Move cartfile -> cartfile.private 2016-11-04 11:57:32 -07:00
Brian Dorfman e22b088500 Merge pull request #491 from stripe/bdorfman-9.1.0
Version 9.1.0
2016-11-02 14:37:11 -07:00
Brian Dorfman 24f846307a Bump documentation 2016-11-01 14:05:03 -07:00
Brian Dorfman 8009a589ab Update changelog and version to 9.1.0 2016-11-01 13:58:17 -07:00
Brian Dorfman 0dbf581b50 Merge pull request #490 from stripe/bdorfman-l10n-example-app
Add dummy strings files to example app.
2016-11-01 13:43:20 -07:00
Brian Dorfman 8c24bf6427 Add dummy strings files to example app.
iOS won't localize linked frameworks unless the parent app is localized in that language. Added empty strings files for all our supported languages to the swift example app so that if you run it in a different language the framework's strings would show translated properly
2016-11-01 11:37:37 -07:00
Brian Dorfman c6daae1ad5 Merge pull request #488 from stripe/bdorfman-l10n
Translated strings
2016-10-31 15:05:16 -07:00
Brian Dorfman 8685d3846a Update snapshot images for new translations 2016-10-31 13:20:25 -07:00
Brian Dorfman 26a96c4d16 Some build fixes
Use our own preprocessor macro for unit-test-only code instead of relying on DEBUG being present.
Make localization utils not public, and instead add some test-only category methods to do overriding.
2016-10-31 13:13:04 -07:00
Brian Dorfman aa18aa0be6 Updated translations 2016-10-31 11:09:44 -07:00
Brian Dorfman 33c0885b2e Add comment explaining testing method 2016-10-25 16:07:23 -07:00
Brian Dorfman 7e874a12a3 Merge pull request #486 from stripe/bdorfman-snapshot-tests
Snapshot test support
2016-10-25 16:02:58 -07:00
Brian Dorfman 45a09d7fc8 Feedback from PR review 2016-10-25 12:56:09 -07:00
Brian Dorfman 17f838bbc3 Update l10n snapshot images 2016-10-25 11:55:20 -07:00
Brian Dorfman 541f4a6b83 Change "ending in" l10n
In all non-english languages, use an em dash instead because there isn't enough horizontal space.
2016-10-25 11:53:48 -07:00
Brian Dorfman c96c662c0d Update localizable.strings
Also unify some translator notes that were slightly different.
2016-10-25 11:44:41 -07:00
Brian Dorfman 3f97f226c1 Embed swift for tests
FBSnapshotTestCase requires Swift even if you are an ObjC only library
2016-10-25 11:22:31 -07:00
Brian Dorfman 5b3f7ffae2 Merge pull request #487 from stripe/bdorfman-completion-thread-switching
Guard all escaping completions with dispatch
2016-10-25 10:37:22 -07:00
Brian Dorfman 4623006aec Change other dispatch mains to new fn 2016-10-24 16:51:55 -07:00
Brian Dorfman fb681c8727 Only dispatch to main thread if necessary
Fixes some tests that assume completions are synchronous.
2016-10-24 16:31:10 -07:00