mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-05 19:57:31 +00:00
23 lines
699 B
Swift
23 lines
699 B
Swift
//
|
|
// MarkReadBehavior+Description.swift
|
|
// NetNewsWire
|
|
//
|
|
// Created by Brent Simmons on 12/5/26.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension MarkReadBehavior: CustomStringConvertible {
|
|
|
|
var description: String {
|
|
switch self {
|
|
case .manual:
|
|
NSLocalizedString("Manually only", comment: "Mark as Read setting: articles are marked read only by the user")
|
|
case .selection:
|
|
NSLocalizedString("When selected", comment: "Mark as Read setting: articles are marked read when selected")
|
|
case .selectionAndScrolledPast:
|
|
NSLocalizedString("When selected or scrolled past", comment: "Mark as Read setting: articles are marked read when selected or when scrolled off the top of the timeline")
|
|
}
|
|
}
|
|
}
|