File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1313 env :
1414 scheme : ${{ 'r2-navigator-swift' }}
1515 platform : ${{ 'iOS Simulator' }}
16+ device : ${{ 'iPhone 13' }}
1617
1718 steps :
1819 - name : Checkout
3132 rm -rf r2-navigator-swift.xcodeproj
3233 - name : Build
3334 run : |
34- device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
3535 xcodebuild build-for-testing -scheme "$scheme" -destination "platform=$platform,name=$device"
3636 - name : Test
3737 run : |
38- device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
3938 xcodebuild test-without-building -scheme "$scheme" -destination "platform=$platform,name=$device"
Original file line number Diff line number Diff line change @@ -5,7 +5,12 @@ All notable changes to this project will be documented in this file.
55** Warning:** Features marked as * alpha* may change or be removed in a future release without notice. Use with
66* caution.
77
8- <!-- ## [Unreleased]-->
8+ ## [ Unreleased]
9+
10+ ### Added
11+
12+ * A new ` translate ` EPUB and PDF editing action is available for iOS 15.
13+
914
1015## [ 2.1.0]
1116
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public struct EditingAction: Hashable {
1717
1818 /// Default editing actions enabled in the navigator.
1919 public static var defaultActions : [ EditingAction ] {
20- [ copy, share, lookup]
20+ [ copy, share, lookup, translate ]
2121 }
2222
2323 /// Copy the text selection.
@@ -26,6 +26,9 @@ public struct EditingAction: Hashable {
2626 /// Look up the text selection in the dictionary.
2727 public static let lookup = EditingAction ( kind: . native( " _lookup: " ) )
2828
29+ /// Translate the text selection.
30+ public static let translate = EditingAction ( kind: . native( " _translate: " ) )
31+
2932 /// Share the text selection.
3033 ///
3134 /// Implementation detail: We use a custom share action to make sure the user is allowed to share the content. We
You can’t perform that action at this time.
0 commit comments