diff --git a/.bartycrouch.toml b/.bartycrouch.toml new file mode 100644 index 0000000..4ee80aa --- /dev/null +++ b/.bartycrouch.toml @@ -0,0 +1,35 @@ +[update] +tasks = ["interfaces", "code", "transform", "normalize"] + +[update.interfaces] +paths = ["."] +defaultToBase = true +ignoreEmptyStrings = true +unstripped = true + +[update.code] +codePaths = ["./MonitorControl"] +localizablePaths = ["."] +defaultToKeys = true +additive = true +unstripped = true +plistArguments = true + +[update.transform] +codePaths = ["./MonitorControl"] +localizablePaths = ["."] +transformer = "foundation" +supportedLanguageEnumPath = "." +typeName = "BartyCrouch" +translateMethodName = "translate" + +[update.normalize] +paths = ["."] +sourceLocale = "en" +harmonizeWithSource = true +sortByKeys = true + +[lint] +paths = ["."] +duplicateKeys = true +emptyValues = true diff --git a/MonitorControl/Support/de.lproj/Localizable.strings b/MonitorControl/Support/de.lproj/Localizable.strings index 9b6ffef..42a62ed 100644 --- a/MonitorControl/Support/de.lproj/Localizable.strings +++ b/MonitorControl/Support/de.lproj/Localizable.strings @@ -1,3 +1,11 @@ +/* Shown in the main prefs window */ +"Advanced" = "Erweitert"; + +/* 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." = "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."; + +/* Shown in the alert dialog */ +"Are you sure you want to reset all preferences?" = "Are you sure you want to reset all preferences?"; /* Shown in menu */ "Brightness" = "Helligkeit"; @@ -14,14 +22,17 @@ /* Shown in the main prefs window */ "Display" = "Monitor"; +/* Shown in the alert dialog */ +"Enable Longer Delay?" = "Enable Longer Delay?"; + /* Shown in the main prefs window */ "General" = "Allgemein"; /* Shown in the main prefs window */ "Keys" = "Tasten"; -/* Shown in the main prefs window */ -"Advanced" = "Erweitert"; +/* Shown in the alert dialog */ +"No" = "No"; /* Shown in menu */ "No supported display found" = "Kein unterstützter Monitor angeschlossen"; @@ -32,6 +43,9 @@ /* Shown in Preferences window */ "Preferences" = "Einstellungen"; +/* Shown in the alert dialog */ +"Reset Preferences?" = "Reset Preferences?"; + /* Shown in menu */ "Set as default" = "Als Standard festlegen"; @@ -49,5 +63,8 @@ /* Shown in menu */ "Volume" = "Lautstärke"; +/* Shown in the alert dialog */ +"Yes" = "Yes"; + /* Shown in the alert dialog */ "You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "Du musst MonitorControl in Systemeinstellungen > Sicherheit > Datenschutz > Bedienungshilfen aktivieren, damit die Kurzbefehle funktionieren."; diff --git a/MonitorControl/Support/en.lproj/Localizable.strings b/MonitorControl/Support/en.lproj/Localizable.strings index bfd018b..d16cd64 100644 --- a/MonitorControl/Support/en.lproj/Localizable.strings +++ b/MonitorControl/Support/en.lproj/Localizable.strings @@ -1,3 +1,11 @@ +/* Shown in the main prefs window */ +"Advanced" = "Advanced"; + +/* 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." = "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."; + +/* Shown in the alert dialog */ +"Are you sure you want to reset all preferences?" = "Are you sure you want to reset all preferences?"; /* Sown in menu */ "Brightness" = "Brightness"; @@ -14,12 +22,18 @@ /* No comment provided by engineer. */ "Display" = "Display"; +/* Shown in the alert dialog */ +"Enable Longer Delay?" = "Enable Longer Delay?"; + /* Shown in the main prefs window */ "General" = "General"; /* Shown in the main prefs window */ "Keys" = "Keys"; +/* Shown in the alert dialog */ +"No" = "No"; + /* Shown in menu */ "No supported display found" = "No supported display found"; @@ -29,6 +43,9 @@ /* Shown in Preferences window */ "Preferences" = "Preferences"; +/* Shown in the alert dialog */ +"Reset Preferences?" = "Reset Preferences?"; + /* Shown in menu */ "Set as default" = "Set as default"; @@ -46,5 +63,8 @@ /* Shown in menu */ "Volume" = "Volume"; +/* Shown in the alert dialog */ +"Yes" = "Yes"; + /* Shown in the alert dialog */ "You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work"; diff --git a/MonitorControl/Support/fr.lproj/Localizable.strings b/MonitorControl/Support/fr.lproj/Localizable.strings index ddf0f4b..dbb1a22 100644 --- a/MonitorControl/Support/fr.lproj/Localizable.strings +++ b/MonitorControl/Support/fr.lproj/Localizable.strings @@ -1,3 +1,11 @@ +/* Shown in the main prefs window */ +"Advanced" = "Advanced"; + +/* 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." = "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."; + +/* Shown in the alert dialog */ +"Are you sure you want to reset all preferences?" = "Are you sure you want to reset all preferences?"; /* Sown in menu */ "Brightness" = "Luminosité"; @@ -14,12 +22,18 @@ /* No comment provided by engineer. */ "Display" = "Écrans"; +/* Shown in the alert dialog */ +"Enable Longer Delay?" = "Enable Longer Delay?"; + /* Shown in the main prefs window */ "General" = "Général"; /* Shown in the main prefs window */ "Keys" = "Touches"; +/* Shown in the alert dialog */ +"No" = "No"; + /* Shown in menu */ "No supported display found" = "Aucun écran supporté trouvé"; @@ -29,6 +43,9 @@ /* Shown in Preferences window */ "Preferences" = "Préférences"; +/* Shown in the alert dialog */ +"Reset Preferences?" = "Reset Preferences?"; + /* Shown in menu */ "Set as default" = "Enregistrer comme écran par défaut"; @@ -46,5 +63,8 @@ /* Shown in menu */ "Volume" = "Volume"; +/* Shown in the alert dialog */ +"Yes" = "Yes"; + /* Shown in the alert dialog */ "You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "Vous devez activer MonitorControl dans Préférences Système > Sécurité et confidentialité > Accessibilité pour que les raccourcis clavier fonctionnes"; diff --git a/MonitorControl/Support/it.lproj/Localizable.strings b/MonitorControl/Support/it.lproj/Localizable.strings index cf56a06..50d4a61 100644 Binary files a/MonitorControl/Support/it.lproj/Localizable.strings and b/MonitorControl/Support/it.lproj/Localizable.strings differ diff --git a/MonitorControl/Support/ja.lproj/Localizable.strings b/MonitorControl/Support/ja.lproj/Localizable.strings index 4feee1e..8776ebd 100644 --- a/MonitorControl/Support/ja.lproj/Localizable.strings +++ b/MonitorControl/Support/ja.lproj/Localizable.strings @@ -1,3 +1,11 @@ +/* Shown in the main prefs window */ +"Advanced" = "詳細設定"; + +/* 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." = "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."; + +/* Shown in the alert dialog */ +"Are you sure you want to reset all preferences?" = "Are you sure you want to reset all preferences?"; /* Sown in menu */ "Brightness" = "画面輝度"; @@ -14,14 +22,17 @@ /* No comment provided by engineer. */ "Display" = "ディスプレイ"; +/* Shown in the alert dialog */ +"Enable Longer Delay?" = "Enable Longer Delay?"; + /* Shown in the main prefs window */ "General" = "一般"; /* Shown in the main prefs window */ "Keys" = "キー"; -/* Shown in the main prefs window */ -"Advanced" = "詳細設定"; +/* Shown in the alert dialog */ +"No" = "No"; /* Shown in menu */ "No supported display found" = "サポートされていないディスプレイが検知されました"; @@ -32,6 +43,9 @@ /* Shown in Preferences window */ "Preferences" = "環境設定"; +/* Shown in the alert dialog */ +"Reset Preferences?" = "Reset Preferences?"; + /* Shown in menu */ "Set as default" = "デフォルトとして設定"; @@ -49,5 +63,8 @@ /* Shown in menu */ "Volume" = "音量"; +/* Shown in the alert dialog */ +"Yes" = "Yes"; + /* Shown in the alert dialog */ "You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "ショートカットキーを使用するには、 環境設定 > セキュリティとプライバシー > アクセリビリティ からMonitorControlを有効にしてください。"; diff --git a/MonitorControl/Support/pl.lproj/Localizable.strings b/MonitorControl/Support/pl.lproj/Localizable.strings index 5afaf39..288eb7c 100644 --- a/MonitorControl/Support/pl.lproj/Localizable.strings +++ b/MonitorControl/Support/pl.lproj/Localizable.strings @@ -1,3 +1,11 @@ +/* Shown in the main prefs window */ +"Advanced" = "Zaawansowane"; + +/* 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." = "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."; + +/* Shown in the alert dialog */ +"Are you sure you want to reset all preferences?" = "Are you sure you want to reset all preferences?"; /* Sown in menu */ "Brightness" = "Jasność"; @@ -14,14 +22,17 @@ /* No comment provided by engineer. */ "Display" = "Wyświetlacz"; +/* Shown in the alert dialog */ +"Enable Longer Delay?" = "Enable Longer Delay?"; + /* Shown in the main prefs window */ "General" = "Ogólne"; /* Shown in the main prefs window */ "Keys" = "Klawisze"; -/* Shown in the main prefs window */ -"Advanced" = "Zaawansowane"; +/* Shown in the alert dialog */ +"No" = "No"; /* Shown in menu */ "No supported display found" = "Nie znaleziono obsługiwanego wyświetlacza"; @@ -32,6 +43,9 @@ /* Shown in Preferences window */ "Preferences" = "Preferencje"; +/* Shown in the alert dialog */ +"Reset Preferences?" = "Reset Preferences?"; + /* Shown in menu */ "Set as default" = "Ustaw jako domyślne"; @@ -49,5 +63,8 @@ /* Shown in menu */ "Volume" = "Głośność"; +/* Shown in the alert dialog */ +"Yes" = "Yes"; + /* Shown in the alert dialog */ "You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "Musisz włączyć MonitorControl w Preferencjach systemowych> Bezpieczeństwo i prywatność> Ułatwienie dostępu dla skrótów klawiszowych"; diff --git a/MonitorControl/Support/ru.lproj/Localizable.strings b/MonitorControl/Support/ru.lproj/Localizable.strings index a181910..b5f3081 100644 --- a/MonitorControl/Support/ru.lproj/Localizable.strings +++ b/MonitorControl/Support/ru.lproj/Localizable.strings @@ -1,3 +1,11 @@ +/* Shown in the main prefs window */ +"Advanced" = "Дополнительные"; + +/* 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." = "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."; + +/* Shown in the alert dialog */ +"Are you sure you want to reset all preferences?" = "Are you sure you want to reset all preferences?"; /* Sown in menu */ "Brightness" = "Яркость"; @@ -14,12 +22,18 @@ /* No comment provided by engineer. */ "Display" = "Мониторы"; +/* Shown in the alert dialog */ +"Enable Longer Delay?" = "Enable Longer Delay?"; + /* Shown in the main prefs window */ "General" = "Основные"; /* Shown in the main prefs window */ "Keys" = "Сочетания клавиш"; +/* Shown in the alert dialog */ +"No" = "No"; + /* Shown in menu */ "No supported display found" = "Поддерживаемых мониторов не найдено"; @@ -29,6 +43,9 @@ /* Shown in Preferences window */ "Preferences" = "Настройки"; +/* Shown in the alert dialog */ +"Reset Preferences?" = "Reset Preferences?"; + /* Shown in menu */ "Set as default" = "Сделать основным"; @@ -47,7 +64,7 @@ "Volume" = "Громкость"; /* Shown in the alert dialog */ -"You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "Вам нужно включить MonitorControl в Системных настройках > Защита и безопасность > Конфиденциальность > Универсальный доступ для работы сочетания клавиш"; +"Yes" = "Yes"; -/* Shown in the main prefs window */ -"Advanced" = "Дополнительные"; +/* Shown in the alert dialog */ +"You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "Вам нужно включить MonitorControl в Системных настройках > Защита и безопасность > Конфиденциальность > Универсальный доступ для работы сочетания клавиш"; diff --git a/MonitorControl/Support/uk.lproj/Localizable.strings b/MonitorControl/Support/uk.lproj/Localizable.strings index 4c462e3..c150714 100644 --- a/MonitorControl/Support/uk.lproj/Localizable.strings +++ b/MonitorControl/Support/uk.lproj/Localizable.strings @@ -1,3 +1,11 @@ +/* Shown in the main prefs window */ +"Advanced" = "Розширені"; + +/* 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." = "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."; + +/* Shown in the alert dialog */ +"Are you sure you want to reset all preferences?" = "Are you sure you want to reset all preferences?"; /* Sown in menu */ "Brightness" = "Яскравість"; @@ -14,12 +22,18 @@ /* No comment provided by engineer. */ "Display" = "Дісплей"; +/* Shown in the alert dialog */ +"Enable Longer Delay?" = "Enable Longer Delay?"; + /* Shown in the main prefs window */ "General" = "Загальні"; /* Shown in the main prefs window */ "Keys" = "Клавіші"; +/* Shown in the alert dialog */ +"No" = "No"; + /* Shown in menu */ "No supported display found" = "Не знайдено жодного дісплею"; @@ -29,6 +43,9 @@ /* Shown in Preferences window */ "Preferences" = "Налаштування"; +/* Shown in the alert dialog */ +"Reset Preferences?" = "Reset Preferences?"; + /* Shown in menu */ "Set as default" = "Вибрати за-умовчанням"; @@ -47,7 +64,7 @@ "Volume" = "Гучність"; /* Shown in the alert dialog */ -"You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "Для роботи клавіатурних скороченнь, вам необхідно дозволити MonitorControl доступ до спеціальних можливостей вашого пристрою через Системні параметри > Захист і безпека > Безпека > Спеціальні можливості"; +"Yes" = "Yes"; -/* Shown in the main prefs window */ -"Advanced" = "Розширені"; +/* Shown in the alert dialog */ +"You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "Для роботи клавіатурних скороченнь, вам необхідно дозволити MonitorControl доступ до спеціальних можливостей вашого пристрою через Системні параметри > Захист і безпека > Безпека > Спеціальні можливості"; diff --git a/MonitorControl/Support/zh-Hans.lproj/Localizable.strings b/MonitorControl/Support/zh-Hans.lproj/Localizable.strings index 289c4f7..d35f1bc 100644 --- a/MonitorControl/Support/zh-Hans.lproj/Localizable.strings +++ b/MonitorControl/Support/zh-Hans.lproj/Localizable.strings @@ -1,3 +1,11 @@ +/* Shown in the main prefs window */ +"Advanced" = "进阶设置"; + +/* 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." = "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."; + +/* Shown in the alert dialog */ +"Are you sure you want to reset all preferences?" = "Are you sure you want to reset all preferences?"; /* Sown in menu */ "Brightness" = "亮度"; @@ -14,15 +22,18 @@ /* No comment provided by engineer. */ "Display" = "显示器"; +/* Shown in the alert dialog */ +"Enable Longer Delay?" = "Enable Longer Delay?"; + /* Shown in the main prefs window */ "General" = "通用"; -/* Shown in the main prefs window */ -"Advanced" = "进阶设置"; - /* Shown in the main prefs window */ "Keys" = "快捷键"; +/* Shown in the alert dialog */ +"No" = "No"; + /* Shown in menu */ "No supported display found" = "未发现支持的显示器"; @@ -32,6 +43,9 @@ /* Shown in Preferences window */ "Preferences" = "偏好设置"; +/* Shown in the alert dialog */ +"Reset Preferences?" = "Reset Preferences?"; + /* Shown in menu */ "Set as default" = "设为默认"; @@ -49,5 +63,8 @@ /* Shown in menu */ "Volume" = "音量"; +/* Shown in the alert dialog */ +"Yes" = "Yes"; + /* Shown in the alert dialog */ "You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "您需要在「系统偏好设置」>「安全性与隐私」>「辅助功能」中开启 MonitorControl 以便使快捷键生效"; diff --git a/MonitorControl/UI/Base.lproj/Main.storyboard b/MonitorControl/UI/Base.lproj/Main.storyboard index f4dd683..b2d7149 100644 --- a/MonitorControl/UI/Base.lproj/Main.storyboard +++ b/MonitorControl/UI/Base.lproj/Main.storyboard @@ -18,7 +18,7 @@ - + @@ -86,7 +86,7 @@ - + @@ -94,13 +94,13 @@ - + - + - + @@ -108,7 +108,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -170,7 +170,7 @@ - + @@ -188,7 +188,7 @@ - + @@ -203,7 +203,7 @@ - + @@ -221,7 +221,7 @@ - + @@ -239,7 +239,7 @@ - + @@ -257,7 +257,7 @@ - + @@ -272,7 +272,7 @@ - + @@ -290,7 +290,7 @@ - + @@ -305,7 +305,7 @@ - + @@ -323,7 +323,7 @@ - + @@ -353,13 +353,13 @@ - + - + @@ -481,11 +481,11 @@ - + - + @@ -493,13 +493,13 @@ - + - + - + @@ -507,7 +507,7 @@ - + @@ -525,7 +525,7 @@ - + @@ -540,7 +540,7 @@ - + @@ -558,7 +558,7 @@ - + @@ -573,13 +573,13 @@ - + - + @@ -589,13 +589,13 @@ - + - + @@ -623,7 +623,7 @@ - + @@ -641,7 +641,7 @@ - + @@ -660,7 +660,7 @@ - + @@ -689,9 +689,9 @@ - + - + @@ -699,7 +699,7 @@ - + - + - + Warning ⚠️ @@ -766,7 +766,7 @@ Changing some of these setting may cause system freezes or unexpected behaviour.