Skip to content

Commit

Permalink
Merge branch 'deployment-target-macOS-13' into deployment-target-macO…
Browse files Browse the repository at this point in the history
…S-14
  • Loading branch information
F1248 committed Aug 30, 2024
2 parents e773541 + 8f5b6e4 commit 392301a
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 31 deletions.
2 changes: 0 additions & 2 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ disabled_rules:
- inert_defer
- nesting
- no_magic_numbers
- nslocalizedstring_key
- nslocalizedstring_require_bundle
- prefixed_toplevel_constant
- required_deinit
- sorted_enum_cases
Expand Down
8 changes: 2 additions & 6 deletions Genius/Extensions/Swift/String.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
// Created by F1248.
//

import SwiftUI
import Foundation

extension String {

var localized: String {
if #available(macOS 12, *) {
String(localized: LocalizationValue(self))
} else {
NSLocalizedString(self, comment: "")
}
String(localized: LocalizationValue(self))
}

init?(_ string: (any StringProtocol)?) {
Expand Down
18 changes: 0 additions & 18 deletions Genius/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
}
},
"Home" : {
"extractionState" : "manual",
"localizations" : {
"de" : {
"stringUnit" : {
Expand Down Expand Up @@ -202,23 +201,6 @@
}
}
},
"Unknown" : {
"extractionState" : "manual",
"localizations" : {
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "Unbekannt"
}
},
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Unknown"
}
}
}
},
"Very Simple" : {
"extractionState" : "manual",
"localizations" : {
Expand Down
2 changes: 1 addition & 1 deletion Genius/Types/SystemInformation/Hardware.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by F1248.
//

import SwiftUI
import Foundation

extension SystemInformation {

Expand Down
2 changes: 0 additions & 2 deletions Genius/Types/VersionNumber.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by F1248.
//

import SwiftUI

struct VersionNumber {

let versions: [Int]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Requirements:

### Supported macOS Versions
* macOS Big Sur 11 and later, including recoveryOS
* macOS Ventura 13 and later, including recoveryOS

### Supported Models
* Macs (including officially unsupported ones), Hackintoshes and virtual machines
Expand Down
2 changes: 1 addition & 1 deletion README_DE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Anforderungen:

### Unterstützte macOS-Versionen
* macOS Big Sur 11 und höher, inklusive recoveryOS
* macOS Ventura 13 und höher, inklusive recoveryOS

### Unterstützte Modelle
* Macs (inklusive offiziell nicht unterstützten), Hackintoshs und virtuelle Maschinen
Expand Down

0 comments on commit 392301a

Please sign in to comment.