From fd65a558cb7eed6003205c1d3bd28b30e3ded0f7 Mon Sep 17 00:00:00 2001 From: Sam Johnson Date: Tue, 20 Feb 2024 00:58:03 -0600 Subject: [PATCH] Rename keyboard layout to input language --- .../{KeyboardLayout.xaml => InputLanguage.xaml} | 4 ++-- ...{KeyboardLayout.xaml.cs => InputLanguage.xaml.cs} | 12 ++++++------ RetroBar/Languages/English.xaml | 2 +- "RetroBar/Languages/T\303\274rk\303\247e.xaml" | 2 +- RetroBar/Languages/hrvatski.xaml | 2 +- RetroBar/Languages/srpski.xaml | 2 +- ...203\321\201\321\201\320\272\320\270\320\271.xaml" | 2 +- ...201\321\200\320\277\321\201\320\272\320\270.xaml" | 2 +- ...227\320\275\321\201\321\214\320\272\320\260.xaml" | 2 +- RetroBar/PropertiesWindow.xaml | 10 +++++----- RetroBar/Taskbar.xaml | 4 ++-- RetroBar/Themes/System.xaml | 10 +++++----- RetroBar/Themes/Watercolor.xaml | 4 ++-- RetroBar/Themes/Windows 2000.xaml | 4 ++-- RetroBar/Themes/Windows 95-98.xaml | 4 ++-- RetroBar/Themes/Windows Longhorn Aero.xaml | 8 ++++---- RetroBar/Themes/Windows Vista Aero.xaml | 8 ++++---- RetroBar/Themes/Windows XP Blue.xaml | 4 ++-- RetroBar/Themes/Windows XP Embedded Style.xaml | 2 +- RetroBar/Themes/Windows XP Olive Green.xaml | 2 +- RetroBar/Themes/Windows XP Royale Noir.xaml | 2 +- RetroBar/Themes/Windows XP Royale.xaml | 2 +- RetroBar/Themes/Windows XP Silver.xaml | 4 ++-- RetroBar/Themes/Windows XP Zune Style.xaml | 4 ++-- RetroBar/Utilities/Settings.cs | 10 +++++----- 25 files changed, 56 insertions(+), 56 deletions(-) rename RetroBar/Controls/{KeyboardLayout.xaml => InputLanguage.xaml} (92%) rename RetroBar/Controls/{KeyboardLayout.xaml.cs => InputLanguage.xaml.cs} (89%) diff --git a/RetroBar/Controls/KeyboardLayout.xaml b/RetroBar/Controls/InputLanguage.xaml similarity index 92% rename from RetroBar/Controls/KeyboardLayout.xaml rename to RetroBar/Controls/InputLanguage.xaml index 2f5ed580..dc033fab 100644 --- a/RetroBar/Controls/KeyboardLayout.xaml +++ b/RetroBar/Controls/InputLanguage.xaml @@ -1,4 +1,4 @@ - - diff --git a/RetroBar/Controls/KeyboardLayout.xaml.cs b/RetroBar/Controls/InputLanguage.xaml.cs similarity index 89% rename from RetroBar/Controls/KeyboardLayout.xaml.cs rename to RetroBar/Controls/InputLanguage.xaml.cs index 13258f4f..f9b6097a 100644 --- a/RetroBar/Controls/KeyboardLayout.xaml.cs +++ b/RetroBar/Controls/InputLanguage.xaml.cs @@ -8,9 +8,9 @@ namespace RetroBar.Controls { - public partial class KeyboardLayout : UserControl + public partial class InputLanguage : UserControl { - public static DependencyProperty LocaleIdentifierProperty = DependencyProperty.Register("LocaleIdentifierProperty", typeof(CultureInfo), typeof(KeyboardLayout)); + public static DependencyProperty LocaleIdentifierProperty = DependencyProperty.Register("LocaleIdentifierProperty", typeof(CultureInfo), typeof(InputLanguage)); public CultureInfo LocaleIdentifier { @@ -22,7 +22,7 @@ public CultureInfo LocaleIdentifier private bool _isLoaded; - public KeyboardLayout() + public InputLanguage() { InitializeComponent(); DataContext = this; @@ -33,7 +33,7 @@ public KeyboardLayout() private void Initialize() { - if (Settings.Instance.ShowKeyboardLayout) + if (Settings.Instance.ShowInputLanguage) { StartWatch(); } @@ -74,9 +74,9 @@ private void StopWatch() private void Settings_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { - if (e.PropertyName == "ShowKeyboardLayout") + if (e.PropertyName == "ShowInputLanguage") { - if (Settings.Instance.ShowKeyboardLayout) + if (Settings.Instance.ShowInputLanguage) { StartWatch(); } diff --git a/RetroBar/Languages/English.xaml b/RetroBar/Languages/English.xaml index dc5603c0..4fce77b3 100644 --- a/RetroBar/Languages/English.xaml +++ b/RetroBar/Languages/English.xaml @@ -23,7 +23,7 @@ _Allow font smoothing Collapse _notification area icons _Customize... - Show the keyboard _layout + Show the input _language Show the cloc_k Show on _multiple displays Show _Quick Launch diff --git "a/RetroBar/Languages/T\303\274rk\303\247e.xaml" "b/RetroBar/Languages/T\303\274rk\303\247e.xaml" index 57ec0b06..ebc56f3e 100644 --- "a/RetroBar/Languages/T\303\274rk\303\247e.xaml" +++ "b/RetroBar/Languages/T\303\274rk\303\247e.xaml" @@ -23,7 +23,7 @@ _Yazı tipi yumuşatmaya izin ver Bildirim _alanı simgelerini daralt Ö_zelleştir... - _Klavye düzenini göster + _Klavye düzenini göster _Saati göster Birden çok _ekranda göster _Hızlı Başlat'ı Göster diff --git a/RetroBar/Languages/hrvatski.xaml b/RetroBar/Languages/hrvatski.xaml index 54c8d552..812a21c5 100644 --- a/RetroBar/Languages/hrvatski.xaml +++ b/RetroBar/Languages/hrvatski.xaml @@ -23,7 +23,7 @@ _Dopusti izglađivanje fonta Sakriji neaktivne ikone Prilagod_i... - Prikaži raspored _tipkovnice + Prikaži raspored _tipkovnice Prikaži _sat Prikaži _na više zaslona Prika_ži brzo pokretanje diff --git a/RetroBar/Languages/srpski.xaml b/RetroBar/Languages/srpski.xaml index 3de846d3..483e9402 100644 --- a/RetroBar/Languages/srpski.xaml +++ b/RetroBar/Languages/srpski.xaml @@ -23,7 +23,7 @@ Dozvoli izglađivanje _fontova Skupi _ikonice u sistemskoj paleti Prilago_di... - Prikaži raspored _tastature + Prikaži raspored _tastature Prikaži _sat Prikaži na _više ekrana Prikaži _brzo pokretanje diff --git "a/RetroBar/Languages/\321\200\321\203\321\201\321\201\320\272\320\270\320\271.xaml" "b/RetroBar/Languages/\321\200\321\203\321\201\321\201\320\272\320\270\320\271.xaml" index 68a34674..6a5f81c4 100644 --- "a/RetroBar/Languages/\321\200\321\203\321\201\321\201\320\272\320\270\320\271.xaml" +++ "b/RetroBar/Languages/\321\200\321\203\321\201\321\201\320\272\320\270\320\271.xaml" @@ -23,7 +23,7 @@ Пр_именять сглаживание шрифтов Скр_ывать неиспользуемые значки _Настроить... - Отображать раскладку _клавиатуры + Отображать раскладку _клавиатуры Отображать _часы Показывать на н_ескольких дисплеях Отображать панель _быстого запуска diff --git "a/RetroBar/Languages/\321\201\321\200\320\277\321\201\320\272\320\270.xaml" "b/RetroBar/Languages/\321\201\321\200\320\277\321\201\320\272\320\270.xaml" index a4510341..8f4d7a84 100644 --- "a/RetroBar/Languages/\321\201\321\200\320\277\321\201\320\272\320\270.xaml" +++ "b/RetroBar/Languages/\321\201\321\200\320\277\321\201\320\272\320\270.xaml" @@ -23,7 +23,7 @@ Дозволи изглађивање _фонтова Скупи _иконице у системској палети Прилаго_ди... - Прикажи распоред _тастатуре + Прикажи распоред _тастатуре Прикажи _сат Прикажи на _више екрана Прикажи _брзо покретање diff --git "a/RetroBar/Languages/\321\203\320\272\321\200\320\260\321\227\320\275\321\201\321\214\320\272\320\260.xaml" "b/RetroBar/Languages/\321\203\320\272\321\200\320\260\321\227\320\275\321\201\321\214\320\272\320\260.xaml" index d9207e9f..eb2bf6cb 100644 --- "a/RetroBar/Languages/\321\203\320\272\321\200\320\260\321\227\320\275\321\201\321\214\320\272\320\260.xaml" +++ "b/RetroBar/Languages/\321\203\320\272\321\200\320\260\321\227\320\275\321\201\321\214\320\272\320\260.xaml" @@ -23,7 +23,7 @@ Згладжування шрифту Згорнути іконки панелі сповіщень Змінити... - Показати розкладку _клавіатури + Показати розкладку _клавіатури Показати годинник Показати на усіх дисплеях Показати ікони швидкого запуску diff --git a/RetroBar/PropertiesWindow.xaml b/RetroBar/PropertiesWindow.xaml index 216fad41..947ca436 100644 --- a/RetroBar/PropertiesWindow.xaml +++ b/RetroBar/PropertiesWindow.xaml @@ -267,19 +267,19 @@ - + - - + + diff --git a/RetroBar/Themes/System.xaml b/RetroBar/Themes/System.xaml index 55c4b003..ae8bb17c 100644 --- a/RetroBar/Themes/System.xaml +++ b/RetroBar/Themes/System.xaml @@ -21,8 +21,8 @@ - - + + @@ -845,12 +845,12 @@ diff --git a/RetroBar/Themes/Windows Vista Aero.xaml b/RetroBar/Themes/Windows Vista Aero.xaml index 13e9768c..33368bb8 100644 --- a/RetroBar/Themes/Windows Vista Aero.xaml +++ b/RetroBar/Themes/Windows Vista Aero.xaml @@ -278,8 +278,8 @@ - - + + diff --git a/RetroBar/Themes/Windows XP Blue.xaml b/RetroBar/Themes/Windows XP Blue.xaml index a9998a2d..124e69a5 100644 --- a/RetroBar/Themes/Windows XP Blue.xaml +++ b/RetroBar/Themes/Windows XP Blue.xaml @@ -348,8 +348,8 @@ - - + + diff --git a/RetroBar/Themes/Windows XP Embedded Style.xaml b/RetroBar/Themes/Windows XP Embedded Style.xaml index 39ce013b..9b0abde8 100644 --- a/RetroBar/Themes/Windows XP Embedded Style.xaml +++ b/RetroBar/Themes/Windows XP Embedded Style.xaml @@ -448,7 +448,7 @@ - + diff --git a/RetroBar/Themes/Windows XP Olive Green.xaml b/RetroBar/Themes/Windows XP Olive Green.xaml index f7246453..071be13b 100644 --- a/RetroBar/Themes/Windows XP Olive Green.xaml +++ b/RetroBar/Themes/Windows XP Olive Green.xaml @@ -388,5 +388,5 @@ - + \ No newline at end of file diff --git a/RetroBar/Themes/Windows XP Royale Noir.xaml b/RetroBar/Themes/Windows XP Royale Noir.xaml index 95f2097a..22c7a4c6 100644 --- a/RetroBar/Themes/Windows XP Royale Noir.xaml +++ b/RetroBar/Themes/Windows XP Royale Noir.xaml @@ -402,7 +402,7 @@ Opacity="1" /> - + diff --git a/RetroBar/Themes/Windows XP Royale.xaml b/RetroBar/Themes/Windows XP Royale.xaml index a5852827..4a11c5d3 100644 --- a/RetroBar/Themes/Windows XP Royale.xaml +++ b/RetroBar/Themes/Windows XP Royale.xaml @@ -463,7 +463,7 @@ - + diff --git a/RetroBar/Themes/Windows XP Silver.xaml b/RetroBar/Themes/Windows XP Silver.xaml index 7a498e07..f3088287 100644 --- a/RetroBar/Themes/Windows XP Silver.xaml +++ b/RetroBar/Themes/Windows XP Silver.xaml @@ -790,6 +790,6 @@ - - + + \ No newline at end of file diff --git a/RetroBar/Themes/Windows XP Zune Style.xaml b/RetroBar/Themes/Windows XP Zune Style.xaml index c0de8308..cdd8b478 100644 --- a/RetroBar/Themes/Windows XP Zune Style.xaml +++ b/RetroBar/Themes/Windows XP Zune Style.xaml @@ -450,8 +450,8 @@ - - + + diff --git a/RetroBar/Utilities/Settings.cs b/RetroBar/Utilities/Settings.cs index 064879d8..8a6c5572 100644 --- a/RetroBar/Utilities/Settings.cs +++ b/RetroBar/Utilities/Settings.cs @@ -87,18 +87,18 @@ public string Theme } } - private bool _showKeyboardLayout = false; - public bool ShowKeyboardLayout + private bool _showInputLanguage = false; + public bool ShowInputLanguage { get { - return _showKeyboardLayout; + return _showInputLanguage; } set { - if (_showKeyboardLayout != value) + if (_showInputLanguage != value) { - _showKeyboardLayout = value; + _showInputLanguage = value; OnPropertyChanged(); } }