|
@@ -100,7 +100,7 @@ class KMAIRewritingVC: NSViewController {
|
|
|
case .AIRewriting:
|
|
|
self.aiRewritingLabel.stringValue = NSLocalizedString("AI Rewriting", comment: "")
|
|
|
self.aiRewritingSubLabel.stringValue = NSLocalizedString("Limited to 150 characters per session, 5 times per month", comment: "")
|
|
|
- self.rewritingLabel.stringValue = NSLocalizedString("Rewriting", comment: "")
|
|
|
+ self.rewritingLabel.stringValue = NSLocalizedString("Rewrite", comment: "")
|
|
|
self.resultLabel.stringValue = NSLocalizedString("Result", comment: "")
|
|
|
self.copyLabel.stringValue = NSLocalizedString("Copy", comment: "")
|
|
|
self.rewritingTextField.placeholderString = NSLocalizedString("Please enter text content here...", comment: "")
|
|
@@ -112,7 +112,7 @@ class KMAIRewritingVC: NSViewController {
|
|
|
case .AIErrorCorrection:
|
|
|
self.aiRewritingLabel.stringValue = NSLocalizedString("AI Error Correction", comment: "")
|
|
|
self.aiRewritingSubLabel.stringValue = NSLocalizedString("Limited to 150 characters per session, 5 times per month", comment: "")
|
|
|
- self.rewritingLabel.stringValue = NSLocalizedString("Correction", comment: "")
|
|
|
+ self.rewritingLabel.stringValue = NSLocalizedString("Correct", comment: "")
|
|
|
self.resultLabel.stringValue = NSLocalizedString("Result", comment: "")
|
|
|
self.copyLabel.stringValue = NSLocalizedString("Copy", comment: "")
|
|
|
self.rewritingTextField.placeholderString = NSLocalizedString("Please enter text content here...", comment: "")
|
|
@@ -201,7 +201,7 @@ class KMAIRewritingVC: NSViewController {
|
|
|
self.rewritingBox.borderColor = NSColor(hex: "#F3465B")
|
|
|
self.emptyImageView.isHidden = true
|
|
|
self.errorView.isHidden = false
|
|
|
- self.errorLabel.stringValue = NSLocalizedString("Limit 150 characters at a time", comment: "")
|
|
|
+ self.errorLabel.stringValue = NSLocalizedString("Limit to 150 characters at a time", comment: "")
|
|
|
} else if self.uiState == .Error {
|
|
|
self.rewritingBox.fillColor = NSColor(hex: "#1770F4")
|
|
|
self.rewritingBox.borderWidth = 0.0
|
|
@@ -307,9 +307,9 @@ class KMAIRewritingVC: NSViewController {
|
|
|
func showProgressWindow() {
|
|
|
let progress = SKProgressController()
|
|
|
if self.state == .AIRewriting {
|
|
|
- progress.message = NSLocalizedString("Under Rewrite...", comment: "")
|
|
|
+ progress.message = NSLocalizedString("Rewriting...", comment: "")
|
|
|
} else if self.state == . AIErrorCorrection {
|
|
|
- progress.message = NSLocalizedString("Error Correction...", comment: "")
|
|
|
+ progress.message = NSLocalizedString("Error Correcting...", comment: "")
|
|
|
}
|
|
|
progress.window?.backgroundColor = NSColor(hex: "#36383B")
|
|
|
progress.window?.contentView?.wantsLayer = true
|
|
@@ -420,9 +420,9 @@ extension KMAIRewritingVC: NSTextFieldDelegate {
|
|
|
if object.stringValue.count > 150 {
|
|
|
self.uiState = .Exceed
|
|
|
if self.state == .AIRewriting {
|
|
|
- self.aiRewritingErrorStr = NSLocalizedString("Limit 150 characters at a time", comment: "")
|
|
|
+ self.aiRewritingErrorStr = NSLocalizedString("Limit to 150 characters at a time", comment: "")
|
|
|
} else if self.state == .AIErrorCorrection {
|
|
|
- self.aiErrorCorrectionErrorStr = NSLocalizedString("Limit 150 characters at a time", comment: "")
|
|
|
+ self.aiErrorCorrectionErrorStr = NSLocalizedString("Limit to 150 characters at a time", comment: "")
|
|
|
}
|
|
|
} else {
|
|
|
if self.state == .AIRewriting {
|