|
@@ -253,7 +253,7 @@ import Cocoa
|
|
|
|
|
|
guard let emailString = self.emailItemView_?.string(), emailString.isEmpty == false else {
|
|
guard let emailString = self.emailItemView_?.string(), emailString.isEmpty == false else {
|
|
// 邮箱为空
|
|
// 邮箱为空
|
|
- self.emailItemView_?.showTip(label: NSLocalizedString("请填写Email", comment: ""))
|
|
|
|
|
|
+ self.emailItemView_?.showTip(label: NSLocalizedString("Please enter your email", comment: ""))
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
@@ -281,9 +281,9 @@ import Cocoa
|
|
self?.window?.contentView?.endLoading()
|
|
self?.window?.contentView?.endLoading()
|
|
self?.comfirmButton.isEnabled = true
|
|
self?.comfirmButton.isEnabled = true
|
|
if wrapper.success {
|
|
if wrapper.success {
|
|
- self?._showHud(msg: NSLocalizedString("感谢您的反馈!\n客服将在1个工作日内反馈至您的邮箱", comment: ""))
|
|
|
|
|
|
+ self?._showHud(msg: NSLocalizedString("Thank you for your feedback! Customer service will feedback to your email within 1 working day", comment: ""))
|
|
|
|
|
|
- DispatchQueue.main.asyncAfter(deadline: .now() + 0.6) {
|
|
|
|
|
|
+ DispatchQueue.main.asyncAfter(deadline: .now() + 1.8) {
|
|
self?.despItemView_?.textView.string = ""
|
|
self?.despItemView_?.textView.string = ""
|
|
self?.despItemView_?.textView.placeholderLabel.isHidden = false;
|
|
self?.despItemView_?.textView.placeholderLabel.isHidden = false;
|
|
self?.filePaths_.removeAll()
|
|
self?.filePaths_.removeAll()
|
|
@@ -363,9 +363,9 @@ import Cocoa
|
|
self.filePaths_ = filePaths
|
|
self.filePaths_ = filePaths
|
|
|
|
|
|
if showFileCountLimit {
|
|
if showFileCountLimit {
|
|
- self.listItemView_?.showTip(tip: NSLocalizedString("添加失败:文件不能超过10", comment: ""))
|
|
|
|
|
|
+ self.listItemView_?.showTip(tip: NSLocalizedString("Add failed: upload up to 10 files", comment: ""))
|
|
} else if showFileSizeLimit {
|
|
} else if showFileSizeLimit {
|
|
- self.listItemView_?.showTip(tip: NSLocalizedString("添加失败:附件大小不能超过20M", comment: ""))
|
|
|
|
|
|
+ self.listItemView_?.showTip(tip: NSLocalizedString("Add failed: attachment size cannot exceed 20M", comment: ""))
|
|
}
|
|
}
|
|
|
|
|
|
if datas.count >= 10 {
|
|
if datas.count >= 10 {
|