mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
i18n (#77)
* - initialize localization with English - add i18n to app settings * - add translation to widget settings * - add translation to CPU * - add translation to GPU * - add translation to Memory * - add translation to Disk * - add translation to Sensors - add translation to Network * - add translation to Battery * - add Polish language - small fixes in translation * - add Ukrainian language
This commit is contained in:
committed by
GitHub
parent
a05ec471af
commit
a424dc871e
@@ -60,7 +60,7 @@ internal class Settings: NSView, Settings_v {
|
||||
private func addNetworkSelector() {
|
||||
let view: NSView = NSView(frame: NSRect(x: Constants.Settings.margin, y: Constants.Settings.margin, width: self.frame.width, height: 30))
|
||||
|
||||
let rowTitle: NSTextField = LabelField(frame: NSRect(x: 0, y: (view.frame.height - 16)/2, width: view.frame.width - 52, height: 17), "Network interface")
|
||||
let rowTitle: NSTextField = LabelField(frame: NSRect(x: 0, y: (view.frame.height - 16)/2, width: view.frame.width - 52, height: 17), LocalizedString("Network interface"))
|
||||
rowTitle.font = NSFont.systemFont(ofSize: 13, weight: .light)
|
||||
rowTitle.textColor = .textColor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user