From b8186e25b497612dae6110bd4a3acd5e79946eb3 Mon Sep 17 00:00:00 2001 From: Marcel Dierkes Date: Sun, 20 Feb 2022 11:02:00 +0100 Subject: [PATCH 1/7] Added Battery Preferences --- KeepingYouAwake.xcodeproj/project.pbxproj | 58 ++++++ .../KYABatteryPreferencesViewController.xib | 173 ++++++++++++++++++ .../KYABatteryPreferencesViewController.h | 20 ++ .../KYABatteryPreferencesViewController.m | 48 +++++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 27 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ ...YABatteryPreferencesViewController.strings | 21 +++ .../KYAPreferencesContentViewControllers.h | 1 + .../KYAPreferencesLocalizedStrings.h | 1 + .../KYAPreferencesWindowController.m | 1 + .../da.lproj/KYAPreferences.strings | 3 + .../de.lproj/KYAPreferences.strings | 3 + .../en.lproj/KYAPreferences.strings | 2 + .../es.lproj/KYAPreferences.strings | 3 + .../fr.lproj/KYAPreferences.strings | 3 + .../id.lproj/KYAPreferences.strings | 3 + .../ko.lproj/KYAPreferences.strings | 3 + .../nl.lproj/KYAPreferences.strings | 3 + .../pl.lproj/KYAPreferences.strings | 3 + .../pt.lproj/KYAPreferences.strings | 3 + .../ru.lproj/KYAPreferences.strings | 3 + .../tr.lproj/KYAPreferences.strings | 3 + .../uk.lproj/KYAPreferences.strings | 3 + .../zh-Hant-TW.lproj/KYAPreferences.strings | 3 + .../zh.lproj/KYAPreferences.strings | 3 + .../KYALowPowerModeMonitor.m | 5 + .../KYADeviceInfo/KYALowPowerModeMonitor.h | 4 + 38 files changed, 655 insertions(+) create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/Base.lproj/KYABatteryPreferencesViewController.xib create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.h create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.m create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/da.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/de.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/es.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/fr.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/id.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ko.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/nl.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pl.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pt.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ru.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/uk.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh-Hant-TW.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh.lproj/KYABatteryPreferencesViewController.strings diff --git a/KeepingYouAwake.xcodeproj/project.pbxproj b/KeepingYouAwake.xcodeproj/project.pbxproj index c8e4e16c..26158cda 100644 --- a/KeepingYouAwake.xcodeproj/project.pbxproj +++ b/KeepingYouAwake.xcodeproj/project.pbxproj @@ -16,6 +16,8 @@ DA2C0E342700629A006E9991 /* KYAAppUpdater.m in Sources */ = {isa = PBXBuildFile; fileRef = DA2C0E332700629A006E9991 /* KYAAppUpdater.m */; }; DA2CCD5F26F8754C00568BDD /* KYAPreferencesContentViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DA2CCD5E26F8754C00568BDD /* KYAPreferencesContentViewController.m */; }; DA4835F026F8CF100073A062 /* KYAAdvancedPreferencesViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = DA4835F226F8CF100073A062 /* KYAAdvancedPreferencesViewController.xib */; }; + DA4950FB27C97EF2008D1747 /* KYABatteryPreferencesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DA4950F827C97EF2008D1747 /* KYABatteryPreferencesViewController.m */; }; + DA4950FC27C97EF2008D1747 /* KYABatteryPreferencesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DA4950F827C97EF2008D1747 /* KYABatteryPreferencesViewController.m */; }; DA52096327C6BE6400ECFDA6 /* KYAActivationDuration+KYALocalizedTitle.m in Sources */ = {isa = PBXBuildFile; fileRef = DA52096227C6BE6400ECFDA6 /* KYAActivationDuration+KYALocalizedTitle.m */; }; DA52096427C6BE6400ECFDA6 /* KYAActivationDuration+KYALocalizedTitle.m in Sources */ = {isa = PBXBuildFile; fileRef = DA52096227C6BE6400ECFDA6 /* KYAActivationDuration+KYALocalizedTitle.m */; }; DA52096627C6C56A00ECFDA6 /* KYAActivationDurations in Frameworks */ = {isa = PBXBuildFile; productRef = DA52096527C6C56A00ECFDA6 /* KYAActivationDurations */; }; @@ -39,6 +41,8 @@ DA7B53061E16999A00D89A12 /* KYAPreferencesWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = DA7B53051E16999A00D89A12 /* KYAPreferencesWindowController.m */; }; DA82560D22FB5AFC005ECB3A /* KYAActivationDurationsMenuController.m in Sources */ = {isa = PBXBuildFile; fileRef = DA82560C22FB5AFC005ECB3A /* KYAActivationDurationsMenuController.m */; }; DA82B1161C2426E400FA46E0 /* KYAGeneralPreferencesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DA82B1151C2426E400FA46E0 /* KYAGeneralPreferencesViewController.m */; }; + DA96767F27CA720E00A9DCB8 /* KYABatteryPreferencesViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = DA96768227CA720E00A9DCB8 /* KYABatteryPreferencesViewController.xib */; }; + DA96768027CA720E00A9DCB8 /* KYABatteryPreferencesViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = DA96768227CA720E00A9DCB8 /* KYABatteryPreferencesViewController.xib */; }; DA987C9C22FC749D00DD476B /* KYAAddDurationPreferencesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DA987C9B22FC749D00DD476B /* KYAAddDurationPreferencesViewController.m */; }; DA9A4FE6261631D700C672C4 /* KYALocalizedStrings.m in Sources */ = {isa = PBXBuildFile; fileRef = DA9A4FE5261631D700C672C4 /* KYALocalizedStrings.m */; }; DAB0700A22EC794F004D5BCA /* KYADurationCell.m in Sources */ = {isa = PBXBuildFile; fileRef = DAB0700922EC794F004D5BCA /* KYADurationCell.m */; }; @@ -205,8 +209,10 @@ DA48360A26F8D2BC0073A062 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/KYAAdvancedPreferencesViewController.strings; sourceTree = ""; }; DA48360C26F8D2F40073A062 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/KYAAdvancedPreferencesViewController.strings; sourceTree = ""; }; DA49760D2802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYAGeneralPreferencesViewController.strings; sourceTree = ""; }; + DA4950F827C97EF2008D1747 /* KYABatteryPreferencesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KYABatteryPreferencesViewController.m; sourceTree = ""; }; DA49760E2802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYADurationPreferencesViewController.strings; sourceTree = ""; }; DA49760F2802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYAAddDurationPreferencesViewController.strings; sourceTree = ""; }; + DA4950F927C97EF2008D1747 /* KYABatteryPreferencesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KYABatteryPreferencesViewController.h; sourceTree = ""; }; DA4976102802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYAAdvancedPreferencesViewController.strings; sourceTree = ""; }; DA4976112802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYAUpdatePreferencesViewController.strings; sourceTree = ""; }; DA497612280214AE00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Localizable.strings; sourceTree = ""; }; @@ -253,6 +259,21 @@ DA82B1151C2426E400FA46E0 /* KYAGeneralPreferencesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KYAGeneralPreferencesViewController.m; sourceTree = ""; }; DA8B21981F6057A200BF5013 /* zh-Hant-TW */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant-TW"; path = "zh-Hant-TW.lproj/InfoPlist.strings"; sourceTree = ""; }; DA8B21991F6057A200BF5013 /* zh-Hant-TW */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant-TW"; path = "zh-Hant-TW.lproj/Localizable.strings"; sourceTree = ""; }; + DA96768127CA720E00A9DCB8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/KYABatteryPreferencesViewController.xib; sourceTree = ""; }; + DA96768427CA721200A9DCB8 /* zh */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh; path = zh.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96768627CA721300A9DCB8 /* zh-Hant-TW */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant-TW"; path = "zh-Hant-TW.lproj/KYABatteryPreferencesViewController.strings"; sourceTree = ""; }; + DA96768827CA721400A9DCB8 /* da */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96768A27CA721500A9DCB8 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96768C27CA721600A9DCB8 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96768E27CA721700A9DCB8 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96769027CA721800A9DCB8 /* id */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = id; path = id.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96769227CA721900A9DCB8 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96769427CA721A00A9DCB8 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96769627CA721B00A9DCB8 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96769827CA721B00A9DCB8 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96769A27CA721D00A9DCB8 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96769C27CA721E00A9DCB8 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA96769E27CA721F00A9DCB8 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; DA987C9A22FC749D00DD476B /* KYAAddDurationPreferencesViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KYAAddDurationPreferencesViewController.h; sourceTree = ""; }; DA987C9B22FC749D00DD476B /* KYAAddDurationPreferencesViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KYAAddDurationPreferencesViewController.m; sourceTree = ""; }; DA9A4FE5261631D700C672C4 /* KYALocalizedStrings.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KYALocalizedStrings.m; sourceTree = ""; }; @@ -438,6 +459,16 @@ path = KYAPreferencesContentViewController; sourceTree = ""; }; + DA4950F727C97EF2008D1747 /* KYABatteryPreferencesViewController */ = { + isa = PBXGroup; + children = ( + DA4950F927C97EF2008D1747 /* KYABatteryPreferencesViewController.h */, + DA4950F827C97EF2008D1747 /* KYABatteryPreferencesViewController.m */, + DA96768227CA720E00A9DCB8 /* KYABatteryPreferencesViewController.xib */, + ); + path = KYABatteryPreferencesViewController; + sourceTree = ""; + }; DA51E7DF1C2562BE008AA96C /* KYAGeneralPreferencesViewController */ = { isa = PBXGroup; children = ( @@ -565,6 +596,7 @@ DA2CCD6226F8763100568BDD /* KYAPreferencesContentViewController */, DA51E7DF1C2562BE008AA96C /* KYAGeneralPreferencesViewController */, DAB0701222EC8E74004D5BCA /* KYADurationPreferencesViewController */, + DA4950F727C97EF2008D1747 /* KYABatteryPreferencesViewController */, DA51E7E01C2562C4008AA96C /* KYAAdvancedPreferencesViewController */, DA5680182115FF140039C979 /* KYAUpdatePreferencesViewController */, DA51E7E11C2562CA008AA96C /* KYAAboutPreferencesViewController */, @@ -821,6 +853,7 @@ DA085D1021D6BAB6003D9B1B /* container-migration.plist in Resources */, DAD983A726F9C46600234FB8 /* KYAAddDurationPreferencesViewController.xib in Resources */, DA13771A25E969FF00FB0FAD /* Assets.xcassets in Resources */, + DA96767F27CA720E00A9DCB8 /* KYABatteryPreferencesViewController.xib in Resources */, DAD9834C26F8BB0500234FB8 /* KYAUpdatePreferencesViewController.xib in Resources */, DAD9838A26F9037900234FB8 /* KYADurationPreferencesViewController.xib in Resources */, DAD68A7C27C957B30036ED19 /* MainMenu.xib in Resources */, @@ -852,6 +885,7 @@ DAD3CF7A271186720006CA14 /* container-migration.plist in Resources */, DAD3CF7B271186720006CA14 /* KYAAddDurationPreferencesViewController.xib in Resources */, DAD3CF7C271186720006CA14 /* Assets.xcassets in Resources */, + DA96768027CA720E00A9DCB8 /* KYABatteryPreferencesViewController.xib in Resources */, DAD3CF7D271186720006CA14 /* KYAUpdatePreferencesViewController.xib in Resources */, DAD3CF7E271186720006CA14 /* KYADurationPreferencesViewController.xib in Resources */, DAD68A7D27C957B30036ED19 /* MainMenu.xib in Resources */, @@ -885,6 +919,7 @@ DAB128691C2453F600831045 /* KYAAdvancedPreferencesViewController.m in Sources */, DAB1286C1C24540200831045 /* KYAAboutPreferencesViewController.m in Sources */, DA637B5E19F146B6004C8838 /* KYAAppController.m in Sources */, + DA4950FB27C97EF2008D1747 /* KYABatteryPreferencesViewController.m in Sources */, DA2CCD5F26F8754C00568BDD /* KYAPreferencesContentViewController.m in Sources */, DA637B3F19F14693004C8838 /* main.m in Sources */, DA173B371F65B41B00932CE0 /* KYAStatusItemController.m in Sources */, @@ -922,6 +957,7 @@ DAD3CF69271186720006CA14 /* KYAAdvancedPreferencesViewController.m in Sources */, DAD3CF6A271186720006CA14 /* KYAAboutPreferencesViewController.m in Sources */, DAD3CF6B271186720006CA14 /* KYAAppController.m in Sources */, + DA4950FC27C97EF2008D1747 /* KYABatteryPreferencesViewController.m in Sources */, DAD3CF6C271186720006CA14 /* KYAPreferencesContentViewController.m in Sources */, DAD3CF6D271186720006CA14 /* main.m in Sources */, DAD3CF6E271186720006CA14 /* KYAStatusItemController.m in Sources */, @@ -1015,6 +1051,28 @@ name = InfoPlist.strings; sourceTree = ""; }; + DA96768227CA720E00A9DCB8 /* KYABatteryPreferencesViewController.xib */ = { + isa = PBXVariantGroup; + children = ( + DA96768127CA720E00A9DCB8 /* Base */, + DA96768427CA721200A9DCB8 /* zh */, + DA96768627CA721300A9DCB8 /* zh-Hant-TW */, + DA96768827CA721400A9DCB8 /* da */, + DA96768A27CA721500A9DCB8 /* nl */, + DA96768C27CA721600A9DCB8 /* fr */, + DA96768E27CA721700A9DCB8 /* de */, + DA96769027CA721800A9DCB8 /* id */, + DA96769227CA721900A9DCB8 /* ko */, + DA96769427CA721A00A9DCB8 /* pl */, + DA96769627CA721B00A9DCB8 /* pt */, + DA96769827CA721B00A9DCB8 /* ru */, + DA96769A27CA721D00A9DCB8 /* es */, + DA96769C27CA721E00A9DCB8 /* tr */, + DA96769E27CA721F00A9DCB8 /* uk */, + ); + name = KYABatteryPreferencesViewController.xib; + sourceTree = ""; + }; DAD982FA26F8849A00234FB8 /* KYAGeneralPreferencesViewController.xib */ = { isa = PBXVariantGroup; children = ( diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/Base.lproj/KYABatteryPreferencesViewController.xib b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/Base.lproj/KYABatteryPreferencesViewController.xib new file mode 100644 index 00000000..37768962 --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/Base.lproj/KYABatteryPreferencesViewController.xib @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.h b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.h new file mode 100644 index 00000000..b0e0f2ae --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.h @@ -0,0 +1,20 @@ +// +// KYABatteryPreferencesViewController.h +// KeepingYouAwake +// +// Created by Marcel Dierkes on 23.09.21. +// Copyright © 2021 Marcel Dierkes. All rights reserved. +// + +#import +#import +#import "KYAPreferencesContentViewController.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Shows "Battery" preferences. +@interface KYABatteryPreferencesViewController : KYAPreferencesContentViewController +@property (nonatomic, readonly) KYADevice *device; +@end + +NS_ASSUME_NONNULL_END diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.m b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.m new file mode 100644 index 00000000..95a887e2 --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.m @@ -0,0 +1,48 @@ +// +// KYABatteryPreferencesViewController.m +// KeepingYouAwake +// +// Created by Marcel Dierkes on 23.09.21. +// Copyright © 2021 Marcel Dierkes. All rights reserved. +// + +#import "KYABatteryPreferencesViewController.h" +#import "KYADefines.h" +#import "KYALocalizedStrings.h" + +@interface KYABatteryPreferencesViewController () +@end + +@implementation KYABatteryPreferencesViewController + ++ (NSImage *)tabViewItemImage +{ + if(@available(macOS 11.0, *)) + { + return [NSImage imageWithSystemSymbolName:@"battery.100" + accessibilityDescription:nil]; + } + else + { + return [NSImage imageNamed:NSImageNameComputer]; + } +} + ++ (NSString *)preferredTitle +{ + return KYA_PREFS_L10N_BATTERY; +} + +- (BOOL)resizesView +{ + return YES; +} + +#pragma mark - Device + +- (KYADevice *)device +{ + return KYADevice.currentDevice; +} + +@end diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/da.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/da.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..c1b13774 --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/da.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Energibesparende funktion"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Deaktiver når batterikapacitet er under"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Denne værdi ignoreres, når du manuelt starter applikationen under denne batterikapacitet."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Batteriniveau"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/de.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/de.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..8270fa2a --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/de.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,27 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; */ +"SHH-RQ-HPH.title" = "Stromsparmodus kann auf unterstützten Macs in Systemeinstellungen › Batterie aktiviert werden und wird nicht beim Laden angewendet."; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Stromsparmodus"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Deaktivieren, wenn der Ladestand der Batterie niedriger ist als"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Dieser Wert wird ignoriert, wenn du die App unter dieser Kapazitätsgrenze startest."; + +/* Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; */ +"mcf-JV-nyg.title" = "Deaktivieren, wenn der Stromsparmodus aktiviert ist"; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Batteriestatus"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/es.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/es.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..f9d3fc33 --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/es.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Modo de bajo consumo"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Desactivar cuando la carga de la batería sea menor a"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Este valor será ignorado cuando inicie manualmente la aplicación por debajo de esta capacidad de la batería."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Nivel de batería"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/fr.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/fr.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..3912debc --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/fr.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Mode économie d’énergie"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Désactiver quand la batterie est inférieure à "; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Ce réglage sera ignoré si vous lancez l'application manuellement et que la batterie se trouve en dessous de cette valeur."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Niveau de la batterie"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/id.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/id.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..6acd247c --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/id.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Mode daya rendah"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Nonaktifkan saat kapasitas baterai di bawah"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Nilai ini akan diabaikan ketika Anda memulai aplikasi secara manual di bawah kapasitas baterai ini."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Level Baterai"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ko.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ko.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..b50e81da --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ko.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "저전력 모드"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "배터리 잔량이 부족하면 비활성화"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "만일 이 배터리 잔량보다 적을 때 활성화한다면 이 값은 무시됩니다."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "배터리 잔량"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/nl.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/nl.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..b34edcd1 --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/nl.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Energiebesparingsmodus"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Schakel uit als de batterijlading lager is dan"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Deze voorkeur wordt genegeerd als uw Mac al een lagere batterijlading heeft bij het starten van het programma."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Batterijniveau"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pl.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pl.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..0de596ee --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pl.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Tryb niskiego zużycia energii"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Wyłącz gdy poziom baterii jest poniżej"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Wartość zostanie zignorowana jeśli uruchomisz aplikację gdy poziom baterii będzie mniejszy niż podana wartość."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Poziom baterii"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pt.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pt.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..91758964 --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pt.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Modo de baixo consumo"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Desativar quando a carga da bateria estiver abaixo de"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Este valor será ignorado quando você inicia manualmente a aplicação abaixo da carga da bateria."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Nível da bateria"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ru.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ru.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..4a8642ad --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ru.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Режим энергосбережения"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Деактивировать, если заряд батареи ниже"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Это значение будет игнорироваться, если вы запустите приложение ниже этого предела емкости."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Уровень заряда"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..573c2dcb --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Düşük güç modu"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Pil kapasitesi aşıldığın da devre dışı bırak"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Pil kapasitesinin altında uygulamayı manuel olarak başlattığınızda bu değer yoksayılır.."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Pil Düzeyi"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/uk.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/uk.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..db44376b --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/uk.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Режим низького заряду"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Вимкнути коли заряд акумулятора нижче ніж"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Ці налаштування будуть проігноровані якщо ви запустите додаток вручну при заряді акумулятора нижче ніж вказано тут."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Рівень заряду"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh-Hant-TW.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh-Hant-TW.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..e914e385 --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh-Hant-TW.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "低耗電模式"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "低於以下電量時停止啟用"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "若為手動啟用,則會無視此設定值。"; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "電池電量"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..e482578d --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "低电量模式"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "在电池容量低时停用"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "当你在电池容量低于此值时手动开启此软件,这个值会被忽略。"; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "电池电量"; diff --git a/KeepingYouAwake/Preferences/KYAPreferencesContentViewController/KYAPreferencesContentViewControllers.h b/KeepingYouAwake/Preferences/KYAPreferencesContentViewController/KYAPreferencesContentViewControllers.h index 97cac5f7..53d16d00 100644 --- a/KeepingYouAwake/Preferences/KYAPreferencesContentViewController/KYAPreferencesContentViewControllers.h +++ b/KeepingYouAwake/Preferences/KYAPreferencesContentViewController/KYAPreferencesContentViewControllers.h @@ -10,6 +10,7 @@ #import "KYAGeneralPreferencesViewController.h" #import "KYADurationPreferencesViewController.h" +#import "KYABatteryPreferencesViewController.h" #import "KYAAdvancedPreferencesViewController.h" #import "KYAAboutPreferencesViewController.h" diff --git a/KeepingYouAwake/Preferences/KYAPreferencesLocalizedStrings.h b/KeepingYouAwake/Preferences/KYAPreferencesLocalizedStrings.h index db6e0e10..d9bc10bd 100644 --- a/KeepingYouAwake/Preferences/KYAPreferencesLocalizedStrings.h +++ b/KeepingYouAwake/Preferences/KYAPreferencesLocalizedStrings.h @@ -19,6 +19,7 @@ #define KYA_PREFS_L10N_GENERAL KYA_PREFS_LOCALIZED_STRING(@"General", @"General") #define KYA_PREFS_L10N_ACTIVATION_DURATION KYA_PREFS_LOCALIZED_STRING(@"Activation Duration", @"Activation Duration") +#define KYA_PREFS_L10N_BATTERY KYA_PREFS_LOCALIZED_STRING(@"Battery", @"Battery") #define KYA_PREFS_L10N_ADVANCED KYA_PREFS_LOCALIZED_STRING(@"Advanced", @"Advanced") #define KYA_PREFS_L10N_UPDATES KYA_PREFS_LOCALIZED_STRING(@"Updates", @"Updates") #define KYA_PREFS_L10N_ABOUT KYA_PREFS_LOCALIZED_STRING(@"About", @"About") diff --git a/KeepingYouAwake/Preferences/KYAPreferencesWindowController/KYAPreferencesWindowController.m b/KeepingYouAwake/Preferences/KYAPreferencesWindowController/KYAPreferencesWindowController.m index 3d8e2ed9..828b5b54 100644 --- a/KeepingYouAwake/Preferences/KYAPreferencesWindowController/KYAPreferencesWindowController.m +++ b/KeepingYouAwake/Preferences/KYAPreferencesWindowController/KYAPreferencesWindowController.m @@ -49,6 +49,7 @@ - (void)configureTabViewController tabViewController.tabViewItems = @[ KYAGeneralPreferencesViewController.preferredTabViewItem, KYADurationPreferencesViewController.preferredTabViewItem, + KYABatteryPreferencesViewController.preferredTabViewItem, KYAAdvancedPreferencesViewController.preferredTabViewItem, #if KYA_APP_UPDATER_ENABLED KYAUpdatePreferencesViewController.preferredTabViewItem, diff --git a/KeepingYouAwake/Preferences/da.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/da.lproj/KYAPreferences.strings index ab982b87..a9f74853 100644 --- a/KeepingYouAwake/Preferences/da.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/da.lproj/KYAPreferences.strings @@ -7,6 +7,9 @@ /* (No Comment) */ "Advanced" = "Avanceret"; +/* (No Comment) */ +"Battery" = "Batteri"; + /* (No Comment) */ "General" = "Generelt"; diff --git a/KeepingYouAwake/Preferences/de.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/de.lproj/KYAPreferences.strings index 087d688e..4d3926c8 100644 --- a/KeepingYouAwake/Preferences/de.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/de.lproj/KYAPreferences.strings @@ -7,6 +7,9 @@ /* (No Comment) */ "Advanced" = "Erweitert"; +/* (No Comment) */ +"Battery" = "Batterie"; + /* (No Comment) */ "General" = "Allgemein"; diff --git a/KeepingYouAwake/Preferences/en.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/en.lproj/KYAPreferences.strings index 0ff4c772..1a7421b2 100644 --- a/KeepingYouAwake/Preferences/en.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/en.lproj/KYAPreferences.strings @@ -9,3 +9,5 @@ "Advanced" = "Advanced"; "Activation Duration" = "Activation Duration"; + +"Battery" = "Battery"; diff --git a/KeepingYouAwake/Preferences/es.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/es.lproj/KYAPreferences.strings index 7732404f..1a44c650 100644 --- a/KeepingYouAwake/Preferences/es.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/es.lproj/KYAPreferences.strings @@ -4,6 +4,9 @@ /* (No Comment) */ "Advanced" = "Avanzado"; +/* (No Comment) */ +"Battery" = "Batería"; + /* (No Comment) */ "General" = "General"; diff --git a/KeepingYouAwake/Preferences/fr.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/fr.lproj/KYAPreferences.strings index a98c43b1..eb574155 100644 --- a/KeepingYouAwake/Preferences/fr.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/fr.lproj/KYAPreferences.strings @@ -4,6 +4,9 @@ /* (No Comment) */ "Advanced" = "Avancées"; +/* (No Comment) */ +"Battery" = "Batterie"; + /* (No Comment) */ "General" = "Général"; diff --git a/KeepingYouAwake/Preferences/id.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/id.lproj/KYAPreferences.strings index 5cad092e..3c0d7456 100644 --- a/KeepingYouAwake/Preferences/id.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/id.lproj/KYAPreferences.strings @@ -7,6 +7,9 @@ /* (No Comment) */ "Advanced" = "Konfigurasi Lanjutan"; +/* (No Comment) */ +"Battery" = "Baterai"; + /* (No Comment) */ "General" = "Umum"; diff --git a/KeepingYouAwake/Preferences/ko.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/ko.lproj/KYAPreferences.strings index 46147061..02989b49 100644 --- a/KeepingYouAwake/Preferences/ko.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/ko.lproj/KYAPreferences.strings @@ -4,6 +4,9 @@ /* (No Comment) */ "Advanced" = "고급"; +/* (No Comment) */ +"Battery" = "배터리"; + /* (No Comment) */ "General" = "일반"; diff --git a/KeepingYouAwake/Preferences/nl.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/nl.lproj/KYAPreferences.strings index 8a51148d..2fd3ff26 100644 --- a/KeepingYouAwake/Preferences/nl.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/nl.lproj/KYAPreferences.strings @@ -4,6 +4,9 @@ /* (No Comment) */ "Advanced" = "Geavanceerd"; +/* (No Comment) */ +"Battery" = "Batterij"; + /* (No Comment) */ "General" = "Algemeen"; diff --git a/KeepingYouAwake/Preferences/pl.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/pl.lproj/KYAPreferences.strings index 41bfc74d..acdd029d 100644 --- a/KeepingYouAwake/Preferences/pl.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/pl.lproj/KYAPreferences.strings @@ -4,6 +4,9 @@ /* (No Comment) */ "Advanced" = "Zaawansowane"; +/* (No Comment) */ +"Battery" = "Bateria"; + /* (No Comment) */ "General" = "Ogólne"; diff --git a/KeepingYouAwake/Preferences/pt.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/pt.lproj/KYAPreferences.strings index 5e08a7af..ded52a6f 100644 --- a/KeepingYouAwake/Preferences/pt.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/pt.lproj/KYAPreferences.strings @@ -4,6 +4,9 @@ /* (No Comment) */ "Advanced" = "Avançado"; +/* (No Comment) */ +"Battery" = "Bateria"; + /* (No Comment) */ "General" = "Geral"; diff --git a/KeepingYouAwake/Preferences/ru.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/ru.lproj/KYAPreferences.strings index 52335503..5a80535e 100644 --- a/KeepingYouAwake/Preferences/ru.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/ru.lproj/KYAPreferences.strings @@ -7,6 +7,9 @@ /* (No Comment) */ "Advanced" = "Расширенные"; +/* (No Comment) */ +"Battery" = "Аккумулятор"; + /* (No Comment) */ "General" = "Основные"; diff --git a/KeepingYouAwake/Preferences/tr.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/tr.lproj/KYAPreferences.strings index b2f0cbd7..73d7118c 100644 --- a/KeepingYouAwake/Preferences/tr.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/tr.lproj/KYAPreferences.strings @@ -7,6 +7,9 @@ /* (No Comment) */ "Advanced" = "Gelişmiş"; +/* (No Comment) */ +"Battery" = "Pil"; + /* (No Comment) */ "General" = "Genel"; diff --git a/KeepingYouAwake/Preferences/uk.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/uk.lproj/KYAPreferences.strings index a114d925..6b5be7f1 100644 --- a/KeepingYouAwake/Preferences/uk.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/uk.lproj/KYAPreferences.strings @@ -7,6 +7,9 @@ /* (No Comment) */ "Advanced" = "Додаткові"; +/* (No Comment) */ +"Battery" = "Акумулятор"; + /* (No Comment) */ "General" = "Основні"; diff --git a/KeepingYouAwake/Preferences/zh-Hant-TW.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/zh-Hant-TW.lproj/KYAPreferences.strings index addec8f5..b3694f74 100644 --- a/KeepingYouAwake/Preferences/zh-Hant-TW.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/zh-Hant-TW.lproj/KYAPreferences.strings @@ -4,6 +4,9 @@ /* (No Comment) */ "Advanced" = "進階"; +/* (No Comment) */ +"Battery" = "電池"; + /* (No Comment) */ "General" = "一般"; diff --git a/KeepingYouAwake/Preferences/zh.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/zh.lproj/KYAPreferences.strings index 1170b4e3..11fdf765 100644 --- a/KeepingYouAwake/Preferences/zh.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/zh.lproj/KYAPreferences.strings @@ -4,6 +4,9 @@ /* (No Comment) */ "Advanced" = "高级设置"; +/* (No Comment) */ +"Battery" = "电池"; + /* (No Comment) */ "General" = "通用"; diff --git a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYALowPowerModeMonitor/KYALowPowerModeMonitor.m b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYALowPowerModeMonitor/KYALowPowerModeMonitor.m index 05bc905f..50bf369c 100644 --- a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYALowPowerModeMonitor/KYALowPowerModeMonitor.m +++ b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYALowPowerModeMonitor/KYALowPowerModeMonitor.m @@ -28,6 +28,11 @@ - (void)dealloc [self unregisterFromLowPowerModeChanges]; } +- (BOOL)supportsLowPowerMode +{ + return [[self class] supportsLowPowerMode]; +} + - (BOOL)isLowPowerModeEnabled { if(@available(macOS 12.0, *)) diff --git a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/include/KYADeviceInfo/KYALowPowerModeMonitor.h b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/include/KYADeviceInfo/KYALowPowerModeMonitor.h index b6fe9886..94755fa8 100644 --- a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/include/KYADeviceInfo/KYALowPowerModeMonitor.h +++ b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/include/KYADeviceInfo/KYALowPowerModeMonitor.h @@ -16,6 +16,10 @@ NS_ASSUME_NONNULL_BEGIN /// Returns `YES` if the current device supports the Low Power Mode. @property (class, nonatomic, readonly) BOOL supportsLowPowerMode; +/// Convenience property to determine if the current device supports the Low Power Mode. +/// @note Please prefer using the `+supportsLowPowerMode` class property. +@property (nonatomic, readonly) BOOL supportsLowPowerMode; + /// Returns `YES` if Low Power Mode is currently enabled. @property (nonatomic, readonly, getter=isLowPowerModeEnabled) BOOL lowPowerModeEnabled; From 5304f86c99144575e761ddc7dafb5996700ff9d4 Mon Sep 17 00:00:00 2001 From: Marcel Dierkes Date: Sun, 27 Feb 2022 09:11:17 +0100 Subject: [PATCH 2/7] Updated changelog entry for Low Power Mode --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53d36eda..cf1931dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### v1.6.3 ### +- added Battery preferences with support for Low Power Mode on compatible Macs ([#181](https://github.com/newmarcel/KeepingYouAwake/pull/181)) - added a Japanese translation ([#182](https://github.com/newmarcel/KeepingYouAwake/issues/182) - *Thank you [hiroto-t](https://github.com/hiroto-t)!* - updated the Turkish translation ([#183](https://github.com/newmarcel/KeepingYouAwake/issues/183) From c6e15ac2ba9bbd787fb7eafad6ce9dbdfe7ae453 Mon Sep 17 00:00:00 2001 From: Marcel Dierkes Date: Sun, 10 Apr 2022 12:33:21 +0200 Subject: [PATCH 3/7] Added IT, JA to Battery Preferences --- KeepingYouAwake.xcodeproj/project.pbxproj | 8 +++++-- ...YABatteryPreferencesViewController.strings | 21 +++++++++++++++++++ ...YABatteryPreferencesViewController.strings | 21 +++++++++++++++++++ .../it.lproj/KYAPreferences.strings | 3 +++ .../ja.lproj/KYAPreferences.strings | 3 +++ 5 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/it.lproj/KYABatteryPreferencesViewController.strings create mode 100644 KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ja.lproj/KYABatteryPreferencesViewController.strings diff --git a/KeepingYouAwake.xcodeproj/project.pbxproj b/KeepingYouAwake.xcodeproj/project.pbxproj index 26158cda..15ab6a58 100644 --- a/KeepingYouAwake.xcodeproj/project.pbxproj +++ b/KeepingYouAwake.xcodeproj/project.pbxproj @@ -208,11 +208,11 @@ DA48360826F8D2740073A062 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/KYAAdvancedPreferencesViewController.strings; sourceTree = ""; }; DA48360A26F8D2BC0073A062 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/KYAAdvancedPreferencesViewController.strings; sourceTree = ""; }; DA48360C26F8D2F40073A062 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/KYAAdvancedPreferencesViewController.strings; sourceTree = ""; }; - DA49760D2802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYAGeneralPreferencesViewController.strings; sourceTree = ""; }; DA4950F827C97EF2008D1747 /* KYABatteryPreferencesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KYABatteryPreferencesViewController.m; sourceTree = ""; }; + DA4950F927C97EF2008D1747 /* KYABatteryPreferencesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KYABatteryPreferencesViewController.h; sourceTree = ""; }; + DA49760D2802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYAGeneralPreferencesViewController.strings; sourceTree = ""; }; DA49760E2802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYADurationPreferencesViewController.strings; sourceTree = ""; }; DA49760F2802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYAAddDurationPreferencesViewController.strings; sourceTree = ""; }; - DA4950F927C97EF2008D1747 /* KYABatteryPreferencesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KYABatteryPreferencesViewController.h; sourceTree = ""; }; DA4976102802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYAAdvancedPreferencesViewController.strings; sourceTree = ""; }; DA4976112802142F00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYAUpdatePreferencesViewController.strings; sourceTree = ""; }; DA497612280214AE00F42D51 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Localizable.strings; sourceTree = ""; }; @@ -257,6 +257,8 @@ DA82560C22FB5AFC005ECB3A /* KYAActivationDurationsMenuController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KYAActivationDurationsMenuController.m; sourceTree = ""; }; DA82B1141C2426E400FA46E0 /* KYAGeneralPreferencesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KYAGeneralPreferencesViewController.h; sourceTree = ""; }; DA82B1151C2426E400FA46E0 /* KYAGeneralPreferencesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KYAGeneralPreferencesViewController.m; sourceTree = ""; }; + DA836E462802E69A00E69B32 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; + DA836E482802E69C00E69B32 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/KYABatteryPreferencesViewController.strings; sourceTree = ""; }; DA8B21981F6057A200BF5013 /* zh-Hant-TW */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant-TW"; path = "zh-Hant-TW.lproj/InfoPlist.strings"; sourceTree = ""; }; DA8B21991F6057A200BF5013 /* zh-Hant-TW */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant-TW"; path = "zh-Hant-TW.lproj/Localizable.strings"; sourceTree = ""; }; DA96768127CA720E00A9DCB8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/KYABatteryPreferencesViewController.xib; sourceTree = ""; }; @@ -1069,6 +1071,8 @@ DA96769A27CA721D00A9DCB8 /* es */, DA96769C27CA721E00A9DCB8 /* tr */, DA96769E27CA721F00A9DCB8 /* uk */, + DA836E462802E69A00E69B32 /* it */, + DA836E482802E69C00E69B32 /* ja */, ); name = KYABatteryPreferencesViewController.xib; sourceTree = ""; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/it.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/it.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..8df2987a --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/it.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "Risparmio energetico"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "Disattiva quando la carica della batteria è sotto"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "Questo valore verrà ignorato quando avvierai l'app sotto questo livello di carica della batteria."; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "Livello batteria"; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ja.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ja.lproj/KYABatteryPreferencesViewController.strings new file mode 100644 index 00000000..79c4eb9e --- /dev/null +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ja.lproj/KYABatteryPreferencesViewController.strings @@ -0,0 +1,21 @@ + +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ +"aXx-hk-9R9.title" = "低電力モード"; + +/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ +"gx4-rK-1he.title" = "バッテリー残量が以下の値より低いときにアプリを無効にする"; + +/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ +"l4a-Sa-RAE.title" = "バッテリー残量が少ない状態でアプリを手動で起動した場合この値は無視されます"; + +/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ +"ovF-0F-TMc.title" = "50 %"; + +/* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ +"pvY-d7-nKX.title" = "バッテリー残量"; diff --git a/KeepingYouAwake/Preferences/it.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/it.lproj/KYAPreferences.strings index bd6379a8..f9bd5267 100644 --- a/KeepingYouAwake/Preferences/it.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/it.lproj/KYAPreferences.strings @@ -7,6 +7,9 @@ /* (No Comment) */ "Advanced" = "Avanzate"; +/* (No Comment) */ +"Battery" = "Batteria"; + /* (No Comment) */ "General" = "Generali"; diff --git a/KeepingYouAwake/Preferences/ja.lproj/KYAPreferences.strings b/KeepingYouAwake/Preferences/ja.lproj/KYAPreferences.strings index ed661586..09423b96 100644 --- a/KeepingYouAwake/Preferences/ja.lproj/KYAPreferences.strings +++ b/KeepingYouAwake/Preferences/ja.lproj/KYAPreferences.strings @@ -7,6 +7,9 @@ /* (No Comment) */ "Advanced" = "高度な設定"; +/* (No Comment) */ +"Battery" = "バッテリー"; + /* (No Comment) */ "General" = "一般"; From 3ef72b80c29ab60aa566063913d70a3b9f12048f Mon Sep 17 00:00:00 2001 From: Marcel Dierkes Date: Sat, 26 Feb 2022 19:01:07 +0100 Subject: [PATCH 4/7] Removed the Battery Level override from Advanced preferences --- .../KYAAdvancedPreferencesViewController.xib | 154 ++++-------------- .../KYAAdvancedPreferencesViewController.h | 9 - .../KYAAdvancedPreferencesViewController.m | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 7 - ...AAdvancedPreferencesViewController.strings | 22 --- ...AAdvancedPreferencesViewController.strings | 16 -- ...AAdvancedPreferencesViewController.strings | 16 -- .../KYABatteryPreferencesViewController.xib | 3 + .../KYABatteryPreferencesViewController.h | 8 + .../KYABatteryPreferencesViewController.m | 10 ++ 20 files changed, 52 insertions(+), 369 deletions(-) diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/Base.lproj/KYAAdvancedPreferencesViewController.xib b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/Base.lproj/KYAAdvancedPreferencesViewController.xib index 8a6236fd..553edf33 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/Base.lproj/KYAAdvancedPreferencesViewController.xib +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/Base.lproj/KYAAdvancedPreferencesViewController.xib @@ -1,8 +1,8 @@ - + - + @@ -16,17 +16,35 @@ - + - - + + + + + + + + + + + - + - + @@ -48,7 +66,7 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - + + - - - - - + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/KYAAdvancedPreferencesViewController.h b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/KYAAdvancedPreferencesViewController.h index b9ad367d..65866295 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/KYAAdvancedPreferencesViewController.h +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/KYAAdvancedPreferencesViewController.h @@ -8,15 +8,11 @@ #import #import -#import #import "KYAPreferencesContentViewController.h" /// Shows "Advanced" preferences. @interface KYAAdvancedPreferencesViewController : KYAPreferencesContentViewController -/// Determines if the current Mac has a built-in battery. -@property (nonatomic, readonly, getter=isBatteryStatusAvailable) BOOL batteryStatusAvailable; - /// A table view that lists individual preferences @property (weak, nonatomic, nullable) IBOutlet NSTableView *tableView; @@ -24,9 +20,4 @@ /// @param sender The sending control - (IBAction)resetAdvancedPreferences:(nullable id)sender; -/// Is responsible for notifying the app controller about any -/// battery status preference changes. -/// @param sender The sending control -- (IBAction)batteryStatusPreferencesChanged:(nullable id)sender; - @end diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/KYAAdvancedPreferencesViewController.m b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/KYAAdvancedPreferencesViewController.m index 12e306f8..34b484e9 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/KYAAdvancedPreferencesViewController.m +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/KYAAdvancedPreferencesViewController.m @@ -49,9 +49,6 @@ - (void)viewDidLoad { [super viewDidLoad]; - // Check the battery status - self.batteryStatusAvailable = [[KYABatteryMonitor new] hasBattery]; - [self configureAdvancedPreferences]; } @@ -84,19 +81,6 @@ - (IBAction)resetAdvancedPreferences:(id)sender } [NSUserDefaults.standardUserDefaults synchronize]; [self.tableView reloadData]; - - // Disable battery status integration - AutoVar keyPath = [NSString stringWithFormat:@"values.%@", KYAUserDefaultsKeyBatteryCapacityThresholdEnabled]; - [self.defaultsController setValue:@NO forKeyPath:keyPath]; - keyPath = [NSString stringWithFormat:@"values.%@", KYAUserDefaultsKeyBatteryCapacityThreshold]; - [self.defaultsController setValue:@10.0f forKeyPath:keyPath]; -} - -#pragma mark - Battery Status Preferences - -- (void)batteryStatusPreferencesChanged:(id)sender -{ - [NSNotificationCenter.defaultCenter postNotificationName:kKYABatteryCapacityThresholdDidChangeNotification object:nil]; } #pragma mark - Table View Delegate & Data Source diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/da.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/da.lproj/KYAAdvancedPreferencesViewController.strings index fe2bc4ee..700b12a0 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/da.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/da.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Nulstil til standard"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Deaktiver når batterikapacitet er under"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Ændre kun disse avancerede indstillinger, hvis du ved hvad du gør. De fleste af disse indstillinger kræver genstar af applikationen."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Denne værdi ignoreres, når du manuelt starter applikationen under denne batterikapacitet."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/de.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/de.lproj/KYAAdvancedPreferencesViewController.strings index 8f965b79..e8dea9ed 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/de.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/de.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Zurücksetzen"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Deaktivieren, wenn der Ladestand der Batterie niedriger ist als"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Ändere diese erweiterten Einstellungen nur, wenn du weißt, was du tust. Die meisten dieser Einstellungen erfordern einen Neustart."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Der Wert wird ignoriert, wenn du die App unter dieser Kapazitätsgrenze startest."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/es.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/es.lproj/KYAAdvancedPreferencesViewController.strings index e901bdc9..c13fa5de 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/es.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/es.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Restaurar valores por defecto"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Desactivar cuando la carga de la batería sea menor a"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Solo cambia estas opciones avanzadas si sabes lo que estas haciendo. La mayoría de estas preferencias requieren reiniciar de la aplicación."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Este valor será ignorado cuando inicie manualmente la aplicación por debajo de esta capacidad de la batería."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/fr.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/fr.lproj/KYAAdvancedPreferencesViewController.strings index 74410e34..258365cb 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/fr.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/fr.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Rétablir les réglages par défaut"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Désactiver quand la batterie est inférieure à "; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Vous utilisez ces préférences avancées à vos risques. Ils requièrent un redémarrage de KeepingYouAwake."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Ce réglage sera ignoré si vous lancez l'application manuellement et que la batterie se trouve en dessous de cette valeur."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/id.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/id.lproj/KYAAdvancedPreferencesViewController.strings index a5302edb..749a4498 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/id.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/id.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Setel Ulang Ke Pengaturan Standar"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Nonaktifkan saat kapasitas baterai di bawah"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Ubah preferensi lanjutan ini hanya jika Anda tahu apa yang Anda lakukan. Sebagian besar preferensi ini memerlukan Anda untuk merestart aplikasi."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Nilai ini akan diabaikan ketika Anda memulai aplikasi secara manual di bawah kapasitas baterai ini."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ko.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ko.lproj/KYAAdvancedPreferencesViewController.strings index f71444ce..34231a02 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ko.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ko.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "기본값으로 복원"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "배터리 잔량이 부족하면 비활성화"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "고급 환경설정은 내용을 숙지한 경우만 사용하십시오. 대부분의 고급 환경설정은 재시작이 필요합니다."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "만일 이 배터리 잔량보다 적을 때 활성화한다면 이 값은 무시됩니다."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/nl.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/nl.lproj/KYAAdvancedPreferencesViewController.strings index 6a354218..e935a94c 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/nl.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/nl.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Herstel standaard"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Schakel uit als de batterijlading lager is dan"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50%"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10%"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90%"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Wijzig deze geavanceerde voorkeuren alleen als u weet wat u doet. De meeste worden pas actief na een herstart."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Deze voorkeur wordt genegeerd als uw Mac al een lagere batterijlading heeft bij het starten van het programma."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pl.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pl.lproj/KYAAdvancedPreferencesViewController.strings index 376dd26a..bcb45d11 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pl.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pl.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Zresetuj ustawienia"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Wyłącz gdy poziom baterii jest poniżej"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Zmień ustawienia zaawansowane tylko, jeśli wiesz co robisz. Większość ustawień wymaga ponownego uruchomienia aplikacji."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Wartość zostanie zignorowana jeśli uruchomisz aplikację gdy poziom baterii będzie mniejszy niż podana wartość."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pt.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pt.lproj/KYAAdvancedPreferencesViewController.strings index 09472872..d949ad0a 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pt.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pt.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Restaurar valores padrão"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Desativar quando a carga da bateria estiver abaixo de"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Modifique estas opções avançadas apenas se souber o que está fazendo. A maioria destas configurações requerem reiniciar a aplicação."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Este valor será ignorado quando você inicia manualmente a aplicação abaixo da carga da bateria."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ru.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ru.lproj/KYAAdvancedPreferencesViewController.strings index cf2fe25b..f7fb3bc4 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ru.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ru.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Сбросить"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Деактивировать, если заряд батареи ниже"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Не изменяйте эти расширенные настройки, если вы не знаете, что делаете. Большинство из этих настроек требуют перезапуска приложения."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Это значение будет игнорироваться, если вы запустите приложение ниже этого предела емкости."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings index 4ad24fd4..9bd6d3db 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings @@ -10,12 +10,5 @@ /* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ "QZN-1k-USs.title" = "10 %"; -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Yalnızca ne yaptığınızı biliyorsanız bu gelişmiş tercihleri değiştirin. Bu tercihlerin birçoğu uygulamanın yeniden başlatılmasını gerektirir."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Uygulamayı bu pil kapasitesinin altında manuel olarak başlattığınızda bu değer yok sayılır."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/uk.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/uk.lproj/KYAAdvancedPreferencesViewController.strings index 0f535326..5c304827 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/uk.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/uk.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,27 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Скинути до стандарних"; -/* Class = "NSButtonCell"; title = "Check"; ObjectID = "7z8-pS-A86"; Note = "Do not localize"; */ -"7z8-pS-A86.title" = "Check"; - -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Вимкнути коли заряд акумулятора нижче ніж"; - -/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; */ -"HPO-gf-tIY.title" = "Text Cell"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Змінюйте ці налаштування якщо ви добре розумієте що робите. Потрібно буде зробити рестарт додатку."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Ці налаштування будуть проігноровані якщо ви запустите додаток вручну при заряді акумулятора нижче ніж вказано тут."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh-Hant-TW.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh-Hant-TW.lproj/KYAAdvancedPreferencesViewController.strings index 32b5915d..e23302e3 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh-Hant-TW.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh-Hant-TW.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "將設定還原成原始預設值"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "低於以下電量時停止啟用"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "請於了解設定值意義的前提下修改以下設定。多數設定項目需於重啟後才生效。"; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "若為手動啟用,則會無視此設定值。"; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh.lproj/KYAAdvancedPreferencesViewController.strings index 8793ce45..2be111c5 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,21 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "重置为初始状态"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "在电池容量低时停用"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "请只在了解如下设置的前提下修改。大多数设置都需要重启此软件才能生效。"; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "当你在电池容量低于此值时手动开启此软件,这个值会被忽略。"; - diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/Base.lproj/KYABatteryPreferencesViewController.xib b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/Base.lproj/KYABatteryPreferencesViewController.xib index 37768962..8452fa06 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/Base.lproj/KYABatteryPreferencesViewController.xib +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/Base.lproj/KYABatteryPreferencesViewController.xib @@ -32,6 +32,7 @@ + @@ -51,6 +52,7 @@ + @@ -126,6 +128,7 @@ + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.h b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.h index b0e0f2ae..72a9dd08 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.h +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.h @@ -14,7 +14,15 @@ NS_ASSUME_NONNULL_BEGIN /// Shows "Battery" preferences. @interface KYABatteryPreferencesViewController : KYAPreferencesContentViewController +/// Provides access to the battery level and +/// low power mode of the physical device. @property (nonatomic, readonly) KYADevice *device; + +/// Is responsible for notifying the app controller about any +/// battery status preference changes. +/// @param sender The sending control +- (IBAction)batteryPreferencesDidChange:(nullable id)sender; + @end NS_ASSUME_NONNULL_END diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.m b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.m index 95a887e2..cb77db0d 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.m +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/KYABatteryPreferencesViewController.m @@ -9,6 +9,7 @@ #import "KYABatteryPreferencesViewController.h" #import "KYADefines.h" #import "KYALocalizedStrings.h" +#import "KYABatteryCapacityThreshold.h" @interface KYABatteryPreferencesViewController () @end @@ -45,4 +46,13 @@ - (KYADevice *)device return KYADevice.currentDevice; } +#pragma mark - Battery Preferences Did Change + +- (void)batteryPreferencesDidChange:(id)sender +{ + Auto center = NSNotificationCenter.defaultCenter; + [center postNotificationName:kKYABatteryCapacityThresholdDidChangeNotification + object:nil]; +} + @end From 536e7a1cf722d234c425aad43f7260566326eff3 Mon Sep 17 00:00:00 2001 From: Marcel Dierkes Date: Sun, 10 Apr 2022 13:01:20 +0200 Subject: [PATCH 5/7] Re-applied strings files changes in Advanced Preferences --- ...AAdvancedPreferencesViewController.strings | 22 ------------------- ...AAdvancedPreferencesViewController.strings | 22 ------------------- ...AAdvancedPreferencesViewController.strings | 9 -------- ...YABatteryPreferencesViewController.strings | 4 ++-- 4 files changed, 2 insertions(+), 55 deletions(-) diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/it.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/it.lproj/KYAAdvancedPreferencesViewController.strings index 65cb9cea..5331fe18 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/it.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/it.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,27 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Reimposta predefinite"; -/* Class = "NSButtonCell"; title = "Check"; ObjectID = "7z8-pS-A86"; Note = "Do not localize"; */ -"7z8-pS-A86.title" = ""; - -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Disattiva quando la carica della batteria è sotto"; - -/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; */ -"HPO-gf-tIY.title" = ""; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = ""; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = ""; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = ""; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Modifica queste impostazioni avanzate solo se sai quello che stai facendo. La maggior parte richiede un riavvio dell'app."; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "Questo valore verrà ignorato quando avvierai l'app sotto questo livello di carica della batteria."; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ja.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ja.lproj/KYAAdvancedPreferencesViewController.strings index ddcfde62..a826815f 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ja.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ja.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,27 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "デフォルトに戻す"; -/* Class = "NSButtonCell"; title = "Check"; ObjectID = "7z8-pS-A86"; Note = "Do not localize"; */ -"7z8-pS-A86.title" = "Check"; - -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "バッテリー残量が以下の値より低いときにアプリを無効にする"; - -/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; */ -"HPO-gf-tIY.title" = "Text Cell"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; */ -"ViM-Dg-sVF.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "これらの高度な設定は動作内容を理解した上で変更してください。設定を変更した場合アプリの再起動が必要です"; - -/* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; */ -"z26-wh-jCm.title" = "バッテリー残量が少ない状態でアプリを手動で起動した場合この値は無視されます"; - diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings index 9bd6d3db..2339c840 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings @@ -1,14 +1,5 @@ /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "3GX-gq-Yaq"; */ "3GX-gq-Yaq.title" = "Varsayılan ayarlara dön"; -/* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; */ -"a5l-du-7Rf.title" = "Pil kapasitesi aşıldığında devre dışı bırak"; - -/* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; */ -"pcX-L6-8PY.title" = "50 %"; - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; */ -"QZN-1k-USs.title" = "10 %"; - /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Yalnızca ne yaptığınızı biliyorsanız bu gelişmiş tercihleri değiştirin. Bu tercihlerin birçoğu uygulamanın yeniden başlatılmasını gerektirir."; diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings index 573c2dcb..a78dde94 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings @@ -9,10 +9,10 @@ "aXx-hk-9R9.title" = "Düşük güç modu"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ -"gx4-rK-1he.title" = "Pil kapasitesi aşıldığın da devre dışı bırak"; +"gx4-rK-1he.title" = "Pil kapasitesi aşıldığında devre dışı bırak"; /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ -"l4a-Sa-RAE.title" = "Pil kapasitesinin altında uygulamayı manuel olarak başlattığınızda bu değer yoksayılır.."; +"l4a-Sa-RAE.title" = "Uygulamayı bu pil kapasitesinin altında manuel olarak başlattığınızda bu değer yok sayılır."; /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; From 966dce445664a232222a0dc7043a366aeea2eb97 Mon Sep 17 00:00:00 2001 From: Marcel Dierkes Date: Sun, 27 Feb 2022 17:58:09 +0100 Subject: [PATCH 6/7] Changed supportsLowPowerMode to be an instance property --- .../Sources/KYADeviceInfo/KYADevice/KYADevice.m | 2 +- .../KYALowPowerModeMonitor.m | 17 ++++++----------- .../KYADeviceInfo/KYALowPowerModeMonitor.h | 4 ---- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYADevice/KYADevice.m b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYADevice/KYADevice.m index 18b381e1..1b78189d 100644 --- a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYADevice/KYADevice.m +++ b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYADevice/KYADevice.m @@ -96,7 +96,7 @@ - (void)setLowPowerModeMonitoringEnabled:(BOOL)lowPowerModeMonitoringEnabled if(lowPowerModeMonitoringEnabled) { // Do not start monitoring if the device does not support this feature - if([KYALowPowerModeMonitor supportsLowPowerMode] == NO) { return; } + if([lowPowerModeMonitor supportsLowPowerMode] == NO) { return; } AutoWeak weakSelf = self; lowPowerModeMonitor.lowPowerModeChangeHandler = ^(BOOL enabled) { diff --git a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYALowPowerModeMonitor/KYALowPowerModeMonitor.m b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYALowPowerModeMonitor/KYALowPowerModeMonitor.m index 50bf369c..40441bd2 100644 --- a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYALowPowerModeMonitor/KYALowPowerModeMonitor.m +++ b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/KYALowPowerModeMonitor/KYALowPowerModeMonitor.m @@ -11,7 +11,12 @@ @implementation KYALowPowerModeMonitor -+ (BOOL)supportsLowPowerMode +- (void)dealloc +{ + [self unregisterFromLowPowerModeChanges]; +} + +- (BOOL)supportsLowPowerMode { if(@available(macOS 12.0, *)) { @@ -23,16 +28,6 @@ + (BOOL)supportsLowPowerMode } } -- (void)dealloc -{ - [self unregisterFromLowPowerModeChanges]; -} - -- (BOOL)supportsLowPowerMode -{ - return [[self class] supportsLowPowerMode]; -} - - (BOOL)isLowPowerModeEnabled { if(@available(macOS 12.0, *)) diff --git a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/include/KYADeviceInfo/KYALowPowerModeMonitor.h b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/include/KYADeviceInfo/KYALowPowerModeMonitor.h index 94755fa8..e5044709 100644 --- a/Packages/KYADeviceInfo/Sources/KYADeviceInfo/include/KYADeviceInfo/KYALowPowerModeMonitor.h +++ b/Packages/KYADeviceInfo/Sources/KYADeviceInfo/include/KYADeviceInfo/KYALowPowerModeMonitor.h @@ -14,10 +14,6 @@ NS_ASSUME_NONNULL_BEGIN @interface KYALowPowerModeMonitor : NSObject /// Returns `YES` if the current device supports the Low Power Mode. -@property (class, nonatomic, readonly) BOOL supportsLowPowerMode; - -/// Convenience property to determine if the current device supports the Low Power Mode. -/// @note Please prefer using the `+supportsLowPowerMode` class property. @property (nonatomic, readonly) BOOL supportsLowPowerMode; /// Returns `YES` if Low Power Mode is currently enabled. From 05a672903a7cdb3c8b5ba7c6d7252c46aaac40e6 Mon Sep 17 00:00:00 2001 From: Marcel Dierkes Date: Sun, 10 Apr 2022 13:05:44 +0200 Subject: [PATCH 7/7] Synchronized XLIFF files --- ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...AAdvancedPreferencesViewController.strings | 1 + ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 20 +++--- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- ...YABatteryPreferencesViewController.strings | 14 ++-- .../da.xcloc/Localized Contents/da.xliff | 64 ++++++++++++----- .../de.xcloc/Localized Contents/de.xliff | 66 ++++++++++++----- .../es.xcloc/Localized Contents/es.xliff | 64 ++++++++++++----- .../fr.xcloc/Localized Contents/fr.xliff | 64 ++++++++++++----- .../id.xcloc/Localized Contents/id.xliff | 64 ++++++++++++----- .../it.xcloc/Localized Contents/it.xliff | 72 +++++++++++++------ .../ja.xcloc/Localized Contents/ja.xliff | 66 ++++++++++++----- .../ko.xcloc/Localized Contents/ko.xliff | 64 ++++++++++++----- .../nl.xcloc/Localized Contents/nl.xliff | 70 ++++++++++++------ .../pl.xcloc/Localized Contents/pl.xliff | 64 ++++++++++++----- .../pt.xcloc/Localized Contents/pt.xliff | 64 ++++++++++++----- .../ru.xcloc/Localized Contents/ru.xliff | 64 ++++++++++++----- .../tr.xcloc/Localized Contents/tr.xliff | 64 ++++++++++++----- .../uk.xcloc/Localized Contents/uk.xliff | 66 ++++++++++++----- .../Localized Contents/zh-Hant-TW.xliff | 64 ++++++++++++----- .../zh.xcloc/Localized Contents/zh.xliff | 64 ++++++++++++----- 48 files changed, 891 insertions(+), 399 deletions(-) diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/da.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/da.lproj/KYAAdvancedPreferencesViewController.strings index 700b12a0..3ed829b7 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/da.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/da.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Ændre kun disse avancerede indstillinger, hvis du ved hvad du gør. De fleste af disse indstillinger kræver genstar af applikationen."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/de.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/de.lproj/KYAAdvancedPreferencesViewController.strings index e8dea9ed..801c6106 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/de.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/de.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Ändere diese erweiterten Einstellungen nur, wenn du weißt, was du tust. Die meisten dieser Einstellungen erfordern einen Neustart."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/es.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/es.lproj/KYAAdvancedPreferencesViewController.strings index c13fa5de..10289cbd 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/es.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/es.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Solo cambia estas opciones avanzadas si sabes lo que estas haciendo. La mayoría de estas preferencias requieren reiniciar de la aplicación."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/fr.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/fr.lproj/KYAAdvancedPreferencesViewController.strings index 258365cb..624c65ec 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/fr.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/fr.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Vous utilisez ces préférences avancées à vos risques. Ils requièrent un redémarrage de KeepingYouAwake."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/id.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/id.lproj/KYAAdvancedPreferencesViewController.strings index 749a4498..677b1566 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/id.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/id.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Ubah preferensi lanjutan ini hanya jika Anda tahu apa yang Anda lakukan. Sebagian besar preferensi ini memerlukan Anda untuk merestart aplikasi."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/it.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/it.lproj/KYAAdvancedPreferencesViewController.strings index 5331fe18..c376b413 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/it.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/it.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Modifica queste impostazioni avanzate solo se sai quello che stai facendo. La maggior parte richiede un riavvio dell'app."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ja.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ja.lproj/KYAAdvancedPreferencesViewController.strings index a826815f..df273ddb 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ja.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ja.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "これらの高度な設定は動作内容を理解した上で変更してください。設定を変更した場合アプリの再起動が必要です"; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ko.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ko.lproj/KYAAdvancedPreferencesViewController.strings index 34231a02..123c50ce 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ko.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ko.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "고급 환경설정은 내용을 숙지한 경우만 사용하십시오. 대부분의 고급 환경설정은 재시작이 필요합니다."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/nl.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/nl.lproj/KYAAdvancedPreferencesViewController.strings index e935a94c..ebe07e59 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/nl.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/nl.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Wijzig deze geavanceerde voorkeuren alleen als u weet wat u doet. De meeste worden pas actief na een herstart."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pl.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pl.lproj/KYAAdvancedPreferencesViewController.strings index bcb45d11..11af4c7f 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pl.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pl.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Zmień ustawienia zaawansowane tylko, jeśli wiesz co robisz. Większość ustawień wymaga ponownego uruchomienia aplikacji."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pt.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pt.lproj/KYAAdvancedPreferencesViewController.strings index d949ad0a..2f724e93 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pt.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/pt.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Modifique estas opções avançadas apenas se souber o que está fazendo. A maioria destas configurações requerem reiniciar a aplicação."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ru.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ru.lproj/KYAAdvancedPreferencesViewController.strings index f7fb3bc4..3a966bc6 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ru.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/ru.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Не изменяйте эти расширенные настройки, если вы не знаете, что делаете. Большинство из этих настроек требуют перезапуска приложения."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings index 2339c840..b8800864 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/tr.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Yalnızca ne yaptığınızı biliyorsanız bu gelişmiş tercihleri değiştirin. Bu tercihlerin birçoğu uygulamanın yeniden başlatılmasını gerektirir."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/uk.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/uk.lproj/KYAAdvancedPreferencesViewController.strings index 5c304827..0ce4a7a5 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/uk.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/uk.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "Змінюйте ці налаштування якщо ви добре розумієте що робите. Потрібно буде зробити рестарт додатку."; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh-Hant-TW.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh-Hant-TW.lproj/KYAAdvancedPreferencesViewController.strings index e23302e3..304020eb 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh-Hant-TW.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh-Hant-TW.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "請於了解設定值意義的前提下修改以下設定。多數設定項目需於重啟後才生效。"; + diff --git a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh.lproj/KYAAdvancedPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh.lproj/KYAAdvancedPreferencesViewController.strings index 2be111c5..515ade17 100644 --- a/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh.lproj/KYAAdvancedPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYAAdvancedPreferencesViewController/zh.lproj/KYAAdvancedPreferencesViewController.strings @@ -3,3 +3,4 @@ /* Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; */ "xdm-wP-gM6.title" = "请只在了解如下设置的前提下修改。大多数设置都需要重启此软件才能生效。"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/da.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/da.lproj/KYABatteryPreferencesViewController.strings index c1b13774..1dedad69 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/da.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/da.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Energibesparende funktion"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Deaktiver når batterikapacitet er under"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Denne værdi ignoreres, når du manuelt starter applikationen under denne batterikapacitet."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Batteriniveau"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/de.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/de.lproj/KYABatteryPreferencesViewController.strings index 8270fa2a..be7ad58a 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/de.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/de.lproj/KYABatteryPreferencesViewController.strings @@ -1,22 +1,18 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - -/* Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; */ -"SHH-RQ-HPH.title" = "Stromsparmodus kann auf unterstützten Macs in Systemeinstellungen › Batterie aktiviert werden und wird nicht beim Laden angewendet."; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Stromsparmodus"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Deaktivieren, wenn der Ladestand der Batterie niedriger ist als"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Dieser Wert wird ignoriert, wenn du die App unter dieser Kapazitätsgrenze startest."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; */ "mcf-JV-nyg.title" = "Deaktivieren, wenn der Stromsparmodus aktiviert ist"; @@ -25,3 +21,7 @@ /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Batteriestatus"; + +/* Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; */ +"SHH-RQ-HPH.title" = "Stromsparmodus kann auf unterstützten Macs in Systemeinstellungen › Batterie aktiviert werden und wird nicht beim Laden angewendet."; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/es.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/es.lproj/KYABatteryPreferencesViewController.strings index f9d3fc33..ed96d212 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/es.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/es.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Modo de bajo consumo"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Desactivar cuando la carga de la batería sea menor a"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Este valor será ignorado cuando inicie manualmente la aplicación por debajo de esta capacidad de la batería."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Nivel de batería"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/fr.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/fr.lproj/KYABatteryPreferencesViewController.strings index 3912debc..06c83492 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/fr.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/fr.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Mode économie d’énergie"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Désactiver quand la batterie est inférieure à "; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Ce réglage sera ignoré si vous lancez l'application manuellement et que la batterie se trouve en dessous de cette valeur."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Niveau de la batterie"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/id.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/id.lproj/KYABatteryPreferencesViewController.strings index 6acd247c..a97501e9 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/id.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/id.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Mode daya rendah"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Nonaktifkan saat kapasitas baterai di bawah"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Nilai ini akan diabaikan ketika Anda memulai aplikasi secara manual di bawah kapasitas baterai ini."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Level Baterai"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/it.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/it.lproj/KYABatteryPreferencesViewController.strings index 8df2987a..5922dbe8 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/it.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/it.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Risparmio energetico"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Disattiva quando la carica della batteria è sotto"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Questo valore verrà ignorato quando avvierai l'app sotto questo livello di carica della batteria."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Livello batteria"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ja.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ja.lproj/KYABatteryPreferencesViewController.strings index 79c4eb9e..2bdf865c 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ja.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ja.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "低電力モード"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "バッテリー残量が以下の値より低いときにアプリを無効にする"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "バッテリー残量が少ない状態でアプリを手動で起動した場合この値は無視されます"; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "バッテリー残量"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ko.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ko.lproj/KYABatteryPreferencesViewController.strings index b50e81da..e8ea86dc 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ko.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ko.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "저전력 모드"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "배터리 잔량이 부족하면 비활성화"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "만일 이 배터리 잔량보다 적을 때 활성화한다면 이 값은 무시됩니다."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "배터리 잔량"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/nl.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/nl.lproj/KYABatteryPreferencesViewController.strings index b34edcd1..bc675344 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/nl.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/nl.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Energiebesparingsmodus"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Schakel uit als de batterijlading lager is dan"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Deze voorkeur wordt genegeerd als uw Mac al een lagere batterijlading heeft bij het starten van het programma."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Batterijniveau"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pl.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pl.lproj/KYABatteryPreferencesViewController.strings index 0de596ee..7ae18e6c 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pl.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pl.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Tryb niskiego zużycia energii"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Wyłącz gdy poziom baterii jest poniżej"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Wartość zostanie zignorowana jeśli uruchomisz aplikację gdy poziom baterii będzie mniejszy niż podana wartość."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Poziom baterii"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pt.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pt.lproj/KYABatteryPreferencesViewController.strings index 91758964..fe64e341 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pt.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/pt.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Modo de baixo consumo"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Desativar quando a carga da bateria estiver abaixo de"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Este valor será ignorado quando você inicia manualmente a aplicação abaixo da carga da bateria."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Nível da bateria"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ru.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ru.lproj/KYABatteryPreferencesViewController.strings index 4a8642ad..84f993ee 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ru.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/ru.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Режим энергосбережения"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Деактивировать, если заряд батареи ниже"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Это значение будет игнорироваться, если вы запустите приложение ниже этого предела емкости."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Уровень заряда"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings index a78dde94..f69bb9f0 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/tr.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Düşük güç modu"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Pil kapasitesi aşıldığında devre dışı bırak"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Uygulamayı bu pil kapasitesinin altında manuel olarak başlattığınızda bu değer yok sayılır."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Pil Düzeyi"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/uk.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/uk.lproj/KYABatteryPreferencesViewController.strings index db44376b..737143e1 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/uk.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/uk.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "Режим низького заряду"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "Вимкнути коли заряд акумулятора нижче ніж"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "Ці налаштування будуть проігноровані якщо ви запустите додаток вручну при заряді акумулятора нижче ніж вказано тут."; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "Рівень заряду"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh-Hant-TW.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh-Hant-TW.lproj/KYABatteryPreferencesViewController.strings index e914e385..663308b6 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh-Hant-TW.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh-Hant-TW.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "低耗電模式"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "低於以下電量時停止啟用"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "若為手動啟用,則會無視此設定值。"; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "電池電量"; + diff --git a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh.lproj/KYABatteryPreferencesViewController.strings b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh.lproj/KYABatteryPreferencesViewController.strings index e482578d..d9e75680 100644 --- a/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh.lproj/KYABatteryPreferencesViewController.strings +++ b/KeepingYouAwake/Preferences/KYABatteryPreferencesViewController/zh.lproj/KYABatteryPreferencesViewController.strings @@ -1,21 +1,21 @@ - -/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ -"HtM-vx-ZuN.title" = "10 %"; - -/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ -"M11-sw-GhM.title" = "90 %"; - /* Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; */ "aXx-hk-9R9.title" = "低电量模式"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; */ "gx4-rK-1he.title" = "在电池容量低时停用"; +/* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; */ +"HtM-vx-ZuN.title" = "10 %"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; */ "l4a-Sa-RAE.title" = "当你在电池容量低于此值时手动开启此软件,这个值会被忽略。"; +/* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; */ +"M11-sw-GhM.title" = "90 %"; + /* Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; */ "ovF-0F-TMc.title" = "50 %"; /* Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX"; */ "pvY-d7-nKX.title" = "电池电量"; + diff --git a/Localizations/KeepingYouAwake/da.xcloc/Localized Contents/da.xliff b/Localizations/KeepingYouAwake/da.xcloc/Localized Contents/da.xliff index 0d361a73..4523c54a 100644 --- a/Localizations/KeepingYouAwake/da.xcloc/Localized Contents/da.xliff +++ b/Localizations/KeepingYouAwake/da.xcloc/Localized Contents/da.xliff @@ -171,6 +171,11 @@ Højreklik for at vise menu Avanceret + + Battery + Batteri + + General Generelt @@ -206,35 +211,60 @@ Højreklik for at vise menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Ændre kun disse avancerede indstillinger, hvis du ved hvad du gør. De fleste af disse indstillinger kræver genstar af applikationen. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Energibesparende funktion + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below Deaktiver når batterikapacitet er under - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + Denne værdi ignoreres, når du manuelt starter applikationen under denne batterikapacitet. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Ændre kun disse avancerede indstillinger, hvis du ved hvad du gør. De fleste af disse indstillinger kræver genstar af applikationen. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Denne værdi ignoreres, når du manuelt starter applikationen under denne batterikapacitet. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Batteriniveau + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/de.xcloc/Localized Contents/de.xliff b/Localizations/KeepingYouAwake/de.xcloc/Localized Contents/de.xliff index dfac8124..32a07df7 100644 --- a/Localizations/KeepingYouAwake/de.xcloc/Localized Contents/de.xliff +++ b/Localizations/KeepingYouAwake/de.xcloc/Localized Contents/de.xliff @@ -170,6 +170,11 @@ Rechtsklick, um das Menü anzuzeigen Erweitert
+ + Battery + Batterie + + General Allgemein @@ -205,35 +210,62 @@ Rechtsklick, um das Menü anzuzeigen Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Ändere diese erweiterten Einstellungen nur, wenn du weißt, was du tust. Die meisten dieser Einstellungen erfordern einen Neustart. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; + + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Stromsparmodus kann auf unterstützten Macs in Systemeinstellungen › Batterie aktiviert werden und wird nicht beim Laden angewendet. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Stromsparmodus + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; - + Deactivate when battery capacity is below Deaktivieren, wenn der Ladestand der Batterie niedriger ist als - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; + + + This value will be ignored when you manually start the app below this battery capacity. + Dieser Wert wird ignoriert, wenn du die App unter dieser Kapazitätsgrenze startest. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Deaktivieren, wenn der Stromsparmodus aktiviert ist + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; - + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Ändere diese erweiterten Einstellungen nur, wenn du weißt, was du tust. Die meisten dieser Einstellungen erfordern einen Neustart. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Der Wert wird ignoriert, wenn du die App unter dieser Kapazitätsgrenze startest. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Batteriestatus + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/es.xcloc/Localized Contents/es.xliff b/Localizations/KeepingYouAwake/es.xcloc/Localized Contents/es.xliff index b4174430..7e480ea8 100644 --- a/Localizations/KeepingYouAwake/es.xcloc/Localized Contents/es.xliff +++ b/Localizations/KeepingYouAwake/es.xcloc/Localized Contents/es.xliff @@ -153,6 +153,11 @@ Click derecho para mostar el menú Avanzado
+ + Battery + Batería + + General General @@ -187,35 +192,60 @@ Click derecho para mostar el menú Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Solo cambia estas opciones avanzadas si sabes lo que estas haciendo. La mayoría de estas preferencias requieren reiniciar de la aplicación. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Modo de bajo consumo + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below Desactivar cuando la carga de la batería sea menor a - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + Este valor será ignorado cuando inicie manualmente la aplicación por debajo de esta capacidad de la batería. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Solo cambia estas opciones avanzadas si sabes lo que estas haciendo. La mayoría de estas preferencias requieren reiniciar de la aplicación. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Este valor será ignorado cuando inicie manualmente la aplicación por debajo de esta capacidad de la batería. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Nivel de batería + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/fr.xcloc/Localized Contents/fr.xliff b/Localizations/KeepingYouAwake/fr.xcloc/Localized Contents/fr.xliff index d37e58e1..5b9a5a26 100644 --- a/Localizations/KeepingYouAwake/fr.xcloc/Localized Contents/fr.xliff +++ b/Localizations/KeepingYouAwake/fr.xcloc/Localized Contents/fr.xliff @@ -159,6 +159,11 @@ Clic droit pour le menu Avancées
+ + Battery + Batterie + + General Général @@ -194,35 +199,60 @@ Clic droit pour le menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Vous utilisez ces préférences avancées à vos risques. Ils requièrent un redémarrage de KeepingYouAwake. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Mode économie d’énergie + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below Désactiver quand la batterie est inférieure à - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + Ce réglage sera ignoré si vous lancez l'application manuellement et que la batterie se trouve en dessous de cette valeur. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Vous utilisez ces préférences avancées à vos risques. Ils requièrent un redémarrage de KeepingYouAwake. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Ce réglage sera ignoré si vous lancez l'application manuellement et que la batterie se trouve en dessous de cette valeur. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Niveau de la batterie + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/id.xcloc/Localized Contents/id.xliff b/Localizations/KeepingYouAwake/id.xcloc/Localized Contents/id.xliff index 44ba63d6..3b9e07f6 100644 --- a/Localizations/KeepingYouAwake/id.xcloc/Localized Contents/id.xliff +++ b/Localizations/KeepingYouAwake/id.xcloc/Localized Contents/id.xliff @@ -164,6 +164,11 @@ Klik kanan untuk menampilkan menu Konfigurasi Lanjutan
+ + Battery + Baterai + + General Umum @@ -199,35 +204,60 @@ Klik kanan untuk menampilkan menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Ubah preferensi lanjutan ini hanya jika Anda tahu apa yang Anda lakukan. Sebagian besar preferensi ini memerlukan Anda untuk merestart aplikasi. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Mode daya rendah + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below Nonaktifkan saat kapasitas baterai di bawah - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + Nilai ini akan diabaikan ketika Anda memulai aplikasi secara manual di bawah kapasitas baterai ini. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Ubah preferensi lanjutan ini hanya jika Anda tahu apa yang Anda lakukan. Sebagian besar preferensi ini memerlukan Anda untuk merestart aplikasi. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Nilai ini akan diabaikan ketika Anda memulai aplikasi secara manual di bawah kapasitas baterai ini. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Level Baterai + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/it.xcloc/Localized Contents/it.xliff b/Localizations/KeepingYouAwake/it.xcloc/Localized Contents/it.xliff index ffaa8dd3..b3d9c6aa 100644 --- a/Localizations/KeepingYouAwake/it.xcloc/Localized Contents/it.xliff +++ b/Localizations/KeepingYouAwake/it.xcloc/Localized Contents/it.xliff @@ -171,6 +171,11 @@ Tasto destro per mostrare il menu Avanzate
+ + Battery + Batteria + + General Generali @@ -200,43 +205,66 @@ Tasto destro per mostrare il menu Check - Class = "NSButtonCell"; title = "Check"; ObjectID = "7z8-pS-A86"; Note = "Do not localize"; Text Cell - Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Modifica queste impostazioni avanzate solo se sai quello che stai facendo. La maggior parte richiede un riavvio dell'app. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % - - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + 10 % + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % - - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + 90 % + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - - Deactivate when battery capacity is below - Disattiva quando la carica della batteria è sotto - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; - - 50 % - - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + + Low Power Mode + Risparmio energetico + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Modifica queste impostazioni avanzate solo se sai quello che stai facendo. La maggior parte richiede un riavvio dell'app. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + Deactivate when battery capacity is below + Disattiva quando la carica della batteria è sotto + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + This value will be ignored when you manually start the app below this battery capacity. Questo valore verrà ignorato quando avvierai l'app sotto questo livello di carica della batteria. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + + 50 % + 50 % + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; + + + Battery Level + Livello batteria + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/ja.xcloc/Localized Contents/ja.xliff b/Localizations/KeepingYouAwake/ja.xcloc/Localized Contents/ja.xliff index 1be04f8a..86405490 100644 --- a/Localizations/KeepingYouAwake/ja.xcloc/Localized Contents/ja.xliff +++ b/Localizations/KeepingYouAwake/ja.xcloc/Localized Contents/ja.xliff @@ -154,6 +154,11 @@ Right click to show menu 高度な設定
+ + Battery + バッテリー + + General 一般 @@ -183,43 +188,66 @@ Right click to show menu Check - Check Class = "NSButtonCell"; title = "Check"; ObjectID = "7z8-pS-A86"; Note = "Do not localize"; Text Cell - Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + これらの高度な設定は動作内容を理解した上で変更してください。設定を変更した場合アプリの再起動が必要です + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + 低電力モード + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below バッテリー残量が以下の値より低いときにアプリを無効にする - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + バッテリー残量が少ない状態でアプリを手動で起動した場合この値は無視されます + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - これらの高度な設定は動作内容を理解した上で変更してください。設定を変更した場合アプリの再起動が必要です - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - バッテリー残量が少ない状態でアプリを手動で起動した場合この値は無視されます - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + バッテリー残量 + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/ko.xcloc/Localized Contents/ko.xliff b/Localizations/KeepingYouAwake/ko.xcloc/Localized Contents/ko.xliff index 3676432c..faec5db2 100644 --- a/Localizations/KeepingYouAwake/ko.xcloc/Localized Contents/ko.xliff +++ b/Localizations/KeepingYouAwake/ko.xcloc/Localized Contents/ko.xliff @@ -152,6 +152,11 @@ Right click to show menu 고급
+ + Battery + 배터리 + + General 일반 @@ -186,35 +191,60 @@ Right click to show menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + 고급 환경설정은 내용을 숙지한 경우만 사용하십시오. 대부분의 고급 환경설정은 재시작이 필요합니다. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + 저전력 모드 + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below 배터리 잔량이 부족하면 비활성화 - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + 만일 이 배터리 잔량보다 적을 때 활성화한다면 이 값은 무시됩니다. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - 고급 환경설정은 내용을 숙지한 경우만 사용하십시오. 대부분의 고급 환경설정은 재시작이 필요합니다. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - 만일 이 배터리 잔량보다 적을 때 활성화한다면 이 값은 무시됩니다. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + 배터리 잔량 + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/nl.xcloc/Localized Contents/nl.xliff b/Localizations/KeepingYouAwake/nl.xcloc/Localized Contents/nl.xliff index 3eb60437..bd063a23 100644 --- a/Localizations/KeepingYouAwake/nl.xcloc/Localized Contents/nl.xliff +++ b/Localizations/KeepingYouAwake/nl.xcloc/Localized Contents/nl.xliff @@ -153,6 +153,11 @@ Rechtsklik om het menu te tonen Geavanceerd
+ + Battery + Batterij + + General Algemeen @@ -187,35 +192,60 @@ Rechtsklik om het menu te tonen Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Wijzig deze geavanceerde voorkeuren alleen als u weet wat u doet. De meeste worden pas actief na een herstart. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % - 10% - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + 10 % + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % - 90% - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + 90 % + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - - Deactivate when battery capacity is below - Schakel uit als de batterijlading lager is dan - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; - - 50 % - 50% - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + + Low Power Mode + Energiebesparingsmodus + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Wijzig deze geavanceerde voorkeuren alleen als u weet wat u doet. De meeste worden pas actief na een herstart. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + Deactivate when battery capacity is below + Schakel uit als de batterijlading lager is dan + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + This value will be ignored when you manually start the app below this battery capacity. Deze voorkeur wordt genegeerd als uw Mac al een lagere batterijlading heeft bij het starten van het programma. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + + 50 % + 50 % + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; + + + Battery Level + Batterijniveau + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/pl.xcloc/Localized Contents/pl.xliff b/Localizations/KeepingYouAwake/pl.xcloc/Localized Contents/pl.xliff index 9a16d499..1c373bf6 100644 --- a/Localizations/KeepingYouAwake/pl.xcloc/Localized Contents/pl.xliff +++ b/Localizations/KeepingYouAwake/pl.xcloc/Localized Contents/pl.xliff @@ -151,6 +151,11 @@ Right click to show menu Zaawansowane
+ + Battery + Bateria + + General Ogólne @@ -185,35 +190,60 @@ Right click to show menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Zmień ustawienia zaawansowane tylko, jeśli wiesz co robisz. Większość ustawień wymaga ponownego uruchomienia aplikacji. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Tryb niskiego zużycia energii + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below Wyłącz gdy poziom baterii jest poniżej - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + Wartość zostanie zignorowana jeśli uruchomisz aplikację gdy poziom baterii będzie mniejszy niż podana wartość. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Zmień ustawienia zaawansowane tylko, jeśli wiesz co robisz. Większość ustawień wymaga ponownego uruchomienia aplikacji. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Wartość zostanie zignorowana jeśli uruchomisz aplikację gdy poziom baterii będzie mniejszy niż podana wartość. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Poziom baterii + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/pt.xcloc/Localized Contents/pt.xliff b/Localizations/KeepingYouAwake/pt.xcloc/Localized Contents/pt.xliff index 6c197bea..061cae61 100644 --- a/Localizations/KeepingYouAwake/pt.xcloc/Localized Contents/pt.xliff +++ b/Localizations/KeepingYouAwake/pt.xcloc/Localized Contents/pt.xliff @@ -153,6 +153,11 @@ Clique com o botão direito para exibir o menu Avançado
+ + Battery + Bateria + + General Geral @@ -187,35 +192,60 @@ Clique com o botão direito para exibir o menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Modifique estas opções avançadas apenas se souber o que está fazendo. A maioria destas configurações requerem reiniciar a aplicação. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Modo de baixo consumo + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below Desativar quando a carga da bateria estiver abaixo de - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + Este valor será ignorado quando você inicia manualmente a aplicação abaixo da carga da bateria. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Modifique estas opções avançadas apenas se souber o que está fazendo. A maioria destas configurações requerem reiniciar a aplicação. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Este valor será ignorado quando você inicia manualmente a aplicação abaixo da carga da bateria. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Nível da bateria + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/ru.xcloc/Localized Contents/ru.xliff b/Localizations/KeepingYouAwake/ru.xcloc/Localized Contents/ru.xliff index 8be6a296..9ab3f499 100644 --- a/Localizations/KeepingYouAwake/ru.xcloc/Localized Contents/ru.xliff +++ b/Localizations/KeepingYouAwake/ru.xcloc/Localized Contents/ru.xliff @@ -164,6 +164,11 @@ Right click to show menu Расширенные
+ + Battery + Аккумулятор + + General Основные @@ -199,35 +204,60 @@ Right click to show menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Не изменяйте эти расширенные настройки, если вы не знаете, что делаете. Большинство из этих настроек требуют перезапуска приложения. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Режим энергосбережения + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below Деактивировать, если заряд батареи ниже - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + Это значение будет игнорироваться, если вы запустите приложение ниже этого предела емкости. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Не изменяйте эти расширенные настройки, если вы не знаете, что делаете. Большинство из этих настроек требуют перезапуска приложения. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Это значение будет игнорироваться, если вы запустите приложение ниже этого предела емкости. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Уровень заряда + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/tr.xcloc/Localized Contents/tr.xliff b/Localizations/KeepingYouAwake/tr.xcloc/Localized Contents/tr.xliff index 16681d8d..4ff14e42 100644 --- a/Localizations/KeepingYouAwake/tr.xcloc/Localized Contents/tr.xliff +++ b/Localizations/KeepingYouAwake/tr.xcloc/Localized Contents/tr.xliff @@ -167,6 +167,11 @@ Right click to show menu Gelişmiş
+ + Battery + Pil + + General Genel @@ -202,35 +207,60 @@ Right click to show menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Yalnızca ne yaptığınızı biliyorsanız bu gelişmiş tercihleri değiştirin. Bu tercihlerin birçoğu uygulamanın yeniden başlatılmasını gerektirir. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Düşük güç modu + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below Pil kapasitesi aşıldığında devre dışı bırak - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + Uygulamayı bu pil kapasitesinin altında manuel olarak başlattığınızda bu değer yok sayılır. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Yalnızca ne yaptığınızı biliyorsanız bu gelişmiş tercihleri değiştirin. Bu tercihlerin birçoğu uygulamanın yeniden başlatılmasını gerektirir. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Uygulamayı bu pil kapasitesinin altında manuel olarak başlattığınızda bu değer yok sayılır. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Pil Düzeyi + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/uk.xcloc/Localized Contents/uk.xliff b/Localizations/KeepingYouAwake/uk.xcloc/Localized Contents/uk.xliff index 6dab7224..4cc13e9a 100644 --- a/Localizations/KeepingYouAwake/uk.xcloc/Localized Contents/uk.xliff +++ b/Localizations/KeepingYouAwake/uk.xcloc/Localized Contents/uk.xliff @@ -165,6 +165,11 @@ Right click to show menu Додаткові
+ + Battery + Акумулятор + + General Основні @@ -194,43 +199,66 @@ Right click to show menu Check - Check Class = "NSButtonCell"; title = "Check"; ObjectID = "7z8-pS-A86"; Note = "Do not localize"; Text Cell - Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + Змінюйте ці налаштування якщо ви добре розумієте що робите. Потрібно буде зробити рестарт додатку. + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + Режим низького заряду + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below Вимкнути коли заряд акумулятора нижче ніж - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + Ці налаштування будуть проігноровані якщо ви запустите додаток вручну при заряді акумулятора нижче ніж вказано тут. + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - Змінюйте ці налаштування якщо ви добре розумієте що робите. Потрібно буде зробити рестарт додатку. - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - Ці налаштування будуть проігноровані якщо ви запустите додаток вручну при заряді акумулятора нижче ніж вказано тут. - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + Рівень заряду + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/zh-Hant-TW.xcloc/Localized Contents/zh-Hant-TW.xliff b/Localizations/KeepingYouAwake/zh-Hant-TW.xcloc/Localized Contents/zh-Hant-TW.xliff index 08af7d84..f107d784 100644 --- a/Localizations/KeepingYouAwake/zh-Hant-TW.xcloc/Localized Contents/zh-Hant-TW.xliff +++ b/Localizations/KeepingYouAwake/zh-Hant-TW.xcloc/Localized Contents/zh-Hant-TW.xliff @@ -153,6 +153,11 @@ Right click to show menu 進階
+ + Battery + 電池 + + General 一般 @@ -187,35 +192,60 @@ Right click to show menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + 請於了解設定值意義的前提下修改以下設定。多數設定項目需於重啟後才生效。 + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + 低耗電模式 + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below 低於以下電量時停止啟用 - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + 若為手動啟用,則會無視此設定值。 + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - 請於了解設定值意義的前提下修改以下設定。多數設定項目需於重啟後才生效。 - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - 若為手動啟用,則會無視此設定值。 - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + 電池電量 + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";
diff --git a/Localizations/KeepingYouAwake/zh.xcloc/Localized Contents/zh.xliff b/Localizations/KeepingYouAwake/zh.xcloc/Localized Contents/zh.xliff index cd376bb4..c2841dd9 100644 --- a/Localizations/KeepingYouAwake/zh.xcloc/Localized Contents/zh.xliff +++ b/Localizations/KeepingYouAwake/zh.xcloc/Localized Contents/zh.xliff @@ -151,6 +151,11 @@ Right click to show menu 高级设置
+ + Battery + 电池 + + General 通用 @@ -185,35 +190,60 @@ Right click to show menu Text Cell Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HPO-gf-tIY"; Note = "Do not localize"; - + + Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. + 请只在了解如下设置的前提下修改。大多数设置都需要重启此软件才能生效。 + Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; + + + + +
+ +
+ + 10 % 10 % - Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "QZN-1k-USs"; + Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "HtM-vx-ZuN"; - + 90 % 90 % - Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "ViM-Dg-sVF"; + Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "M11-sw-GhM"; - + + Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging. + Class = "NSTextFieldCell"; title = "Low Power Mode can be enabled on supported Macs in System Preferences › Battery and will not apply while charging."; ObjectID = "SHH-RQ-HPH"; + + + Low Power Mode + 低电量模式 + Class = "NSTextFieldCell"; title = "Low Power Mode"; ObjectID = "aXx-hk-9R9"; + + Deactivate when battery capacity is below 在电池容量低时停用 - Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "a5l-du-7Rf"; + Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "gx4-rK-1he"; - + + This value will be ignored when you manually start the app below this battery capacity. + 当你在电池容量低于此值时手动开启此软件,这个值会被忽略。 + Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "l4a-Sa-RAE"; + + + Deactivate when Low Power Mode is enabled + Class = "NSButtonCell"; title = "Deactivate when Low Power Mode is enabled"; ObjectID = "mcf-JV-nyg"; + + 50 % 50 % - Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "pcX-L6-8PY"; + Class = "NSTextFieldCell"; title = "50 %"; ObjectID = "ovF-0F-TMc"; - - Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart. - 请只在了解如下设置的前提下修改。大多数设置都需要重启此软件才能生效。 - Class = "NSTextFieldCell"; title = "Only change these advanced preferences if you know what you are doing. Most of these preferences require an app restart."; ObjectID = "xdm-wP-gM6"; - - - This value will be ignored when you manually start the app below this battery capacity. - 当你在电池容量低于此值时手动开启此软件,这个值会被忽略。 - Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "z26-wh-jCm"; + + Battery Level + 电池电量 + Class = "NSTextFieldCell"; title = "Battery Level"; ObjectID = "pvY-d7-nKX";