Skip to content

Commit

Permalink
Added Slovak language + minor version bump (#1498)
Browse files Browse the repository at this point in the history
  • Loading branch information
waydabber committed Jan 4, 2024
1 parent caf0368 commit b2164f7
Show file tree
Hide file tree
Showing 7 changed files with 608 additions and 17 deletions.
11 changes: 9 additions & 2 deletions MonitorControl.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@
AAB2F63F273ED0B8004AB5A4 /* .bartycrouch.toml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .bartycrouch.toml; sourceTree = "<group>"; };
AAB2F641273ED0C7004AB5A4 /* .github */ = {isa = PBXFileReference; lastKnownFileType = folder; path = .github; sourceTree = "<group>"; };
AAB2F643273ED0E9004AB5A4 /* License.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = License.txt; sourceTree = "<group>"; };
AABCFABB2B47247200344F55 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/Main.strings; sourceTree = "<group>"; };
AABCFABC2B47247200344F55 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/InternetAccessPolicy.strings; sourceTree = "<group>"; };
AABCFABD2B47247200344F55 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/Localizable.strings; sourceTree = "<group>"; };
AACE5E2227050C63006C2A48 /* NSNotification+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSNotification+Extension.swift"; sourceTree = "<group>"; };
AADB625926BC196900DFFAA5 /* DisplayServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = DisplayServices.framework; path = /System/Library/PrivateFrameworks/DisplayServices.framework; sourceTree = "<absolute>"; };
B7FA437E2AC5857A00A94C01 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Main.strings; sourceTree = "<group>"; };
Expand Down Expand Up @@ -464,6 +467,7 @@
ja,
"pt-PT",
hi,
sk,
);
mainGroup = 56754EA21D9A4016007BCDC5;
packageReferences = (
Expand Down Expand Up @@ -671,6 +675,7 @@
B7FA437E2AC5857A00A94C01 /* ja */,
FB5DB28E2AD54C4600306223 /* pt-PT */,
01D6471D2AF916A800321FFB /* hi */,
AABCFABB2B47247200344F55 /* sk */,
);
name = Main.storyboard;
sourceTree = "<group>";
Expand All @@ -696,6 +701,7 @@
B7FA437F2AC5857A00A94C01 /* ja */,
FB5DB28F2AD54C4600306223 /* pt-PT */,
01D6471E2AF916A800321FFB /* hi */,
AABCFABC2B47247200344F55 /* sk */,
);
name = InternetAccessPolicy.strings;
sourceTree = "<group>";
Expand All @@ -721,6 +727,7 @@
B7FA43802AC5857A00A94C01 /* ja */,
FB5DB2902AD54C4600306223 /* pt-PT */,
01D6471F2AF916A800321FFB /* hi */,
AABCFABD2B47247200344F55 /* sk */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand Down Expand Up @@ -864,7 +871,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 4.2.0;
MARKETING_VERSION = 4.2.1;
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -899,7 +906,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 4.2.0;
MARKETING_VERSION = 4.2.1;
PRODUCT_BUNDLE_IDENTIFIER = me.guillaumeb.MonitorControl;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion MonitorControl/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>7050</string>
<string>7052</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
24 changes: 11 additions & 13 deletions MonitorControl/Support/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,17 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}
}

lazy var preferencesWindowController: PreferencesWindowController = {
PreferencesWindowController(
preferencePanes: [
mainPrefsVc!,
menuslidersPrefsVc!,
keyboardPrefsVc!,
displaysPrefsVc!,
aboutPrefsVc!,
],
style: self.preferencePaneStyle,
animated: true
)
}()
lazy var preferencesWindowController: PreferencesWindowController = .init(
preferencePanes: [
mainPrefsVc!,
menuslidersPrefsVc!,
keyboardPrefsVc!,
displaysPrefsVc!,
aboutPrefsVc!,
],
style: self.preferencePaneStyle,
animated: true
)

func applicationDidFinishLaunching(_: Notification) {
app = self
Expand Down
11 changes: 11 additions & 0 deletions MonitorControl/UI/sk.lproj/InternetAccessPolicy.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* General application description */
"ApplicationDescription" = "MonitorControl umožňuje ovládať jas a hlasitosť externých displejov";

/* Sofware update deny consequences */
"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.";

/* Software update purpose */
"SoftwareUpdatePurpose" = "MonitorControl kontroluje nové verzie a aktualizácie zabezpečenia.";

/* Class = "NSButtonCell"; title = "Check for updates"; ObjectID = "jVH-oc-rUi"; */
"jVH-oc-rUi.title" = "Skontrolovať aktualizácie";
155 changes: 155 additions & 0 deletions MonitorControl/UI/sk.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
/* Shown in the main prefs window */
"About" = "O aplikácii";

/* Shown in the alert dialog */
"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!";

/* Shown in the main prefs window */
"App menu" = "Menu aplikácie";

/* Shown in the alert dialog */
"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é.";

/* Shown in the alert dialog */
"Are you sure you want to reset all preferences?" = "Naozaj chcete obnoviť všetky predvoľby?";

/* Shown in menu */
"Brightness" = "Jas";

/* Build */
"Build" = "Zostava";

/* Shown in the Display Preferences */
"Built-in Display" = "Vstavaný displej";

/* Shown in menu */
"Check for updates…" = "Skontrolovať aktualizácie…";

/* Shown in menu */
"Contrast" = "Kontrast";

/* Version */
"Copyright Ⓒ MonitorControl, " = "Copyright Ⓒ MonitorControl, ";

/* Shown in record shortcut box */
"Decrease" = "Znížiť";

/* Shown in the alert dialog */
"Disable gamma control for my displays" = "Zakázať ovládanie gama pre moje displeje";

/* Shown in the main prefs window */
"Displays" = "Displeje";

/* Shown in the alert dialog */
"Enable Longer Delay?" = "Povoliť dlhšie oneskorenie?";

/* Shown in the Display Preferences */
"External Display" = "Externý displej";

/* Shown in the main prefs window */
"General" = "Všeobecné";

/* Shown in the Display Preferences */
"Hardware (Apple)" = "Hardvér (Apple)";

/* Shown in the Display Preferences */
"Hardware (DDC)" = "Hardvér (DDC)";

/* Shown in the alert dialog */
"I'll quit the other app" = "Ukončím druhú aplikáciu";

/* Shown in the alert dialog */
"Incompatible previous version" = "Nekompatibilná predošlá verzia";

/* Shown in record shortcut box */
"Increase" = "Zvýšiť";

/* Shown in the alert dialog */
"Is f.lux or similar running?" = "Je spustený f.lux alebo niečo podobné?";

/* Shown in the main prefs window */
"Keyboard" = "Klávesnica";

/* Shown in record shortcut box */
"Mute" = "Stlmiť";

/* Shown in the alert dialog */
"No" = "Nie";

/* Shown in the Display Preferences */
"No Control" = "Bez ovládania";

/* Shown in the Display Preferences */
"Other Display" = "Iný displej";

/* Shown in the alert dialog */
"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.";

/* Shown in menu */
"Preferences…" = "Predvoľby…";

/* Shown in menu */
"Quit" = "Ukončiť";

/* Shown in the alert dialog */
"Reset Preferences?" = "Obnoviť predvoľby?";

/* Shown in the alert dialog */
"Safe Mode Activated" = "Aktivovaný núdzový režim";

/* Shown in the alert dialog */
"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.";

/* Shown in the alert dialog */
"Shortcuts not available" = "Skratky nie sú k dispozícii";

/* Shown in the Display Preferences */
"Software (gamma)" = "Softvér (gama)";

/* Shown in the Display Preferences */
"Software (gamma, forced)" = "Softvér (gama, vynútené)";

/* Shown in the Display Preferences */
"Software (shade)" = "Softvér (tienenie)";

/* Shown in the Display Preferences */
"Software (shade, forced)" = "Softvér (tienenie, vynútené)";

/* Sofware update deny consequences */
"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.";

/* Shown in the Display Preferences */
"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.";

/* Shown in the Display Preferences */
"This display has an unspecified control status." = "Tento displej má nešpecifikovaný stav ovládania.";

/* Shown in the Display Preferences */
"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.";

/* Shown in the Display Preferences */
"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.";

/* Shown in the Display Preferences */
"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.";

/* Shown in the Display Preferences */
"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.";

/* Unknown display name */
"Unknown" = "Neznámy";

/* Version */
"Version" = "Verzia";

/* Shown in the Display Preferences */
"Virtual Display" = "Virtuálny displej";

/* Shown in menu */
"Volume" = "Hlasitosť";

/* Shown in the alert dialog */
"Yes" = "Áno";

/* Shown in the alert dialog */
"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 comments on commit b2164f7

Please sign in to comment.