Skip to content

Commit b2164f7

Browse files
authored
Added Slovak language + minor version bump (MonitorControl#1498)
1 parent caf0368 commit b2164f7

7 files changed

Lines changed: 608 additions & 17 deletions

File tree

MonitorControl.xcodeproj/project.pbxproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@
158158
AAB2F63F273ED0B8004AB5A4 /* .bartycrouch.toml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .bartycrouch.toml; sourceTree = "<group>"; };
159159
AAB2F641273ED0C7004AB5A4 /* .github */ = {isa = PBXFileReference; lastKnownFileType = folder; path = .github; sourceTree = "<group>"; };
160160
AAB2F643273ED0E9004AB5A4 /* License.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = License.txt; sourceTree = "<group>"; };
161+
AABCFABB2B47247200344F55 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/Main.strings; sourceTree = "<group>"; };
162+
AABCFABC2B47247200344F55 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/InternetAccessPolicy.strings; sourceTree = "<group>"; };
163+
AABCFABD2B47247200344F55 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/Localizable.strings; sourceTree = "<group>"; };
161164
AACE5E2227050C63006C2A48 /* NSNotification+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSNotification+Extension.swift"; sourceTree = "<group>"; };
162165
AADB625926BC196900DFFAA5 /* DisplayServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = DisplayServices.framework; path = /System/Library/PrivateFrameworks/DisplayServices.framework; sourceTree = "<absolute>"; };
163166
B7FA437E2AC5857A00A94C01 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Main.strings; sourceTree = "<group>"; };
@@ -464,6 +467,7 @@
464467
ja,
465468
"pt-PT",
466469
hi,
470+
sk,
467471
);
468472
mainGroup = 56754EA21D9A4016007BCDC5;
469473
packageReferences = (
@@ -671,6 +675,7 @@
671675
B7FA437E2AC5857A00A94C01 /* ja */,
672676
FB5DB28E2AD54C4600306223 /* pt-PT */,
673677
01D6471D2AF916A800321FFB /* hi */,
678+
AABCFABB2B47247200344F55 /* sk */,
674679
);
675680
name = Main.storyboard;
676681
sourceTree = "<group>";
@@ -696,6 +701,7 @@
696701
B7FA437F2AC5857A00A94C01 /* ja */,
697702
FB5DB28F2AD54C4600306223 /* pt-PT */,
698703
01D6471E2AF916A800321FFB /* hi */,
704+
AABCFABC2B47247200344F55 /* sk */,
699705
);
700706
name = InternetAccessPolicy.strings;
701707
sourceTree = "<group>";
@@ -721,6 +727,7 @@
721727
B7FA43802AC5857A00A94C01 /* ja */,
722728
FB5DB2902AD54C4600306223 /* pt-PT */,
723729
01D6471F2AF916A800321FFB /* hi */,
730+
AABCFABD2B47247200344F55 /* sk */,
724731
);
725732
name = Localizable.strings;
726733
sourceTree = "<group>";
@@ -864,7 +871,7 @@
864871
"@executable_path/../Frameworks",
865872
);
866873
MACOSX_DEPLOYMENT_TARGET = 10.14;
867-
MARKETING_VERSION = 4.2.0;
874+
MARKETING_VERSION = 4.2.1;
868875
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
869876
PRODUCT_NAME = "$(TARGET_NAME)";
870877
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -899,7 +906,7 @@
899906
"@executable_path/../Frameworks",
900907
);
901908
MACOSX_DEPLOYMENT_TARGET = 10.14;
902-
MARKETING_VERSION = 4.2.0;
909+
MARKETING_VERSION = 4.2.1;
903910
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
904911
PRODUCT_NAME = "$(TARGET_NAME)";
905912
PROVISIONING_PROFILE_SPECIFIER = "";

MonitorControl/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>7050</string>
22+
<string>7052</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.utilities</string>
2525
<key>LSMinimumSystemVersion</key>

MonitorControl/Support/AppDelegate.swift

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,17 @@ class AppDelegate: NSObject, NSApplicationDelegate {
3232
}
3333
}
3434

35-
lazy var preferencesWindowController: PreferencesWindowController = {
36-
PreferencesWindowController(
37-
preferencePanes: [
38-
mainPrefsVc!,
39-
menuslidersPrefsVc!,
40-
keyboardPrefsVc!,
41-
displaysPrefsVc!,
42-
aboutPrefsVc!,
43-
],
44-
style: self.preferencePaneStyle,
45-
animated: true
46-
)
47-
}()
35+
lazy var preferencesWindowController: PreferencesWindowController = .init(
36+
preferencePanes: [
37+
mainPrefsVc!,
38+
menuslidersPrefsVc!,
39+
keyboardPrefsVc!,
40+
displaysPrefsVc!,
41+
aboutPrefsVc!,
42+
],
43+
style: self.preferencePaneStyle,
44+
animated: true
45+
)
4846

4947
func applicationDidFinishLaunching(_: Notification) {
5048
app = self
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* General application description */
2+
"ApplicationDescription" = "MonitorControl umožňuje ovládať jas a hlasitosť externých displejov";
3+
4+
/* Sofware update deny consequences */
5+
"SoftwareUpdateDenyConsequences" = "Ak tieto pripojenia zakážete, nebudete informovaný o nových verziách a aktualizáciách zabezpečenia. Aktualizácie zabezpečenia sú dôležité na ochranu pred útokmi škodlivého softvéru.";
6+
7+
/* Software update purpose */
8+
"SoftwareUpdatePurpose" = "MonitorControl kontroluje nové verzie a aktualizácie zabezpečenia.";
9+
10+
/* Class = "NSButtonCell"; title = "Check for updates"; ObjectID = "jVH-oc-rUi"; */
11+
"jVH-oc-rUi.title" = "Skontrolovať aktualizácie";
Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
/* Shown in the main prefs window */
2+
"About" = "O aplikácii";
3+
4+
/* Shown in the alert dialog */
5+
"An other app seems to change the brightness or colors which causes issues.\n\nTo solve this, you need to quit the other app or disable gamma control for your displays in MonitorControl!" = "Zdá sa, že iná aplikácia mení jas alebo farby, čo spôsobuje problémy.\n\nPre vyriešenie musíte ukončiť druhú aplikáciu alebo zakázať ovládanie gama pre vaše displeje v MonitorControl!";
6+
7+
/* Shown in the main prefs window */
8+
"App menu" = "Menu aplikácie";
9+
10+
/* Shown in the alert dialog */
11+
"Are you sure you want to enable a longer delay? Doing so may freeze your system and require a restart. Start at login will be disabled as a safety measure." = "Naozaj chcete povoliť dlhšie oneskorenie? Ak tak urobíte, môže dôjsť k zamrznutiu systému a potrebe jeho reštartovania. Spustenie pri štarte bude z bezpečnostných dôvodov vypnuté.";
12+
13+
/* Shown in the alert dialog */
14+
"Are you sure you want to reset all preferences?" = "Naozaj chcete obnoviť všetky predvoľby?";
15+
16+
/* Shown in menu */
17+
"Brightness" = "Jas";
18+
19+
/* Build */
20+
"Build" = "Zostava";
21+
22+
/* Shown in the Display Preferences */
23+
"Built-in Display" = "Vstavaný displej";
24+
25+
/* Shown in menu */
26+
"Check for updates…" = "Skontrolovať aktualizácie…";
27+
28+
/* Shown in menu */
29+
"Contrast" = "Kontrast";
30+
31+
/* Version */
32+
"Copyright Ⓒ MonitorControl, " = "Copyright Ⓒ MonitorControl, ";
33+
34+
/* Shown in record shortcut box */
35+
"Decrease" = "Znížiť";
36+
37+
/* Shown in the alert dialog */
38+
"Disable gamma control for my displays" = "Zakázať ovládanie gama pre moje displeje";
39+
40+
/* Shown in the main prefs window */
41+
"Displays" = "Displeje";
42+
43+
/* Shown in the alert dialog */
44+
"Enable Longer Delay?" = "Povoliť dlhšie oneskorenie?";
45+
46+
/* Shown in the Display Preferences */
47+
"External Display" = "Externý displej";
48+
49+
/* Shown in the main prefs window */
50+
"General" = "Všeobecné";
51+
52+
/* Shown in the Display Preferences */
53+
"Hardware (Apple)" = "Hardvér (Apple)";
54+
55+
/* Shown in the Display Preferences */
56+
"Hardware (DDC)" = "Hardvér (DDC)";
57+
58+
/* Shown in the alert dialog */
59+
"I'll quit the other app" = "Ukončím druhú aplikáciu";
60+
61+
/* Shown in the alert dialog */
62+
"Incompatible previous version" = "Nekompatibilná predošlá verzia";
63+
64+
/* Shown in record shortcut box */
65+
"Increase" = "Zvýšiť";
66+
67+
/* Shown in the alert dialog */
68+
"Is f.lux or similar running?" = "Je spustený f.lux alebo niečo podobné?";
69+
70+
/* Shown in the main prefs window */
71+
"Keyboard" = "Klávesnica";
72+
73+
/* Shown in record shortcut box */
74+
"Mute" = "Stlmiť";
75+
76+
/* Shown in the alert dialog */
77+
"No" = "Nie";
78+
79+
/* Shown in the Display Preferences */
80+
"No Control" = "Bez ovládania";
81+
82+
/* Shown in the Display Preferences */
83+
"Other Display" = "Iný displej";
84+
85+
/* Shown in the alert dialog */
86+
"Preferences for an incompatible previous app version detected. Default preferences are reloaded." = "Zistené predvoľby pre nekompatibilnú predošlú verziu aplikácie. Predvolené nastavenia sa načítajú znova.";
87+
88+
/* Shown in menu */
89+
"Preferences…" = "Predvoľby…";
90+
91+
/* Shown in menu */
92+
"Quit" = "Ukončiť";
93+
94+
/* Shown in the alert dialog */
95+
"Reset Preferences?" = "Obnoviť predvoľby?";
96+
97+
/* Shown in the alert dialog */
98+
"Safe Mode Activated" = "Aktivovaný núdzový režim";
99+
100+
/* Shown in the alert dialog */
101+
"Shift was pressed during launch. MonitorControl started in safe mode. Default preferences are reloaded, DDC read is blocked." = "Počas spustenia bol stlačený Shift. MonitorControl sa spustil v núdzovom režime. Predvolené nastavenia sa znova načítajú, čítanie DDC sa zablokuje.";
102+
103+
/* Shown in the alert dialog */
104+
"Shortcuts not available" = "Skratky nie sú k dispozícii";
105+
106+
/* Shown in the Display Preferences */
107+
"Software (gamma)" = "Softvér (gama)";
108+
109+
/* Shown in the Display Preferences */
110+
"Software (gamma, forced)" = "Softvér (gama, vynútené)";
111+
112+
/* Shown in the Display Preferences */
113+
"Software (shade)" = "Softvér (tienenie)";
114+
115+
/* Shown in the Display Preferences */
116+
"Software (shade, forced)" = "Softvér (tienenie, vynútené)";
117+
118+
/* Sofware update deny consequences */
119+
"SoftwareUpdateDenyConsequences" = "Ak tieto pripojenia zakážete, nebudete informovaný o nových verziách a aktualizáciách zabezpečenia. Aktualizácie zabezpečenia sú dôležité na ochranu pred útokmi škodlivého softvéru.";
120+
121+
/* Shown in the Display Preferences */
122+
"This display allows for software brightness control via gamma table manipulation or shade as it does not support hardware control. Reasons for this might be using the HDMI port of a Mac mini (which blocks hardware DDC control) or having a blacklisted display." = "Tento displej umožňuje softvérové ovládanie jasu pomocou manipulácie s gama tabuľkami alebo tienením, pretože nepodporuje hardvérové ovládanie. Dôvodom môže byť použitie HDMI portu Mac mini (ktorý blokuje hardvérové ovládanie DDC) alebo použitie displeja z čiernej listiny.";
123+
124+
/* Shown in the Display Preferences */
125+
"This display has an unspecified control status." = "Tento displej má nešpecifikovaný stav ovládania.";
126+
127+
/* Shown in the Display Preferences */
128+
"This display is reported to support hardware DDC control but the current settings allow for software control only." = "Tento displej údajne podporuje hardvérové ovládanie DDC, ale súčasné nastavenia umožňujú len softvérové ovládanie.";
129+
130+
/* Shown in the Display Preferences */
131+
"This display is reported to support hardware DDC control. If you encounter issues, you can disable hardware DDC control to force software control." = "Tento displej údajne podporuje hardvérové ovládanie DDC. Ak sa vyskytnú problémy, môžete vypnúť hardvérové ovládanie DDC a vynútiť si softvérové ovládanie.";
132+
133+
/* Shown in the Display Preferences */
134+
"This display supports native Apple brightness protocol. This allows macOS to control this display without MonitorControl as well." = "Tento displej podporuje natívny protokol jasu Apple. To umožňuje systému macOS ovládať tento displej aj bez MonitorControl.";
135+
136+
/* Shown in the Display Preferences */
137+
"This is a virtual display (examples: AirPlay, Sidecar, display connected via a DisplayLink Dock or similar) which does not allow hardware or software gammatable control. Shading is used as a substitute but only in non-mirror scenarios. Mouse cursor will be unaffected and artifacts may appear when entering/leaving full screen mode." = "Ide o virtuálny displej (napr.: AirPlay, Sidecar, displej pripojený cez DisplayLink Dock alebo podobné), ktorý neumožňuje hardvérové alebo softvérové ovládanie. Tieňovanie sa používa ako náhrada, ale iba okrem zrkadlenia. Kurzor myši nebude ovplyvnený a pri vstupe/opustení režimu celej obrazovky sa môžu objaviť artefakty.";
138+
139+
/* Unknown display name */
140+
"Unknown" = "Neznámy";
141+
142+
/* Version */
143+
"Version" = "Verzia";
144+
145+
/* Shown in the Display Preferences */
146+
"Virtual Display" = "Virtuálny displej";
147+
148+
/* Shown in menu */
149+
"Volume" = "Hlasitosť";
150+
151+
/* Shown in the alert dialog */
152+
"Yes" = "Áno";
153+
154+
/* Shown in the alert dialog */
155+
"You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "Pre fungovanie klávesových skratiek musíte zapnúť MonitorControl v Systémové nastavenia > Súkromie a bezpečnosť > Prístupnosť";

0 commit comments

Comments
 (0)