|
@@ -24,20 +24,24 @@ class KMUserFbTypeItemView: NSView, NibLoadable {
|
|
|
|
|
|
self.comBoBox.isEditable = false
|
|
|
self.comBoBox.removeAllItems()
|
|
|
- self.comBoBox.addItems(withObjectValues: [NSLocalizedString("Feedback", comment: ""), NSLocalizedString("Report a Bug", comment: ""), NSLocalizedString("Propose a New Feature", comment: ""), NSLocalizedString("General Questions", comment: ""), NSLocalizedString("Other", comment: "")])
|
|
|
+ self.comBoBox.addItems(withObjectValues: [KMLocalizedString("Feedback", comment: ""),
|
|
|
+ KMLocalizedString("Report a Bug", comment: ""),
|
|
|
+ KMLocalizedString("Propose a New Feature", comment: ""),
|
|
|
+ KMLocalizedString("General Questions", comment: ""),
|
|
|
+ KMLocalizedString("Other", comment: "")])
|
|
|
}
|
|
|
|
|
|
func string() -> String {
|
|
|
let stringV = self.comBoBox.stringValue
|
|
|
- if stringV == NSLocalizedString("Feedback", comment: "") {
|
|
|
+ if stringV == KMLocalizedString("Feedback", comment: "") {
|
|
|
return "Feedback"
|
|
|
- } else if stringV == NSLocalizedString("Report a Bug", comment: "") {
|
|
|
+ } else if stringV == KMLocalizedString("Report a Bug", comment: "") {
|
|
|
return "Report a Bug"
|
|
|
- } else if stringV == NSLocalizedString("Propose a New Feature", comment: "") {
|
|
|
+ } else if stringV == KMLocalizedString("Propose a New Feature", comment: "") {
|
|
|
return "Propose a New Feature"
|
|
|
- } else if stringV == NSLocalizedString("General Questions", comment: "") {
|
|
|
+ } else if stringV == KMLocalizedString("General Questions", comment: "") {
|
|
|
return "General Questions"
|
|
|
- } else if stringV == NSLocalizedString("Other", comment: "") {
|
|
|
+ } else if stringV == KMLocalizedString("Other", comment: "") {
|
|
|
return "Other"
|
|
|
}
|
|
|
return self.comBoBox.stringValue
|