Browse Source

【 快捷工具】Image to PDF的文案 提示“添加文件”需要补充

lizhe 1 year ago
parent
commit
cdcab2e629

+ 7 - 1
PDF Office/PDF Master/Class/PDFTools/ImageToPDF/View/KMBatchProcessingView/SelectedFiles/KMBatchSelectedFilesView.swift

@@ -37,7 +37,13 @@ class KMBatchSelectedFilesView: KMBaseXibView {
         
         self.subtitleLabel.textColor = NSColor.init(hex: "#94989C")
         self.subtitleLabel.font = NSFont.SFProTextRegular(12.0)
-        self.subtitleLabel.stringValue = NSLocalizedString("Drop files here or Click Add Files at bottom left button.", comment: "")
+        self.subtitleLabel.stringValue = NSLocalizedString("Drop files here or Click “+”. Drag files to reorder as you need.\nYou can also add files or folders via the lower left button.", comment: "")
+        
+        let title = NSLocalizedString("Drop files here or Click “+”. Drag files to reorder as you need.\nYou can also add files or folders via the lower left button.", comment: "")
+        let paragraphStyle = NSMutableParagraphStyle()
+        paragraphStyle.lineHeightMultiple = 1.32
+        paragraphStyle.alignment = .center
+        self.subtitleLabel.attributedStringValue = NSMutableAttributedString(string: title, attributes: [NSAttributedString.Key.paragraphStyle: paragraphStyle, .foregroundColor : NSColor(hex: "#94989C"), NSAttributedString.Key.font: NSFont.SFProTextRegular(12)])
         
         self.box.moveCallback = { [unowned self] mouseEntered, mouseBox in
             if mouseEntered {

+ 3 - 4
PDF Office/PDF Master/Class/PDFTools/Print/Controller/KMPrintAccessoryController.xib

@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
-        <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21701"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMPrintAccessoryController" customModule="PDF_Office" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMPrintAccessoryController" customModule="PDF_Master" customModuleProvider="target">
             <connections>
                 <outlet property="actualSizeButton" destination="i7M-qY-1hU" id="xVS-aA-Rir"/>
                 <outlet property="onlyScaleDownLargeButton" destination="LXl-uj-rrJ" id="qdc-VY-rFx"/>