Make some strings localizable

This commit is contained in:
arnnalddo authored and Damiano Galassi committed 2024-07-03 11:21:58 +02:00
1 parent 48ed63b08c
commit fd08aeb766
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ class PresetPrefsViewController: NSViewController, SectionsTableViewDataSource,
func tableView(_ tableView: NSTableView, viewForHeaderInSection section: Int) -> NSView? {
if let cell = tableView.makeView(withIdentifier: NSUserInterfaceItemIdentifier("headerCell"), owner: self) as? NSTableCellView {
cell.textField?.stringValue = section == 0 ? "Metadata" : "Queue"
cell.textField?.stringValue = NSLocalizedString(section == 0 ? "Metadata" : "Queue", comment: "")
cell.textField?.isSelectable = false
cell.textField?.isEditable = false
return cell