Renames Default theme to NetNewsWire

Where ‘NetNewsWire’ is used `NSLocalizedString` has been removed. This is done so that NetNewsWire is not picked via Export Localizations.
This commit is contained in:
Stuart Breckenridge committed 2023-01-21 19:43:26 +08:00
1 parent d0dbb81114
commit fd6ba67aee
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ struct ArticleTheme: Equatable {
static let defaultTheme = ArticleTheme()
static let nnwThemeSuffix = ".nnwtheme"
private static let defaultThemeName = NSLocalizedString("Default", comment: "Default")
private static let defaultThemeName = "NetNewsWire"
private static let unknownValue = NSLocalizedString("Unknown", comment: "Unknown Value")
let path: String?
+1 -1
View File
@@ -28,7 +28,7 @@ enum UserInterfaceColorPalette: Int, CustomStringConvertible, CaseIterable {
final class AppDefaults {
static let defaultThemeName = "Default"
static let defaultThemeName = "NetNewsWire"
static let shared = AppDefaults()
private init() {}
+1 -1
View File
@@ -267,7 +267,7 @@ class ArticleViewController: UIViewController, MainControllerIdentifiable, Loggi
themeActions.append(action)
}
let defaultThemeAction = UIAction(title: NSLocalizedString("Default", comment: "Default"),
let defaultThemeAction = UIAction(title: "NetNewsWire",
image: nil,
identifier: nil,
discoverabilityTitle: nil,